i18n: unused-answers and Liquify skip messages translate for one item too

The script error for answers left in `answers` and Liquify's warning about
objects under the brush that it left as they were built their singular by
adding an empty suffix, so no catalog template could match the singular
form, and neither message had a catalog row for either count.

- Both messages are now built from complete singular and plural English
  sentences; `it was` and `they were` are part of the sentence. The
  English the commands return does not change.
- Every complete-message catalog has an `@msgplural` row for each, with
  the language's own count forms. The tool name and the list of kinds
  stay as written.
This commit is contained in:
dotCooCoo
2026-11-13 20:31:22 -08:00
parent 1e4e3534f5
commit efd57a4a5d
29 changed files with 121 additions and 8 deletions
+6 -7
View File
@@ -631,13 +631,12 @@ impl LiquifyStroke {
}
let msg = (!ids.is_empty()).then(|| {
let n = ids.len();
format!(
"{} left {n} object{} under the brush as {} ({}): it reshapes paths only",
self.prm.kind.label(),
if n == 1 { "" } else { "s" },
if n == 1 { "it was" } else { "they were" },
kinds.join(", ")
)
let (tool, kinds) = (self.prm.kind.label(), kinds.join(", "));
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")
}
});
(ids, msg)
}
+5 -1
View File
@@ -2004,7 +2004,11 @@ impl Session {
Ok(Ok(Progress::Done(_))) if job.host.dialogs.unused() > 0 => {
let n = job.host.dialogs.unused();
let kind = LimitKind::Host;
let message = format!("`answers` has {n} answer{} the script did not use", if n == 1 { "" } else { "s" });
let message = if n == 1 {
format!("`answers` has {n} answer the script did not use")
} else {
format!("`answers` has {n} answers the script did not use")
};
Some(self.script_failed(job, &RunError { kind: RunErrorKind::Limit(kind), message, line: 0, column: 0 }))
}
Ok(Ok(Progress::Done(_))) => {
+20
View File
@@ -265,6 +265,26 @@ fn liquify_without_selection_hits_paths_under_the_brush() {
assert!(path(&s, b).bounds().unwrap().width() < 100.0);
}
/// The warning about objects under the brush that Liquify leaves as they are names their count
/// with the matching noun and verb.
#[test]
fn liquify_warns_about_one_or_several_skipped_objects() {
let mut s = session();
let text =
|s: &mut Session, x: i32| s.execute("text.create", &json!({"x": x, "y": 460, "text": "Hi", "size": 24})).unwrap()["id"].as_u64().unwrap();
let pucker = json!({"tool": "pucker", "points": [[550, 450]], "diameter": 150, "intensity": 1});
let first = text(&mut s, 520);
s.execute("select.set", &json!({"ids": []})).unwrap();
let r = s.execute("object.liquify", &pucker).unwrap();
assert_eq!(r["skipped"], json!([first]));
assert_eq!(r["warning"], "Pucker left 1 object under the brush as it was (type): it reshapes paths only");
let second = text(&mut s, 560);
s.execute("select.set", &json!({"ids": []})).unwrap();
let r = s.execute("object.liquify", &pucker).unwrap();
assert_eq!(r["skipped"], json!([first, second]));
assert_eq!(r["warning"], "Pucker left 2 objects under the brush as they were (type): it reshapes paths only");
}
/// With nothing selected, a stroke leaves the art on a locked artboard as it is.
#[test]
fn liquify_without_selection_leaves_the_art_on_a_locked_artboard() {
+12
View File
@@ -120,6 +120,18 @@ fn missing_or_mismatched_answer_rolls_back() {
assert_eq!(s.script_report().unwrap()["dialogs"][0]["answer"], "missing");
}
/// The error about answers left over names their count with the matching noun.
#[test]
fn unused_answers_are_counted_in_the_singular_and_the_plural() {
let mut s = one_doc();
let ok = json!({"kind": "alert", "value": "ok"});
for (extra, says) in [(1, "`answers` has 1 answer the script did not use"), (2, "`answers` has 2 answers the script did not use")] {
let given = Value::Array(vec![ok.clone(); extra + 1]);
let e = headless(&mut s, "alert('x');", given).unwrap_err().to_string();
assert!(e.contains(says), "{e}");
}
}
#[test]
fn invalid_answers_are_rejected_before_run() {
let mut s = one_doc();
+2
View File
@@ -5556,6 +5556,8 @@ digits Malayalam Malaiàlam
@msg {name}: a dialog cannot open inside a callback of a built-in function, a getter, a conversion or a file $.evalFile runs; call it from the script's own code {name}: un quadre de diàleg no es pot obrir dins d'una crida de retorn d'una funció integrada, un getter, una conversió o un fitxer que executa $.evalFile; crideu-lo des del codi propi de l'script
@msg {name}: the next answer in `answers` is for {_1}, not {name} {name}: la resposta següent d'`answers` és per a {_1}, no per a {name}
@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
@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
Can't render this file because it contains an unexpected character in line 2 and column 73.
+2
View File
@@ -4665,6 +4665,8 @@ imageTrace Outline Obrys
@msg {name}: a dialog cannot open inside a callback of a built-in function, a getter, a conversion or a file $.evalFile runs; call it from the script's own code {name}: dialog se nemůže otevřít uvnitř zpětného volání vestavěné funkce, getteru, převodu ani souboru, který spouští $.evalFile; zavolejte jej z vlastního kódu skriptu
@msg {name}: the next answer in `answers` is for {_1}, not {name} {name}: další odpověď v `answers` je pro {_1}, ne pro {name}
@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
@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
Can't render this file because it contains an unexpected character in line 2 and column 73.
+2
View File
@@ -4278,6 +4278,8 @@ theme Appearance Erscheinungsbild
@msg {name}: a dialog cannot open inside a callback of a built-in function, a getter, a conversion or a file $.evalFile runs; call it from the script's own code {name}: Ein Dialog kann sich nicht in einem Callback einer integrierten Funktion, einem Getter, einer Umwandlung oder einer Datei öffnen, die $.evalFile ausführt; rufen Sie ihn aus dem eigenen Code des Skripts auf
@msg {name}: the next answer in `answers` is for {_1}, not {name} {name}: Die nächste Antwort in `answers` ist für {_1}, nicht für {name}
@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
@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
Can't render this file because it is too large.
+2
View File
@@ -2425,6 +2425,8 @@ axis Both Και τα δύο
@msg {name}: a dialog cannot open inside a callback of a built-in function, a getter, a conversion or a file $.evalFile runs; call it from the script's own code {name}: ένα παράθυρο διαλόγου δεν μπορεί να ανοίξει μέσα σε επανάκληση ενσωματωμένης συνάρτησης, getter, μετατροπή ή αρχείο που εκτελεί το $.evalFile· καλέστε το από τον κώδικα του ίδιου του σεναρίου
@msg {name}: the next answer in `answers` is for {_1}, not {name} {name}: η επόμενη απάντηση στο `answers` είναι για το {_1}, όχι για το {name}
@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}): αναδιαμορφώνει μόνο διαδρομές
@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 η εκτέλεση σεναρίου αυτής της συνάρτησης έχει τελειώσει
Can't render this file because it is too large.
+2
View File
@@ -4355,6 +4355,8 @@ axis Both Ambos
@msg {name}: a dialog cannot open inside a callback of a built-in function, a getter, a conversion or a file $.evalFile runs; call it from the script's own code {name}: un cuadro de diálogo no puede abrirse dentro de una devolución de llamada de una función integrada, un getter, una conversión o un archivo que ejecuta $.evalFile; llámelo desde el propio código del script
@msg {name}: the next answer in `answers` is for {_1}, not {name} {name}: la siguiente respuesta de `answers` es para {_1}, no para {name}
@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
@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
Can't render this file because it contains an unexpected character in line 2 and column 73.
+2
View File
@@ -4579,6 +4579,8 @@ imageTrace Outline Ääriviiva
@msg {name}: a dialog cannot open inside a callback of a built-in function, a getter, a conversion or a file $.evalFile runs; call it from the script's own code {name}: valintaikkuna ei voi avautua sisäänrakennetun funktion takaisinkutsussa, getterissä, muunnoksessa tai tiedostossa, jonka $.evalFile ajaa; kutsu sitä skriptin omasta koodista
@msg {name}: the next answer in `answers` is for {_1}, not {name} {name}: seuraava vastaus kohteessa `answers` on kohteelle {_1}, ei kohteelle {name}
@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
@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
Can't render this file because it contains an unexpected character in line 2 and column 73.
+2
View File
@@ -4344,6 +4344,8 @@ axis Both Les deux
@msg {name}: a dialog cannot open inside a callback of a built-in function, a getter, a conversion or a file $.evalFile runs; call it from the script's own code {name} : une boîte de dialogue ne peut pas s'ouvrir dans un rappel d'une fonction intégrée, un accesseur, une conversion ou un fichier que $.evalFile exécute ; appelez-la depuis le code du script lui-même
@msg {name}: the next answer in `answers` is for {_1}, not {name} {name} : la réponse suivante de `answers` est pour {_1}, pas pour {name}
@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
@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
Can't render this file because it contains an unexpected character in line 2 and column 73.
+2
View File
@@ -6668,6 +6668,8 @@ antiAlias Sharp शार्प
@msg {name}: a dialog cannot open inside a callback of a built-in function, a getter, a conversion or a file $.evalFile runs; call it from the script's own code {name}: कोई डायलॉग किसी बिल्ट-इन फ़ंक्शन के कॉलबैक, getter, रूपांतरण या $.evalFile द्वारा चलाई गई फ़ाइल के भीतर नहीं खुल सकता; इसे स्क्रिप्ट के अपने कोड से कॉल करें
@msg {name}: the next answer in `answers` is for {_1}, not {name} {name}: `answers` में अगला उत्तर {_1} के लिए है, {name} के लिए नहीं
@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}): यह केवल पाथ्स को नया आकार देता है
@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 इस फ़ंक्शन का स्क्रिप्ट रन समाप्त हो गया है
Can't render this file because it is too large.
+2
View File
@@ -5165,6 +5165,8 @@ imageTrace Outline Körvonal
@msg {name}: a dialog cannot open inside a callback of a built-in function, a getter, a conversion or a file $.evalFile runs; call it from the script's own code {name}: párbeszédpanel nem nyílhat meg beépített függvény visszahívásában, getterben, átalakításban vagy a $.evalFile által futtatott fájlban; hívja a parancsfájl saját kódjából
@msg {name}: the next answer in `answers` is for {_1}, not {name} {name}: a következő válasz az `answers` listában ehhez tartozik: {_1}, nem ehhez: {name}
@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
@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
Can't render this file because it contains an unexpected character in line 2 and column 73.
+2
View File
@@ -4407,6 +4407,8 @@ axis Both Entrambi
@msg {name}: a dialog cannot open inside a callback of a built-in function, a getter, a conversion or a file $.evalFile runs; call it from the script's own code {name}: una finestra di dialogo non può aprirsi dentro un callback di una funzione integrata, un getter, una conversione o un file eseguito da $.evalFile; chiamala dal codice dello script stesso
@msg {name}: the next answer in `answers` is for {_1}, not {name} {name}: la prossima risposta in `answers` è per {_1}, non per {name}
@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
@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
Can't render this file because it is too large.
+2
View File
@@ -5169,6 +5169,8 @@ swatch Bright Violet ビビッドバイオレット
@msg {name}: a dialog cannot open inside a callback of a built-in function, a getter, a conversion or a file $.evalFile runs; call it from the script's own code {name}: 組み込み関数のコールバック、getter、変換、または $.evalFile が実行するファイルの中ではダイアログを開けません。スクリプト自身のコードから呼び出してください
@msg {name}: the next answer in `answers` is for {_1}, not {name} {name}: `answers` の次の回答は {name} ではなく {_1} のものです
@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})。パスのみを変形します
@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 この関数のスクリプトの実行は終了しています
Can't render this file because it contains an unexpected character in line 2 and column 73.
+2
View File
@@ -5575,6 +5575,8 @@ imageTrace Outline კონტური
@msg {name}: a dialog cannot open inside a callback of a built-in function, a getter, a conversion or a file $.evalFile runs; call it from the script's own code {name}: დიალოგი ვერ გაიხსნება ჩაშენებული ფუნქციის უკუძახილში, getter-ში, გარდაქმნაში ან ფაილში, რომელსაც $.evalFile უშვებს; გამოიძახეთ ის სკრიპტის საკუთარი კოდიდან
@msg {name}: the next answer in `answers` is for {_1}, not {name} {name}: შემდეგი პასუხი `answers`-ში არის {_1}-ისთვის და არა {name}-ისთვის
@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}): ის მხოლოდ ტრაექტორიებს ცვლის
@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 ამ ფუნქციის სკრიპტის გაშვება დასრულდა
Can't render this file because it is too large.
+2
View File
@@ -5096,6 +5096,8 @@ theme Appearance 외관
@msg {name}: a dialog cannot open inside a callback of a built-in function, a getter, a conversion or a file $.evalFile runs; call it from the script's own code {name}: 기본 제공 함수의 콜백, getter, 변환 또는 $.evalFile이 실행하는 파일 안에서는 대화 상자를 열 수 없습니다. 스크립트 자체 코드에서 호출하세요
@msg {name}: the next answer in `answers` is for {_1}, not {name} {name}: `answers`의 다음 답은 {name}이(가) 아니라 {_1}에 대한 것입니다
@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}). 패스만 변형합니다
@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 이 함수의 스크립트 실행이 끝났습니다
Can't render this file because it contains an unexpected character in line 2 and column 73.
+2
View File
@@ -131,6 +131,8 @@
@msg {name}: a dialog cannot open inside a callback of a built-in function, a getter, a conversion or a file $.evalFile runs; call it from the script's own code {name}: een dialoogvenster kan niet openen binnen een callback van een ingebouwde functie, een getter, een conversie of een bestand dat $.evalFile uitvoert; roep het aan vanuit de eigen code van het script
@msg {name}: the next answer in `answers` is for {_1}, not {name} {name}: het volgende antwoord in `answers` is voor {_1}, niet voor {name}
@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
@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
Can't render this file because it contains an unexpected character in line 2 and column 73.
+2
View File
@@ -4489,6 +4489,8 @@ imageTrace Outline Kontur
@msg {name}: a dialog cannot open inside a callback of a built-in function, a getter, a conversion or a file $.evalFile runs; call it from the script's own code {name}: okno dialogowe nie może się otworzyć w wywołaniu zwrotnym funkcji wbudowanej, getterze, konwersji ani pliku uruchamianym przez $.evalFile; wywołaj je z własnego kodu skryptu
@msg {name}: the next answer in `answers` is for {_1}, not {name} {name}: następna odpowiedź w `answers` jest dla {_1}, nie dla {name}
@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
@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ę
Can't render this file because it is too large.
+2
View File
@@ -5384,6 +5384,8 @@ axis Both Ambos
@msg {name}: a dialog cannot open inside a callback of a built-in function, a getter, a conversion or a file $.evalFile runs; call it from the script's own code {name}: uma caixa de diálogo não pode abrir dentro de um callback de uma função interna, um getter, uma conversão ou um arquivo que $.evalFile executa; chame-a a partir do próprio código do script
@msg {name}: the next answer in `answers` is for {_1}, not {name} {name}: a próxima resposta em `answers` é para {_1}, não para {name}
@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
@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
Can't render this file because it is too large.
+2
View File
@@ -4392,6 +4392,8 @@ axis Both Оба
@msg {name}: a dialog cannot open inside a callback of a built-in function, a getter, a conversion or a file $.evalFile runs; call it from the script's own code {name}: диалоговое окно не может открыться внутри обратного вызова встроенной функции, геттера, преобразования или файла, который выполняет $.evalFile; вызовите его из собственного кода скрипта
@msg {name}: the next answer in `answers` is for {_1}, not {name} {name}: следующий ответ в `answers` предназначен для {_1}, а не для {name}
@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}): он изменяет только контуры
@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 запуск скрипта этой функции завершён
Can't render this file because it is too large.
+2
View File
@@ -4265,6 +4265,8 @@ axis Both Båda
@msg {name}: a dialog cannot open inside a callback of a built-in function, a getter, a conversion or a file $.evalFile runs; call it from the script's own code {name}: en dialogruta kan inte öppnas i ett återanrop från en inbyggd funktion, en getter, en konvertering eller en fil som $.evalFile kör; anropa den från skriptets egen kod
@msg {name}: the next answer in `answers` is for {_1}, not {name} {name}: nästa svar i `answers` gäller {_1}, inte {name}
@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
@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
Can't render this file because it is too large.
+31
View File
@@ -2029,6 +2029,37 @@ fn recolor_notes_on_objects_left_unchanged_translate_with_their_counts() {
}
}
/// A script's error about unused `answers` and Liquify's note on the objects it left as they were
/// are translated whole for one object as well as for several, in every complete-message language,
/// and keep their counts.
#[test]
fn messages_with_one_or_several_items_translate_in_every_complete_catalog() {
let notes = [
("`answers` has 1 answer the script did not use", "1"),
("`answers` has 2 answers the script did not use", "2"),
("`answers` has 5 answers the script did not use", "5"),
("Warp left 1 object under the brush as it was (type): it reshapes paths only", "1"),
("Twirl left 2 objects under the brush as they were (type, images): it reshapes paths only", "2"),
("Pucker left 5 objects under the brush as they were (symbols): it reshapes paths only", "5"),
];
// Whole words, so that a word such as Swedish "under" or Dutch "object" is not read as English.
let english = ["answer", "did", "use", "left", "brush", "was", "they", "were", "reshapes", "paths", "only"];
for code in COMPLETE_MESSAGES {
let lang = Lang::from_code(code).expect("registered");
for (note, count) in notes {
let shown = message(lang, note);
assert_ne!(shown, note, "{code}");
assert!(shown.split(|c: char| !c.is_alphabetic()).all(|w| !english.contains(&w)), "{code}: {shown}");
assert!(shown.contains(count) && (!note.starts_with('`') || shown.contains("`answers`")), "{code}: {shown}");
}
}
// The count picks the language's form.
let cs = cs();
assert!(message(cs, "`answers` has 1 answer the script did not use").contains("1 odpověď,"));
assert!(message(cs, "`answers` has 2 answers the script did not use").contains("2 odpovědi,"));
assert!(message(cs, "`answers` has 5 answers the script did not use").contains("5 odpovědí,"));
}
#[test]
fn package_status_message_templates_parse() {
let c = Catalog::parse(concat!(
+2
View File
@@ -4120,6 +4120,8 @@ axis Both Her İkisi
@msg {name}: a dialog cannot open inside a callback of a built-in function, a getter, a conversion or a file $.evalFile runs; call it from the script's own code {name}: bir iletişim kutusu yerleşik bir işlevin geri çağrısında, bir getter içinde, bir dönüştürmede veya $.evalFile'ın çalıştırdığı bir dosyada açılamaz; bunu betiğin kendi kodundan çağırın
@msg {name}: the next answer in `answers` is for {_1}, not {name} {name}: `answers` içindeki sonraki yanıt {name} için değil, {_1} için
@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
@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
Can't render this file because it contains an unexpected character in line 5 and column 25.
+2
View File
@@ -4391,6 +4391,8 @@ axis Both Обидві
@msg {name}: a dialog cannot open inside a callback of a built-in function, a getter, a conversion or a file $.evalFile runs; call it from the script's own code {name}: діалогове вікно не може відкритися всередині зворотного виклику вбудованої функції, гетера, перетворення або файлу, який виконує $.evalFile; викличте його з власного коду скрипту
@msg {name}: the next answer in `answers` is for {_1}, not {name} {name}: наступна відповідь у `answers` призначена для {_1}, а не для {name}
@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}): він змінює форму лише контурів
@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 запуск скрипту цієї функції завершився
Can't render this file because it is too large.
+2
View File
@@ -4819,6 +4819,8 @@ theme Appearance Giao diện
@msg {name}: a dialog cannot open inside a callback of a built-in function, a getter, a conversion or a file $.evalFile runs; call it from the script's own code {name}: hộp thoại không thể mở bên trong lệnh gọi lại của hàm dựng sẵn, getter, phép chuyển đổi hoặc tệp mà $.evalFile chạy; hãy gọi nó từ mã của chính tập lệnh
@msg {name}: the next answer in `answers` is for {_1}, not {name} {name}: câu trả lời tiếp theo trong `answers` dành cho {_1}, không phải {name}
@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
@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
Can't render this file because it contains an unexpected character in line 204 and column 5.
+2
View File
@@ -4849,6 +4849,8 @@ imageTrace Outline 轮廓
@msg {name}: a dialog cannot open inside a callback of a built-in function, a getter, a conversion or a file $.evalFile runs; call it from the script's own code {name}:对话框不能在内置函数的回调、getter、转换或 $.evalFile 运行的文件中打开;请从脚本自身的代码中调用
@msg {name}: the next answer in `answers` is for {_1}, not {name} {name}:`answers` 中的下一个回答是给 {_1} 的,而不是给 {name} 的
@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}):它只重塑路径
@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 此函数的脚本运行已结束
Can't render this file because it is too large.
+2
View File
@@ -2563,6 +2563,8 @@ file-filter Templates 範本
@msg {name}: a dialog cannot open inside a callback of a built-in function, a getter, a conversion or a file $.evalFile runs; call it from the script's own code {name}:對話框不能在內建函式的回呼、getter、轉換或 $.evalFile 執行的檔案中開啟;請從指令碼本身的程式碼呼叫
@msg {name}: the next answer in `answers` is for {_1}, not {name} {name}:`answers` 中的下一個回答是給 {_1} 的,而不是給 {name} 的
@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}):它只重塑路徑
@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 此函式的指令碼執行已結束
Can't render this file because it contains an unexpected character in line 6 and column 47.
+1
View File
@@ -921,6 +921,7 @@ Moved from the ROADMAP's "Shipped so far" on 2026-10-10. Update it when a featur
- The errors of the 3D effects (Extrude & Bevel, Revolve, Inflate, Rotate and their Classic forms) show in the status bar in the interface language: the art a 3D effect cannot build a solid from, invalid light, graphics and surface settings, and the notes for an object that draws no 3D faces or more wireframe edges than the limit. Each has a row in every catalog that translates all status and error messages, and the effect's name and the values in the message are translated or kept as written (`three_d_refusals_are_translated_in_every_complete_catalog`, `three_d_refusals_translate_with_their_values`).
- 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`).
- 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`).
- 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.
- Save commands run through MCP, the control channel or the CLI (`document.save`, `file.saveAs`, `file.saveCopy`, `file.saveAsTemplate`, `app.save`) refuse a key that no save format takes, beside the path or in `options`. Export for Screens refuses a key it doesn't take, and a key that no format takes in a format row or in a format's settings, by its path (`formats[1].marks.useDocumentBleed`); Export Assets (`assets.export`, `assets.settings.set`) checks the rows and settings it is given the same way.