From 60e9ae022278865134d75a2c6df24c1dfc403bd3 Mon Sep 17 00:00:00 2001 From: FredApps <153173854+FredApps@users.noreply.github.com> Date: Wed, 18 Nov 2026 11:07:44 +0700 Subject: [PATCH] =?UTF-8?q?i18n:=20fill-handle=20and=20Home=20=E2=80=BA=20?= =?UTF-8?q?Fill=20menu=20labels=20in=20every=20catalog=20(#4458)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The right-drag fill menu and the Auto Fill Options button (Copy Cells, Fill Series, Fill Formatting Only, Fill Without Formatting, Fill Days, Fill Weekdays, Fill Months, Fill Years and the button's own name) had no row in any catalog, so every language showed them in English. Add them to all 18 non-English catalogs, add Series…, Down and Up from the Home › Fill menu to the nine catalogs that lacked them, and translate the Ukrainian rows that held English. fill_menu_labels_are_translated_in_every_catalog fails when one of these rows goes missing or stays English. Fixes #4458 Signed-off-by: FredApps <153173854+FredApps@users.noreply.github.com> --- crates/ui-egui/src/i18n.rs | 29 +++++++++++++++++++++++++++++ crates/ui-egui/src/i18n/cs.rs | 9 +++++++++ crates/ui-egui/src/i18n/de.rs | 12 ++++++++++++ crates/ui-egui/src/i18n/el.rs | 9 +++++++++ crates/ui-egui/src/i18n/es.rs | 12 ++++++++++++ crates/ui-egui/src/i18n/fr.rs | 12 ++++++++++++ crates/ui-egui/src/i18n/it.rs | 9 +++++++++ crates/ui-egui/src/i18n/ja.rs | 9 +++++++++ crates/ui-egui/src/i18n/ko.rs | 12 ++++++++++++ crates/ui-egui/src/i18n/nl.rs | 9 +++++++++ crates/ui-egui/src/i18n/pl.rs | 9 +++++++++ crates/ui-egui/src/i18n/pt.rs | 9 +++++++++ crates/ui-egui/src/i18n/ro.rs | 9 +++++++++ crates/ui-egui/src/i18n/ru.rs | 12 ++++++++++++ crates/ui-egui/src/i18n/sr.rs | 12 ++++++++++++ crates/ui-egui/src/i18n/tr.rs | 12 ++++++++++++ crates/ui-egui/src/i18n/uk.rs | 15 ++++++++++++--- crates/ui-egui/src/i18n/vi.rs | 12 ++++++++++++ crates/ui-egui/src/i18n/zh.rs | 12 ++++++++++++ docs/localization-parity.md | 3 ++- 20 files changed, 223 insertions(+), 4 deletions(-) diff --git a/crates/ui-egui/src/i18n.rs b/crates/ui-egui/src/i18n.rs index 6f5036c80..0b25ccecf 100644 --- a/crates/ui-egui/src/i18n.rs +++ b/crates/ui-egui/src/i18n.rs @@ -532,6 +532,35 @@ mod tests { } } + /// The fill-handle menus (the right-drag menu and the Auto Fill Options button) and the + /// Home › Fill menu have a row in every catalog, with no silent English fallback (#4458). + #[test] + fn fill_menu_labels_are_translated_in_every_catalog() { + let keys = [ + "Copy Cells", + "Fill Series", + "Fill Formatting Only", + "Fill Without Formatting", + "Fill Days", + "Fill Weekdays", + "Fill Months", + "Fill Years", + "Auto Fill Options", + "Series…", + "Down", + "Up", + ]; + for key in keys { + assert_eq!(Language::En.tr(key), key); + for language in Language::ALL.into_iter().filter(|l| *l != Language::En) { + let code = language.code(); + let shown = language.translated(key).unwrap_or_else(|| panic!("{code}: no row for {key:?}")); + assert!(!shown.trim().is_empty() && !shown.contains('\n'), "{code}: bad translation of {key:?}: {shown:?}"); + assert_ne!(shown, key, "{code}: the row for {key:?} is still English"); + } + } + } + #[test] fn fill_puts_each_value_in_once() { // A value holding a placeholder (a macro named `{steps}`) is shown as it is. diff --git a/crates/ui-egui/src/i18n/cs.rs b/crates/ui-egui/src/i18n/cs.rs index a7464598a..7fbf474c5 100644 --- a/crates/ui-egui/src/i18n/cs.rs +++ b/crates/ui-egui/src/i18n/cs.rs @@ -728,6 +728,15 @@ pub(super) fn translate(text: &str) -> Option<&'static str> { "\\@char has non-numeric argument {argument}" => "\\@char má nečíselný argument {argument}", "\\@char with invalid code point {code}" => "\\@char s neplatným kódovým bodem {code}", "Invalid environment name character: {character}" => "Neplatný znak v názvu prostředí: {character}", + "Copy Cells" => "Kopírovat buňky", + "Fill Series" => "Vyplnit řady", + "Fill Formatting Only" => "Vyplnit pouze formáty", + "Fill Without Formatting" => "Vyplnit bez formátování", + "Fill Days" => "Vyplnit dny", + "Fill Weekdays" => "Vyplnit pracovní dny", + "Fill Months" => "Vyplnit měsíce", + "Fill Years" => "Vyplnit roky", + "Auto Fill Options" => "Možnosti automatického vyplnění", _ => return None, }) } diff --git a/crates/ui-egui/src/i18n/de.rs b/crates/ui-egui/src/i18n/de.rs index 300cc4969..e1490bb96 100644 --- a/crates/ui-egui/src/i18n/de.rs +++ b/crates/ui-egui/src/i18n/de.rs @@ -650,6 +650,18 @@ pub(super) fn translate(text: &str) -> Option<&'static str> { "\\@char has non-numeric argument {argument}" => "\\@char hat ein nicht numerisches Argument {argument}", "\\@char with invalid code point {code}" => "\\@char mit ungültigem Codepunkt {code}", "Invalid environment name character: {character}" => "Ungültiges Zeichen im Umgebungsnamen: {character}", + "Copy Cells" => "Zellen kopieren", + "Fill Series" => "Datenreihe ausfüllen", + "Fill Formatting Only" => "Nur Formate ausfüllen", + "Fill Without Formatting" => "Ohne Formatierung ausfüllen", + "Fill Days" => "Tage ausfüllen", + "Fill Weekdays" => "Wochentage ausfüllen", + "Fill Months" => "Monate ausfüllen", + "Fill Years" => "Jahre ausfüllen", + "Auto Fill Options" => "Optionen für automatisches Ausfüllen", + "Series…" => "Reihe…", + "Down" => "Nach unten", + "Up" => "Nach oben", _ => return None, }) } diff --git a/crates/ui-egui/src/i18n/el.rs b/crates/ui-egui/src/i18n/el.rs index 1287ad6a0..b5cab06d0 100644 --- a/crates/ui-egui/src/i18n/el.rs +++ b/crates/ui-egui/src/i18n/el.rs @@ -1135,6 +1135,15 @@ pub(super) fn translate(text: &str) -> Option<&'static str> { "\\@char has non-numeric argument {argument}" => "Το \\@char έχει μη αριθμητικό όρισμα {argument}", "\\@char with invalid code point {code}" => "\\@char με μη έγκυρο σημείο κώδικα {code}", "Invalid environment name character: {character}" => "Μη έγκυρος χαρακτήρας στο όνομα περιβάλλοντος: {character}", + "Copy Cells" => "Αντιγραφή κελιών", + "Fill Series" => "Συμπλήρωση σειράς", + "Fill Formatting Only" => "Συμπλήρωση μόνο μορφοποίησης", + "Fill Without Formatting" => "Συμπλήρωση χωρίς μορφοποίηση", + "Fill Days" => "Συμπλήρωση ημερών", + "Fill Weekdays" => "Συμπλήρωση εργάσιμων ημερών", + "Fill Months" => "Συμπλήρωση μηνών", + "Fill Years" => "Συμπλήρωση ετών", + "Auto Fill Options" => "Επιλογές αυτόματης συμπλήρωσης", _ => return None, }) } diff --git a/crates/ui-egui/src/i18n/es.rs b/crates/ui-egui/src/i18n/es.rs index d0df42c8b..d318e998f 100644 --- a/crates/ui-egui/src/i18n/es.rs +++ b/crates/ui-egui/src/i18n/es.rs @@ -656,6 +656,18 @@ pub(super) fn translate(text: &str) -> Option<&'static str> { "\\@char has non-numeric argument {argument}" => "\\@char tiene un argumento no numérico {argument}", "\\@char with invalid code point {code}" => "\\@char con un punto de código no válido {code}", "Invalid environment name character: {character}" => "Carácter no válido en el nombre del entorno: {character}", + "Copy Cells" => "Copiar celdas", + "Fill Series" => "Rellenar serie", + "Fill Formatting Only" => "Rellenar solo formatos", + "Fill Without Formatting" => "Rellenar sin formato", + "Fill Days" => "Rellenar días", + "Fill Weekdays" => "Rellenar días laborables", + "Fill Months" => "Rellenar meses", + "Fill Years" => "Rellenar años", + "Auto Fill Options" => "Opciones de autorrelleno", + "Series…" => "Serie…", + "Down" => "Hacia abajo", + "Up" => "Hacia arriba", _ => return None, }) } diff --git a/crates/ui-egui/src/i18n/fr.rs b/crates/ui-egui/src/i18n/fr.rs index 104edcd16..1fdcb1279 100644 --- a/crates/ui-egui/src/i18n/fr.rs +++ b/crates/ui-egui/src/i18n/fr.rs @@ -618,6 +618,18 @@ pub(super) fn translate(text: &str) -> Option<&'static str> { "\\@char has non-numeric argument {argument}" => "\\@char a un argument non numérique {argument}", "\\@char with invalid code point {code}" => "\\@char avec un point de code non valide {code}", "Invalid environment name character: {character}" => "Caractère non valide dans le nom d'environnement : {character}", + "Copy Cells" => "Copier les cellules", + "Fill Series" => "Remplir la série", + "Fill Formatting Only" => "Remplir les formats uniquement", + "Fill Without Formatting" => "Remplir sans la mise en forme", + "Fill Days" => "Remplir les jours", + "Fill Weekdays" => "Remplir les jours ouvrés", + "Fill Months" => "Remplir les mois", + "Fill Years" => "Remplir les années", + "Auto Fill Options" => "Options de remplissage automatique", + "Series…" => "Série…", + "Down" => "Vers le bas", + "Up" => "Vers le haut", _ => return None, }) } diff --git a/crates/ui-egui/src/i18n/it.rs b/crates/ui-egui/src/i18n/it.rs index 1ca07d34b..1154e1738 100644 --- a/crates/ui-egui/src/i18n/it.rs +++ b/crates/ui-egui/src/i18n/it.rs @@ -1139,6 +1139,15 @@ pub(super) fn translate(text: &str) -> Option<&'static str> { "\\@char has non-numeric argument {argument}" => "\\@char ha un argomento non numerico {argument}", "\\@char with invalid code point {code}" => "\\@char con punto di codice non valido {code}", "Invalid environment name character: {character}" => "Carattere non valido nel nome dell'ambiente: {character}", + "Copy Cells" => "Copia celle", + "Fill Series" => "Riempi serie", + "Fill Formatting Only" => "Riempi solo formattazione", + "Fill Without Formatting" => "Riempi senza formattazione", + "Fill Days" => "Riempi giorni", + "Fill Weekdays" => "Riempi giorni feriali", + "Fill Months" => "Riempi mesi", + "Fill Years" => "Riempi anni", + "Auto Fill Options" => "Opzioni di riempimento automatico", _ => return None, }) } diff --git a/crates/ui-egui/src/i18n/ja.rs b/crates/ui-egui/src/i18n/ja.rs index f5d9baa2a..3033b55e5 100644 --- a/crates/ui-egui/src/i18n/ja.rs +++ b/crates/ui-egui/src/i18n/ja.rs @@ -1288,6 +1288,15 @@ pub(super) const EXTRA: &[(&str, &str)] = &[ "Drag to fill cells. Drag from inside a cell to select a range.", "ドラッグしてセルをオートフィルします。セルの内側からドラッグすると範囲を選択します。", ), + ("Copy Cells", "セルのコピー"), + ("Fill Series", "連続データを入力"), + ("Fill Formatting Only", "書式のみを入力"), + ("Fill Without Formatting", "書式なしで入力"), + ("Fill Days", "日単位で入力"), + ("Fill Weekdays", "平日単位で入力"), + ("Fill Months", "月単位で入力"), + ("Fill Years", "年単位で入力"), + ("Auto Fill Options", "オートフィル オプション"), ]; /// Translates an interface label; `None` for a label the catalog does not know, so `i18n.rs` can diff --git a/crates/ui-egui/src/i18n/ko.rs b/crates/ui-egui/src/i18n/ko.rs index 880f97ac8..2e5b7660f 100644 --- a/crates/ui-egui/src/i18n/ko.rs +++ b/crates/ui-egui/src/i18n/ko.rs @@ -616,6 +616,18 @@ pub(super) fn translate(text: &str) -> Option<&'static str> { "\\@char has non-numeric argument {argument}" => "\\@char 의 인수 {argument} 이(가) 숫자가 아닙니다", "\\@char with invalid code point {code}" => "\\@char 의 코드 포인트 {code} 이(가) 잘못되었습니다", "Invalid environment name character: {character}" => "환경 이름에 잘못된 문자가 있습니다: {character}", + "Copy Cells" => "셀 복사", + "Fill Series" => "연속 데이터 채우기", + "Fill Formatting Only" => "서식만 채우기", + "Fill Without Formatting" => "서식 없이 채우기", + "Fill Days" => "일 단위 채우기", + "Fill Weekdays" => "평일 단위 채우기", + "Fill Months" => "월 단위 채우기", + "Fill Years" => "연 단위 채우기", + "Auto Fill Options" => "자동 채우기 옵션", + "Series…" => "연속 데이터…", + "Down" => "아래쪽", + "Up" => "위쪽", _ => return None, }) } diff --git a/crates/ui-egui/src/i18n/nl.rs b/crates/ui-egui/src/i18n/nl.rs index ea0352af3..8267b65ef 100644 --- a/crates/ui-egui/src/i18n/nl.rs +++ b/crates/ui-egui/src/i18n/nl.rs @@ -691,6 +691,15 @@ pub(super) fn translate(text: &str) -> Option<&'static str> { "\\@char has non-numeric argument {argument}" => "\\@char heeft een niet-numeriek argument {argument}", "\\@char with invalid code point {code}" => "\\@char met ongeldig codepunt {code}", "Invalid environment name character: {character}" => "Ongeldig teken in de omgevingsnaam: {character}", + "Copy Cells" => "Cellen kopiëren", + "Fill Series" => "Reeks vullen", + "Fill Formatting Only" => "Alleen opmaak vullen", + "Fill Without Formatting" => "Vullen zonder opmaak", + "Fill Days" => "Dagen vullen", + "Fill Weekdays" => "Werkdagen vullen", + "Fill Months" => "Maanden vullen", + "Fill Years" => "Jaren vullen", + "Auto Fill Options" => "Opties voor automatisch vullen", _ => return None, }) } diff --git a/crates/ui-egui/src/i18n/pl.rs b/crates/ui-egui/src/i18n/pl.rs index b7b588205..0b774cbf1 100644 --- a/crates/ui-egui/src/i18n/pl.rs +++ b/crates/ui-egui/src/i18n/pl.rs @@ -1127,6 +1127,15 @@ pub(super) fn translate(text: &str) -> Option<&'static str> { "\\@char has non-numeric argument {argument}" => "\\@char ma nienumeryczny argument {argument}", "\\@char with invalid code point {code}" => "\\@char z nieprawidłowym punktem kodowym {code}", "Invalid environment name character: {character}" => "Nieprawidłowy znak w nazwie środowiska: {character}", + "Copy Cells" => "Kopiuj komórki", + "Fill Series" => "Wypełnij serią", + "Fill Formatting Only" => "Wypełnij tylko formatami", + "Fill Without Formatting" => "Wypełnij bez formatowania", + "Fill Days" => "Wypełnij dniami", + "Fill Weekdays" => "Wypełnij dniami roboczymi", + "Fill Months" => "Wypełnij miesiącami", + "Fill Years" => "Wypełnij latami", + "Auto Fill Options" => "Opcje autowypełniania", _ => return None, }) } diff --git a/crates/ui-egui/src/i18n/pt.rs b/crates/ui-egui/src/i18n/pt.rs index 168450222..a26216f1b 100644 --- a/crates/ui-egui/src/i18n/pt.rs +++ b/crates/ui-egui/src/i18n/pt.rs @@ -1143,6 +1143,15 @@ pub(super) fn translate(text: &str) -> Option<&'static str> { "\\@char has non-numeric argument {argument}" => "\\@char tem um argumento não numérico {argument}", "\\@char with invalid code point {code}" => "\\@char com ponto de código inválido {code}", "Invalid environment name character: {character}" => "Caractere inválido no nome do ambiente: {character}", + "Copy Cells" => "Copiar Células", + "Fill Series" => "Preencher Série", + "Fill Formatting Only" => "Preencher Somente Formatos", + "Fill Without Formatting" => "Preencher Sem Formatação", + "Fill Days" => "Preencher Dias", + "Fill Weekdays" => "Preencher Dias Úteis", + "Fill Months" => "Preencher Meses", + "Fill Years" => "Preencher Anos", + "Auto Fill Options" => "Opções de Autopreenchimento", _ => return None, }) } diff --git a/crates/ui-egui/src/i18n/ro.rs b/crates/ui-egui/src/i18n/ro.rs index ad47d7011..e4b1ab3c7 100644 --- a/crates/ui-egui/src/i18n/ro.rs +++ b/crates/ui-egui/src/i18n/ro.rs @@ -1189,6 +1189,15 @@ pub(super) fn translate(text: &str) -> Option<&'static str> { "\\@char has non-numeric argument {argument}" => "\\@char are un argument nenumeric {argument}", "\\@char with invalid code point {code}" => "\\@char cu punct de cod nevalid {code}", "Invalid environment name character: {character}" => "Caracter nevalid în numele mediului: {character}", + "Copy Cells" => "Copiere celule", + "Fill Series" => "Umplere serie", + "Fill Formatting Only" => "Umplere doar formate", + "Fill Without Formatting" => "Umplere fără formatare", + "Fill Days" => "Umplere zile", + "Fill Weekdays" => "Umplere zile lucrătoare", + "Fill Months" => "Umplere luni", + "Fill Years" => "Umplere ani", + "Auto Fill Options" => "Opțiuni de umplere automată", _ => return None, }) } diff --git a/crates/ui-egui/src/i18n/ru.rs b/crates/ui-egui/src/i18n/ru.rs index 77a387442..3f861bb2f 100644 --- a/crates/ui-egui/src/i18n/ru.rs +++ b/crates/ui-egui/src/i18n/ru.rs @@ -626,6 +626,18 @@ pub(super) fn translate(text: &str) -> Option<&'static str> { "\\@char has non-numeric argument {argument}" => "У \\@char нечисловой аргумент {argument}", "\\@char with invalid code point {code}" => "\\@char с недопустимой кодовой точкой {code}", "Invalid environment name character: {character}" => "Недопустимый символ в имени окружения: {character}", + "Copy Cells" => "Копировать ячейки", + "Fill Series" => "Заполнить ряд", + "Fill Formatting Only" => "Заполнить только форматы", + "Fill Without Formatting" => "Заполнить без форматирования", + "Fill Days" => "Заполнить по дням", + "Fill Weekdays" => "Заполнить по рабочим дням", + "Fill Months" => "Заполнить по месяцам", + "Fill Years" => "Заполнить по годам", + "Auto Fill Options" => "Параметры автозаполнения", + "Series…" => "Ряд…", + "Down" => "Вниз", + "Up" => "Вверх", _ => return None, }) } diff --git a/crates/ui-egui/src/i18n/sr.rs b/crates/ui-egui/src/i18n/sr.rs index 4b65ab8be..5aabbf7b1 100644 --- a/crates/ui-egui/src/i18n/sr.rs +++ b/crates/ui-egui/src/i18n/sr.rs @@ -609,6 +609,18 @@ pub(super) fn translate(text: &str) -> Option<&'static str> { "\\@char has non-numeric argument {argument}" => "\\@char ima nenumerički argument {argument}", "\\@char with invalid code point {code}" => "\\@char sa nevažećom kodnom tačkom {code}", "Invalid environment name character: {character}" => "Nevažeći znak u nazivu okruženja: {character}", + "Copy Cells" => "Kopiraj ćelije", + "Fill Series" => "Popuni niz", + "Fill Formatting Only" => "Popuni samo oblikovanja", + "Fill Without Formatting" => "Popuni bez oblikovanja", + "Fill Days" => "Popuni dane", + "Fill Weekdays" => "Popuni radne dane", + "Fill Months" => "Popuni mesece", + "Fill Years" => "Popuni godine", + "Auto Fill Options" => "Opcije automatskog popunjavanja", + "Series…" => "Niz…", + "Down" => "Nadole", + "Up" => "Nagore", _ => return None, }) } diff --git a/crates/ui-egui/src/i18n/tr.rs b/crates/ui-egui/src/i18n/tr.rs index e2d27fbf0..ca59a0dd9 100644 --- a/crates/ui-egui/src/i18n/tr.rs +++ b/crates/ui-egui/src/i18n/tr.rs @@ -581,6 +581,18 @@ pub(super) fn translate(text: &str) -> Option<&'static str> { "\\@char has non-numeric argument {argument}" => "\\@char sayısal olmayan bir bağımsız değişkene sahip: {argument}", "\\@char with invalid code point {code}" => "\\@char geçersiz bir kod noktası içeriyor: {code}", "Invalid environment name character: {character}" => "Ortam adında geçersiz karakter: {character}", + "Copy Cells" => "Hücreleri Kopyala", + "Fill Series" => "Seriyi Doldur", + "Fill Formatting Only" => "Yalnızca Biçimleri Doldur", + "Fill Without Formatting" => "Biçimlendirmeden Doldur", + "Fill Days" => "Günleri Doldur", + "Fill Weekdays" => "İş Günlerini Doldur", + "Fill Months" => "Ayları Doldur", + "Fill Years" => "Yılları Doldur", + "Auto Fill Options" => "Otomatik Doldurma Seçenekleri", + "Series…" => "Seri…", + "Down" => "Aşağı", + "Up" => "Yukarı", _ => return None, }) } diff --git a/crates/ui-egui/src/i18n/uk.rs b/crates/ui-egui/src/i18n/uk.rs index 185a21c1d..33141bdff 100644 --- a/crates/ui-egui/src/i18n/uk.rs +++ b/crates/ui-egui/src/i18n/uk.rs @@ -907,7 +907,7 @@ pub(super) fn translate(text: &str) -> Option<&'static str> { "Delete chart" => "Видалити діаграму", "Delete…" => "Delete…", "Dismiss" => "Dismiss", - "Down" => "Down", + "Down" => "Вниз", "Edit chart title" => "Редагувати назву діаграми", "Erase ink strokes" => "Erase ink strokes", "Every command run in this session (replayable)" => "Every command run in this session (replayable)", @@ -954,7 +954,7 @@ pub(super) fn translate(text: &str) -> Option<&'static str> { "Search and run any command" => "Search and run any command", "Search commands" => "Search commands", "Select and move ink and shapes" => "Select and move ink and shapes", - "Series…" => "Series…", + "Series…" => "Ряд…", "Share: export or save a copy" => "Share: export or save a copy", "Show Formulas (⌃`)" => "Show Formulas (⌃`)", "Slicer" => "Slicer", @@ -969,7 +969,7 @@ pub(super) fn translate(text: &str) -> Option<&'static str> { "Undo" => "Undo", "Undo list" => "Undo list", "Unhide Sheet…" => "Unhide Sheet…", - "Up" => "Up", + "Up" => "Угору", "Version, contributors and the AI models that helped" => "Version, contributors and the AI models that helped", "What-If Analysis" => "What-If Analysis", "Zoom In" => "Zoom In", @@ -1131,6 +1131,15 @@ pub(super) fn translate(text: &str) -> Option<&'static str> { "\\@char has non-numeric argument {argument}" => "\\@char має нечисловий аргумент {argument}", "\\@char with invalid code point {code}" => "\\@char з неприпустимою кодовою точкою {code}", "Invalid environment name character: {character}" => "Неприпустимий символ у назві середовища: {character}", + "Copy Cells" => "Копіювати комірки", + "Fill Series" => "Заповнити ряд", + "Fill Formatting Only" => "Заповнити лише формати", + "Fill Without Formatting" => "Заповнити без форматування", + "Fill Days" => "Заповнити дні", + "Fill Weekdays" => "Заповнити робочі дні", + "Fill Months" => "Заповнити місяці", + "Fill Years" => "Заповнити роки", + "Auto Fill Options" => "Параметри автозаповнення", _ => return None, }) } diff --git a/crates/ui-egui/src/i18n/vi.rs b/crates/ui-egui/src/i18n/vi.rs index 93dd95937..100230d02 100644 --- a/crates/ui-egui/src/i18n/vi.rs +++ b/crates/ui-egui/src/i18n/vi.rs @@ -577,6 +577,18 @@ pub(super) fn translate(text: &str) -> Option<&'static str> { "\\@char has non-numeric argument {argument}" => "\\@char có đối số không phải số {argument}", "\\@char with invalid code point {code}" => "\\@char có điểm mã không hợp lệ {code}", "Invalid environment name character: {character}" => "Ký tự không hợp lệ trong tên môi trường: {character}", + "Copy Cells" => "Sao chép ô", + "Fill Series" => "Điền chuỗi", + "Fill Formatting Only" => "Chỉ điền định dạng", + "Fill Without Formatting" => "Điền không kèm định dạng", + "Fill Days" => "Điền theo ngày", + "Fill Weekdays" => "Điền theo ngày làm việc", + "Fill Months" => "Điền theo tháng", + "Fill Years" => "Điền theo năm", + "Auto Fill Options" => "Tùy chọn tự động điền", + "Series…" => "Chuỗi…", + "Down" => "Xuống", + "Up" => "Lên", _ => return None, }) } diff --git a/crates/ui-egui/src/i18n/zh.rs b/crates/ui-egui/src/i18n/zh.rs index b57d3292d..36e1d4cca 100644 --- a/crates/ui-egui/src/i18n/zh.rs +++ b/crates/ui-egui/src/i18n/zh.rs @@ -600,6 +600,18 @@ pub(super) fn translate(text: &str) -> Option<&'static str> { "\\@char has non-numeric argument {argument}" => "\\@char 的参数 {argument} 不是数字", "\\@char with invalid code point {code}" => "\\@char 的码位 {code} 无效", "Invalid environment name character: {character}" => "环境名称中有无效字符: {character}", + "Copy Cells" => "复制单元格", + "Fill Series" => "填充序列", + "Fill Formatting Only" => "仅填充格式", + "Fill Without Formatting" => "不带格式填充", + "Fill Days" => "以天数填充", + "Fill Weekdays" => "以工作日填充", + "Fill Months" => "以月填充", + "Fill Years" => "以年填充", + "Auto Fill Options" => "自动填充选项", + "Series…" => "序列…", + "Down" => "向下", + "Up" => "向上", _ => return None, }) } diff --git a/docs/localization-parity.md b/docs/localization-parity.md index d3f94425c..c32c2c3be 100644 --- a/docs/localization-parity.md +++ b/docs/localization-parity.md @@ -1,6 +1,6 @@ # Localization parity -> **Last reviewed:** 2026-10-10 · **Last updated:** 2026-11-15 · **Change:** minor (RaTeX equation parser messages follow the interface language); previously minor (status bar statistics, resize tips, picture-in-cell text, sheet notes, Format Control title, equation errors, Goal Seek and macro toasts follow the interface language); previously minor (Arabic PDF export no longer fails when a character or the Arabic font is missing; Arabic PDF cells keep their reading direction and RTL pages mirror); previously minor (Ukrainian Chart is Діаграма); previously minor (Diagram and Decorative Text labels, Diagram distinct from Chart); previously minor (CJK fallback baseline alignment); previously minor (Arabic bidi display, editing and cell reading direction; missing translations are listed by `cargo xtask i18n-report` and never fail a check); previously minor (Arabic font fallback; missing translations are listed by `cargo xtask i18n-report` and never fail a check); previously minor (number formats honour the `B1`/`B2` calendar prefixes, checked against Excel; earlier: missing translations are listed by `cargo xtask i18n-report` and never fail a check; Arabic text sorts by its letters, not its vowel marks); previously minor (AutoFit estimates Arabic text width from measured glyph widths); previously minor (missing translations are listed by `cargo xtask i18n-report` and never fail a check; Arabic text sorts by its letters, not its vowel marks) · **Target:** Microsoft Excel (Microsoft 365), Excel for Mac 16.113.4 +> **Last reviewed:** 2026-10-10 · **Last updated:** 2026-11-18 · **Change:** minor (fill-handle and Home › Fill menu labels in every catalog); previously minor (RaTeX equation parser messages follow the interface language); previously minor (status bar statistics, resize tips, picture-in-cell text, sheet notes, Format Control title, equation errors, Goal Seek and macro toasts follow the interface language); previously minor (Arabic PDF export no longer fails when a character or the Arabic font is missing; Arabic PDF cells keep their reading direction and RTL pages mirror); previously minor (Ukrainian Chart is Діаграма); previously minor (Diagram and Decorative Text labels, Diagram distinct from Chart); previously minor (CJK fallback baseline alignment); previously minor (Arabic bidi display, editing and cell reading direction; missing translations are listed by `cargo xtask i18n-report` and never fail a check); previously minor (Arabic font fallback; missing translations are listed by `cargo xtask i18n-report` and never fail a check); previously minor (number formats honour the `B1`/`B2` calendar prefixes, checked against Excel; earlier: missing translations are listed by `cargo xtask i18n-report` and never fail a check; Arabic text sorts by its letters, not its vowel marks); previously minor (AutoFit estimates Arabic text width from measured glyph widths); previously minor (missing translations are listed by `cargo xtask i18n-report` and never fail a check; Arabic text sorts by its letters, not its vowel marks) · **Target:** Microsoft Excel (Microsoft 365), Excel for Mac 16.113.4 Per-language status against Excel, which ships its UI in dozens of languages (Windows language packs cover 100+), with localized function names, argument separators, number and date formats, @@ -146,6 +146,7 @@ language (none so far) and of localized function names. | Date | Change | Summary | |---|---|---| +| 2026-11-18 | minor | The fill-handle menus (right-drag menu and Auto Fill Options: Copy Cells, Fill Series, Fill Formatting Only, Fill Without Formatting, Fill Days, Fill Weekdays, Fill Months, Fill Years, and the button's own name) have a row in all 18 non-English catalogs, and Series…, Down and Up from the Home › Fill menu in the nine catalogs that lacked them; the Ukrainian rows that held English are translated. A test fails when one goes missing (#4458). The translations are AI-assisted and not yet reviewed by native speakers | | 2026-11-15 | minor | The RaTeX equation parser's messages follow the interface language: its 33 fixed messages are catalog keys, and its 33 messages that carry a piece of the source (a command, token, environment name or count) are read back into templates (`i18n::unfill`) whose translation is filled with the same pieces. A message of another shape, such as RaTeX's internal ones or the chemistry parser's, stays English. 66 new keys in every catalog (#4261) | | 2026-11-10 | minor | Ukrainian Chart is `Діаграма`, matching [craft-i18n#211](https://github.com/storytold/craft-i18n/pull/211) and distinct from Diagram (`Схема`) | | 2026-11-10 | minor | Diagram and Decorative Text labels in all 18 non-English catalogs; Diagram never repeats the catalog's chart word (German `Schema`, Ukrainian `Схема`, Romanian `Schemă`), see [feature-names.md](feature-names.md) |