Skip to content

Commit 5baba85

Browse files
committed
SettingSelect: give the back-to-presets button a real icon and accessible name, and finish the emoji-migration translations
- Replaces the bare `↩` text in the settings custom-value picker's back button with a `corner-down-left` Lucide icon, and adds an `aria-label` + tooltip ("Back to presets"). The button previously had no accessible name at all (it announced only "↩"), so this also closes an a11y gap. Re-adds `corner-down-left` to `icon-map.ts` and the Debug "Graphics" catalog. - Adds the `settings.control.backToPresetsAriaLabel` key, translated into all nine locales via the reference-pile process (each language's `preset` glossary entry recorded with its source and confidence). - Re-confirms the emoji-to-Lucide migration's translations: refreshes `@key.sourceHash` for the five keys whose English source changed (theme mode `light`/`dark`/`system`, share `backArrow`, `forgetPassword`) across all nine locales, and rewrites the de/sv "System" `sameAsSourceJustification` that still referenced the removed emoji. `desktop-i18n-stale` is now clean.
1 parent ffd03c9 commit 5baba85

32 files changed

Lines changed: 114 additions & 48 deletions

apps/desktop/src/lib/intl/keys.gen.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1821,6 +1821,7 @@ export type MessageKey =
18211821
| 'settings.behavior.fileSystemWatching.lowDiskSpaceNotifications.opt.off'
18221822
| 'settings.behavior.fileSystemWatching.lowDiskSpaceThresholdPercent.description'
18231823
| 'settings.behavior.fileSystemWatching.lowDiskSpaceThresholdPercent.label'
1824+
| 'settings.control.backToPresetsAriaLabel'
18241825
| 'settings.control.customOption'
18251826
| 'settings.control.customPrefix'
18261827
| 'settings.control.customValuePlaceholder'

apps/desktop/src/lib/intl/messages/de/fileExplorer.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -513,15 +513,15 @@
513513
},
514514
"fileExplorer.network.share.backArrow": "Zurück",
515515
"@fileExplorer.network.share.backArrow": {
516-
"sourceHash": "aceb696"
516+
"sourceHash": "76900f1"
517517
},
518518
"fileExplorer.network.share.forgetPasswordTooltip": "Gespeichertes Passwort aus dem Schlüsselbund entfernen",
519519
"@fileExplorer.network.share.forgetPasswordTooltip": {
520520
"sourceHash": "f067186"
521521
},
522522
"fileExplorer.network.share.forgetPassword": "Gespeichertes Passwort vergessen",
523523
"@fileExplorer.network.share.forgetPassword": {
524-
"sourceHash": "aa3dca3"
524+
"sourceHash": "ed68566"
525525
},
526526
"fileExplorer.network.share.shareCount": "{count, plural, one {{countText} Freigabe} other {{countText} Freigaben}}",
527527
"@fileExplorer.network.share.shareCount": {

apps/desktop/src/lib/intl/messages/de/settings.json

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,16 +21,16 @@
2121
},
2222
"settings.theme.mode.opt.light": "Hell",
2323
"@settings.theme.mode.opt.light": {
24-
"sourceHash": "89c7766"
24+
"sourceHash": "dbcd5e7"
2525
},
2626
"settings.theme.mode.opt.dark": "Dunkel",
2727
"@settings.theme.mode.opt.dark": {
28-
"sourceHash": "93362ff"
28+
"sourceHash": "60acc53"
2929
},
3030
"settings.theme.mode.opt.system": "System",
3131
"@settings.theme.mode.opt.system": {
32-
"sourceHash": "0c12227",
33-
"sameAsSourceJustification": "'System' is a real German word, same spelling; the leading laptop emoji is decorative and kept. macOS DE uses 'System'."
32+
"sourceHash": "6725e7b",
33+
"sameAsSourceJustification": "'System' is a real German word, same spelling; macOS DE uses 'System'."
3434
},
3535
"settings.appearance.appColor.label": "App-Farbe",
3636
"@settings.appearance.appColor.label": {
@@ -1198,6 +1198,10 @@
11981198
"@settings.control.customPrefix": {
11991199
"sourceHash": "58c3782"
12001200
},
1201+
"settings.control.backToPresetsAriaLabel": "Zurück zu den Voreinstellungen",
1202+
"@settings.control.backToPresetsAriaLabel": {
1203+
"sourceHash": "1579f3f"
1204+
},
12011205
"settings.sidebar.searchPlaceholder": "Einstellungen durchsuchen …",
12021206
"@settings.sidebar.searchPlaceholder": {
12031207
"sourceHash": "6801207"

apps/desktop/src/lib/intl/messages/en/settings.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1514,6 +1514,10 @@
15141514
"value": "the custom value the user entered, e.g. \"42\" or \"90s\""
15151515
}
15161516
},
1517+
"settings.control.backToPresetsAriaLabel": "Back to presets",
1518+
"@settings.control.backToPresetsAriaLabel": {
1519+
"description": "Accessibility label and tooltip for the small icon-only button that leaves the custom-value text input and returns to the preset dropdown in a settings picker. Shown as a back-arrow (corner-down-left) icon; keep it short."
1520+
},
15171521

