Skip to content

Commit 56be939

Browse files
committed
chore: add en & fr translations
1 parent 6d62d34 commit 56be939

File tree

6 files changed

+117
-5
lines changed

6 files changed

+117
-5
lines changed

i18n/locales/en.json

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -374,7 +374,21 @@
374374
"contributors": "Contributors"
375375
},
376376
"play_animation": "Play animation",
377-
"pause_animation": "Pause animation"
377+
"pause_animation": "Pause animation",
378+
"copy_alt": {
379+
"trend_none": "mostly flat",
380+
"trend_strong": "strong",
381+
"trend_weak": "weak",
382+
"trend_undefined": "undefined (insufficient data)",
383+
"button_label": "Copy alt text",
384+
"watermark": "At the bottom, a watermark reads \"./npmx a fast, modern browser for the npm registry\"",
385+
"analysis": "{package_name} starts at {start_value} and ends at {end_value}, showing a {trend} trend with a slope of {downloads_slope} downloads per time interval, and an overall {growth_percentage} growth",
386+
"estimation": "The final value is an estimate based on partial data for the current period.",
387+
"estimations": "The final values are estimates based on partial data for the current period.",
388+
"compare": "Packages download comparison line chart between: {packages}.",
389+
"single_package": "Downloads line chart for the {package} package.",
390+
"general_description": "The Y axis represents the number of downloads. The X axis represents the date range, from {start_date} to {end_date}, with a {granularity} time period.{estimation_notice} {packages_analysis}. {watermark}."
391+
}
378392
},
379393
"downloads": {
380394
"title": "Weekly Downloads",

i18n/locales/fr-FR.json

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -374,7 +374,21 @@
374374
"contributors": "Contributeurs"
375375
},
376376
"play_animation": "Lancer l'animation",
377-
"pause_animation": "Mettre l'animation en pause"
377+
"pause_animation": "Mettre l'animation en pause",
378+
"copy_alt": {
379+
"trend_none": "globalement stable",
380+
"trend_strong": "forte",
381+
"trend_weak": "faible",
382+
"trend_undefined": "indéfinie (données insuffisantes)",
383+
"button_label": "Copier le texte alternatif",
384+
"watermark": "En bas, un filigrane indique \"./npmx un navigateur rapide et moderne pour le registre npm\"",
385+
"analysis": "{package_name} commence à {start_value} et se termine à {end_value}, affichant une tendance {trend} avec une pente de {downloads_slope} téléchargements par intervalle de temps, et une croissance globale de {growth_percentage}",
386+
"estimation": "La valeur finale est une estimation basée sur des données partielles pour la période en cours.",
387+
"estimations": "Les valeurs finales sont des estimations basées sur des données partielles pour la période en cours.",
388+
"compare": "Graphique en courbes comparant les téléchargements des packages suivants : {packages}.",
389+
"single_package": "Graphique en courbes des téléchargements pour le package {package}.",
390+
"general_description": "L’axe Y représente le nombre de téléchargements. L’axe X représente la plage de dates, de {start_date} à {end_date}, avec une période de temps {granularity}.{estimation_notice} {packages_analysis}. {watermark}."
391+
}
378392
},
379393
"downloads": {
380394
"title": "Téléchargements hebdo.",

i18n/schema.json

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1128,6 +1128,48 @@
11281128
},
11291129
"pause_animation": {
11301130
"type": "string"
1131+
},
1132+
"copy_alt": {
1133+
"type": "object",
1134+
"properties": {
1135+
"trend_none": {
1136+
"type": "string"
1137+
},
1138+
"trend_strong": {
1139+
"type": "string"
1140+
},
1141+
"trend_weak": {
1142+
"type": "string"
1143+
},
1144+
"trend_undefined": {
1145+
"type": "string"
1146+
},
1147+
"button_label": {
1148+
"type": "string"
1149+
},
1150+
"watermark": {
1151+
"type": "string"
1152+
},
1153+
"analysis": {
1154+
"type": "string"
1155+
},
1156+
"estimation": {
1157+
"type": "string"
1158+
},
1159+
"estimations": {
1160+
"type": "string"
1161+
},
1162+
"compare": {
1163+
"type": "string"
1164+
},
1165+
"single_package": {
1166+
"type": "string"
1167+
},
1168+
"general_description": {
1169+
"type": "string"
1170+
}
1171+
},
1172+
"additionalProperties": false
11311173
}
11321174
},
11331175
"additionalProperties": false

