i18n: translate the chip reordering strings

The three `common.reorder.*` keys (grip tooltip and hint, the per-grip
aria label, and the aria-live announcement) are rendered in all 9
locales. They sit under `common` rather than in a feature namespace
because both the tag editor and the trigger-word editor render them, and
only `dragHandle` is visible copy — the other two are screen-reader text.

`Alt` and the `↑/↓` glyphs stay verbatim everywhere, the same precedent
as `Shift+Enter` in `modals.model.metadata.notesHint`, because they name
the keys rather than an action. "position X of Y" reuses each locale's
existing counting phrasing (ja `{total} 件中 … 番目`, ko
`총 {total}개 중 …번째`, fr `sur {total}`, ru `из {total}`), and
parentheses follow each file's own convention: full-width in zh-CN /
zh-TW / ja, ASCII in ko and the Latin/Cyrillic locales. No
`[TODO: Translate]` placeholder is left in any locale.

docs/i18n-translation-guidelines.md gains the matching §2 subsection and
status note so a later terminology sweep preserves these renderings; the
leaf-key count in its header is corrected to 2025 at the same time.
This commit is contained in:
Will Miao
2026-09-16 08:23:06 +08:00
parent 01137eed88
commit 779bd18e75
10 changed files with 58 additions and 28 deletions
+3 -3
View File
@@ -3,9 +3,9 @@
"cancel": "Annuler",
"confirm": "Confirmer",
"reorder": {
"dragHandle": "[TODO: Translate] Drag to reorder (Alt + ↑/↓)",
"ariaLabel": "[TODO: Translate] Reorder {item}, position {position} of {total}",
"announcement": "[TODO: Translate] Moved to position {position} of {total}"
"dragHandle": "Glisser pour réordonner (Alt + ↑/↓)",
"ariaLabel": "Réordonner {item}, position {position} sur {total}",
"announcement": "Déplacé en position {position} sur {total}"
},
"actions": {
"save": "Enregistrer",