diff --git a/crates/ui-egui/src/i18n/ca.tsv b/crates/ui-egui/src/i18n/ca.tsv index e4271f7926..635746fe75 100644 --- a/crates/ui-egui/src/i18n/ca.tsv +++ b/crates/ui-egui/src/i18n/ca.tsv @@ -7549,6 +7549,7 @@ liquify-list-end {0}, {1} {0} i {1} @msg the file holds no preferences el fitxer no conté cap preferència @msg `{key}` names a folder, which preferences files leave out `{key}` indica una carpeta, i els fitxers de preferències no inclouen carpetes @msg the file is larger than 1 MB el fitxer ocupa més d’1 MB +@msg the file is larger than 64 MB el fitxer ocupa més de 64 MB @msg give `path` or `data` indiqueu `path` o `data` @msg `{key}` must be an object `{key}` ha de ser un objecte @msg `prefs.import` runs on its own, not as a batch step `prefs.import` s’executa sol, no com a pas d’un lot diff --git a/crates/ui-egui/src/i18n/el.tsv b/crates/ui-egui/src/i18n/el.tsv index 434d0cc0b8..e2f3ebce06 100644 --- a/crates/ui-egui/src/i18n/el.tsv +++ b/crates/ui-egui/src/i18n/el.tsv @@ -5729,6 +5729,7 @@ digits Malayalam Μαλαγιάλαμ @msg the file holds no preferences το αρχείο δεν περιέχει προτιμήσεις @msg `{key}` names a folder, which preferences files leave out το `{key}` ορίζει φάκελο, και τα αρχεία προτιμήσεων δεν περιέχουν φακέλους @msg the file is larger than 1 MB το αρχείο είναι μεγαλύτερο από 1 MB +@msg the file is larger than 64 MB το αρχείο είναι μεγαλύτερο από 64 MB @msg give `path` or `data` δώστε `path` ή `data` @msg `{key}` must be an object το `{key}` πρέπει να είναι αντικείμενο @msg `prefs.import` runs on its own, not as a batch step το `prefs.import` εκτελείται μόνο του, όχι ως βήμα δέσμης diff --git a/crates/ui-egui/src/i18n/fi.tsv b/crates/ui-egui/src/i18n/fi.tsv index a4d85b23e8..d791677d24 100644 --- a/crates/ui-egui/src/i18n/fi.tsv +++ b/crates/ui-egui/src/i18n/fi.tsv @@ -6012,6 +6012,7 @@ liquify-list-end {0}, {1} {0} ja {1} @msg the file holds no preferences tiedostossa ei ole asetuksia @msg `{key}` names a folder, which preferences files leave out `{key}` nimeää kansion, eikä asetustiedostoissa ole kansioita @msg the file is larger than 1 MB tiedosto on suurempi kuin 1 Mt +@msg the file is larger than 64 MB tiedosto on suurempi kuin 64 Mt @msg give `path` or `data` anna `path` tai `data` @msg `{key}` must be an object `{key}` on oltava objekti @msg `prefs.import` runs on its own, not as a batch step `prefs.import` ajetaan yksinään, ei erän vaiheena diff --git a/crates/ui-egui/src/i18n/id.tsv b/crates/ui-egui/src/i18n/id.tsv index 924d3d80b5..ed4341007e 100644 --- a/crates/ui-egui/src/i18n/id.tsv +++ b/crates/ui-egui/src/i18n/id.tsv @@ -6090,6 +6090,7 @@ imageTrace Outline Kontur @msg the file holds no preferences file tidak berisi preferensi @msg `{key}` names a folder, which preferences files leave out `{key}` menunjuk folder, dan file preferensi tidak menyertakan folder @msg the file is larger than 1 MB file lebih besar dari 1 MB +@msg the file is larger than 64 MB berkas lebih besar dari 64 MB @msg give `path` or `data` berikan `path` atau `data` @msg `{key}` must be an object `{key}` harus berupa objek @msg `prefs.import` runs on its own, not as a batch step `prefs.import` dijalankan sendiri, bukan sebagai langkah batch diff --git a/crates/ui-egui/src/i18n/tests.rs b/crates/ui-egui/src/i18n/tests.rs index 2ca2c76e03..fb428adbd9 100644 --- a/crates/ui-egui/src/i18n/tests.rs +++ b/crates/ui-egui/src/i18n/tests.rs @@ -3860,6 +3860,20 @@ fn warped_type_note_is_translated() { } } +/// The error for a character or paragraph styles file over the 64 MB load limit is translated in +/// every complete catalog, through an exact row or the `the file is larger than {_1} MB` template. +#[test] +fn styles_file_size_limit_is_translated() { + assert_eq!(vectorcraft_engine::cmd::textstyles::MAX_LOAD_BYTES, 64 << 20); + let error = "the file is larger than 64 MB"; + for code in COMPLETE_MESSAGES { + let lang = Lang::from_code(code).expect("registered"); + let shown = message(lang, error); + assert_ne!(shown, error, "{code}"); + assert!(shown.contains("64"), "{code}: {shown}"); + } +} + /// The notes a CDR import adds to its warnings are translated in every complete catalog. /// They are constants, which the scan of message literals doesn't see. #[test] diff --git a/crates/ui-egui/src/i18n/vi.tsv b/crates/ui-egui/src/i18n/vi.tsv index 675143a8d6..d58bfa4bc4 100644 --- a/crates/ui-egui/src/i18n/vi.tsv +++ b/crates/ui-egui/src/i18n/vi.tsv @@ -6461,6 +6461,7 @@ liquify-list-end {0}, {1} {0} và {1} @msg the file holds no preferences tệp không chứa tùy chọn nào @msg `{key}` names a folder, which preferences files leave out `{key}` chỉ định một thư mục, và tệp tùy chọn không chứa thư mục @msg the file is larger than 1 MB tệp lớn hơn 1 MB +@msg the file is larger than 64 MB tệp lớn hơn 64 MB @msg give `path` or `data` hãy cung cấp `path` hoặc `data` @msg `{key}` must be an object `{key}` phải là một đối tượng @msg `prefs.import` runs on its own, not as a batch step `prefs.import` chạy riêng, không phải là một bước trong lô