Skip to content

Commit 07f00bb

Browse files
committed
fix: add missing translation
1 parent 4634863 commit 07f00bb

4 files changed

Lines changed: 6 additions & 1 deletion

File tree

app/components/Package/TimelineChart.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -810,7 +810,7 @@ const indexSelection = computed(() => {
810810
<template #reset-action="{ reset: resetMinimap }">
811811
<button
812812
type="button"
813-
aria-label="reset minimap"
813+
:aria-label="$t('package.timeline.chart.reset_minimap')"
814814
class="absolute inset-is-1/2 -translate-x-1/2 -bottom-18 sm:inset-is-unset sm:translate-x-0 sm:bottom-auto sm:-inset-ie-20 sm:-top-3 flex items-center justify-center px-2.5 py-1.75 border border-transparent rounded-md text-fg-subtle hover:text-fg transition-colors hover:border-border focus-visible:outline-accent/70 sm:mb-0"
815815
style="pointer-events: all !important"
816816
@click="resetMinimap"

i18n/locales/en.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -592,6 +592,7 @@
592592
"tab_aria_label": "Metric selection",
593593
"base_scale": "start y-axis at zero",
594594
"zoom": "zoom",
595+
"reset_minimap": "reset minimap",
595596
"copy_alt": {
596597
"key_changes": "Key changes: {version_events}.",
597598
"version_events": "version {version}: {events}",

i18n/locales/fr-FR.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -580,6 +580,7 @@
580580
"tab_aria_label": "Sélection de métrique",
581581
"base_scale": "positionner les ordonnées à zéro",
582582
"zoom": "zoom",
583+
"reset_minimap": "Réinitialiser la mini-carte",
583584
"copy_alt": {
584585
"key_changes": "Principaux changements: {version_events}",
585586
"version_events": "version {version}: {events}",

i18n/schema.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1780,6 +1780,9 @@
17801780
"zoom": {
17811781
"type": "string"
17821782
},
1783+
"reset_minimap": {
1784+
"type": "string"
1785+
},
17831786
"copy_alt": {
17841787
"type": "object",
17851788
"properties": {

0 commit comments

Comments
 (0)