Skip to content

Commit e25b1b0

Browse files
add courses text
1 parent de0a277 commit e25b1b0

File tree

3 files changed

+7
-5
lines changed

3 files changed

+7
-5
lines changed

src/client/components/Statistics.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -290,7 +290,7 @@ const SumRow = ({statsToShow}) => {
290290
</TableCell>
291291
<TableCell>
292292
<Typography variant="h6">
293-
{statsToShowLength}
293+
{statsToShowLength + ' '+t('stats:courses')}
294294
</Typography>
295295
</TableCell>
296296
<TableCell align="left">

src/client/locales/en.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,8 @@
5656
"promptCount": "Prompts",
5757
"courseStats": "Course stats",
5858
"sum": "SUM:",
59-
"rags": "Source materials"
59+
"rags": "Source materials",
60+
"courses": "courses"
6061
},
6162
"info": {
6263
"title": "Instructions",
@@ -380,4 +381,4 @@
380381
"nameLabel": "Collection name",
381382
"nameHelperText": "Use a descriptive name (for example the full name of the course)"
382383
}
383-
}
384+
}

src/client/locales/fi.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,8 @@
5757
"studentCount": "Opis",
5858
"courseCodes": "Kurssikoodit",
5959
"sum": "YHTEENSÄ:",
60-
"rags": "Lähdemateriaalit"
60+
"rags": "Lähdemateriaalit",
61+
"courses": "kurssia"
6162
},
6263
"info": {
6364
"title": "Käyttöohje",
@@ -382,4 +383,4 @@
382383
"nameLabel": "Kokoelman nimi",
383384
"nameHelperText": "Käytä kuvaavaa nimeä (esim. kurssin koko nimi)"
384385
}
385-
}
386+
}

0 commit comments

Comments
 (0)