Skip to content

Commit bf4a657

Browse files
committed
feat: add translations
1 parent 6f5ff46 commit bf4a657

File tree

3 files changed

+31
-1
lines changed

3 files changed

+31
-1
lines changed

i18n/locales/en.json

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -482,6 +482,12 @@
482482
"maintainer_template": "{avatar} {char126}{name}"
483483
},
484484
"trends": {
485+
"chart_sr": {
486+
"keyboard_navigation_horizontal": "Use the left and right arrow keys to cycle through data points.",
487+
"keyboard_navigation_vertical": "Use the up and down arrow keys to cycle through data points.",
488+
"table_available": "A data table for this chart is available below.",
489+
"table_caption": "Chart data table"
490+
},
485491
"granularity": "Granularity",
486492
"granularity_daily": "Daily",
487493
"granularity_weekly": "Weekly",
@@ -540,7 +546,8 @@
540546
"downloads": {
541547
"title": "Weekly Downloads",
542548
"community_distribution": "View community adoption distribution",
543-
"subtitle": "Across all versions"
549+
"subtitle": "Across all versions",
550+
"sparkline_nav_hint": "Use ← →"
544551
},
545552
"install_scripts": {
546553
"title": "Install Scripts",

i18n/locales/fr-FR.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -449,6 +449,12 @@
449449
"show_less": "(afficher moins)"
450450
},
451451
"trends": {
452+
"chart_sr": {
453+
"keyboard_navigation_horizontal": "Utilisez les touches fléchées gauche et droite pour parcourir les points de données.",
454+
"keyboard_navigation_vertical": "Utilisez les touches fléchées haut et bas pour parcourir les points de données.",
455+
"table_available": "Un tableau de données pour ce graphique est disponible ci-dessous.",
456+
"table_caption": "Tableau de données du graphique"
457+
},
452458
"granularity": "Granularité",
453459
"granularity_daily": "Par Jour",
454460
"granularity_weekly": "Par Semaine",

i18n/schema.json

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1450,6 +1450,23 @@
14501450
"trends": {
14511451
"type": "object",
14521452
"properties": {
1453+
"chart_sr": {
1454+
"type": "object",
1455+
"properties": {
1456+
"keyboard_navigation_horizontal": {
1457+
"type": "string"
1458+
},
1459+
"keyboard_navigation_vertical": {
1460+
"type": "string"
1461+
},
1462+
"table_available": {
1463+
"type": "string"
1464+
},
1465+
"table_caption": {
1466+
"type": "string"
1467+
}
1468+
}
1469+
},
14531470
"granularity": {
14541471
"type": "string"
14551472
},

0 commit comments

Comments
 (0)