Legend: "Go up to …" is read in the reader's language

The parent crumb's title and aria-label were typed in English inside the library
legend; they now read legend.a11y.goUp, in all eleven languages.
This commit is contained in:
Doxa Maps 2026-09-28 04:09:17 +00:00
parent 7077c55502
commit f24bdb8a84
12 changed files with 24 additions and 13 deletions

View file

@ -1188,8 +1188,8 @@ useShadowStyles(`
family/group. Keyboard-focusable button with aria-label; Enter/
Space activate natively. -->
<button type="button" class="stl-tb-up"
:title="`Go up to ${parentBreadcrumb.node.label}`"
:aria-label="`Go up to ${parentBreadcrumb.tabName} ${parentBreadcrumb.node.label}`"
:title="t('legend.a11y.goUp', { label: parentBreadcrumb.node.label })"
:aria-label="t('legend.a11y.goUp', { label: parentBreadcrumb.tabName + ' ' + parentBreadcrumb.node.label })"
@click.stop="upToParent">
<svg class="stl-tb-up-icon" width="9" height="9" viewBox="0 0 12 12" fill="none" aria-hidden="true">
<path d="M3 7.5L6 4.5L9 7.5" stroke="currentColor" stroke-width="1.8"

View file

@ -64,7 +64,8 @@
"a11y": {
"expandRow": "توسيع {label}",
"collapseRow": "طي {label}",
"clearSelection": "إلغاء التحديد"
"clearSelection": "إلغاء التحديد",
"goUp": "الانتقال إلى المستوى الأعلى: {label}"
},
"export": {
"poster": "ملصق",

View file

@ -64,7 +64,8 @@
"a11y": {
"expandRow": "{label} ausklappen",
"collapseRow": "{label} einklappen",
"clearSelection": "Auswahl aufheben"
"clearSelection": "Auswahl aufheben",
"goUp": "Eine Ebene höher zu {label}"
},
"export": {
"poster": "Plakat",

View file

@ -64,7 +64,8 @@
"a11y": {
"expandRow": "Expand {label}",
"collapseRow": "Collapse {label}",
"clearSelection": "Clear selection"
"clearSelection": "Clear selection",
"goUp": "Go up to {label}"
},
"export": {
"poster": "Poster",

View file

@ -64,7 +64,8 @@
"a11y": {
"expandRow": "Expandir {label}",
"collapseRow": "Contraer {label}",
"clearSelection": "Borrar la selección"
"clearSelection": "Borrar la selección",
"goUp": "Subir a {label}"
},
"export": {
"poster": "Cartel",

View file

@ -64,7 +64,8 @@
"a11y": {
"expandRow": "Développer {label}",
"collapseRow": "Réduire {label}",
"clearSelection": "Effacer la sélection"
"clearSelection": "Effacer la sélection",
"goUp": "Remonter à {label}"
},
"export": {
"poster": "Affiche",

View file

@ -64,7 +64,8 @@
"a11y": {
"expandRow": "{label} का विस्तार करें",
"collapseRow": "{label} को छोटा करें",
"clearSelection": "चयन हटाएँ"
"clearSelection": "चयन हटाएँ",
"goUp": "ऊपर जाएँ: {label}"
},
"export": {
"poster": "पोस्टर",

View file

@ -64,7 +64,8 @@
"a11y": {
"expandRow": "Espandi {label}",
"collapseRow": "Comprimi {label}",
"clearSelection": "Cancella la selezione"
"clearSelection": "Cancella la selezione",
"goUp": "Sali a {label}"
},
"export": {
"poster": "Manifesto",

View file

@ -64,7 +64,8 @@
"a11y": {
"expandRow": "Expandir {label}",
"collapseRow": "Recolher {label}",
"clearSelection": "Limpar a seleção"
"clearSelection": "Limpar a seleção",
"goUp": "Subir para {label}"
},
"export": {
"poster": "Cartaz",

View file

@ -64,7 +64,8 @@
"a11y": {
"expandRow": "Extinde {label}",
"collapseRow": "Restrânge {label}",
"clearSelection": "Șterge selecția"
"clearSelection": "Șterge selecția",
"goUp": "Urcă la {label}"
},
"export": {
"poster": "Afiș",

View file

@ -64,7 +64,8 @@
"a11y": {
"expandRow": "Развернуть {label}",
"collapseRow": "Свернуть {label}",
"clearSelection": "Снять выделение"
"clearSelection": "Снять выделение",
"goUp": "Вверх: {label}"
},
"export": {
"poster": "Плакат",

View file

@ -64,7 +64,8 @@
"a11y": {
"expandRow": "展开{label}",
"collapseRow": "折叠{label}",
"clearSelection": "清除选择"
"clearSelection": "清除选择",
"goUp": "返回上级:{label}"
},
"export": {
"poster": "海报",