Skip to content

Commit 08ace72

Browse files
committed
fix: add missing translation for aria-label
1 parent d395997 commit 08ace72

File tree

4 files changed

+6
-1
lines changed

4 files changed

+6
-1
lines changed

app/components/Package/TrendsChart.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1637,7 +1637,7 @@ const isSparklineLayout = shallowRef(false)
16371637
v-if="isMultiPackageMode"
16381638
class="inline-flex items-center gap-1 rounded-md border border-border-subtle bg-bg-subtle p-0.5 mt-4 mb-8"
16391639
role="tablist"
1640-
:aria-label="'Chart layout toggle'"
1640+
:aria-label="$t('package.trends.chart_view_toggle')"
16411641
>
16421642
<button
16431643
id="combined-chart-layout-tab"

i18n/locales/en.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -488,6 +488,7 @@
488488
"table_available": "A data table for this chart is available below.",
489489
"table_caption": "Chart data table"
490490
},
491+
"chart_view_toggle": "Toggle view",
491492
"chart_view_combined": "Combined view",
492493
"chart_view_split": "Split view",
493494
"granularity": "Granularity",

i18n/locales/fr-FR.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -486,6 +486,7 @@
486486
"table_available": "Un tableau de données pour ce graphique est disponible ci-dessous.",
487487
"table_caption": "Tableau de données du graphique"
488488
},
489+
"chart_view_toggle": "Changer de vue",
489490
"chart_view_combined": "Vue groupée",
490491
"chart_view_split": "Vue séparée",
491492
"granularity": "Granularité",

i18n/schema.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1468,6 +1468,9 @@
14681468
},
14691469
"additionalProperties": false
14701470
},
1471+
"chart_view_toggle": {
1472+
"type": "string"
1473+
},
14711474
"chart_view_combined": {
14721475
"type": "string"
14731476
},

0 commit comments

Comments
 (0)