diff --git a/crates/ui-egui/src/i18n.rs b/crates/ui-egui/src/i18n.rs index 377df81a72..b5ab28b88a 100644 --- a/crates/ui-egui/src/i18n.rs +++ b/crates/ui-egui/src/i18n.rs @@ -703,11 +703,64 @@ fn message_at(lang: Lang, s: &str, depth: usize) -> String { message_at(lang, v, depth - 1) } }; - let values: Vec<(&str, String)> = caps.into_iter().map(|(k, v)| (k, nested(v))).collect(); + let liquify = liquify_skip_values(lang, s, &caps); + let values: Vec<(&str, String)> = caps + .into_iter() + .map(|(k, v)| match (&liquify, k) { + (Some((tool, _)), "_1") => (k, tool.clone()), + (Some((_, kinds)), "_2") => (k, kinds.clone()), + _ => (k, nested(v)), + }) + .collect(); let args: Vec<(&str, &str)> = values.iter().map(|(k, v)| (*k, v.as_str())).collect(); fill_once(template, &args) } +/// The tool labels in Liquify's warning about the objects under the brush that it left as they +/// were, each translated by its `liquify-tool` row. +const LIQUIFY_TOOLS: [&str; 7] = ["Warp", "Twirl", "Pucker", "Bloat", "Scallop", "Crystallize", "Wrinkle"]; + +/// The kinds of object that warning lists (the engine's `not_liquified` in +/// `crates/engine/src/cmd/distortcmds.rs`), each translated by its `liquify-kind` row. +const LIQUIFY_KINDS: [&str; 9] = ["graphs", "type", "symbols", "images", "meshes", "envelopes", "repeats", "placed documents", "blends"]; + +/// The tool and the list of kinds in `lang` when `s` is Liquify's warning about the objects under +/// the brush that it left as they were and `caps` are its captures. The kinds keep their order and +/// are joined with the `liquify-list-two` row for two, and the `liquify-list-middle` and +/// `liquify-list-end` rows for more; a missing row leaves its part in English. `None` for any +/// other message, or a tool or kind that is not one of Liquify's. +fn liquify_skip_values(lang: Lang, s: &str, caps: &[(&str, &str)]) -> Option<(String, String)> { + let cap = |name: &str| caps.iter().find(|(k, _)| *k == name).map(|(_, v)| *v); + let (tool, n, kinds) = (cap("_1")?, cap("n")?, cap("_2")?); + let english = if n == "1" { + format!("{tool} left {n} object under the brush as it was ({kinds}): it reshapes paths only") + } else { + format!("{tool} left {n} objects under the brush as they were ({kinds}): it reshapes paths only") + }; + if caps.len() != 3 || english != s || !LIQUIFY_TOOLS.contains(&tool) { + return None; + } + let catalog = lang.catalog(); + let words = kinds + .split(", ") + .map(|k| LIQUIFY_KINDS.contains(&k).then(|| catalog.contextual("liquify-kind", k).unwrap_or(k))) + .collect::>>()?; + let join = |context: &str, a: &str, b: &str| { + let pattern = "{0}, {1}"; + fill_once(catalog.contextual(context, pattern).unwrap_or(pattern), &[("0", a), ("1", b)]) + }; + let list = match words.as_slice() { + [] => return None, + [one] => (*one).to_string(), + [a, b] => join("liquify-list-two", a, b), + [first, middle @ .., last] => { + let head = middle.iter().fold((*first).to_string(), |acc, w| join("liquify-list-middle", &acc, w)); + join("liquify-list-end", &head, last) + } + }; + Some((catalog.contextual("liquify-tool", tool).unwrap_or(tool).to_string(), list)) +} + /// The translation of a message with an exact `@msg` row in `catalog`, its `{{` and `}}` shown as /// `{` and `}`. fn exact_translation(catalog: &Catalog, s: &str) -> Option { diff --git a/crates/ui-egui/src/i18n/ca.tsv b/crates/ui-egui/src/i18n/ca.tsv index bba846f082..ee7baa4717 100644 --- a/crates/ui-egui/src/i18n/ca.tsv +++ b/crates/ui-egui/src/i18n/ca.tsv @@ -5585,6 +5585,25 @@ digits Malayalam Malaiàlam @msg {name}: `answers` has no answer left for this dialog {name}: a `answers` no queden respostes per a aquest quadre de diàleg @msgplural `answers` has {n} answer the script did not use|`answers` has {n} answers the script did not use `answers` conté {n} resposta que l'script no ha utilitzat|`answers` conté {n} respostes que l'script no ha utilitzat @msgplural {_1} left {n} object under the brush as it was ({_2}): it reshapes paths only|{_1} left {n} objects under the brush as they were ({_2}): it reshapes paths only {_1} ha deixat {n} objecte sota el pinzell sense canvis ({_2}): només remodela traçats|{_1} ha deixat {n} objectes sota el pinzell sense canvis ({_2}): només remodela traçats +liquify-tool Warp Deformació +liquify-tool Twirl Remolí +liquify-tool Pucker Arrufament +liquify-tool Bloat Inflament +liquify-tool Scallop Festonat +liquify-tool Crystallize Cristal·lització +liquify-tool Wrinkle Arruga +liquify-kind graphs gràfics +liquify-kind type text +liquify-kind symbols símbols +liquify-kind images imatges +liquify-kind meshes malles +liquify-kind envelopes embolcalls +liquify-kind repeats repeticions +liquify-kind placed documents documents col·locats +liquify-kind blends fusions +liquify-list-two {0}, {1} {0} i {1} +liquify-list-middle {0}, {1} {0}, {1} +liquify-list-end {0}, {1} {0} i {1} @msg vc.document{place} is too large for a script vc.document{place} és massa gran per a un script @msg vc.log: the log of this run is full vc.log: el registre d'aquesta execució és ple @msg this function's script run has ended l'execució de l'script d'aquesta funció ha acabat diff --git a/crates/ui-egui/src/i18n/cs.tsv b/crates/ui-egui/src/i18n/cs.tsv index bf4352716d..141ff0a218 100644 --- a/crates/ui-egui/src/i18n/cs.tsv +++ b/crates/ui-egui/src/i18n/cs.tsv @@ -4691,6 +4691,25 @@ imageTrace Outline Obrys @msg {name}: `answers` has no answer left for this dialog {name}: `answers` už nemá pro tento dialog žádnou odpověď @msgplural `answers` has {n} answer the script did not use|`answers` has {n} answers the script did not use V `answers` je {n} odpověď, kterou skript nepoužil|V `answers` jsou {n} odpovědi, které skript nepoužil|V `answers` je {n} odpovědí, které skript nepoužil @msgplural {_1} left {n} object under the brush as it was ({_2}): it reshapes paths only|{_1} left {n} objects under the brush as they were ({_2}): it reshapes paths only {_1} ponechal {n} objekt pod štětcem beze změny ({_2}): mění pouze cesty|{_1} ponechal {n} objekty pod štětcem beze změny ({_2}): mění pouze cesty|{_1} ponechal {n} objektů pod štětcem beze změny ({_2}): mění pouze cesty +liquify-tool Warp Nástroj Pokřivení +liquify-tool Twirl Nástroj Zatočení +liquify-tool Pucker Nástroj Smrštění +liquify-tool Bloat Nástroj Vyboulení +liquify-tool Scallop Nástroj Vroubkování +liquify-tool Crystallize Nástroj Krystalizace +liquify-tool Wrinkle Nástroj Zvrásnění +liquify-kind graphs grafy +liquify-kind type text +liquify-kind symbols symboly +liquify-kind images obrazy +liquify-kind meshes sítě +liquify-kind envelopes obálky +liquify-kind repeats opakování +liquify-kind placed documents umístěné dokumenty +liquify-kind blends prolnutí +liquify-list-two {0}, {1} {0} a {1} +liquify-list-middle {0}, {1} {0}, {1} +liquify-list-end {0}, {1} {0} a {1} @msg vc.document{place} is too large for a script vc.document{place} je pro skript příliš velký @msg vc.log: the log of this run is full vc.log: protokol tohoto běhu je plný @msg this function's script run has ended běh skriptu této funkce skončil diff --git a/crates/ui-egui/src/i18n/da.tsv b/crates/ui-egui/src/i18n/da.tsv index 0e9031efa7..6d9c03489d 100644 --- a/crates/ui-egui/src/i18n/da.tsv +++ b/crates/ui-egui/src/i18n/da.tsv @@ -133,6 +133,25 @@ @msg {name}: `answers` has no answer left for this dialog {name}: `answers` har intet svar tilbage til denne dialog @msgplural `answers` has {n} answer the script did not use|`answers` has {n} answers the script did not use `answers` har {n} svar, som scriptet ikke brugte|`answers` har {n} svar, som scriptet ikke brugte @msgplural {_1} left {n} object under the brush as it was ({_2}): it reshapes paths only|{_1} left {n} objects under the brush as they were ({_2}): it reshapes paths only {_1} lod {n} objekt under penslen være uændret ({_2}): det omformer kun kurver|{_1} lod {n} objekter under penslen være uændrede ({_2}): det omformer kun kurver +liquify-tool Warp Vridning +liquify-tool Twirl Hvirvel +liquify-tool Pucker Krymp +liquify-tool Bloat Opsvulm +liquify-tool Scallop Muslingekant +liquify-tool Crystallize Krystallisering +liquify-tool Wrinkle Rynke +liquify-kind graphs diagrammer +liquify-kind type tekst +liquify-kind symbols symboler +liquify-kind images billeder +liquify-kind meshes net +liquify-kind envelopes konvolutter +liquify-kind repeats gentagelser +liquify-kind placed documents placerede dokumenter +liquify-kind blends blandinger +liquify-list-two {0}, {1} {0} og {1} +liquify-list-middle {0}, {1} {0}, {1} +liquify-list-end {0}, {1} {0} og {1} @msg vc.document{place} is too large for a script vc.document{place} er for stort til et script @msg vc.log: the log of this run is full vc.log: loggen for denne kørsel er fuld @msg this function's script run has ended denne funktions scriptkørsel er afsluttet diff --git a/crates/ui-egui/src/i18n/de.tsv b/crates/ui-egui/src/i18n/de.tsv index 003823f110..55a974118c 100644 --- a/crates/ui-egui/src/i18n/de.tsv +++ b/crates/ui-egui/src/i18n/de.tsv @@ -4303,6 +4303,25 @@ theme Appearance Erscheinungsbild @msg {name}: `answers` has no answer left for this dialog {name}: `answers` hat keine Antwort mehr für diesen Dialog @msgplural `answers` has {n} answer the script did not use|`answers` has {n} answers the script did not use `answers` enthält {n} Antwort, die das Skript nicht verwendet hat|`answers` enthält {n} Antworten, die das Skript nicht verwendet hat @msgplural {_1} left {n} object under the brush as it was ({_2}): it reshapes paths only|{_1} left {n} objects under the brush as they were ({_2}): it reshapes paths only {_1} ließ {n} Objekt unter dem Pinsel unverändert ({_2}): es formt nur Pfade um|{_1} ließ {n} Objekte unter dem Pinsel unverändert ({_2}): es formt nur Pfade um +liquify-tool Warp Verkrümmung +liquify-tool Twirl Strudel +liquify-tool Pucker Zusammenziehen +liquify-tool Bloat Aufblasen +liquify-tool Scallop Ausbuchten +liquify-tool Crystallize Kristallisieren +liquify-tool Wrinkle Zerknittern +liquify-kind graphs Diagramme +liquify-kind type Text +liquify-kind symbols Symbole +liquify-kind images Bilder +liquify-kind meshes Gitter +liquify-kind envelopes Hüllen +liquify-kind repeats Wiederholungen +liquify-kind placed documents platzierte Dokumente +liquify-kind blends Angleichungen +liquify-list-two {0}, {1} {0} und {1} +liquify-list-middle {0}, {1} {0}, {1} +liquify-list-end {0}, {1} {0} und {1} @msg vc.document{place} is too large for a script vc.document{place} ist zu groß für ein Skript @msg vc.log: the log of this run is full vc.log: Das Protokoll dieses Laufs ist voll @msg this function's script run has ended der Skriptlauf dieser Funktion ist beendet diff --git a/crates/ui-egui/src/i18n/el.tsv b/crates/ui-egui/src/i18n/el.tsv index 40124eb3a5..7ec4182da6 100644 --- a/crates/ui-egui/src/i18n/el.tsv +++ b/crates/ui-egui/src/i18n/el.tsv @@ -2436,6 +2436,25 @@ axis Both Και τα δύο @msg {name}: `answers` has no answer left for this dialog {name}: το `answers` δεν έχει άλλη απάντηση για αυτό το παράθυρο διαλόγου @msgplural `answers` has {n} answer the script did not use|`answers` has {n} answers the script did not use Το `answers` περιέχει {n} απάντηση που δεν χρησιμοποίησε το σενάριο|Το `answers` περιέχει {n} απαντήσεις που δεν χρησιμοποίησε το σενάριο @msgplural {_1} left {n} object under the brush as it was ({_2}): it reshapes paths only|{_1} left {n} objects under the brush as they were ({_2}): it reshapes paths only Το {_1} άφησε {n} αντικείμενο κάτω από το πινέλο χωρίς αλλαγή ({_2}): αναδιαμορφώνει μόνο διαδρομές|Το {_1} άφησε {n} αντικείμενα κάτω από το πινέλο χωρίς αλλαγή ({_2}): αναδιαμορφώνει μόνο διαδρομές +liquify-tool Warp εργαλείο Παραμόρφωση +liquify-tool Twirl εργαλείο Στροβιλισμός +liquify-tool Pucker εργαλείο Συρρίκνωση +liquify-tool Bloat εργαλείο Διόγκωση +liquify-tool Scallop εργαλείο Κυματιστά άκρα +liquify-tool Crystallize εργαλείο Κρυσταλλοποίηση +liquify-tool Wrinkle εργαλείο Πτυχώσεις +liquify-kind graphs γραφήματα +liquify-kind type κείμενο +liquify-kind symbols σύμβολα +liquify-kind images εικόνες +liquify-kind meshes πλέγματα +liquify-kind envelopes περιβλήματα +liquify-kind repeats επαναλήψεις +liquify-kind placed documents τοποθετημένα έγγραφα +liquify-kind blends αναμείξεις +liquify-list-two {0}, {1} {0} και {1} +liquify-list-middle {0}, {1} {0}, {1} +liquify-list-end {0}, {1} {0} και {1} @msg vc.document{place} is too large for a script το vc.document{place} είναι πολύ μεγάλο για σενάριο @msg vc.log: the log of this run is full vc.log: το αρχείο καταγραφής αυτής της εκτέλεσης είναι γεμάτο @msg this function's script run has ended η εκτέλεση σεναρίου αυτής της συνάρτησης έχει τελειώσει diff --git a/crates/ui-egui/src/i18n/es.tsv b/crates/ui-egui/src/i18n/es.tsv index 7bb1dcee9a..f3276881cc 100644 --- a/crates/ui-egui/src/i18n/es.tsv +++ b/crates/ui-egui/src/i18n/es.tsv @@ -4380,6 +4380,25 @@ axis Both Ambos @msg {name}: `answers` has no answer left for this dialog {name}: a `answers` no le quedan respuestas para este cuadro de diálogo @msgplural `answers` has {n} answer the script did not use|`answers` has {n} answers the script did not use `answers` contiene {n} respuesta que el script no usó|`answers` contiene {n} respuestas que el script no usó @msgplural {_1} left {n} object under the brush as it was ({_2}): it reshapes paths only|{_1} left {n} objects under the brush as they were ({_2}): it reshapes paths only {_1} dejó {n} objeto bajo el pincel sin cambios ({_2}): solo modifica trazados|{_1} dejó {n} objetos bajo el pincel sin cambios ({_2}): solo modifica trazados +liquify-tool Warp Deformar +liquify-tool Twirl Molinete +liquify-tool Pucker Fruncir +liquify-tool Bloat Engordar +liquify-tool Scallop Festonear +liquify-tool Crystallize Cristalizar +liquify-tool Wrinkle Arrugar +liquify-kind graphs gráficos +liquify-kind type texto +liquify-kind symbols símbolos +liquify-kind images imágenes +liquify-kind meshes mallas +liquify-kind envelopes envolventes +liquify-kind repeats repeticiones +liquify-kind placed documents documentos colocados +liquify-kind blends fusiones +liquify-list-two {0}, {1} {0}, {1} +liquify-list-middle {0}, {1} {0}, {1} +liquify-list-end {0}, {1} {0}, {1} @msg vc.document{place} is too large for a script vc.document{place} es demasiado grande para un script @msg vc.log: the log of this run is full vc.log: el registro de esta ejecución está lleno @msg this function's script run has ended la ejecución del script de esta función ha terminado diff --git a/crates/ui-egui/src/i18n/fi.tsv b/crates/ui-egui/src/i18n/fi.tsv index 5710132818..8d426cc2b3 100644 --- a/crates/ui-egui/src/i18n/fi.tsv +++ b/crates/ui-egui/src/i18n/fi.tsv @@ -4605,6 +4605,25 @@ imageTrace Outline Ääriviiva @msg {name}: `answers` has no answer left for this dialog {name}: kohteessa `answers` ei ole enää vastausta tälle valintaikkunalle @msgplural `answers` has {n} answer the script did not use|`answers` has {n} answers the script did not use `answers` sisältää {n} vastauksen, jota komentosarja ei käyttänyt|`answers` sisältää {n} vastausta, joita komentosarja ei käyttänyt @msgplural {_1} left {n} object under the brush as it was ({_2}): it reshapes paths only|{_1} left {n} objects under the brush as they were ({_2}): it reshapes paths only {_1} jätti {n} objektin siveltimen alla muuttamatta ({_2}): se muokkaa vain polkuja|{_1} jätti {n} objektia siveltimen alla muuttamatta ({_2}): se muokkaa vain polkuja +liquify-tool Warp Vääristys +liquify-tool Twirl Pyöritys +liquify-tool Pucker Rypistys +liquify-tool Bloat Pullistus +liquify-tool Scallop Simpukointi +liquify-tool Crystallize Kiteytys +liquify-tool Wrinkle Ryppyistys +liquify-kind graphs kaaviot +liquify-kind type teksti +liquify-kind symbols symbolit +liquify-kind images kuvat +liquify-kind meshes verkot +liquify-kind envelopes vääristyskuoret +liquify-kind repeats toistot +liquify-kind placed documents sijoitetut asiakirjat +liquify-kind blends sulautukset +liquify-list-two {0}, {1} {0} ja {1} +liquify-list-middle {0}, {1} {0}, {1} +liquify-list-end {0}, {1} {0} ja {1} @msg vc.document{place} is too large for a script vc.document{place} on liian suuri skriptille @msg vc.log: the log of this run is full vc.log: tämän ajon loki on täynnä @msg this function's script run has ended tämän funktion skriptiajo on päättynyt diff --git a/crates/ui-egui/src/i18n/fr.tsv b/crates/ui-egui/src/i18n/fr.tsv index 5da321ea07..e89f0e43ce 100644 --- a/crates/ui-egui/src/i18n/fr.tsv +++ b/crates/ui-egui/src/i18n/fr.tsv @@ -4369,6 +4369,25 @@ axis Both Les deux @msg {name}: `answers` has no answer left for this dialog {name} : `answers` n'a plus de réponse pour cette boîte de dialogue @msgplural `answers` has {n} answer the script did not use|`answers` has {n} answers the script did not use `answers` contient {n} réponse que le script n'a pas utilisée|`answers` contient {n} réponses que le script n'a pas utilisées @msgplural {_1} left {n} object under the brush as it was ({_2}): it reshapes paths only|{_1} left {n} objects under the brush as they were ({_2}): it reshapes paths only {_1} a laissé {n} objet sous le pinceau sans changement ({_2}) : il ne remodèle que les tracés|{_1} a laissé {n} objets sous le pinceau sans changement ({_2}) : il ne remodèle que les tracés +liquify-tool Warp Déformation +liquify-tool Twirl Tourbillon +liquify-tool Pucker Contraction +liquify-tool Bloat Dilatation +liquify-tool Scallop Feston +liquify-tool Crystallize Cristallisation +liquify-tool Wrinkle Fronces +liquify-kind graphs graphes +liquify-kind type texte +liquify-kind symbols symboles +liquify-kind images images +liquify-kind meshes filets +liquify-kind envelopes enveloppes +liquify-kind repeats répétitions +liquify-kind placed documents documents importés +liquify-kind blends dégradés de formes +liquify-list-two {0}, {1} {0} et {1} +liquify-list-middle {0}, {1} {0}, {1} +liquify-list-end {0}, {1} {0} et {1} @msg vc.document{place} is too large for a script vc.document{place} est trop volumineux pour un script @msg vc.log: the log of this run is full vc.log : le journal de cette exécution est plein @msg this function's script run has ended l'exécution du script de cette fonction est terminée diff --git a/crates/ui-egui/src/i18n/hi.tsv b/crates/ui-egui/src/i18n/hi.tsv index d5456c6b4a..3e2df2979b 100644 --- a/crates/ui-egui/src/i18n/hi.tsv +++ b/crates/ui-egui/src/i18n/hi.tsv @@ -6697,6 +6697,25 @@ antiAlias Sharp शार्प @msg {name}: `answers` has no answer left for this dialog {name}: `answers` में इस डायलॉग के लिए कोई उत्तर नहीं बचा है @msgplural `answers` has {n} answer the script did not use|`answers` has {n} answers the script did not use `answers` में {n} उत्तर है जिसका स्क्रिप्ट ने उपयोग नहीं किया|`answers` में {n} उत्तर हैं जिनका स्क्रिप्ट ने उपयोग नहीं किया @msgplural {_1} left {n} object under the brush as it was ({_2}): it reshapes paths only|{_1} left {n} objects under the brush as they were ({_2}): it reshapes paths only {_1} ने ब्रश के नीचे {n} ऑब्जेक्ट को अपरिवर्तित छोड़ा ({_2}): यह केवल पाथ को नया आकार देता है|{_1} ने ब्रश के नीचे {n} ऑब्जेक्ट्स को अपरिवर्तित छोड़ा ({_2}): यह केवल पाथ्स को नया आकार देता है +liquify-tool Warp वार्प टूल +liquify-tool Twirl ट्वर्ल टूल +liquify-tool Pucker सिकोड़ें टूल +liquify-tool Bloat फुलाएँ टूल +liquify-tool Scallop स्कैलप टूल +liquify-tool Crystallize क्रिस्टलीकरण टूल +liquify-tool Wrinkle शिकन टूल +liquify-kind graphs ग्राफ़ +liquify-kind type टाइप +liquify-kind symbols सिंबल्स +liquify-kind images चित्र +liquify-kind meshes मेश +liquify-kind envelopes एन्वेलप्स +liquify-kind repeats दोहराव +liquify-kind placed documents प्लेस्ड डॉक्यूमेंट्स +liquify-kind blends ब्लेंड्स +liquify-list-two {0}, {1} {0} और {1} +liquify-list-middle {0}, {1} {0}, {1} +liquify-list-end {0}, {1} {0} और {1} @msg vc.document{place} is too large for a script vc.document{place} स्क्रिप्ट के लिए बहुत बड़ा है @msg vc.log: the log of this run is full vc.log: इस रन का लॉग भर गया है @msg this function's script run has ended इस फ़ंक्शन का स्क्रिप्ट रन समाप्त हो गया है diff --git a/crates/ui-egui/src/i18n/hu.tsv b/crates/ui-egui/src/i18n/hu.tsv index 5248a654bb..ac1e52f29b 100644 --- a/crates/ui-egui/src/i18n/hu.tsv +++ b/crates/ui-egui/src/i18n/hu.tsv @@ -5192,6 +5192,25 @@ imageTrace Outline Körvonal @msg {name}: `answers` has no answer left for this dialog {name}: az `answers` listában nem maradt válasz ehhez a párbeszédpanelhez @msgplural `answers` has {n} answer the script did not use|`answers` has {n} answers the script did not use Az `answers` listában {n} válasz maradt, amelyet a parancsfájl nem használt fel @msgplural {_1} left {n} object under the brush as it was ({_2}): it reshapes paths only|{_1} left {n} objects under the brush as they were ({_2}): it reshapes paths only {_1}: az ecset alatt {n} objektum változatlan maradt ({_2}); csak útvonalakat alakít át +liquify-tool Warp Hajlítás +liquify-tool Twirl Örvénylés +liquify-tool Pucker Összehúzás +liquify-tool Bloat Felfújás +liquify-tool Scallop Csipkézés +liquify-tool Crystallize Kristályosítás +liquify-tool Wrinkle Gyűrés +liquify-kind graphs grafikonok +liquify-kind type szöveg +liquify-kind symbols szimbólumok +liquify-kind images képek +liquify-kind meshes rácsok +liquify-kind envelopes burkolók +liquify-kind repeats ismétlések +liquify-kind placed documents elhelyezett dokumentumok +liquify-kind blends összemosások +liquify-list-two {0}, {1} {0} és {1} +liquify-list-middle {0}, {1} {0}, {1} +liquify-list-end {0}, {1} {0} és {1} @msg vc.document{place} is too large for a script a vc.document{place} túl nagy egy parancsfájlhoz @msg vc.log: the log of this run is full vc.log: ennek a futásnak a naplója megtelt @msg this function's script run has ended ennek a függvénynek a parancsfájl-futása véget ért diff --git a/crates/ui-egui/src/i18n/it.tsv b/crates/ui-egui/src/i18n/it.tsv index 8d679d2b9b..a69ba79cb7 100644 --- a/crates/ui-egui/src/i18n/it.tsv +++ b/crates/ui-egui/src/i18n/it.tsv @@ -4432,6 +4432,25 @@ axis Both Entrambi @msg {name}: `answers` has no answer left for this dialog {name}: in `answers` non rimangono risposte per questa finestra di dialogo @msgplural `answers` has {n} answer the script did not use|`answers` has {n} answers the script did not use `answers` contiene {n} risposta che lo script non ha usato|`answers` contiene {n} risposte che lo script non ha usato @msgplural {_1} left {n} object under the brush as it was ({_2}): it reshapes paths only|{_1} left {n} objects under the brush as they were ({_2}): it reshapes paths only {_1} ha lasciato {n} oggetto sotto il pennello senza modifiche ({_2}): rimodella solo i tracciati|{_1} ha lasciato {n} oggetti sotto il pennello senza modifiche ({_2}): rimodella solo i tracciati +liquify-tool Warp Altera +liquify-tool Twirl Vortice +liquify-tool Pucker Contrai +liquify-tool Bloat Gonfia +liquify-tool Scallop Smerla +liquify-tool Crystallize Cristallizza +liquify-tool Wrinkle Grinza +liquify-kind graphs grafici +liquify-kind type testo +liquify-kind symbols simboli +liquify-kind images immagini +liquify-kind meshes trame +liquify-kind envelopes involucri +liquify-kind repeats ripetizioni +liquify-kind placed documents documenti inseriti +liquify-kind blends fusioni +liquify-list-two {0}, {1} {0} e {1} +liquify-list-middle {0}, {1} {0}, {1} +liquify-list-end {0}, {1} {0} e {1} @msg vc.document{place} is too large for a script vc.document{place} è troppo grande per uno script @msg vc.log: the log of this run is full vc.log: il registro di questa esecuzione è pieno @msg this function's script run has ended l'esecuzione dello script di questa funzione è terminata diff --git a/crates/ui-egui/src/i18n/ja.tsv b/crates/ui-egui/src/i18n/ja.tsv index 319efabab8..d42fbdf9d2 100644 --- a/crates/ui-egui/src/i18n/ja.tsv +++ b/crates/ui-egui/src/i18n/ja.tsv @@ -5197,6 +5197,25 @@ swatch Bright Violet ビビッドバイオレット @msg {name}: `answers` has no answer left for this dialog {name}: `answers` にこのダイアログの回答が残っていません @msgplural `answers` has {n} answer the script did not use|`answers` has {n} answers the script did not use `answers` にスクリプトが使用しなかった回答が {n} 件あります @msgplural {_1} left {n} object under the brush as it was ({_2}): it reshapes paths only|{_1} left {n} objects under the brush as they were ({_2}): it reshapes paths only {_1} はブラシの下にある {n} 個のオブジェクトを変更せずに残しました({_2})。パスのみを変形します +liquify-tool Warp ワープ +liquify-tool Twirl 旋回 +liquify-tool Pucker 収縮 +liquify-tool Bloat 膨張 +liquify-tool Scallop ギザギザ +liquify-tool Crystallize 結晶化 +liquify-tool Wrinkle しわ +liquify-kind graphs グラフ +liquify-kind type テキスト +liquify-kind symbols シンボル +liquify-kind images 画像 +liquify-kind meshes メッシュ +liquify-kind envelopes エンベロープ +liquify-kind repeats リピート +liquify-kind placed documents 配置ドキュメント +liquify-kind blends ブレンド +liquify-list-two {0}, {1} {0}、{1} +liquify-list-middle {0}, {1} {0}、{1} +liquify-list-end {0}, {1} {0}、{1} @msg vc.document{place} is too large for a script vc.document{place} はスクリプトには大きすぎます @msg vc.log: the log of this run is full vc.log: この実行のログがいっぱいです @msg this function's script run has ended この関数のスクリプトの実行は終了しています diff --git a/crates/ui-egui/src/i18n/ka.tsv b/crates/ui-egui/src/i18n/ka.tsv index aa274a1708..3afb6166fd 100644 --- a/crates/ui-egui/src/i18n/ka.tsv +++ b/crates/ui-egui/src/i18n/ka.tsv @@ -5604,6 +5604,25 @@ imageTrace Outline კონტური @msg {name}: `answers` has no answer left for this dialog {name}: `answers`-ში ამ დიალოგისთვის პასუხი აღარ დარჩა @msgplural `answers` has {n} answer the script did not use|`answers` has {n} answers the script did not use `answers`-ში დარჩა {n} პასუხი, რომელიც სკრიპტს არ გამოუყენებია @msgplural {_1} left {n} object under the brush as it was ({_2}): it reshapes paths only|{_1} left {n} objects under the brush as they were ({_2}): it reshapes paths only {_1}-მა ფუნჯის ქვეშ უცვლელი დატოვა {n} ობიექტი ({_2}): ის მხოლოდ ტრაექტორიებს ცვლის +liquify-tool Warp გაღუნვა +liquify-tool Twirl დახვევა +liquify-tool Pucker შეკუმშვა +liquify-tool Bloat გაბერვა +liquify-tool Scallop დაკბილვა +liquify-tool Crystallize კრისტალიზაცია +liquify-tool Wrinkle დანაოჭება +liquify-kind graphs დიაგრამები +liquify-kind type ტექსტი +liquify-kind symbols სიმბოლოები +liquify-kind images გამოსახულებები +liquify-kind meshes ბადეები +liquify-kind envelopes გარსები +liquify-kind repeats გამეორებები +liquify-kind placed documents განთავსებული დოკუმენტები +liquify-kind blends გადასვლები +liquify-list-two {0}, {1} {0} და {1} +liquify-list-middle {0}, {1} {0}, {1} +liquify-list-end {0}, {1} {0} და {1} @msg vc.document{place} is too large for a script vc.document{place} ზედმეტად დიდია სკრიპტისთვის @msg vc.log: the log of this run is full vc.log: ამ გაშვების ჟურნალი სავსეა @msg this function's script run has ended ამ ფუნქციის სკრიპტის გაშვება დასრულდა diff --git a/crates/ui-egui/src/i18n/ko.tsv b/crates/ui-egui/src/i18n/ko.tsv index f51f7ea2bf..a9399ba8e5 100644 --- a/crates/ui-egui/src/i18n/ko.tsv +++ b/crates/ui-egui/src/i18n/ko.tsv @@ -5124,6 +5124,25 @@ theme Appearance 외관 @msg {name}: `answers` has no answer left for this dialog {name}: `answers`에 이 대화 상자에 대한 답이 남아 있지 않습니다 @msgplural `answers` has {n} answer the script did not use|`answers` has {n} answers the script did not use `answers`에 스크립트가 사용하지 않은 답이 {n}개 있습니다 @msgplural {_1} left {n} object under the brush as it was ({_2}): it reshapes paths only|{_1} left {n} objects under the brush as they were ({_2}): it reshapes paths only {_1}은(는) 브러시 아래의 개체 {n}개를 변경하지 않았습니다({_2}). 패스만 변형합니다 +liquify-tool Warp 왜곡 +liquify-tool Twirl 돌리기 +liquify-tool Pucker 오므리기 +liquify-tool Bloat 부풀리기 +liquify-tool Scallop 스캘럽 +liquify-tool Crystallize 결정화 +liquify-tool Wrinkle 주름 +liquify-kind graphs 그래프 +liquify-kind type 문자 +liquify-kind symbols 심볼 +liquify-kind images 이미지 +liquify-kind meshes 메시 +liquify-kind envelopes 엔벨로프 +liquify-kind repeats 반복 +liquify-kind placed documents 가져온 문서 +liquify-kind blends 블렌드 +liquify-list-two {0}, {1} {0} 및 {1} +liquify-list-middle {0}, {1} {0}, {1} +liquify-list-end {0}, {1} {0} 및 {1} @msg vc.document{place} is too large for a script vc.document{place}이(가) 스크립트에 비해 너무 큽니다 @msg vc.log: the log of this run is full vc.log: 이 실행의 로그가 가득 찼습니다 @msg this function's script run has ended 이 함수의 스크립트 실행이 끝났습니다 diff --git a/crates/ui-egui/src/i18n/nl.tsv b/crates/ui-egui/src/i18n/nl.tsv index e3b6672d1d..1d340eaf32 100644 --- a/crates/ui-egui/src/i18n/nl.tsv +++ b/crates/ui-egui/src/i18n/nl.tsv @@ -133,6 +133,25 @@ @msg {name}: `answers` has no answer left for this dialog {name}: `answers` heeft geen antwoord meer voor dit dialoogvenster @msgplural `answers` has {n} answer the script did not use|`answers` has {n} answers the script did not use `answers` bevat {n} antwoord dat het script niet heeft gebruikt|`answers` bevat {n} antwoorden die het script niet heeft gebruikt @msgplural {_1} left {n} object under the brush as it was ({_2}): it reshapes paths only|{_1} left {n} objects under the brush as they were ({_2}): it reshapes paths only {_1} liet {n} object onder het penseel ongewijzigd ({_2}): het vervormt alleen paden|{_1} liet {n} objecten onder het penseel ongewijzigd ({_2}): het vervormt alleen paden +liquify-tool Warp Vervormen +liquify-tool Twirl Draaien +liquify-tool Pucker Krimpen +liquify-tool Bloat Opblazen +liquify-tool Scallop Schulpen +liquify-tool Crystallize Kristalliseren +liquify-tool Wrinkle Rimpelen +liquify-kind graphs grafieken +liquify-kind type tekst +liquify-kind symbols symbolen +liquify-kind images afbeeldingen +liquify-kind meshes rasters +liquify-kind envelopes omvormingen +liquify-kind repeats herhalingen +liquify-kind placed documents geplaatste documenten +liquify-kind blends vermengingen +liquify-list-two {0}, {1} {0} en {1} +liquify-list-middle {0}, {1} {0}, {1} +liquify-list-end {0}, {1} {0} en {1} @msg vc.document{place} is too large for a script vc.document{place} is te groot voor een script @msg vc.log: the log of this run is full vc.log: het logboek van deze uitvoering is vol @msg this function's script run has ended de scriptuitvoering van deze functie is beëindigd diff --git a/crates/ui-egui/src/i18n/pl.tsv b/crates/ui-egui/src/i18n/pl.tsv index cc99d78ae0..dd24eca95f 100644 --- a/crates/ui-egui/src/i18n/pl.tsv +++ b/crates/ui-egui/src/i18n/pl.tsv @@ -4515,6 +4515,25 @@ imageTrace Outline Kontur @msg {name}: `answers` has no answer left for this dialog {name}: w `answers` nie została żadna odpowiedź dla tego okna dialogowego @msgplural `answers` has {n} answer the script did not use|`answers` has {n} answers the script did not use `answers` zawiera {n} odpowiedź, której skrypt nie użył|`answers` zawiera {n} odpowiedzi, których skrypt nie użył|`answers` zawiera {n} odpowiedzi, których skrypt nie użył @msgplural {_1} left {n} object under the brush as it was ({_2}): it reshapes paths only|{_1} left {n} objects under the brush as they were ({_2}): it reshapes paths only {_1} pozostawił {n} obiekt pod pędzlem bez zmian ({_2}): przekształca tylko ścieżki|{_1} pozostawił {n} obiekty pod pędzlem bez zmian ({_2}): przekształca tylko ścieżki|{_1} pozostawił {n} obiektów pod pędzlem bez zmian ({_2}): przekształca tylko ścieżki +liquify-tool Warp Wypaczenie +liquify-tool Twirl Wir +liquify-tool Pucker Ściągnięcie +liquify-tool Bloat Nadmuchanie +liquify-tool Scallop Ząbkowanie +liquify-tool Crystallize Krystalizacja +liquify-tool Wrinkle Marszczenie +liquify-kind graphs wykresy +liquify-kind type tekst +liquify-kind symbols symbole +liquify-kind images obrazy +liquify-kind meshes siatki +liquify-kind envelopes koperty +liquify-kind repeats powtórzenia +liquify-kind placed documents umieszczone dokumenty +liquify-kind blends przejścia +liquify-list-two {0}, {1} {0} i {1} +liquify-list-middle {0}, {1} {0}, {1} +liquify-list-end {0}, {1} {0} i {1} @msg vc.document{place} is too large for a script vc.document{place} jest za duży dla skryptu @msg vc.log: the log of this run is full vc.log: dziennik tego uruchomienia jest pełny @msg this function's script run has ended uruchomienie skryptu tej funkcji zakończyło się diff --git a/crates/ui-egui/src/i18n/pt-br.tsv b/crates/ui-egui/src/i18n/pt-br.tsv index e713ec6699..c587b5b0cd 100644 --- a/crates/ui-egui/src/i18n/pt-br.tsv +++ b/crates/ui-egui/src/i18n/pt-br.tsv @@ -5413,6 +5413,25 @@ axis Both Ambos @msg {name}: `answers` has no answer left for this dialog {name}: `answers` não tem mais respostas para esta caixa de diálogo @msgplural `answers` has {n} answer the script did not use|`answers` has {n} answers the script did not use `answers` contém {n} resposta que o script não usou|`answers` contém {n} respostas que o script não usou @msgplural {_1} left {n} object under the brush as it was ({_2}): it reshapes paths only|{_1} left {n} objects under the brush as they were ({_2}): it reshapes paths only {_1} deixou {n} objeto sob o pincel sem alteração ({_2}): remodela apenas caminhos|{_1} deixou {n} objetos sob o pincel sem alteração ({_2}): remodela apenas caminhos +liquify-tool Warp Distorcer +liquify-tool Twirl Redemoinho +liquify-tool Pucker Encolher +liquify-tool Bloat Estufar +liquify-tool Scallop Vieira +liquify-tool Crystallize Cristalizar +liquify-tool Wrinkle Rugas +liquify-kind graphs gráficos +liquify-kind type texto +liquify-kind symbols símbolos +liquify-kind images imagens +liquify-kind meshes malhas +liquify-kind envelopes envelopes +liquify-kind repeats repetições +liquify-kind placed documents documentos colocados +liquify-kind blends mesclagens +liquify-list-two {0}, {1} {0} e {1} +liquify-list-middle {0}, {1} {0}, {1} +liquify-list-end {0}, {1} {0} e {1} @msg vc.document{place} is too large for a script vc.document{place} é grande demais para um script @msg vc.log: the log of this run is full vc.log: o registro desta execução está cheio @msg this function's script run has ended a execução do script desta função terminou diff --git a/crates/ui-egui/src/i18n/ru.tsv b/crates/ui-egui/src/i18n/ru.tsv index 9f93c41543..e290a6c167 100644 --- a/crates/ui-egui/src/i18n/ru.tsv +++ b/crates/ui-egui/src/i18n/ru.tsv @@ -4417,6 +4417,25 @@ axis Both Оба @msg {name}: `answers` has no answer left for this dialog {name}: в `answers` не осталось ответа для этого диалогового окна @msgplural `answers` has {n} answer the script did not use|`answers` has {n} answers the script did not use В `answers` остался {n} ответ, который скрипт не использовал|В `answers` осталось {n} ответа, которые скрипт не использовал|В `answers` осталось {n} ответов, которые скрипт не использовал @msgplural {_1} left {n} object under the brush as it was ({_2}): it reshapes paths only|{_1} left {n} objects under the brush as they were ({_2}): it reshapes paths only {_1} оставил без изменений {n} объект под кистью ({_2}): он изменяет только контуры|{_1} оставил без изменений {n} объекта под кистью ({_2}): он изменяет только контуры|{_1} оставил без изменений {n} объектов под кистью ({_2}): он изменяет только контуры +liquify-tool Warp Инструмент «Деформация» +liquify-tool Twirl Инструмент «Закручивание» +liquify-tool Pucker Инструмент «Сморщивание» +liquify-tool Bloat Инструмент «Раздувание» +liquify-tool Scallop Инструмент «Фестоны» +liquify-tool Crystallize Инструмент «Кристаллизация» +liquify-tool Wrinkle Инструмент «Морщины» +liquify-kind graphs диаграммы +liquify-kind type текст +liquify-kind symbols символы +liquify-kind images изображения +liquify-kind meshes сетки +liquify-kind envelopes оболочки +liquify-kind repeats повторы +liquify-kind placed documents размещённые документы +liquify-kind blends переходы +liquify-list-two {0}, {1} {0} и {1} +liquify-list-middle {0}, {1} {0}, {1} +liquify-list-end {0}, {1} {0} и {1} @msg vc.document{place} is too large for a script vc.document{place} слишком велик для скрипта @msg vc.log: the log of this run is full vc.log: журнал этого запуска заполнен @msg this function's script run has ended запуск скрипта этой функции завершён diff --git a/crates/ui-egui/src/i18n/sv.tsv b/crates/ui-egui/src/i18n/sv.tsv index 8b91d803fb..c2a3a9a0a4 100644 --- a/crates/ui-egui/src/i18n/sv.tsv +++ b/crates/ui-egui/src/i18n/sv.tsv @@ -4290,6 +4290,25 @@ axis Both Båda @msg {name}: `answers` has no answer left for this dialog {name}: `answers` har inget svar kvar för den här dialogrutan @msgplural `answers` has {n} answer the script did not use|`answers` has {n} answers the script did not use `answers` har {n} svar som skriptet inte använde|`answers` har {n} svar som skriptet inte använde @msgplural {_1} left {n} object under the brush as it was ({_2}): it reshapes paths only|{_1} left {n} objects under the brush as they were ({_2}): it reshapes paths only {_1} lämnade {n} objekt under penseln utan ändring ({_2}): bara banor formas om|{_1} lämnade {n} objekt under penseln utan ändring ({_2}): bara banor formas om +liquify-tool Warp Förvräng +liquify-tool Twirl Virvel +liquify-tool Pucker Dra ihop +liquify-tool Bloat Svullnad +liquify-tool Scallop Bågkant +liquify-tool Crystallize Kristallisera +liquify-tool Wrinkle Skrynkla +liquify-kind graphs diagram +liquify-kind type text +liquify-kind symbols symboler +liquify-kind images bilder +liquify-kind meshes nät +liquify-kind envelopes kuvert +liquify-kind repeats upprepningar +liquify-kind placed documents placerade dokument +liquify-kind blends blandningar +liquify-list-two {0}, {1} {0} och {1} +liquify-list-middle {0}, {1} {0}, {1} +liquify-list-end {0}, {1} {0} och {1} @msg vc.document{place} is too large for a script vc.document{place} är för stort för ett skript @msg vc.log: the log of this run is full vc.log: loggen för den här körningen är full @msg this function's script run has ended skriptkörningen för den här funktionen har avslutats diff --git a/crates/ui-egui/src/i18n/tests.rs b/crates/ui-egui/src/i18n/tests.rs index ea42234fec..f77537b22b 100644 --- a/crates/ui-egui/src/i18n/tests.rs +++ b/crates/ui-egui/src/i18n/tests.rs @@ -2177,6 +2177,93 @@ fn messages_with_one_or_several_items_translate_in_every_complete_catalog() { assert!(message(cs, "`answers` has 5 answers the script did not use").contains("5 odpovědí,")); } +/// Liquify's warning about the objects under the brush that it left as they were shows its tool +/// and each kind of object in the interface language, the kinds in their order and joined as the +/// language joins a list, in every complete-message language; the count stays. +#[test] +fn liquify_warning_translates_its_tool_and_kinds_in_every_complete_catalog() { + const TOOLS: [&str; 7] = ["Warp", "Twirl", "Pucker", "Bloat", "Scallop", "Crystallize", "Wrinkle"]; + const KINDS: [&str; 9] = ["graphs", "type", "symbols", "images", "meshes", "envelopes", "repeats", "placed documents", "blends"]; + let warning = |tool: &str, n: usize, kinds: &str| { + if n == 1 { + format!("{tool} left {n} object under the brush as it was ({kinds}): it reshapes paths only") + } else { + format!("{tool} left {n} objects under the brush as they were ({kinds}): it reshapes paths only") + } + }; + let words = |s: &str| s.split(|c: char| !c.is_alphabetic()).filter(|w| !w.is_empty()).map(str::to_string).collect::>(); + for code in COMPLETE_MESSAGES { + let lang = Lang::from_code(code).expect("registered"); + let cat = lang.catalog(); + for ctx in ["liquify-list-two", "liquify-list-middle", "liquify-list-end"] { + assert!(cat.contextual(ctx, "{0}, {1}").is_some(), "{code} has no {ctx} row"); + } + let kind = |k: &str| cat.contextual("liquify-kind", k).unwrap_or_else(|| panic!("{code} has no liquify-kind row for {k}")); + // No English word of `sources` is left in `shown`, unless a translation uses it too. + let english_left = |shown: &str, sources: &[&str], translated: &[&str]| { + let shown = words(shown); + for source in sources { + let kept = translated.iter().any(|t| words(t).iter().any(|w| words(source).contains(w))); + assert!(kept || words(source).iter().all(|w| !shown.contains(w)), "{code}: {source} stays English in {shown:?}"); + } + }; + for tool in TOOLS { + let label = cat.contextual("liquify-tool", tool).unwrap_or_else(|| panic!("{code} has no liquify-tool row for {tool}")); + // All nine kinds, in the engine's order and in reverse. + for kinds in [KINDS.to_vec(), KINDS.iter().rev().copied().collect()] { + let shown = message(lang, &warning(tool, kinds.len(), &kinds.join(", "))); + assert!(shown.contains(label) && shown.contains('9'), "{code}: {shown}"); + let translated: Vec<&str> = kinds.iter().map(|k| kind(k)).collect(); + let mut from = 0; + for t in &translated { + let at = shown[from..].find(t).unwrap_or_else(|| panic!("{code}: {t} missing or out of order in {shown}")); + from += at + t.len(); + } + english_left(&shown, &kinds, &translated); + english_left(&shown, &[tool], &[label]); + } + } + // One kind, for one object and for several. + for k in KINDS { + for n in [1, 2, 5] { + let shown = message(lang, &warning("Bloat", n, k)); + assert!(shown.contains(kind(k)) && shown.contains(&n.to_string()), "{code}: {shown}"); + english_left(&shown, &[k], &[kind(k)]); + } + } + } + let de = Lang::from_code("de").expect("registered"); + assert_eq!( + message(de, &warning("Warp", 1, "symbols")), + "Verkrümmung ließ 1 Objekt unter dem Pinsel unverändert (Symbole): es formt nur Pfade um" + ); + assert_eq!( + message(de, &warning("Twirl", 2, "type, images")), + "Strudel ließ 2 Objekte unter dem Pinsel unverändert (Text und Bilder): es formt nur Pfade um" + ); + assert_eq!( + message(de, &warning("Pucker", 4, "graphs, type, symbols, images")), + "Zusammenziehen ließ 4 Objekte unter dem Pinsel unverändert (Diagramme, Text, Symbole und Bilder): es formt nur Pfade um" + ); + // The count picks the language's form. + assert_eq!( + message(cs(), &warning("Crystallize", 5, "meshes, placed documents")), + "Nástroj Krystalizace ponechal 5 objektů pod štětcem beze změny (sítě a umístěné dokumenty): mění pouze cesty" + ); + let ja = Lang::from_code("ja").expect("registered"); + assert_eq!( + message(ja, &warning("Wrinkle", 3, "blends, repeats, envelopes")), + "しわ はブラシの下にある 3 個のオブジェクトを変更せずに残しました(ブレンド、リピート、エンベロープ)。パスのみを変形します" + ); + // A kind Liquify does not list leaves the tool and the list as they are. + assert_eq!( + message(de, &warning("Warp", 2, "type, widgets")), + "Warp ließ 2 Objekte unter dem Pinsel unverändert (type, widgets): es formt nur Pfade um" + ); + // English shows the warning as the engine wrote it. + assert_eq!(message(Lang::EN, &warning("Warp", 2, "type, images")), warning("Warp", 2, "type, images")); +} + /// Spanish shows the image encoders', color profiles', swatch exchange files', Revolve's, DXF /// import's, the script engine's and the parameter checks' errors in Spanish, with their values, /// backticked names and accepted values kept as the English writes them. diff --git a/crates/ui-egui/src/i18n/tr.tsv b/crates/ui-egui/src/i18n/tr.tsv index a2d2bfc431..23d6d92b66 100644 --- a/crates/ui-egui/src/i18n/tr.tsv +++ b/crates/ui-egui/src/i18n/tr.tsv @@ -4153,6 +4153,25 @@ axis Both Her İkisi @msg {name}: `answers` has no answer left for this dialog {name}: `answers` içinde bu iletişim kutusu için yanıt kalmadı @msgplural `answers` has {n} answer the script did not use|`answers` has {n} answers the script did not use `answers` içinde betiğin kullanmadığı {n} yanıt var @msgplural {_1} left {n} object under the brush as it was ({_2}): it reshapes paths only|{_1} left {n} objects under the brush as they were ({_2}): it reshapes paths only {_1}, fırçanın altındaki {n} nesneyi değiştirmeden bıraktı ({_2}): yalnızca yolları yeniden şekillendirir +liquify-tool Warp Çarpıtma +liquify-tool Twirl Burgu +liquify-tool Pucker Büzülme +liquify-tool Bloat Şişkinlik +liquify-tool Scallop Tarak +liquify-tool Crystallize Kristalleştirme +liquify-tool Wrinkle Kırışıklık +liquify-kind graphs grafikler +liquify-kind type yazı +liquify-kind symbols semboller +liquify-kind images görseller +liquify-kind meshes ağlar +liquify-kind envelopes zarflar +liquify-kind repeats tekrarlar +liquify-kind placed documents yerleştirilen belgeler +liquify-kind blends karışımlar +liquify-list-two {0}, {1} {0} ve {1} +liquify-list-middle {0}, {1} {0}, {1} +liquify-list-end {0}, {1} {0} ve {1} @msg vc.document{place} is too large for a script vc.document{place} bir betik için çok büyük @msg vc.log: the log of this run is full vc.log: bu çalıştırmanın günlüğü dolu @msg this function's script run has ended bu işlevin betik çalıştırması sona erdi diff --git a/crates/ui-egui/src/i18n/uk.tsv b/crates/ui-egui/src/i18n/uk.tsv index 8f56b3444e..2370847f27 100644 --- a/crates/ui-egui/src/i18n/uk.tsv +++ b/crates/ui-egui/src/i18n/uk.tsv @@ -4416,6 +4416,25 @@ axis Both Обидві @msg {name}: `answers` has no answer left for this dialog {name}: у `answers` не залишилося відповіді для цього діалогового вікна @msgplural `answers` has {n} answer the script did not use|`answers` has {n} answers the script did not use У `answers` залишилася {n} відповідь, яку скрипт не використав|У `answers` залишилися {n} відповіді, які скрипт не використав|У `answers` залишилося {n} відповідей, які скрипт не використав @msgplural {_1} left {n} object under the brush as it was ({_2}): it reshapes paths only|{_1} left {n} objects under the brush as they were ({_2}): it reshapes paths only {_1} залишив без змін {n} об’єкт під пензлем ({_2}): він змінює форму лише контурів|{_1} залишив без змін {n} об’єкти під пензлем ({_2}): він змінює форму лише контурів|{_1} залишив без змін {n} об’єктів під пензлем ({_2}): він змінює форму лише контурів +liquify-tool Warp Інструмент «Деформація» +liquify-tool Twirl Інструмент «Закручування» +liquify-tool Pucker Інструмент «Зморщування» +liquify-tool Bloat Інструмент «Роздування» +liquify-tool Scallop Інструмент «Фестон» +liquify-tool Crystallize Інструмент «Кристалізація» +liquify-tool Wrinkle Інструмент «Зморшки» +liquify-kind graphs діаграми +liquify-kind type текст +liquify-kind symbols символи +liquify-kind images зображення +liquify-kind meshes сітки +liquify-kind envelopes оболонки +liquify-kind repeats повтори +liquify-kind placed documents розміщені документи +liquify-kind blends переходи +liquify-list-two {0}, {1} {0} і {1} +liquify-list-middle {0}, {1} {0}, {1} +liquify-list-end {0}, {1} {0} і {1} @msg vc.document{place} is too large for a script vc.document{place} завеликий для скрипту @msg vc.log: the log of this run is full vc.log: журнал цього запуску заповнений @msg this function's script run has ended запуск скрипту цієї функції завершився diff --git a/crates/ui-egui/src/i18n/vi.tsv b/crates/ui-egui/src/i18n/vi.tsv index ec61f79511..e9a5fc1c19 100644 --- a/crates/ui-egui/src/i18n/vi.tsv +++ b/crates/ui-egui/src/i18n/vi.tsv @@ -4846,6 +4846,25 @@ theme Appearance Giao diện @msg {name}: `answers` has no answer left for this dialog {name}: `answers` không còn câu trả lời nào cho hộp thoại này @msgplural `answers` has {n} answer the script did not use|`answers` has {n} answers the script did not use `answers` có {n} câu trả lời mà tập lệnh không dùng @msgplural {_1} left {n} object under the brush as it was ({_2}): it reshapes paths only|{_1} left {n} objects under the brush as they were ({_2}): it reshapes paths only {_1} giữ nguyên {n} đối tượng dưới cọ ({_2}): chỉ biến dạng đường dẫn +liquify-tool Warp Biến dạng +liquify-tool Twirl Xoáy +liquify-tool Pucker Nhíu +liquify-tool Bloat Phình +liquify-tool Scallop Vỏ sò +liquify-tool Crystallize Kết tinh +liquify-tool Wrinkle Nhăn +liquify-kind graphs biểu đồ +liquify-kind type chữ +liquify-kind symbols ký hiệu +liquify-kind images hình ảnh +liquify-kind meshes lưới +liquify-kind envelopes bao hình +liquify-kind repeats lặp lại +liquify-kind placed documents tài liệu đã đặt +liquify-kind blends hòa trộn +liquify-list-two {0}, {1} {0} và {1} +liquify-list-middle {0}, {1} {0}, {1} +liquify-list-end {0}, {1} {0} và {1} @msg vc.document{place} is too large for a script vc.document{place} quá lớn đối với tập lệnh @msg vc.log: the log of this run is full vc.log: nhật ký của lần chạy này đã đầy @msg this function's script run has ended lần chạy tập lệnh của hàm này đã kết thúc diff --git a/crates/ui-egui/src/i18n/zh-hans.tsv b/crates/ui-egui/src/i18n/zh-hans.tsv index 2881dd9374..d329bef791 100644 --- a/crates/ui-egui/src/i18n/zh-hans.tsv +++ b/crates/ui-egui/src/i18n/zh-hans.tsv @@ -4876,6 +4876,25 @@ imageTrace Outline 轮廓 @msg {name}: `answers` has no answer left for this dialog {name}:`answers` 中已没有此对话框的回答 @msgplural `answers` has {n} answer the script did not use|`answers` has {n} answers the script did not use `answers` 中有 {n} 个脚本未使用的回答 @msgplural {_1} left {n} object under the brush as it was ({_2}): it reshapes paths only|{_1} left {n} objects under the brush as they were ({_2}): it reshapes paths only {_1} 未更改画笔下的 {n} 个对象({_2}):它只重塑路径 +liquify-tool Warp 变形 +liquify-tool Twirl 旋转扭曲 +liquify-tool Pucker 收缩 +liquify-tool Bloat 膨胀 +liquify-tool Scallop 扇贝 +liquify-tool Crystallize 晶格化 +liquify-tool Wrinkle 褶皱 +liquify-kind graphs 图表 +liquify-kind type 文字 +liquify-kind symbols 符号 +liquify-kind images 图像 +liquify-kind meshes 网格 +liquify-kind envelopes 封套 +liquify-kind repeats 重复 +liquify-kind placed documents 置入的文档 +liquify-kind blends 混合 +liquify-list-two {0}, {1} {0}和{1} +liquify-list-middle {0}, {1} {0}、{1} +liquify-list-end {0}, {1} {0}和{1} @msg vc.document{place} is too large for a script vc.document{place}对脚本来说过大 @msg vc.log: the log of this run is full vc.log:本次运行的日志已满 @msg this function's script run has ended 此函数的脚本运行已结束 diff --git a/crates/ui-egui/src/i18n/zh-hant.tsv b/crates/ui-egui/src/i18n/zh-hant.tsv index 2218782e1e..a7bb321e70 100644 --- a/crates/ui-egui/src/i18n/zh-hant.tsv +++ b/crates/ui-egui/src/i18n/zh-hant.tsv @@ -2577,6 +2577,25 @@ file-filter Templates 範本 @msg {name}: `answers` has no answer left for this dialog {name}:`answers` 中已沒有此對話框的回答 @msgplural `answers` has {n} answer the script did not use|`answers` has {n} answers the script did not use `answers` 中有 {n} 個指令碼未使用的回答 @msgplural {_1} left {n} object under the brush as it was ({_2}): it reshapes paths only|{_1} left {n} objects under the brush as they were ({_2}): it reshapes paths only {_1} 未變更筆刷下的 {n} 個物件({_2}):它只重塑路徑 +liquify-tool Warp 彎曲 +liquify-tool Twirl 旋轉扭曲 +liquify-tool Pucker 縮攏 +liquify-tool Bloat 膨脹 +liquify-tool Scallop 扇形化 +liquify-tool Crystallize 結晶化 +liquify-tool Wrinkle 皺摺 +liquify-kind graphs 圖表 +liquify-kind type 文字 +liquify-kind symbols 符號 +liquify-kind images 影像 +liquify-kind meshes 網格 +liquify-kind envelopes 封套 +liquify-kind repeats 重複 +liquify-kind placed documents 已置入的文件 +liquify-kind blends 漸變 +liquify-list-two {0}, {1} {0}和{1} +liquify-list-middle {0}, {1} {0}、{1} +liquify-list-end {0}, {1} {0}和{1} @msg vc.document{place} is too large for a script vc.document{place}對指令碼來說太大 @msg vc.log: the log of this run is full vc.log:本次執行的記錄已滿 @msg this function's script run has ended 此函式的指令碼執行已結束 diff --git a/docs/target-app-parity.md b/docs/target-app-parity.md index c287e6c920..87bb5dc621 100644 --- a/docs/target-app-parity.md +++ b/docs/target-app-parity.md @@ -966,6 +966,7 @@ Moved from the ROADMAP's "Shipped so far" on 2026-10-10. Update it when a featur - The errors of the parameter checks that many commands share show in the status bar in the interface language: a value that is not a number where a number goes (`object.move` with `"dx": "60 mm"`, and `object.rotate`, `object.setBounds` and the other commands that call `check_numbers`), a missing number or index, `ids` that are not a list of object ids, an object id that is not a non-negative integer or names no object, and a date that is not Unix seconds. Each has a row in every catalog that translates all status and error messages, and in Bulgarian, Danish, Indonesian and Dutch (`shared_param_check_errors_are_translated`). - A parameter schema's errors show in the status bar with what the value must be in the interface language, for every type a schema has (a number with each kind of range and with a unit, an integer and its range, true or false, a string, a list of names, an object id, a list of object ids, a color, a point, an object and a list), in every catalog that translates all status and error messages; the path, the refused value, the bounds, the unit and the names stay as the English gives them. The error for a value that is not one of its names is also translated in Bulgarian, Bosnian, Danish, Indonesian and Dutch (`parameter_schema_expected_phrases_are_translated`, `bracketed_message_parts_translate_only_as_exact_messages`). - A script's error about answers in `answers` that it did not use, and Liquify's warning about the objects under the brush that it left as they were, show in the status bar in the interface language for one answer or object as well as for several, with the count's own form in each catalog that translates all status and error messages; the English the commands return stays as it was (`messages_with_one_or_several_items_translate_in_every_complete_catalog`, `unused_answers_are_counted_in_the_singular_and_the_plural`, `liquify_warns_about_one_or_several_skipped_objects`). + - In that Liquify warning, the tool's name and each kind of object it left (graphs, type, symbols, images, meshes, envelopes, repeats, placed documents, blends) are shown in the interface language too, in the order the command lists them and joined as the language joins a list, in each catalog that translates all status and error messages (`liquify-tool`, `liquify-kind` and `liquify-list-*` rows); a kind that Liquify does not list leaves the tool and the list in English (`liquify_warning_translates_its_tool_and_kinds_in_every_complete_catalog`). - The untranslated report lists the status and error messages of the effects, swatch libraries, raster sizes and encoders, 3D solids and path operations that a catalog lacks, the messages that a `.map_err` closure or a named error handler returns, and the phrases a parameter schema's error builds for what a value must be (`untranslated_report_checks_every_message_crate_and_schema_phrase`, `message_scan_reads_map_err_closures`, `message_scan_reads_named_map_err_handlers`). - Spanish messages (2026-11-13): the Spanish catalog (`crates/ui-egui/src/i18n/es.tsv`) has an `@msg` row for 114 of the 167 status and error messages that the untranslated report (`untranslated_report`) lists as missing in all 23 complete-message languages: the errors of the image encoders, color profiles, swatch exchange files and color books, 3D and Revolve, path operations, DXF import, the script engine and the parameter checks. Open #7211 and #7378 translate 51 of the others (the composite font and SVG filter errors), and 2 stay in English. The rows keep the placeholders, backticked names, accepted values and limits of their English (`spanish_translates_encoder_profile_swatch_revolve_and_parameter_errors`); native review remains; scores and estimates unchanged. - Export commands run through MCP, the control channel or the CLI refuse a key that no format takes, and warn about a key that only another format takes (`{"format": "pdf", "quality": 80}` writes the PDF with the warning "`quality` was not used: PDF files don't read it"; `an_option_only_another_format_reads_gets_a_note`, `control_export_notes_an_option_the_format_does_not_read`, `convert_warns_about_an_unused_option_only_when_one_was_given`), and a command that writes one format (`document.exportPdf`, `document.exportEps`, `document.exportDxf`) or takes one format's options (`document.pdfSettings`, `pdf.preset.save`) refuses a key that format doesn't take. An unknown key inside `marks`, `bleed`, `compression`, `output`, `advanced`, `security` or `flattener` is refused by its path.