15181522
"settings.sidebar.searchPlaceholder": "Search settings...",
15191523
"@settings.sidebar.searchPlaceholder": {

apps/desktop/src/lib/intl/messages/es/fileExplorer.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -510,15 +510,15 @@
510510
},
511511
"fileExplorer.network.share.backArrow": "Atrás",
512512
"@fileExplorer.network.share.backArrow": {
513-
"sourceHash": "aceb696"
513+
"sourceHash": "76900f1"
514514
},
515515
"fileExplorer.network.share.forgetPasswordTooltip": "Quitar la contraseña guardada del Llavero",
516516
"@fileExplorer.network.share.forgetPasswordTooltip": {
517517
"sourceHash": "f067186"
518518
},
519519
"fileExplorer.network.share.forgetPassword": "Olvidar la contraseña guardada",
520520
"@fileExplorer.network.share.forgetPassword": {
521-
"sourceHash": "aa3dca3"
521+
"sourceHash": "ed68566"
522522
},
523523
"fileExplorer.network.share.shareCount": "{count, plural, one {{countText} recurso compartido} many {{countText} recursos compartidos} other {{countText} recursos compartidos}}",
524524
"@fileExplorer.network.share.shareCount": {

apps/desktop/src/lib/intl/messages/es/settings.json

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,15 +21,15 @@
2121
},
2222
"settings.theme.mode.opt.light": "Claro",
2323
"@settings.theme.mode.opt.light": {
24-
"sourceHash": "89c7766"
24+
"sourceHash": "dbcd5e7"
2525
},
2626
"settings.theme.mode.opt.dark": "Oscuro",
2727
"@settings.theme.mode.opt.dark": {
28-
"sourceHash": "93362ff"
28+
"sourceHash": "60acc53"
2929
},
3030
"settings.theme.mode.opt.system": "Sistema",
3131
"@settings.theme.mode.opt.system": {
32-
"sourceHash": "0c12227"
32+
"sourceHash": "6725e7b"
3333
},
3434
"settings.appearance.appColor.label": "Color de la app",
3535
"@settings.appearance.appColor.label": {
@@ -1194,6 +1194,10 @@
11941194
"@settings.control.customPrefix": {
11951195
"sourceHash": "58c3782"
11961196
},
1197+
"settings.control.backToPresetsAriaLabel": "Volver a los preajustes",
1198+
"@settings.control.backToPresetsAriaLabel": {
1199+
"sourceHash": "1579f3f"
1200+
},
11971201
"settings.sidebar.searchPlaceholder": "Buscar en los ajustes...",
11981202
"@settings.sidebar.searchPlaceholder": {
11991203
"sourceHash": "6801207"

apps/desktop/src/lib/intl/messages/fr/fileExplorer.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -510,15 +510,15 @@
510510
},
511511
"fileExplorer.network.share.backArrow": "Retour",
512512
"@fileExplorer.network.share.backArrow": {
513-
"sourceHash": "aceb696"
513+
"sourceHash": "76900f1"
514514
},
515515
"fileExplorer.network.share.forgetPasswordTooltip": "Retirer le mot de passe enregistré du trousseau",
516516
"@fileExplorer.network.share.forgetPasswordTooltip": {
517517
"sourceHash": "f067186"
518518
},
519519
"fileExplorer.network.share.forgetPassword": "Oublier le mot de passe enregistré",
520520
"@fileExplorer.network.share.forgetPassword": {
521-
"sourceHash": "aa3dca3"
521+
"sourceHash": "ed68566"
522522
},
523523
"fileExplorer.network.share.shareCount": "{count, plural, one {{countText} partage} many {{countText} partages} other {{countText} partages}}",
524524
"@fileExplorer.network.share.shareCount": {

apps/desktop/src/lib/intl/messages/fr/settings.json

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,15 +21,15 @@
2121
},
2222
"settings.theme.mode.opt.light": "Clair",
2323
"@settings.theme.mode.opt.light": {
24-
"sourceHash": "89c7766"
24+
"sourceHash": "dbcd5e7"
2525
},
2626
"settings.theme.mode.opt.dark": "Sombre",
2727
"@settings.theme.mode.opt.dark": {
28-
"sourceHash": "93362ff"
28+
"sourceHash": "60acc53"
2929
},
3030
"settings.theme.mode.opt.system": "Système",
3131
"@settings.theme.mode.opt.system": {
32-
"sourceHash": "0c12227"
32+
"sourceHash": "6725e7b"
3333
},
3434
"settings.appearance.appColor.label": "Couleur de l''app",
3535
"@settings.appearance.appColor.label": {
@@ -1199,6 +1199,10 @@
11991199
"@settings.control.customPrefix": {
12001200
"sourceHash": "58c3782"
12011201
},
1202+
"settings.control.backToPresetsAriaLabel": "Retour aux présélections",
1203+
"@settings.control.backToPresetsAriaLabel": {
1204+
"sourceHash": "1579f3f"
1205+
},
12021206
"settings.sidebar.searchPlaceholder": "Rechercher dans les réglages...",
12031207
"@settings.sidebar.searchPlaceholder": {
12041208
"sourceHash": "6801207"

apps/desktop/src/lib/intl/messages/hu/fileExplorer.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -510,15 +510,15 @@
510510
},
511511
"fileExplorer.network.share.backArrow": "Vissza",
512512
"@fileExplorer.network.share.backArrow": {
513-
"sourceHash": "aceb696"
513+
"sourceHash": "76900f1"
514514
},
515515
"fileExplorer.network.share.forgetPasswordTooltip": "Mentett jelszó eltávolítása a kulcskarikából",
516516
"@fileExplorer.network.share.forgetPasswordTooltip": {
517517
"sourceHash": "f067186"
518518
},
519519
"fileExplorer.network.share.forgetPassword": "Mentett jelszó elfelejtése",
520520
"@fileExplorer.network.share.forgetPassword": {
521-
"sourceHash": "aa3dca3"
521+
"sourceHash": "ed68566"
522522
},
523523
"fileExplorer.network.share.shareCount": "{count, plural, one {{countText} megosztás} other {{countText} megosztás}}",
524524
"@fileExplorer.network.share.shareCount": {

apps/desktop/src/lib/intl/messages/hu/settings.json

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,15 +21,15 @@
2121
},
2222
"settings.theme.mode.opt.light": "Világos",
2323
"@settings.theme.mode.opt.light": {
24-
"sourceHash": "89c7766"
24+
"sourceHash": "dbcd5e7"
2525
},
2626
"settings.theme.mode.opt.dark": "Sötét",
2727
"@settings.theme.mode.opt.dark": {
28-
"sourceHash": "93362ff"
28+
"sourceHash": "60acc53"
2929
},
3030
"settings.theme.mode.opt.system": "Rendszer",
3131
"@settings.theme.mode.opt.system": {
32-
"sourceHash": "0c12227"
32+
"sourceHash": "6725e7b"
3333
},
3434
"settings.appearance.appColor.label": "Appszín",
3535
"@settings.appearance.appColor.label": {
@@ -1192,6 +1192,10 @@
11921192
"@settings.control.customPrefix": {
11931193
"sourceHash": "58c3782"
11941194
},
1195+
"settings.control.backToPresetsAriaLabel": "Vissza az előbeállításokhoz",
1196+
"@settings.control.backToPresetsAriaLabel": {
1197+
"sourceHash": "1579f3f"
1198+
},
11951199
"settings.sidebar.searchPlaceholder": "Beállítások keresése…",
11961200
"@settings.sidebar.searchPlaceholder": {
11971201
"sourceHash": "6801207"

0 commit comments

Comments
 (0)