lunaria/files/en-GB.json

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -373,7 +373,21 @@
373373
"contributors": "Contributors"
374374
},
375375
"play_animation": "Play animation",
376-
"pause_animation": "Pause animation"
376+
"pause_animation": "Pause animation",
377+
"copy_alt": {
378+
"trend_none": "mostly flat",
379+
"trend_strong": "strong",
380+
"trend_weak": "weak",
381+
"trend_undefined": "undefined (insufficient data)",
382+
"button_label": "Copy alt text",
383+
"watermark": "At the bottom, a watermark reads \"./npmx a fast, modern browser for the npm registry\"",
384+
"analysis": "{package_name} starts at {start_value} and ends at {end_value}, showing a {trend} trend with a slope of {downloads_slope} downloads per time interval, and an overall {growth_percentage} growth",
385+
"estimation": "The final value is an estimate based on partial data for the current period.",
386+
"estimations": "The final values are estimates based on partial data for the current period.",
387+
"compare": "Packages download comparison line chart between: {packages}.",
388+
"single_package": "Downloads line chart for the {package} package.",
389+
"general_description": "The Y axis represents the number of downloads. The X axis represents the date range, from {start_date} to {end_date}, with a {granularity} time period.{estimation_notice} {packages_analysis}. {watermark}."
390+
}
377391
},
378392
"downloads": {
379393
"title": "Weekly Downloads",

lunaria/files/en-US.json

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -373,7 +373,21 @@
373373
"contributors": "Contributors"
374374
},
375375
"play_animation": "Play animation",
376-
"pause_animation": "Pause animation"
376+
"pause_animation": "Pause animation",
377+
"copy_alt": {
378+
"trend_none": "mostly flat",
379+
"trend_strong": "strong",
380+
"trend_weak": "weak",
381+
"trend_undefined": "undefined (insufficient data)",
382+
"button_label": "Copy alt text",
383+
"watermark": "At the bottom, a watermark reads \"./npmx a fast, modern browser for the npm registry\"",
384+
"analysis": "{package_name} starts at {start_value} and ends at {end_value}, showing a {trend} trend with a slope of {downloads_slope} downloads per time interval, and an overall {growth_percentage} growth",
385+
"estimation": "The final value is an estimate based on partial data for the current period.",
386+
"estimations": "The final values are estimates based on partial data for the current period.",
387+
"compare": "Packages download comparison line chart between: {packages}.",
388+
"single_package": "Downloads line chart for the {package} package.",
389+
"general_description": "The Y axis represents the number of downloads. The X axis represents the date range, from {start_date} to {end_date}, with a {granularity} time period.{estimation_notice} {packages_analysis}. {watermark}."
390+
}
377391
},
378392
"downloads": {
379393
"title": "Weekly Downloads",

lunaria/files/fr-FR.json

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -373,7 +373,21 @@
373373
"contributors": "Contributeurs"
374374
},
375375
"play_animation": "Lancer l'animation",
376-
"pause_animation": "Mettre l'animation en pause"
376+
"pause_animation": "Mettre l'animation en pause",
377+
"copy_alt": {
378+
"trend_none": "globalement stable",
379+
"trend_strong": "forte",
380+
"trend_weak": "faible",
381+
"trend_undefined": "indéfinie (données insuffisantes)",
382+
"button_label": "Copier le texte alternatif",
383+
"watermark": "En bas, un filigrane indique \"./npmx un navigateur rapide et moderne pour le registre npm\"",
384+
"analysis": "{package_name} commence à {start_value} et se termine à {end_value}, affichant une tendance {trend} avec une pente de {downloads_slope} téléchargements par intervalle de temps, et une croissance globale de {growth_percentage}",
385+
"estimation": "La valeur finale est une estimation basée sur des données partielles pour la période en cours.",
386+
"estimations": "Les valeurs finales sont des estimations basées sur des données partielles pour la période en cours.",
387+
"compare": "Graphique en courbes comparant les téléchargements des packages suivants : {packages}.",
388+
"single_package": "Graphique en courbes des téléchargements pour le package {package}.",
389+
"general_description": "L’axe Y représente le nombre de téléchargements. L’axe X représente la plage de dates, de {start_date} à {end_date}, avec une période de temps {granularity}.{estimation_notice} {packages_analysis}. {watermark}."
390+
}
377391
},
378392
"downloads": {
379393
"title": "Téléchargements hebdo.",

0 commit comments

Comments
 (0)