mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-10-24 09:46:59 -06:00
EPS import: a PostScript error shows what its name means in the interface language
An EPS or PostScript file that stops on a PostScript error named the error, such as typecheck or rangecheck, with the operator and the procedure, but did not say what the name means in any language. The warning or error now gives the name as PostScript spells it, followed by VectorCraft's own wording of what it means in the reader: "a PostScript error (typecheck in `add`; a value has the wrong type for the operator)". vectorcraft_eps::POSTSCRIPT_ERRORS lists the 14 names the reader raises other than undefined, with their meanings, and a test checks that each of those names has one. Each meaning and the new message shapes have a row in every catalog. i18n::message now translates placeholder values five levels deep instead of three, which the status bar's line for an EPS file that can't be opened needs. Docs: docs/mcp.md, docs/target-app-parity.md.
This commit is contained in:
@@ -156,17 +156,44 @@ impl Dsc {
|
||||
}
|
||||
}
|
||||
|
||||
/// What went wrong, for the user (and for us, reading a report): the PostScript error, the
|
||||
/// operator that raised it and the procedure it ran in (`fault`).
|
||||
/// The PostScript errors the reader raises and what each means, which import warnings and errors
|
||||
/// show after the error's name. `undefined` is not listed: its message names the undefined name
|
||||
/// and leaves the error's name out.
|
||||
pub const POSTSCRIPT_ERRORS: &[(&str, &str)] = &[
|
||||
("dictstackunderflow", "the program ends a dictionary it didn't begin"),
|
||||
("invalidfileaccess", "the program opens a file, which the reader can't do"),
|
||||
("invalidrestore", "the program restores a saved state that was already restored"),
|
||||
("ioerror", "data the program reads is damaged or cut short, or the program asks for a position in a file that has none"),
|
||||
("limitcheck", "the program goes past one of the reader's limits"),
|
||||
("nocurrentpoint", "the path has no point to continue from"),
|
||||
("rangecheck", "a value is outside the range the operator takes"),
|
||||
("stackunderflow", "the operator needs more values than the stack holds"),
|
||||
("syntaxerror", "part of the program isn't valid PostScript text"),
|
||||
("typecheck", "a value has the wrong type for the operator"),
|
||||
("undefinedfilename", "the program runs, deletes or renames a file, which the reader can't do"),
|
||||
("undefinedresource", "the program asks for a resource that isn't defined"),
|
||||
("undefinedresult", "a calculation has no result, as in a division by zero"),
|
||||
("unmatchedmark", "the operator looks for a mark on the stack and finds none"),
|
||||
];
|
||||
|
||||
/// What went wrong, for the user (and for us, reading a report): the PostScript error with what
|
||||
/// it means ([`POSTSCRIPT_ERRORS`]), the operator that raised it and the procedure it ran in
|
||||
/// (`fault`).
|
||||
fn reason(e: &PsError, fault: Option<&Fault>) -> String {
|
||||
let what = match e {
|
||||
PsError::Ps("undefined", at) => format!("it uses `{at}`, which VectorCraft's PostScript reader doesn't know"),
|
||||
PsError::Ps(name, at) => match fault.and_then(|f| f.op) {
|
||||
Some(op) if at.is_empty() || at == op => format!("a PostScript error ({name} in `{op}`)"),
|
||||
Some(op) => format!("a PostScript error ({name} in `{op}`: {at})"),
|
||||
None if at.is_empty() => format!("a PostScript error ({name})"),
|
||||
None => format!("a PostScript error ({name} in `{at}`)"),
|
||||
},
|
||||
PsError::Ps(name, at) => {
|
||||
let detail = match fault.and_then(|f| f.op) {
|
||||
Some(op) if at.is_empty() || at == op => format!("{name} in `{op}`"),
|
||||
Some(op) => format!("{name} in `{op}`: {at}"),
|
||||
None if at.is_empty() => name.to_string(),
|
||||
None => format!("{name} in `{at}`"),
|
||||
};
|
||||
match POSTSCRIPT_ERRORS.iter().find(|(n, _)| n == name) {
|
||||
Some((_, meaning)) => format!("a PostScript error ({detail}; {meaning})"),
|
||||
None => format!("a PostScript error ({detail})"),
|
||||
}
|
||||
}
|
||||
PsError::Limit(what) => return what.to_string(),
|
||||
PsError::Exit | PsError::Stop => return "the program stopped with an error".into(),
|
||||
PsError::Quit => return "the program ended early".into(),
|
||||
|
||||
@@ -733,13 +733,62 @@ fn masked_images_in_every_interleaving() {
|
||||
#[test]
|
||||
fn errors_name_the_operator_and_the_procedures() {
|
||||
let r = read("{ 1 (a) add } stopped pop 0 0 10 10 rectfill /inner { 1 (a) add } def /outer { inner } def outer");
|
||||
assert!(r.warnings[0].contains("(typecheck in `add`), in `inner` in `outer`"), "{:?}", r.warnings);
|
||||
assert!(r.warnings[0].contains("(typecheck in `add`; a value has the wrong type for the operator), in `inner` in `outer`"), "{:?}", r.warnings);
|
||||
let r = read("0 0 10 10 rectfill /p { frobnicate } def p");
|
||||
assert!(r.warnings[0].contains("it uses `frobnicate`, which VectorCraft's PostScript reader doesn't know, in `p`"), "{:?}", r.warnings);
|
||||
let r = read("0 0 10 10 rectfill 0 0 moveto (x) cvn moveto");
|
||||
assert!(r.warnings[0].contains("typecheck in `moveto`: a number"), "{:?}", r.warnings);
|
||||
}
|
||||
|
||||
/// The warning for a file read only up to an error says what the error's name means in the
|
||||
/// reader, after the name, which stays as PostScript spells it.
|
||||
#[test]
|
||||
fn errors_say_what_the_postscript_error_means() {
|
||||
for (program, want) in [
|
||||
("1 (a) add", "(typecheck in `add`; a value has the wrong type for the operator)"),
|
||||
("[1 2] 5 get", "(rangecheck in `get`; a value is outside the range the operator takes)"),
|
||||
("add", "(stackunderflow in `add`; the operator needs more values than the stack holds)"),
|
||||
("1 0 div", "(undefinedresult in `div`; a calculation has no result, as in a division by zero)"),
|
||||
("newpath 10 10 lineto", "(nocurrentpoint in `lineto`; the path has no point to continue from)"),
|
||||
("cleartomark", "(unmatchedmark in `cleartomark`; the operator looks for a mark on the stack and finds none)"),
|
||||
("save dup restore restore", "(invalidrestore in `restore`; the program restores a saved state that was already restored)"),
|
||||
("(x) (r) file", "(invalidfileaccess in `file`; the program opens a file, which the reader can't do)"),
|
||||
("(x) run", "(undefinedfilename in `run`; the program runs, deletes or renames a file, which the reader can't do)"),
|
||||
("/Nope /ProcSet findresource", "(undefinedresource in `findresource`: Nope; the program asks for a resource that isn't defined)"),
|
||||
("<12", "(syntaxerror in `<`; part of the program isn't valid PostScript text)"),
|
||||
] {
|
||||
let r = read(&format!("0 0 10 10 rectfill {program}"));
|
||||
assert!(r.warnings[0].contains(want), "{program}: {:?}", r.warnings);
|
||||
}
|
||||
}
|
||||
|
||||
/// Every PostScript error the reader raises has a meaning in [`crate::POSTSCRIPT_ERRORS`] but
|
||||
/// `undefined`, which the warning words on its own.
|
||||
#[test]
|
||||
fn every_postscript_error_the_reader_raises_has_a_meaning() {
|
||||
let dir = std::path::Path::new(env!("CARGO_MANIFEST_DIR")).join("src").join("import");
|
||||
let mut raised = std::collections::BTreeSet::new();
|
||||
for entry in std::fs::read_dir(&dir).unwrap() {
|
||||
let path = entry.unwrap().path();
|
||||
let name = path.file_name().and_then(|n| n.to_str()).unwrap_or_default();
|
||||
if !name.ends_with(".rs") || name.starts_with("tests") {
|
||||
continue;
|
||||
}
|
||||
let text = std::fs::read_to_string(&path).unwrap();
|
||||
for marker in ["Ps(\"", "ps_err(\""] {
|
||||
for (at, _) in text.match_indices(marker) {
|
||||
let rest = &text[at + marker.len()..];
|
||||
raised.insert(rest[..rest.find('"').unwrap()].to_string());
|
||||
}
|
||||
}
|
||||
}
|
||||
assert!(raised.len() >= 15 && raised.contains("typecheck"), "{raised:?}");
|
||||
let missing: Vec<_> = raised.iter().filter(|n| *n != "undefined" && !crate::POSTSCRIPT_ERRORS.iter().any(|(e, _)| e == n)).collect();
|
||||
assert!(missing.is_empty(), "no meaning for {missing:?}");
|
||||
let unused: Vec<_> = crate::POSTSCRIPT_ERRORS.iter().filter(|(e, _)| !raised.contains(*e)).collect();
|
||||
assert!(unused.is_empty(), "never raised: {unused:?}");
|
||||
}
|
||||
|
||||
/// Operators programs use to probe the interpreter or measure things: file `status`, `token`,
|
||||
/// `bytesavailable`, `pathforall`, `strokepath`, `nulldevice`, `currenthsbcolor`, the cache and
|
||||
/// device parameter queries.
|
||||
|
||||
@@ -37,7 +37,7 @@ mod ps;
|
||||
mod scene;
|
||||
mod tiff;
|
||||
|
||||
pub use import::{Imported, ai_alone, family_style, import, import_with, is_loss, layered_ai, page};
|
||||
pub use import::{Imported, POSTSCRIPT_ERRORS, ai_alone, family_style, import, import_with, is_loss, layered_ai, page};
|
||||
pub use legacy_ai::{HiddenObjects, LegacyAiOptions, LegacyAiOutput, export_legacy_ai};
|
||||
pub use print::{PrintJob, PrintPage, print};
|
||||
|
||||
|
||||
@@ -3771,6 +3771,25 @@ axis Both И двете
|
||||
@msg a PostScript error ({name} in `{op}`: {at}) PostScript грешка ({name} в `{op}`: {at})
|
||||
@msg a PostScript error ({name} in `{op}`: {at}), in {procs} PostScript грешка ({name} в `{op}`: {at}), в {procs}
|
||||
@msg a PostScript error ({name}) PostScript грешка ({name})
|
||||
@msg a PostScript error ({name} in `{op}`; {meaning}) PostScript грешка ({name} в `{op}`; {meaning})
|
||||
@msg a PostScript error ({name} in `{op}`; {meaning}), in {procs} PostScript грешка ({name} в `{op}`; {meaning}), в {procs}
|
||||
@msg a PostScript error ({name} in `{op}`: {at}; {meaning}) PostScript грешка ({name} в `{op}`: {at}; {meaning})
|
||||
@msg a PostScript error ({name} in `{op}`: {at}; {meaning}), in {procs} PostScript грешка ({name} в `{op}`: {at}; {meaning}), в {procs}
|
||||
@msg a PostScript error ({name}; {meaning}) PostScript грешка ({name}; {meaning})
|
||||
@msg the program ends a dictionary it didn't begin програмата затваря речник, който не е отворила
|
||||
@msg the program opens a file, which the reader can't do програмата отваря файл, което четецът не може да прави
|
||||
@msg the program restores a saved state that was already restored програмата възстановява запазено състояние, което вече е възстановено
|
||||
@msg data the program reads is damaged or cut short, or the program asks for a position in a file that has none данните, които програмата чете, са повредени или прекъснати, или програмата иска позиция във файл, който няма такава
|
||||
@msg the program goes past one of the reader's limits програмата надхвърля едно от ограниченията на четеца
|
||||
@msg the path has no point to continue from пътят няма точка, от която да продължи
|
||||
@msg a value is outside the range the operator takes стойност е извън обхвата, който операторът приема
|
||||
@msg the operator needs more values than the stack holds операторът се нуждае от повече стойности, отколкото има в стека
|
||||
@msg part of the program isn't valid PostScript text част от програмата не е валиден текст на PostScript
|
||||
@msg a value has the wrong type for the operator стойност е от неправилен тип за оператора
|
||||
@msg the program runs, deletes or renames a file, which the reader can't do програмата изпълнява, изтрива или преименува файл, което четецът не може да прави
|
||||
@msg the program asks for a resource that isn't defined програмата изисква ресурс, който не е дефиниран
|
||||
@msg a calculation has no result, as in a division by zero изчисление няма резултат, както при деление на нула
|
||||
@msg the operator looks for a mark on the stack and finds none операторът търси маркер в стека и не намира такъв
|
||||
@msg a bitmap is empty битовата карта е празна
|
||||
@msg a bitmap is too large to read битовата карта е твърде голяма за четене
|
||||
@msg a colour index is 0 to {_1}, not {n} цветовият индекс е от 0 до {_1}, а не {n}
|
||||
|
||||
|
Can't render this file because it contains an unexpected character in line 2 and column 73.
|
@@ -4150,6 +4150,25 @@ imageTrace Outline Obrys
|
||||
@msg a PostScript error ({name} in `{op}`: {at}) chyba PostScriptu ({name} v `{op}`: {at})
|
||||
@msg a PostScript error ({name} in `{op}`: {at}), in {procs} chyba PostScriptu ({name} v `{op}`: {at}), v {procs}
|
||||
@msg a PostScript error ({name}) chyba PostScriptu ({name})
|
||||
@msg a PostScript error ({name} in `{op}`; {meaning}) chyba PostScriptu ({name} v `{op}`; {meaning})
|
||||
@msg a PostScript error ({name} in `{op}`; {meaning}), in {procs} chyba PostScriptu ({name} v `{op}`; {meaning}), v {procs}
|
||||
@msg a PostScript error ({name} in `{op}`: {at}; {meaning}) chyba PostScriptu ({name} v `{op}`: {at}; {meaning})
|
||||
@msg a PostScript error ({name} in `{op}`: {at}; {meaning}), in {procs} chyba PostScriptu ({name} v `{op}`: {at}; {meaning}), v {procs}
|
||||
@msg a PostScript error ({name}; {meaning}) chyba PostScriptu ({name}; {meaning})
|
||||
@msg the program ends a dictionary it didn't begin program ukončuje slovník, který nezačal
|
||||
@msg the program opens a file, which the reader can't do program otevírá soubor, což čtečka neumí
|
||||
@msg the program restores a saved state that was already restored program obnovuje uložený stav, který už byl obnoven
|
||||
@msg data the program reads is damaged or cut short, or the program asks for a position in a file that has none data, která program čte, jsou poškozená nebo zkrácená, nebo program žádá pozici v souboru, který žádnou nemá
|
||||
@msg the program goes past one of the reader's limits program překračuje jeden z limitů čtečky
|
||||
@msg the path has no point to continue from cesta nemá bod, ze kterého by mohla pokračovat
|
||||
@msg a value is outside the range the operator takes hodnota je mimo rozsah, který operátor přijímá
|
||||
@msg the operator needs more values than the stack holds operátor potřebuje více hodnot, než obsahuje zásobník
|
||||
@msg part of the program isn't valid PostScript text část programu není platný text PostScriptu
|
||||
@msg a value has the wrong type for the operator hodnota má pro operátor nesprávný typ
|
||||
@msg the program runs, deletes or renames a file, which the reader can't do program spouští, maže nebo přejmenovává soubor, což čtečka neumí
|
||||
@msg the program asks for a resource that isn't defined program požaduje prostředek, který není definován
|
||||
@msg a calculation has no result, as in a division by zero výpočet nemá výsledek, například při dělení nulou
|
||||
@msg the operator looks for a mark on the stack and finds none operátor hledá na zásobníku značku a žádnou nenachází
|
||||
@msg a bitmap is empty bitmapa je prázdná
|
||||
@msg a bitmap is too large to read bitmapa je příliš velká na načtení
|
||||
@msg a colour index is 0 to {_1}, not {n} index barvy je 0 až {_1}, ne {n}
|
||||
|
||||
|
Can't render this file because it contains an unexpected character in line 2 and column 73.
|
@@ -3888,6 +3888,25 @@ imageTrace Outline Kontur
|
||||
@msg a PostScript error ({name} in `{op}`: {at}) en PostScript-fejl ({name} i `{op}`: {at})
|
||||
@msg a PostScript error ({name} in `{op}`: {at}), in {procs} en PostScript-fejl ({name} i `{op}`: {at}), i {procs}
|
||||
@msg a PostScript error ({name}) en PostScript-fejl ({name})
|
||||
@msg a PostScript error ({name} in `{op}`; {meaning}) en PostScript-fejl ({name} i `{op}`; {meaning})
|
||||
@msg a PostScript error ({name} in `{op}`; {meaning}), in {procs} en PostScript-fejl ({name} i `{op}`; {meaning}), i {procs}
|
||||
@msg a PostScript error ({name} in `{op}`: {at}; {meaning}) en PostScript-fejl ({name} i `{op}`: {at}; {meaning})
|
||||
@msg a PostScript error ({name} in `{op}`: {at}; {meaning}), in {procs} en PostScript-fejl ({name} i `{op}`: {at}; {meaning}), i {procs}
|
||||
@msg a PostScript error ({name}; {meaning}) en PostScript-fejl ({name}; {meaning})
|
||||
@msg the program ends a dictionary it didn't begin programmet afslutter en ordbog, det ikke har startet
|
||||
@msg the program opens a file, which the reader can't do programmet åbner en fil, hvilket læseren ikke kan
|
||||
@msg the program restores a saved state that was already restored programmet gendanner en gemt tilstand, der allerede er gendannet
|
||||
@msg data the program reads is damaged or cut short, or the program asks for a position in a file that has none data, som programmet læser, er beskadigede eller afkortede, eller programmet beder om en position i en fil, der ikke har nogen
|
||||
@msg the program goes past one of the reader's limits programmet overskrider en af læserens grænser
|
||||
@msg the path has no point to continue from kurven har intet punkt at fortsætte fra
|
||||
@msg a value is outside the range the operator takes en værdi ligger uden for det område, operatoren tager imod
|
||||
@msg the operator needs more values than the stack holds operatoren skal bruge flere værdier, end stakken indeholder
|
||||
@msg part of the program isn't valid PostScript text en del af programmet er ikke gyldig PostScript-tekst
|
||||
@msg a value has the wrong type for the operator en værdi har den forkerte type til operatoren
|
||||
@msg the program runs, deletes or renames a file, which the reader can't do programmet kører, sletter eller omdøber en fil, hvilket læseren ikke kan
|
||||
@msg the program asks for a resource that isn't defined programmet beder om en ressource, der ikke er defineret
|
||||
@msg a calculation has no result, as in a division by zero en beregning har intet resultat, som ved division med nul
|
||||
@msg the operator looks for a mark on the stack and finds none operatoren leder efter et mærke på stakken og finder intet
|
||||
@msg a bitmap is empty en bitmap er tom
|
||||
@msg a bitmap is too large to read en bitmap er for stor til at læse
|
||||
@msg a colour index is 0 to {_1}, not {n} et farveindeks er fra 0 til {_1}, ikke {n}
|
||||
|
||||
|
Can't render this file because it contains an unexpected character in line 2 and column 73.
|
@@ -3785,6 +3785,25 @@ theme Appearance Erscheinungsbild
|
||||
@msg a PostScript error ({name} in `{op}`: {at}) ein PostScript-Fehler ({name} in `{op}`: {at})
|
||||
@msg a PostScript error ({name} in `{op}`: {at}), in {procs} ein PostScript-Fehler ({name} in `{op}`: {at}), in {procs}
|
||||
@msg a PostScript error ({name}) ein PostScript-Fehler ({name})
|
||||
@msg a PostScript error ({name} in `{op}`; {meaning}) ein PostScript-Fehler ({name} in `{op}`; {meaning})
|
||||
@msg a PostScript error ({name} in `{op}`; {meaning}), in {procs} ein PostScript-Fehler ({name} in `{op}`; {meaning}), in {procs}
|
||||
@msg a PostScript error ({name} in `{op}`: {at}; {meaning}) ein PostScript-Fehler ({name} in `{op}`: {at}; {meaning})
|
||||
@msg a PostScript error ({name} in `{op}`: {at}; {meaning}), in {procs} ein PostScript-Fehler ({name} in `{op}`: {at}; {meaning}), in {procs}
|
||||
@msg a PostScript error ({name}; {meaning}) ein PostScript-Fehler ({name}; {meaning})
|
||||
@msg the program ends a dictionary it didn't begin das Programm beendet ein Wörterbuch, das es nicht begonnen hat
|
||||
@msg the program opens a file, which the reader can't do das Programm öffnet eine Datei, was der PostScript-Leser nicht kann
|
||||
@msg the program restores a saved state that was already restored das Programm stellt einen gesicherten Zustand wieder her, der bereits wiederhergestellt wurde
|
||||
@msg data the program reads is damaged or cut short, or the program asks for a position in a file that has none Daten, die das Programm liest, sind beschädigt oder abgeschnitten, oder das Programm fragt nach einer Position in einer Datei, die keine hat
|
||||
@msg the program goes past one of the reader's limits das Programm überschreitet eine der Grenzen des PostScript-Lesers
|
||||
@msg the path has no point to continue from der Pfad hat keinen Punkt, an dem er fortgesetzt werden kann
|
||||
@msg a value is outside the range the operator takes ein Wert liegt außerhalb des Bereichs, den der Operator annimmt
|
||||
@msg the operator needs more values than the stack holds der Operator braucht mehr Werte, als der Stapel enthält
|
||||
@msg part of the program isn't valid PostScript text ein Teil des Programms ist kein gültiger PostScript-Text
|
||||
@msg a value has the wrong type for the operator ein Wert hat den falschen Typ für den Operator
|
||||
@msg the program runs, deletes or renames a file, which the reader can't do das Programm führt eine Datei aus, löscht sie oder benennt sie um, was der PostScript-Leser nicht kann
|
||||
@msg the program asks for a resource that isn't defined das Programm fordert eine Ressource an, die nicht definiert ist
|
||||
@msg a calculation has no result, as in a division by zero eine Berechnung hat kein Ergebnis, etwa bei einer Division durch null
|
||||
@msg the operator looks for a mark on the stack and finds none der Operator sucht eine Marke auf dem Stapel und findet keine
|
||||
@msg a bitmap is empty eine Bitmap ist leer
|
||||
@msg a bitmap is too large to read eine Bitmap ist zu groß, um gelesen zu werden
|
||||
@msg a colour index is 0 to {_1}, not {n} ein Farbindex liegt zwischen 0 und {_1}, nicht {n}
|
||||
|
||||
|
Can't render this file because it contains an unexpected character in line 2 and column 73.
|
@@ -3828,6 +3828,25 @@ theme Appearance Εμφάνιση
|
||||
@msg a PostScript error ({name} in `{op}`: {at}) σφάλμα PostScript ({name} στην εντολή `{op}`: {at})
|
||||
@msg a PostScript error ({name} in `{op}`: {at}), in {procs} σφάλμα PostScript ({name} στην εντολή `{op}`: {at}), στις διαδικασίες {procs}
|
||||
@msg a PostScript error ({name}) σφάλμα PostScript ({name})
|
||||
@msg a PostScript error ({name} in `{op}`; {meaning}) σφάλμα PostScript ({name} στην εντολή `{op}`; {meaning})
|
||||
@msg a PostScript error ({name} in `{op}`; {meaning}), in {procs} σφάλμα PostScript ({name} στην εντολή `{op}`; {meaning}), στις διαδικασίες {procs}
|
||||
@msg a PostScript error ({name} in `{op}`: {at}; {meaning}) σφάλμα PostScript ({name} στην εντολή `{op}`: {at}; {meaning})
|
||||
@msg a PostScript error ({name} in `{op}`: {at}; {meaning}), in {procs} σφάλμα PostScript ({name} στην εντολή `{op}`: {at}; {meaning}), στις διαδικασίες {procs}
|
||||
@msg a PostScript error ({name}; {meaning}) σφάλμα PostScript ({name}; {meaning})
|
||||
@msg the program ends a dictionary it didn't begin το πρόγραμμα κλείνει ένα λεξικό που δεν άνοιξε
|
||||
@msg the program opens a file, which the reader can't do το πρόγραμμα ανοίγει ένα αρχείο, κάτι που ο αναγνώστης δεν μπορεί να κάνει
|
||||
@msg the program restores a saved state that was already restored το πρόγραμμα επαναφέρει μια αποθηκευμένη κατάσταση που έχει ήδη επαναφερθεί
|
||||
@msg data the program reads is damaged or cut short, or the program asks for a position in a file that has none τα δεδομένα που διαβάζει το πρόγραμμα είναι κατεστραμμένα ή περικομμένα, ή το πρόγραμμα ζητά θέση σε ένα αρχείο που δεν έχει θέση
|
||||
@msg the program goes past one of the reader's limits το πρόγραμμα ξεπερνά ένα από τα όρια του αναγνώστη
|
||||
@msg the path has no point to continue from η διαδρομή δεν έχει σημείο από το οποίο να συνεχίσει
|
||||
@msg a value is outside the range the operator takes μια τιμή είναι εκτός του εύρους που δέχεται η εντολή
|
||||
@msg the operator needs more values than the stack holds η εντολή χρειάζεται περισσότερες τιμές από όσες έχει η στοίβα
|
||||
@msg part of the program isn't valid PostScript text μέρος του προγράμματος δεν είναι έγκυρο κείμενο PostScript
|
||||
@msg a value has the wrong type for the operator μια τιμή έχει λάθος τύπο για την εντολή
|
||||
@msg the program runs, deletes or renames a file, which the reader can't do το πρόγραμμα εκτελεί, διαγράφει ή μετονομάζει ένα αρχείο, κάτι που ο αναγνώστης δεν μπορεί να κάνει
|
||||
@msg the program asks for a resource that isn't defined το πρόγραμμα ζητά έναν πόρο που δεν έχει οριστεί
|
||||
@msg a calculation has no result, as in a division by zero ένας υπολογισμός δεν έχει αποτέλεσμα, όπως σε μια διαίρεση με το μηδέν
|
||||
@msg the operator looks for a mark on the stack and finds none η εντολή αναζητά ένα σημάδι στη στοίβα και δεν βρίσκει κανένα
|
||||
@msg a bitmap is empty το bitmap είναι κενό
|
||||
@msg a bitmap is too large to read το bitmap είναι πολύ μεγάλο για ανάγνωση
|
||||
@msg a colour index is 0 to {_1}, not {n} ο δείκτης χρώματος πρέπει να είναι από 0 έως {_1}, όχι {n}
|
||||
|
||||
|
Can't render this file because it contains an unexpected character in line 2021 and column 19.
|
@@ -3848,6 +3848,25 @@ axis Both Ambos
|
||||
@msg a PostScript error ({name} in `{op}`: {at}) un error de PostScript ({name} en `{op}`: {at})
|
||||
@msg a PostScript error ({name} in `{op}`: {at}), in {procs} un error de PostScript ({name} en `{op}`: {at}), en {procs}
|
||||
@msg a PostScript error ({name}) un error de PostScript ({name})
|
||||
@msg a PostScript error ({name} in `{op}`; {meaning}) un error de PostScript ({name} en `{op}`; {meaning})
|
||||
@msg a PostScript error ({name} in `{op}`; {meaning}), in {procs} un error de PostScript ({name} en `{op}`; {meaning}), en {procs}
|
||||
@msg a PostScript error ({name} in `{op}`: {at}; {meaning}) un error de PostScript ({name} en `{op}`: {at}; {meaning})
|
||||
@msg a PostScript error ({name} in `{op}`: {at}; {meaning}), in {procs} un error de PostScript ({name} en `{op}`: {at}; {meaning}), en {procs}
|
||||
@msg a PostScript error ({name}; {meaning}) un error de PostScript ({name}; {meaning})
|
||||
@msg the program ends a dictionary it didn't begin el programa cierra un diccionario que no abrió
|
||||
@msg the program opens a file, which the reader can't do el programa abre un archivo, algo que el lector no puede hacer
|
||||
@msg the program restores a saved state that was already restored el programa restaura un estado guardado que ya se había restaurado
|
||||
@msg data the program reads is damaged or cut short, or the program asks for a position in a file that has none los datos que lee el programa están dañados o cortados, o el programa pide una posición en un archivo que no la tiene
|
||||
@msg the program goes past one of the reader's limits el programa supera uno de los límites del lector
|
||||
@msg the path has no point to continue from el trazado no tiene un punto desde el que continuar
|
||||
@msg a value is outside the range the operator takes un valor está fuera del intervalo que admite el operador
|
||||
@msg the operator needs more values than the stack holds el operador necesita más valores de los que tiene la pila
|
||||
@msg part of the program isn't valid PostScript text una parte del programa no es texto PostScript válido
|
||||
@msg a value has the wrong type for the operator un valor tiene un tipo incorrecto para el operador
|
||||
@msg the program runs, deletes or renames a file, which the reader can't do el programa ejecuta, elimina o cambia el nombre de un archivo, algo que el lector no puede hacer
|
||||
@msg the program asks for a resource that isn't defined el programa pide un recurso que no está definido
|
||||
@msg a calculation has no result, as in a division by zero un cálculo no tiene resultado, como en una división por cero
|
||||
@msg the operator looks for a mark on the stack and finds none el operador busca una marca en la pila y no encuentra ninguna
|
||||
@msg a bitmap is empty un mapa de bits está vacío
|
||||
@msg a bitmap is too large to read un mapa de bits es demasiado grande para leerlo
|
||||
@msg a colour index is 0 to {_1}, not {n} un índice de color va de 0 a {_1}, no {n}
|
||||
|
||||
|
Can't render this file because it contains an unexpected character in line 2 and column 73.
|
@@ -4076,6 +4076,25 @@ imageTrace Outline Ääriviiva
|
||||
@msg a PostScript error ({name} in `{op}`: {at}) tapahtui PostScript-virhe ({name} kohdassa `{op}`: {at})
|
||||
@msg a PostScript error ({name} in `{op}`: {at}), in {procs} tapahtui PostScript-virhe ({name} kohdassa `{op}`: {at}), proseduurissa {procs}
|
||||
@msg a PostScript error ({name}) tapahtui PostScript-virhe ({name})
|
||||
@msg a PostScript error ({name} in `{op}`; {meaning}) tapahtui PostScript-virhe ({name} kohdassa `{op}`; {meaning})
|
||||
@msg a PostScript error ({name} in `{op}`; {meaning}), in {procs} tapahtui PostScript-virhe ({name} kohdassa `{op}`; {meaning}), proseduurissa {procs}
|
||||
@msg a PostScript error ({name} in `{op}`: {at}; {meaning}) tapahtui PostScript-virhe ({name} kohdassa `{op}`: {at}; {meaning})
|
||||
@msg a PostScript error ({name} in `{op}`: {at}; {meaning}), in {procs} tapahtui PostScript-virhe ({name} kohdassa `{op}`: {at}; {meaning}), proseduurissa {procs}
|
||||
@msg a PostScript error ({name}; {meaning}) tapahtui PostScript-virhe ({name}; {meaning})
|
||||
@msg the program ends a dictionary it didn't begin ohjelma päättää sanakirjan, jota se ei aloittanut
|
||||
@msg the program opens a file, which the reader can't do ohjelma avaa tiedoston, mitä PostScript-lukija ei osaa
|
||||
@msg the program restores a saved state that was already restored ohjelma palauttaa tallennetun tilan, joka on jo palautettu
|
||||
@msg data the program reads is damaged or cut short, or the program asks for a position in a file that has none ohjelman lukemat tiedot ovat vioittuneet tai katkenneet, tai ohjelma pyytää sijaintia tiedostossa, jolla sitä ei ole
|
||||
@msg the program goes past one of the reader's limits ohjelma ylittää yhden PostScript-lukijan rajoista
|
||||
@msg the path has no point to continue from polulla ei ole pistettä, josta jatkaa
|
||||
@msg a value is outside the range the operator takes arvo on operaattorin hyväksymän alueen ulkopuolella
|
||||
@msg the operator needs more values than the stack holds operaattori tarvitsee enemmän arvoja kuin pinossa on
|
||||
@msg part of the program isn't valid PostScript text osa ohjelmasta ei ole kelvollista PostScript-tekstiä
|
||||
@msg a value has the wrong type for the operator arvo on väärää tyyppiä operaattorille
|
||||
@msg the program runs, deletes or renames a file, which the reader can't do ohjelma suorittaa, poistaa tai nimeää uudelleen tiedoston, mitä PostScript-lukija ei osaa
|
||||
@msg the program asks for a resource that isn't defined ohjelma pyytää resurssia, jota ei ole määritetty
|
||||
@msg a calculation has no result, as in a division by zero laskutoimituksella ei ole tulosta, kuten nollalla jaettaessa
|
||||
@msg the operator looks for a mark on the stack and finds none operaattori etsii pinosta merkkiä eikä löydä sitä
|
||||
@msg a bitmap is empty bittikartta on tyhjä
|
||||
@msg a bitmap is too large to read bittikartta on liian suuri luettavaksi
|
||||
@msg a colour index is 0 to {_1}, not {n} väri-indeksi on väliltä 0–{_1}, ei {n}
|
||||
|
||||
|
Can't render this file because it contains an unexpected character in line 2 and column 73.
|
@@ -3845,6 +3845,25 @@ axis Both Les deux
|
||||
@msg a PostScript error ({name} in `{op}`: {at}) une erreur PostScript ({name} dans `{op}` : {at})
|
||||
@msg a PostScript error ({name} in `{op}`: {at}), in {procs} une erreur PostScript ({name} dans `{op}` : {at}), dans {procs}
|
||||
@msg a PostScript error ({name}) une erreur PostScript ({name})
|
||||
@msg a PostScript error ({name} in `{op}`; {meaning}) une erreur PostScript ({name} dans `{op}` ; {meaning})
|
||||
@msg a PostScript error ({name} in `{op}`; {meaning}), in {procs} une erreur PostScript ({name} dans `{op}` ; {meaning}), dans {procs}
|
||||
@msg a PostScript error ({name} in `{op}`: {at}; {meaning}) une erreur PostScript ({name} dans `{op}` : {at} ; {meaning})
|
||||
@msg a PostScript error ({name} in `{op}`: {at}; {meaning}), in {procs} une erreur PostScript ({name} dans `{op}` : {at} ; {meaning}), dans {procs}
|
||||
@msg a PostScript error ({name}; {meaning}) une erreur PostScript ({name} ; {meaning})
|
||||
@msg the program ends a dictionary it didn't begin le programme ferme un dictionnaire qu’il n’a pas ouvert
|
||||
@msg the program opens a file, which the reader can't do le programme ouvre un fichier, ce que le lecteur PostScript ne sait pas faire
|
||||
@msg the program restores a saved state that was already restored le programme restaure un état enregistré qui a déjà été restauré
|
||||
@msg data the program reads is damaged or cut short, or the program asks for a position in a file that has none les données que lit le programme sont endommagées ou tronquées, ou le programme demande une position dans un fichier qui n’en a pas
|
||||
@msg the program goes past one of the reader's limits le programme dépasse l’une des limites du lecteur PostScript
|
||||
@msg the path has no point to continue from le tracé n’a aucun point à partir duquel continuer
|
||||
@msg a value is outside the range the operator takes une valeur est hors de la plage acceptée par l’opérateur
|
||||
@msg the operator needs more values than the stack holds l’opérateur a besoin de plus de valeurs que la pile n’en contient
|
||||
@msg part of the program isn't valid PostScript text une partie du programme n’est pas du texte PostScript valide
|
||||
@msg a value has the wrong type for the operator une valeur est d’un type incorrect pour l’opérateur
|
||||
@msg the program runs, deletes or renames a file, which the reader can't do le programme exécute, supprime ou renomme un fichier, ce que le lecteur PostScript ne sait pas faire
|
||||
@msg the program asks for a resource that isn't defined le programme demande une ressource qui n’est pas définie
|
||||
@msg a calculation has no result, as in a division by zero un calcul n’a pas de résultat, comme dans une division par zéro
|
||||
@msg the operator looks for a mark on the stack and finds none l’opérateur cherche une marque sur la pile et n’en trouve aucune
|
||||
@msg a bitmap is empty une image bitmap est vide
|
||||
@msg a bitmap is too large to read une image bitmap est trop grande pour être lue
|
||||
@msg a colour index is 0 to {_1}, not {n} un indice de couleur va de 0 à {_1}, pas {n}
|
||||
|
||||
|
Can't render this file because it contains an unexpected character in line 2 and column 73.
|
@@ -4391,6 +4391,25 @@ imageTrace Outline Körvonal
|
||||
@msg a PostScript error ({name} in `{op}`: {at}) PostScript-hiba ({name}, itt: `{op}`: {at})
|
||||
@msg a PostScript error ({name} in `{op}`: {at}), in {procs} PostScript-hiba ({name}, itt: `{op}`: {at}), eljárás: {procs}
|
||||
@msg a PostScript error ({name}) PostScript-hiba ({name})
|
||||
@msg a PostScript error ({name} in `{op}`; {meaning}) PostScript-hiba ({name}, itt: `{op}`; {meaning})
|
||||
@msg a PostScript error ({name} in `{op}`; {meaning}), in {procs} PostScript-hiba ({name}, itt: `{op}`; {meaning}), eljárás: {procs}
|
||||
@msg a PostScript error ({name} in `{op}`: {at}; {meaning}) PostScript-hiba ({name}, itt: `{op}`: {at}; {meaning})
|
||||
@msg a PostScript error ({name} in `{op}`: {at}; {meaning}), in {procs} PostScript-hiba ({name}, itt: `{op}`: {at}; {meaning}), eljárás: {procs}
|
||||
@msg a PostScript error ({name}; {meaning}) PostScript-hiba ({name}; {meaning})
|
||||
@msg the program ends a dictionary it didn't begin a program lezár egy szótárt, amelyet nem nyitott meg
|
||||
@msg the program opens a file, which the reader can't do a program fájlt nyit meg, amire a PostScript-olvasó nem képes
|
||||
@msg the program restores a saved state that was already restored a program egy már visszaállított mentett állapotot állít vissza
|
||||
@msg data the program reads is damaged or cut short, or the program asks for a position in a file that has none a program által olvasott adatok sérültek vagy csonkák, vagy a program pozíciót kér egy olyan fájlban, amelynek nincs pozíciója
|
||||
@msg the program goes past one of the reader's limits a program túllépi a PostScript-olvasó egyik korlátját
|
||||
@msg the path has no point to continue from az útvonalnak nincs pontja, ahonnan folytatódhatna
|
||||
@msg a value is outside the range the operator takes egy érték kívül esik az operátor által elfogadott tartományon
|
||||
@msg the operator needs more values than the stack holds az operátornak több értékre van szüksége, mint amennyi a veremben van
|
||||
@msg part of the program isn't valid PostScript text a program egy része nem érvényes PostScript-szöveg
|
||||
@msg a value has the wrong type for the operator egy érték típusa nem megfelelő az operátorhoz
|
||||
@msg the program runs, deletes or renames a file, which the reader can't do a program fájlt futtat, töröl vagy nevez át, amire a PostScript-olvasó nem képes
|
||||
@msg the program asks for a resource that isn't defined a program olyan erőforrást kér, amely nincs definiálva
|
||||
@msg a calculation has no result, as in a division by zero egy számításnak nincs eredménye, például nullával való osztáskor
|
||||
@msg the operator looks for a mark on the stack and finds none az operátor jelölőt keres a veremben, de nem talál
|
||||
@msg a preset named `{_1}` exists már van ilyen nevű előbeállítás: `{_1}`
|
||||
@msg a swatch or color group named `{n}` exists már van ilyen nevű színminta vagy színcsoport: `{n}`
|
||||
@msg a slice size must be a positive number of points a szelet mérete pozitív pontérték kell legyen
|
||||
|
||||
|
Can't render this file because it contains an unexpected character in line 2 and column 73.
|
@@ -3888,6 +3888,25 @@ imageTrace Outline Kontur
|
||||
@msg a PostScript error ({name} in `{op}`: {at}) kesalahan PostScript ({name} dalam `{op}`: {at})
|
||||
@msg a PostScript error ({name} in `{op}`: {at}), in {procs} kesalahan PostScript ({name} dalam `{op}`: {at}), dalam {procs}
|
||||
@msg a PostScript error ({name}) kesalahan PostScript ({name})
|
||||
@msg a PostScript error ({name} in `{op}`; {meaning}) kesalahan PostScript ({name} dalam `{op}`; {meaning})
|
||||
@msg a PostScript error ({name} in `{op}`; {meaning}), in {procs} kesalahan PostScript ({name} dalam `{op}`; {meaning}), dalam {procs}
|
||||
@msg a PostScript error ({name} in `{op}`: {at}; {meaning}) kesalahan PostScript ({name} dalam `{op}`: {at}; {meaning})
|
||||
@msg a PostScript error ({name} in `{op}`: {at}; {meaning}), in {procs} kesalahan PostScript ({name} dalam `{op}`: {at}; {meaning}), dalam {procs}
|
||||
@msg a PostScript error ({name}; {meaning}) kesalahan PostScript ({name}; {meaning})
|
||||
@msg the program ends a dictionary it didn't begin program mengakhiri kamus yang tidak dimulainya
|
||||
@msg the program opens a file, which the reader can't do program membuka berkas, yang tidak dapat dilakukan pembaca PostScript
|
||||
@msg the program restores a saved state that was already restored program memulihkan keadaan tersimpan yang sudah dipulihkan
|
||||
@msg data the program reads is damaged or cut short, or the program asks for a position in a file that has none data yang dibaca program rusak atau terpotong, atau program meminta posisi dalam berkas yang tidak memiliki posisi
|
||||
@msg the program goes past one of the reader's limits program melewati salah satu batas pembaca PostScript
|
||||
@msg the path has no point to continue from jalur tidak memiliki titik untuk dilanjutkan
|
||||
@msg a value is outside the range the operator takes sebuah nilai berada di luar rentang yang diterima operator
|
||||
@msg the operator needs more values than the stack holds operator memerlukan lebih banyak nilai daripada yang ada di tumpukan
|
||||
@msg part of the program isn't valid PostScript text sebagian program bukan teks PostScript yang valid
|
||||
@msg a value has the wrong type for the operator sebuah nilai memiliki tipe yang salah untuk operator
|
||||
@msg the program runs, deletes or renames a file, which the reader can't do program menjalankan, menghapus, atau mengganti nama berkas, yang tidak dapat dilakukan pembaca PostScript
|
||||
@msg the program asks for a resource that isn't defined program meminta sumber daya yang tidak didefinisikan
|
||||
@msg a calculation has no result, as in a division by zero sebuah perhitungan tidak memiliki hasil, seperti pada pembagian dengan nol
|
||||
@msg the operator looks for a mark on the stack and finds none operator mencari penanda di tumpukan dan tidak menemukannya
|
||||
@msg a bitmap is empty bitmap kosong
|
||||
@msg a bitmap is too large to read bitmap terlalu besar untuk dibaca
|
||||
@msg a colour index is 0 to {_1}, not {n} indeks warna 0 hingga {_1}, bukan {n}
|
||||
|
||||
|
Can't render this file because it contains an unexpected character in line 3777 and column 19.
|
@@ -3887,6 +3887,25 @@ axis Both Entrambi
|
||||
@msg a PostScript error ({name} in `{op}`: {at}) un errore PostScript ({name} in `{op}`: {at})
|
||||
@msg a PostScript error ({name} in `{op}`: {at}), in {procs} un errore PostScript ({name} in `{op}`: {at}), in {procs}
|
||||
@msg a PostScript error ({name}) un errore PostScript ({name})
|
||||
@msg a PostScript error ({name} in `{op}`; {meaning}) un errore PostScript ({name} in `{op}`; {meaning})
|
||||
@msg a PostScript error ({name} in `{op}`; {meaning}), in {procs} un errore PostScript ({name} in `{op}`; {meaning}), in {procs}
|
||||
@msg a PostScript error ({name} in `{op}`: {at}; {meaning}) un errore PostScript ({name} in `{op}`: {at}; {meaning})
|
||||
@msg a PostScript error ({name} in `{op}`: {at}; {meaning}), in {procs} un errore PostScript ({name} in `{op}`: {at}; {meaning}), in {procs}
|
||||
@msg a PostScript error ({name}; {meaning}) un errore PostScript ({name}; {meaning})
|
||||
@msg the program ends a dictionary it didn't begin il programma chiude un dizionario che non ha aperto
|
||||
@msg the program opens a file, which the reader can't do il programma apre un file, cosa che il lettore PostScript non sa fare
|
||||
@msg the program restores a saved state that was already restored il programma ripristina uno stato salvato già ripristinato
|
||||
@msg data the program reads is damaged or cut short, or the program asks for a position in a file that has none i dati che il programma legge sono danneggiati o troncati, oppure il programma chiede una posizione in un file che non ne ha
|
||||
@msg the program goes past one of the reader's limits il programma supera uno dei limiti del lettore PostScript
|
||||
@msg the path has no point to continue from il tracciato non ha un punto da cui proseguire
|
||||
@msg a value is outside the range the operator takes un valore è fuori dall'intervallo accettato dall'operatore
|
||||
@msg the operator needs more values than the stack holds l'operatore richiede più valori di quanti ne contenga la pila
|
||||
@msg part of the program isn't valid PostScript text una parte del programma non è testo PostScript valido
|
||||
@msg a value has the wrong type for the operator un valore è di un tipo errato per l'operatore
|
||||
@msg the program runs, deletes or renames a file, which the reader can't do il programma esegue, elimina o rinomina un file, cosa che il lettore PostScript non sa fare
|
||||
@msg the program asks for a resource that isn't defined il programma richiede una risorsa non definita
|
||||
@msg a calculation has no result, as in a division by zero un calcolo non ha risultato, come in una divisione per zero
|
||||
@msg the operator looks for a mark on the stack and finds none l'operatore cerca un marcatore nella pila e non ne trova nessuno
|
||||
@msg a bitmap is empty una bitmap è vuota
|
||||
@msg a bitmap is too large to read una bitmap è troppo grande per essere letta
|
||||
@msg a colour index is 0 to {_1}, not {n} un indice di colore va da 0 a {_1}, non {n}
|
||||
|
||||
|
Can't render this file because it contains an unexpected character in line 2 and column 73.
|
@@ -4141,6 +4141,25 @@ swatch Bright Violet ビビッドバイオレット
|
||||
@msg a PostScript error ({name} in `{op}`: {at}) PostScript エラー (`{op}` での {name}: {at})
|
||||
@msg a PostScript error ({name} in `{op}`: {at}), in {procs} {procs} 内の PostScript エラー (`{op}` での {name}: {at})
|
||||
@msg a PostScript error ({name}) PostScript エラー ({name})
|
||||
@msg a PostScript error ({name} in `{op}`; {meaning}) PostScript エラー (`{op}` での {name}、{meaning})
|
||||
@msg a PostScript error ({name} in `{op}`; {meaning}), in {procs} {procs} 内の PostScript エラー (`{op}` での {name}、{meaning})
|
||||
@msg a PostScript error ({name} in `{op}`: {at}; {meaning}) PostScript エラー (`{op}` での {name}: {at}、{meaning})
|
||||
@msg a PostScript error ({name} in `{op}`: {at}; {meaning}), in {procs} {procs} 内の PostScript エラー (`{op}` での {name}: {at}、{meaning})
|
||||
@msg a PostScript error ({name}; {meaning}) PostScript エラー ({name}、{meaning})
|
||||
@msg the program ends a dictionary it didn't begin プログラムが、開始していない辞書を終了しようとしています
|
||||
@msg the program opens a file, which the reader can't do プログラムがファイルを開こうとしていますが、PostScript 読み込み機能はファイルを開けません
|
||||
@msg the program restores a saved state that was already restored プログラムが、すでに復元された保存状態を復元しようとしています
|
||||
@msg data the program reads is damaged or cut short, or the program asks for a position in a file that has none プログラムが読み込むデータが壊れているか途中で切れているか、プログラムが位置を持たないファイルの位置を求めています
|
||||
@msg the program goes past one of the reader's limits プログラムが PostScript 読み込み機能の制限を超えています
|
||||
@msg the path has no point to continue from パスに続きを描く起点がありません
|
||||
@msg a value is outside the range the operator takes 値がオペレーターの受け付ける範囲外です
|
||||
@msg the operator needs more values than the stack holds オペレーターに必要な値がスタックに足りません
|
||||
@msg part of the program isn't valid PostScript text プログラムの一部が有効な PostScript テキストではありません
|
||||
@msg a value has the wrong type for the operator 値の型がオペレーターに合っていません
|
||||
@msg the program runs, deletes or renames a file, which the reader can't do プログラムがファイルの実行、削除、名前の変更をしようとしていますが、PostScript 読み込み機能はこれを行えません
|
||||
@msg the program asks for a resource that isn't defined プログラムが定義されていないリソースを要求しています
|
||||
@msg a calculation has no result, as in a division by zero ゼロによる除算などで、計算の結果が得られません
|
||||
@msg the operator looks for a mark on the stack and finds none オペレーターがスタック上のマークを探しましたが、見つかりません
|
||||
@msg it uses `{at}`, which VectorCraft's PostScript reader doesn't know VectorCraft の PostScript 読み込み機能が対応していない `{at}` を使用しています
|
||||
@msg the file was read up to an error ({why}): what follows it was left out ファイルはエラーが発生した箇所まで読み込まれました ({why}): それ以降の内容は除外されました
|
||||
@msg this file's PostScript couldn't be read ({why}): {what} このファイルの PostScript を読み込めませんでした ({why}): {what}
|
||||
|
||||
|
Can't render this file because it contains an unexpected character in line 2 and column 73.
|
@@ -3650,6 +3650,25 @@ effect Regular ჩვეულებრივი
|
||||
@msg a PostScript error ({name} in `{op}`: {at}) PostScript-ის შეცდომა ({name} `{op}`-ში: {at})
|
||||
@msg a PostScript error ({name} in `{op}`: {at}), in {procs} PostScript-ის შეცდომა ({name} `{op}`-ში: {at}), {procs}-ში
|
||||
@msg a PostScript error ({name}) PostScript-ის შეცდომა ({name})
|
||||
@msg a PostScript error ({name} in `{op}`; {meaning}) PostScript-ის შეცდომა ({name} `{op}`-ში; {meaning})
|
||||
@msg a PostScript error ({name} in `{op}`; {meaning}), in {procs} PostScript-ის შეცდომა ({name} `{op}`-ში; {meaning}), {procs}-ში
|
||||
@msg a PostScript error ({name} in `{op}`: {at}; {meaning}) PostScript-ის შეცდომა ({name} `{op}`-ში: {at}; {meaning})
|
||||
@msg a PostScript error ({name} in `{op}`: {at}; {meaning}), in {procs} PostScript-ის შეცდომა ({name} `{op}`-ში: {at}; {meaning}), {procs}-ში
|
||||
@msg a PostScript error ({name}; {meaning}) PostScript-ის შეცდომა ({name}; {meaning})
|
||||
@msg the program ends a dictionary it didn't begin პროგრამა ასრულებს ლექსიკონს, რომელიც მას არ დაუწყია
|
||||
@msg the program opens a file, which the reader can't do პროგრამა ფაილს ხსნის, რაც PostScript-ის წამკითხველს არ შეუძლია
|
||||
@msg the program restores a saved state that was already restored პროგრამა აღადგენს შენახულ მდგომარეობას, რომელიც უკვე აღდგენილია
|
||||
@msg data the program reads is damaged or cut short, or the program asks for a position in a file that has none მონაცემები, რომლებსაც პროგრამა კითხულობს, დაზიანებული ან შეწყვეტილია, ან პროგრამა ითხოვს პოზიციას ფაილში, რომელსაც პოზიცია არ აქვს
|
||||
@msg the program goes past one of the reader's limits პროგრამა PostScript-ის წამკითხველის ერთ-ერთ ზღვარს სცდება
|
||||
@msg the path has no point to continue from ტრაექტორიას არ აქვს წერტილი, საიდანაც გაგრძელდება
|
||||
@msg a value is outside the range the operator takes მნიშვნელობა ოპერატორის მისაღებ დიაპაზონს სცდება
|
||||
@msg the operator needs more values than the stack holds ოპერატორს სტეკში არსებულზე მეტი მნიშვნელობა სჭირდება
|
||||
@msg part of the program isn't valid PostScript text პროგრამის ნაწილი სწორი PostScript ტექსტი არ არის
|
||||
@msg a value has the wrong type for the operator მნიშვნელობას ოპერატორისთვის არასწორი ტიპი აქვს
|
||||
@msg the program runs, deletes or renames a file, which the reader can't do პროგრამა ფაილს უშვებს, შლის ან გადაარქმევს, რაც PostScript-ის წამკითხველს არ შეუძლია
|
||||
@msg the program asks for a resource that isn't defined პროგრამა ითხოვს რესურსს, რომელიც განსაზღვრული არ არის
|
||||
@msg a calculation has no result, as in a division by zero გამოთვლას შედეგი არ აქვს, მაგალითად ნულზე გაყოფისას
|
||||
@msg the operator looks for a mark on the stack and finds none ოპერატორი სტეკზე ნიშნულს ეძებს და ვერ პოულობს
|
||||
@msg a bitmap is empty ბიტმაპი ცარიელია
|
||||
@msg a bitmap is too large to read ბიტმაპი წასაკითხად ზედმეტად დიდია
|
||||
@msg a colour index is 0 to {_1}, not {n} ფერის ინდექსი არის 0-დან {_1}-მდე და არა {n}
|
||||
|
||||
|
Can't render this file because it contains an unexpected character in line 2 and column 73.
|
@@ -4073,6 +4073,25 @@ theme Appearance 외관
|
||||
@msg a PostScript error ({name} in `{op}`: {at}) PostScript 오류({name}, `{op}`: {at})
|
||||
@msg a PostScript error ({name} in `{op}`: {at}), in {procs} PostScript 오류({name}, `{op}`: {at}), 위치: {procs}
|
||||
@msg a PostScript error ({name}) PostScript 오류({name})
|
||||
@msg a PostScript error ({name} in `{op}`; {meaning}) PostScript 오류({name}, `{op}`; {meaning})
|
||||
@msg a PostScript error ({name} in `{op}`; {meaning}), in {procs} PostScript 오류({name}, `{op}`; {meaning}), 위치: {procs}
|
||||
@msg a PostScript error ({name} in `{op}`: {at}; {meaning}) PostScript 오류({name}, `{op}`: {at}; {meaning})
|
||||
@msg a PostScript error ({name} in `{op}`: {at}; {meaning}), in {procs} PostScript 오류({name}, `{op}`: {at}; {meaning}), 위치: {procs}
|
||||
@msg a PostScript error ({name}; {meaning}) PostScript 오류({name}; {meaning})
|
||||
@msg the program ends a dictionary it didn't begin 프로그램이 시작하지 않은 딕셔너리를 끝내려고 합니다
|
||||
@msg the program opens a file, which the reader can't do 프로그램이 파일을 열려고 하지만 PostScript 판독기는 파일을 열 수 없습니다
|
||||
@msg the program restores a saved state that was already restored 프로그램이 이미 복원된 저장 상태를 다시 복원하려고 합니다
|
||||
@msg data the program reads is damaged or cut short, or the program asks for a position in a file that has none 프로그램이 읽는 데이터가 손상되었거나 중간에 잘렸거나, 프로그램이 위치가 없는 파일에서 위치를 요청합니다
|
||||
@msg the program goes past one of the reader's limits 프로그램이 PostScript 판독기의 한도를 넘었습니다
|
||||
@msg the path has no point to continue from 패스에 이어서 그릴 기준점이 없습니다
|
||||
@msg a value is outside the range the operator takes 값이 연산자가 받는 범위를 벗어났습니다
|
||||
@msg the operator needs more values than the stack holds 연산자에 필요한 값이 스택에 부족합니다
|
||||
@msg part of the program isn't valid PostScript text 프로그램 일부가 올바른 PostScript 텍스트가 아닙니다
|
||||
@msg a value has the wrong type for the operator 값의 유형이 연산자에 맞지 않습니다
|
||||
@msg the program runs, deletes or renames a file, which the reader can't do 프로그램이 파일을 실행, 삭제 또는 이름 변경하려고 하지만 PostScript 판독기는 이를 할 수 없습니다
|
||||
@msg the program asks for a resource that isn't defined 프로그램이 정의되지 않은 리소스를 요청합니다
|
||||
@msg a calculation has no result, as in a division by zero 0으로 나누기처럼 계산 결과가 없습니다
|
||||
@msg the operator looks for a mark on the stack and finds none 연산자가 스택에서 마크를 찾지 못했습니다
|
||||
@msg it uses `{at}`, which VectorCraft's PostScript reader doesn't know `{at}`을(를) 사용하며, VectorCraft의 PostScript 판독기는 이를 알지 못합니다
|
||||
@msg the file was read up to an error ({why}): what follows it was left out 오류({why})까지 파일을 읽었으며, 그 뒤의 내용은 제외했습니다
|
||||
@msg this file's PostScript couldn't be read ({why}): {what} 이 파일의 PostScript를 읽을 수 없습니다({why}): {what}
|
||||
|
||||
|
Can't render this file because it contains an unexpected character in line 2 and column 73.
|
@@ -552,8 +552,11 @@ pub fn label_or_name(lang: Lang, s: &str, built_in: bool) -> &str {
|
||||
if built_in { tr(lang, s) } else { s }
|
||||
}
|
||||
|
||||
/// How deep [`message`] translates placeholder values that are messages themselves.
|
||||
const MESSAGE_DEPTH: usize = 3;
|
||||
/// How deep [`message`] translates placeholder values that are messages themselves. The status
|
||||
/// bar's line for an EPS file that can't be opened has five levels: `Couldn't open {name}: {e}`,
|
||||
/// the loader's `can't open …: {e}` (matched by `{path}: {e}`), the reader's `this PostScript file
|
||||
/// can't be read ({why}): …`, `a PostScript error (…; {meaning})` and the meaning.
|
||||
const MESSAGE_DEPTH: usize = 5;
|
||||
|
||||
/// Translate a status or error message for display (see the module docs). Unknown messages, and
|
||||
/// parts of them (file names, numbers, a reason with no entry), stay as they are.
|
||||
|
||||
@@ -3902,6 +3902,25 @@ imageTrace Outline Contour
|
||||
@msg a PostScript error ({name} in `{op}`: {at}) een PostScript-fout ({name} in `{op}`: {at})
|
||||
@msg a PostScript error ({name} in `{op}`: {at}), in {procs} een PostScript-fout ({name} in `{op}`: {at}), in {procs}
|
||||
@msg a PostScript error ({name}) een PostScript-fout ({name})
|
||||
@msg a PostScript error ({name} in `{op}`; {meaning}) een PostScript-fout ({name} in `{op}`; {meaning})
|
||||
@msg a PostScript error ({name} in `{op}`; {meaning}), in {procs} een PostScript-fout ({name} in `{op}`; {meaning}), in {procs}
|
||||
@msg a PostScript error ({name} in `{op}`: {at}; {meaning}) een PostScript-fout ({name} in `{op}`: {at}; {meaning})
|
||||
@msg a PostScript error ({name} in `{op}`: {at}; {meaning}), in {procs} een PostScript-fout ({name} in `{op}`: {at}; {meaning}), in {procs}
|
||||
@msg a PostScript error ({name}; {meaning}) een PostScript-fout ({name}; {meaning})
|
||||
@msg the program ends a dictionary it didn't begin het programma beëindigt een woordenboek dat het niet heeft begonnen
|
||||
@msg the program opens a file, which the reader can't do het programma opent een bestand, wat de PostScript-lezer niet kan
|
||||
@msg the program restores a saved state that was already restored het programma herstelt een opgeslagen toestand die al is hersteld
|
||||
@msg data the program reads is damaged or cut short, or the program asks for a position in a file that has none gegevens die het programma leest zijn beschadigd of afgebroken, of het programma vraagt een positie in een bestand dat er geen heeft
|
||||
@msg the program goes past one of the reader's limits het programma overschrijdt een van de limieten van de PostScript-lezer
|
||||
@msg the path has no point to continue from het pad heeft geen punt om vanaf verder te gaan
|
||||
@msg a value is outside the range the operator takes een waarde ligt buiten het bereik dat de operator aanneemt
|
||||
@msg the operator needs more values than the stack holds de operator heeft meer waarden nodig dan de stapel bevat
|
||||
@msg part of the program isn't valid PostScript text een deel van het programma is geen geldige PostScript-tekst
|
||||
@msg a value has the wrong type for the operator een waarde heeft het verkeerde type voor de operator
|
||||
@msg the program runs, deletes or renames a file, which the reader can't do het programma voert een bestand uit, verwijdert het of wijzigt de naam ervan, wat de PostScript-lezer niet kan
|
||||
@msg the program asks for a resource that isn't defined het programma vraagt om een resource die niet is gedefinieerd
|
||||
@msg a calculation has no result, as in a division by zero een berekening heeft geen uitkomst, zoals bij een deling door nul
|
||||
@msg the operator looks for a mark on the stack and finds none de operator zoekt een markering op de stapel en vindt er geen
|
||||
@msg a bitmap is empty een bitmap is leeg
|
||||
@msg a bitmap is too large to read een bitmap is te groot om te lezen
|
||||
@msg a colour index is 0 to {_1}, not {n} een kleurindex is 0 tot {_1}, niet {n}
|
||||
|
||||
|
Can't render this file because it contains an unexpected character in line 2 and column 73.
|
@@ -3972,6 +3972,25 @@ imageTrace Outline Kontur
|
||||
@msg a PostScript error ({name} in `{op}`: {at}) błąd PostScript ({name} w `{op}`: {at})
|
||||
@msg a PostScript error ({name} in `{op}`: {at}), in {procs} błąd PostScript ({name} w `{op}`: {at}), w {procs}
|
||||
@msg a PostScript error ({name}) błąd PostScript ({name})
|
||||
@msg a PostScript error ({name} in `{op}`; {meaning}) błąd PostScript ({name} w `{op}`; {meaning})
|
||||
@msg a PostScript error ({name} in `{op}`; {meaning}), in {procs} błąd PostScript ({name} w `{op}`; {meaning}), w {procs}
|
||||
@msg a PostScript error ({name} in `{op}`: {at}; {meaning}) błąd PostScript ({name} w `{op}`: {at}; {meaning})
|
||||
@msg a PostScript error ({name} in `{op}`: {at}; {meaning}), in {procs} błąd PostScript ({name} w `{op}`: {at}; {meaning}), w {procs}
|
||||
@msg a PostScript error ({name}; {meaning}) błąd PostScript ({name}; {meaning})
|
||||
@msg the program ends a dictionary it didn't begin program kończy słownik, którego nie rozpoczął
|
||||
@msg the program opens a file, which the reader can't do program otwiera plik, czego czytnik PostScript nie potrafi
|
||||
@msg the program restores a saved state that was already restored program przywraca zapisany stan, który został już przywrócony
|
||||
@msg data the program reads is damaged or cut short, or the program asks for a position in a file that has none dane czytane przez program są uszkodzone lub urwane albo program pyta o pozycję w pliku, który jej nie ma
|
||||
@msg the program goes past one of the reader's limits program przekracza jeden z limitów czytnika PostScript
|
||||
@msg the path has no point to continue from ścieżka nie ma punktu, od którego można kontynuować
|
||||
@msg a value is outside the range the operator takes wartość jest poza zakresem przyjmowanym przez operator
|
||||
@msg the operator needs more values than the stack holds operator potrzebuje więcej wartości, niż jest na stosie
|
||||
@msg part of the program isn't valid PostScript text część programu nie jest poprawnym tekstem PostScript
|
||||
@msg a value has the wrong type for the operator wartość ma niewłaściwy typ dla operatora
|
||||
@msg the program runs, deletes or renames a file, which the reader can't do program uruchamia, usuwa lub zmienia nazwę pliku, czego czytnik PostScript nie potrafi
|
||||
@msg the program asks for a resource that isn't defined program żąda zasobu, który nie jest zdefiniowany
|
||||
@msg a calculation has no result, as in a division by zero obliczenie nie ma wyniku, jak przy dzieleniu przez zero
|
||||
@msg the operator looks for a mark on the stack and finds none operator szuka znacznika na stosie i go nie znajduje
|
||||
@msg a bitmap is empty bitmapa jest pusta
|
||||
@msg a bitmap is too large to read bitmapa jest zbyt duża, aby ją odczytać
|
||||
@msg a colour index is 0 to {_1}, not {n} indeks koloru musi mieścić się w zakresie od 0 do {_1}, nie {n}
|
||||
|
||||
|
Can't render this file because it contains an unexpected character in line 2 and column 73.
|
@@ -3434,6 +3434,25 @@ axis Both Ambos
|
||||
@msg a PostScript error ({name} in `{op}`: {at}) um erro de PostScript ({name} em `{op}`: {at})
|
||||
@msg a PostScript error ({name} in `{op}`: {at}), in {procs} um erro de PostScript ({name} em `{op}`: {at}), em {procs}
|
||||
@msg a PostScript error ({name}) um erro de PostScript ({name})
|
||||
@msg a PostScript error ({name} in `{op}`; {meaning}) um erro de PostScript ({name} em `{op}`; {meaning})
|
||||
@msg a PostScript error ({name} in `{op}`; {meaning}), in {procs} um erro de PostScript ({name} em `{op}`; {meaning}), em {procs}
|
||||
@msg a PostScript error ({name} in `{op}`: {at}; {meaning}) um erro de PostScript ({name} em `{op}`: {at}; {meaning})
|
||||
@msg a PostScript error ({name} in `{op}`: {at}; {meaning}), in {procs} um erro de PostScript ({name} em `{op}`: {at}; {meaning}), em {procs}
|
||||
@msg a PostScript error ({name}; {meaning}) um erro de PostScript ({name}; {meaning})
|
||||
@msg the program ends a dictionary it didn't begin o programa encerra um dicionário que não iniciou
|
||||
@msg the program opens a file, which the reader can't do o programa abre um arquivo, o que o leitor de PostScript não consegue fazer
|
||||
@msg the program restores a saved state that was already restored o programa restaura um estado salvo que já foi restaurado
|
||||
@msg data the program reads is damaged or cut short, or the program asks for a position in a file that has none os dados que o programa lê estão danificados ou cortados, ou o programa pede uma posição em um arquivo que não tem posição
|
||||
@msg the program goes past one of the reader's limits o programa ultrapassa um dos limites do leitor de PostScript
|
||||
@msg the path has no point to continue from o traçado não tem um ponto a partir do qual continuar
|
||||
@msg a value is outside the range the operator takes um valor está fora do intervalo aceito pelo operador
|
||||
@msg the operator needs more values than the stack holds o operador precisa de mais valores do que a pilha contém
|
||||
@msg part of the program isn't valid PostScript text parte do programa não é texto PostScript válido
|
||||
@msg a value has the wrong type for the operator um valor tem o tipo errado para o operador
|
||||
@msg the program runs, deletes or renames a file, which the reader can't do o programa executa, exclui ou renomeia um arquivo, o que o leitor de PostScript não consegue fazer
|
||||
@msg the program asks for a resource that isn't defined o programa pede um recurso que não está definido
|
||||
@msg a calculation has no result, as in a division by zero um cálculo não tem resultado, como em uma divisão por zero
|
||||
@msg the operator looks for a mark on the stack and finds none o operador procura uma marca na pilha e não encontra nenhuma
|
||||
@msg a bitmap is empty um bitmap está vazio
|
||||
@msg a bitmap is too large to read um bitmap é grande demais para ser lido
|
||||
@msg a colour index is 0 to {_1}, not {n} um índice de cor vai de 0 a {_1}, não {n}
|
||||
|
||||
|
Can't render this file because it contains an unexpected character in line 6 and column 47.
|
@@ -3883,6 +3883,25 @@ axis Both Оба
|
||||
@msg a PostScript error ({name} in `{op}`: {at}) ошибка PostScript ({name} в `{op}`: {at})
|
||||
@msg a PostScript error ({name} in `{op}`: {at}), in {procs} ошибка PostScript ({name} в `{op}`: {at}), в {procs}
|
||||
@msg a PostScript error ({name}) ошибка PostScript ({name})
|
||||
@msg a PostScript error ({name} in `{op}`; {meaning}) ошибка PostScript ({name} в `{op}`; {meaning})
|
||||
@msg a PostScript error ({name} in `{op}`; {meaning}), in {procs} ошибка PostScript ({name} в `{op}`; {meaning}), в {procs}
|
||||
@msg a PostScript error ({name} in `{op}`: {at}; {meaning}) ошибка PostScript ({name} в `{op}`: {at}; {meaning})
|
||||
@msg a PostScript error ({name} in `{op}`: {at}; {meaning}), in {procs} ошибка PostScript ({name} в `{op}`: {at}; {meaning}), в {procs}
|
||||
@msg a PostScript error ({name}; {meaning}) ошибка PostScript ({name}; {meaning})
|
||||
@msg the program ends a dictionary it didn't begin программа закрывает словарь, который она не открывала
|
||||
@msg the program opens a file, which the reader can't do программа открывает файл, а читатель PostScript этого не умеет
|
||||
@msg the program restores a saved state that was already restored программа восстанавливает сохранённое состояние, которое уже восстановлено
|
||||
@msg data the program reads is damaged or cut short, or the program asks for a position in a file that has none данные, которые читает программа, повреждены или обрываются, или программа запрашивает позицию в файле, у которого её нет
|
||||
@msg the program goes past one of the reader's limits программа выходит за один из пределов читателя PostScript
|
||||
@msg the path has no point to continue from у контура нет точки, от которой можно продолжить
|
||||
@msg a value is outside the range the operator takes значение вне диапазона, который принимает оператор
|
||||
@msg the operator needs more values than the stack holds оператору нужно больше значений, чем есть в стеке
|
||||
@msg part of the program isn't valid PostScript text часть программы не является допустимым текстом PostScript
|
||||
@msg a value has the wrong type for the operator значение имеет неверный тип для оператора
|
||||
@msg the program runs, deletes or renames a file, which the reader can't do программа запускает, удаляет или переименовывает файл, а читатель PostScript этого не умеет
|
||||
@msg the program asks for a resource that isn't defined программа запрашивает ресурс, который не определён
|
||||
@msg a calculation has no result, as in a division by zero у вычисления нет результата, как при делении на ноль
|
||||
@msg the operator looks for a mark on the stack and finds none оператор ищет метку в стеке и не находит её
|
||||
@msg a bitmap is empty растровое изображение пусто
|
||||
@msg a bitmap is too large to read растровое изображение слишком велико для чтения
|
||||
@msg a colour index is 0 to {_1}, not {n} индекс цвета от 0 до {_1}, а не {n}
|
||||
|
||||
|
Can't render this file because it contains an unexpected character in line 2 and column 73.
|
@@ -3776,6 +3776,25 @@ axis Both Båda
|
||||
@msg a PostScript error ({name} in `{op}`: {at}) ett PostScript-fel ({name} i `{op}`: {at})
|
||||
@msg a PostScript error ({name} in `{op}`: {at}), in {procs} ett PostScript-fel ({name} i `{op}`: {at}), i {procs}
|
||||
@msg a PostScript error ({name}) ett PostScript-fel ({name})
|
||||
@msg a PostScript error ({name} in `{op}`; {meaning}) ett PostScript-fel ({name} i `{op}`; {meaning})
|
||||
@msg a PostScript error ({name} in `{op}`; {meaning}), in {procs} ett PostScript-fel ({name} i `{op}`; {meaning}), i {procs}
|
||||
@msg a PostScript error ({name} in `{op}`: {at}; {meaning}) ett PostScript-fel ({name} i `{op}`: {at}; {meaning})
|
||||
@msg a PostScript error ({name} in `{op}`: {at}; {meaning}), in {procs} ett PostScript-fel ({name} i `{op}`: {at}; {meaning}), i {procs}
|
||||
@msg a PostScript error ({name}; {meaning}) ett PostScript-fel ({name}; {meaning})
|
||||
@msg the program ends a dictionary it didn't begin programmet avslutar en ordlista som det inte har påbörjat
|
||||
@msg the program opens a file, which the reader can't do programmet öppnar en fil, vilket PostScript-läsaren inte kan
|
||||
@msg the program restores a saved state that was already restored programmet återställer ett sparat läge som redan har återställts
|
||||
@msg data the program reads is damaged or cut short, or the program asks for a position in a file that has none data som programmet läser är skadade eller avkortade, eller så frågar programmet efter en position i en fil som inte har någon
|
||||
@msg the program goes past one of the reader's limits programmet överskrider en av PostScript-läsarens gränser
|
||||
@msg the path has no point to continue from banan har ingen punkt att fortsätta från
|
||||
@msg a value is outside the range the operator takes ett värde ligger utanför intervallet som operatorn tar emot
|
||||
@msg the operator needs more values than the stack holds operatorn behöver fler värden än stacken innehåller
|
||||
@msg part of the program isn't valid PostScript text en del av programmet är inte giltig PostScript-text
|
||||
@msg a value has the wrong type for the operator ett värde har fel typ för operatorn
|
||||
@msg the program runs, deletes or renames a file, which the reader can't do programmet kör, tar bort eller byter namn på en fil, vilket PostScript-läsaren inte kan
|
||||
@msg the program asks for a resource that isn't defined programmet begär en resurs som inte är definierad
|
||||
@msg a calculation has no result, as in a division by zero en beräkning har inget resultat, som vid division med noll
|
||||
@msg the operator looks for a mark on the stack and finds none operatorn letar efter en markering på stacken och hittar ingen
|
||||
@msg a bitmap is empty en bitmapp är tom
|
||||
@msg a bitmap is too large to read en bitmapp är för stor för att läsas
|
||||
@msg a colour index is 0 to {_1}, not {n} ett färgindex är 0 till {_1}, inte {n}
|
||||
|
||||
|
Can't render this file because it contains an unexpected character in line 5 and column 25.
|
@@ -1824,6 +1824,38 @@ fn effect_channel_param_error_is_translated() {
|
||||
}
|
||||
}
|
||||
|
||||
/// The status bar's line for an EPS file whose PostScript stops on an error, opened partly or
|
||||
/// refused, and the refusal's dialog keep the error's name as PostScript spells it and show what
|
||||
/// it means in each language of [`COMPLETE_MESSAGES`] and in Bulgarian; each meaning in
|
||||
/// [`vectorcraft_eps::POSTSCRIPT_ERRORS`] has a row in those catalogs.
|
||||
#[test]
|
||||
fn postscript_error_meanings_are_translated() {
|
||||
let languages = || COMPLETE_MESSAGES.iter().chain(&["bg"]).map(|code| (*code, Lang::from_code(code).unwrap()));
|
||||
let meaning = "a value has the wrong type for the operator";
|
||||
for (body, opens) in [("0 0 10 10 rectfill 1 (a) add", true), ("1 (a) add", false)] {
|
||||
let bytes = format!("%!PS-Adobe-3.0 EPSF-3.0\n%%BoundingBox: 0 0 100 100\n%%EndComments\n{body}\n%%EOF\n").into_bytes();
|
||||
let mut app = crate::VectorcraftApp::new(vectorcraft_engine::Session::new(), crate::Services::default());
|
||||
app.services.read = Some(Box::new(move |_: &str| Ok(bytes.clone())));
|
||||
assert_eq!(crate::io::open_reporting(&mut app, "/in/a.eps").is_ok(), opens, "{}", app.ui.status);
|
||||
let mut shown_texts = vec![app.ui.status.clone()];
|
||||
if !opens {
|
||||
shown_texts.push(app.ui.dialog.take().expect("a dialog says why").str("detail"));
|
||||
}
|
||||
for text in shown_texts {
|
||||
assert!(text.contains(&format!("(typecheck in `add`; {meaning})")), "{text}");
|
||||
for (code, lang) in languages() {
|
||||
let shown = message(lang, &text);
|
||||
let ok = shown.contains("typecheck") && shown.contains("`add`") && shown.contains(&message(lang, meaning));
|
||||
assert!(ok && !shown.contains(meaning) && !shown.contains("PostScript error"), "{code}: {shown}");
|
||||
}
|
||||
}
|
||||
}
|
||||
for (code, lang) in languages() {
|
||||
let missing: Vec<_> = vectorcraft_eps::POSTSCRIPT_ERRORS.iter().filter(|(_, m)| message(lang, m) == *m).collect();
|
||||
assert!(missing.is_empty(), "{code}: {missing:?}");
|
||||
}
|
||||
}
|
||||
|
||||
/// The notes of an EPS or `.ai` whose layers weren't read, which the importer pushes as warnings
|
||||
/// (the scan above doesn't read them), are translated whole, reason included, as the status bar
|
||||
/// shows them after opening (#2035).
|
||||
|
||||
@@ -3871,6 +3871,25 @@ axis Both Обидві
|
||||
@msg a PostScript error ({name} in `{op}`: {at}) помилка PostScript ({name} у `{op}`: {at})
|
||||
@msg a PostScript error ({name} in `{op}`: {at}), in {procs} помилка PostScript ({name} `{op}`: {at}), {procs}
|
||||
@msg a PostScript error ({name}) помилка PostScript ({name})
|
||||
@msg a PostScript error ({name} in `{op}`; {meaning}) помилка PostScript ({name} у `{op}`; {meaning})
|
||||
@msg a PostScript error ({name} in `{op}`; {meaning}), in {procs} помилка PostScript ({name} у `{op}`; {meaning}), у {procs}
|
||||
@msg a PostScript error ({name} in `{op}`: {at}; {meaning}) помилка PostScript ({name} у `{op}`: {at}; {meaning})
|
||||
@msg a PostScript error ({name} in `{op}`: {at}; {meaning}), in {procs} помилка PostScript ({name} у `{op}`: {at}; {meaning}), у {procs}
|
||||
@msg a PostScript error ({name}; {meaning}) помилка PostScript ({name}; {meaning})
|
||||
@msg the program ends a dictionary it didn't begin програма закриває словник, який вона не відкривала
|
||||
@msg the program opens a file, which the reader can't do програма відкриває файл, а читач PostScript цього не вміє
|
||||
@msg the program restores a saved state that was already restored програма відновлює збережений стан, який уже відновлено
|
||||
@msg data the program reads is damaged or cut short, or the program asks for a position in a file that has none дані, які читає програма, пошкоджені або обірвані, або програма запитує позицію у файлі, який її не має
|
||||
@msg the program goes past one of the reader's limits програма виходить за одну з меж читача PostScript
|
||||
@msg the path has no point to continue from контур не має точки, від якої можна продовжити
|
||||
@msg a value is outside the range the operator takes значення поза діапазоном, який приймає оператор
|
||||
@msg the operator needs more values than the stack holds операторові потрібно більше значень, ніж є в стеку
|
||||
@msg part of the program isn't valid PostScript text частина програми не є допустимим текстом PostScript
|
||||
@msg a value has the wrong type for the operator значення має неправильний тип для оператора
|
||||
@msg the program runs, deletes or renames a file, which the reader can't do програма запускає, видаляє або перейменовує файл, а читач PostScript цього не вміє
|
||||
@msg the program asks for a resource that isn't defined програма запитує ресурс, який не визначено
|
||||
@msg a calculation has no result, as in a division by zero обчислення не має результату, як під час ділення на нуль
|
||||
@msg the operator looks for a mark on the stack and finds none оператор шукає мітку в стеку й не знаходить її
|
||||
@msg a bitmap is empty растрове зображення порожнє
|
||||
@msg a bitmap is too large to read растрове зображення занадто велике для читання
|
||||
@msg a colour index is 0 to {_1}, not {n} індекс кольору від 0 до {_1}, а не {n}
|
||||
|
||||
|
Can't render this file because it contains an unexpected character in line 726 and column 40.
|
@@ -4039,6 +4039,25 @@ theme Appearance Giao diện
|
||||
@msg a PostScript error ({name} in `{op}`: {at}) lỗi PostScript ({name} trong `{op}`: {at})
|
||||
@msg a PostScript error ({name} in `{op}`: {at}), in {procs} lỗi PostScript ({name} trong `{op}`: {at}), trong {procs}
|
||||
@msg a PostScript error ({name}) lỗi PostScript ({name})
|
||||
@msg a PostScript error ({name} in `{op}`; {meaning}) lỗi PostScript ({name} trong `{op}`; {meaning})
|
||||
@msg a PostScript error ({name} in `{op}`; {meaning}), in {procs} lỗi PostScript ({name} trong `{op}`; {meaning}), trong {procs}
|
||||
@msg a PostScript error ({name} in `{op}`: {at}; {meaning}) lỗi PostScript ({name} trong `{op}`: {at}; {meaning})
|
||||
@msg a PostScript error ({name} in `{op}`: {at}; {meaning}), in {procs} lỗi PostScript ({name} trong `{op}`: {at}; {meaning}), trong {procs}
|
||||
@msg a PostScript error ({name}; {meaning}) lỗi PostScript ({name}; {meaning})
|
||||
@msg the program ends a dictionary it didn't begin chương trình kết thúc một từ điển mà nó chưa bắt đầu
|
||||
@msg the program opens a file, which the reader can't do chương trình mở một tệp, việc mà trình đọc PostScript không làm được
|
||||
@msg the program restores a saved state that was already restored chương trình khôi phục một trạng thái đã lưu vốn đã được khôi phục
|
||||
@msg data the program reads is damaged or cut short, or the program asks for a position in a file that has none dữ liệu chương trình đọc bị hỏng hoặc bị cắt cụt, hoặc chương trình yêu cầu vị trí trong một tệp không có vị trí
|
||||
@msg the program goes past one of the reader's limits chương trình vượt quá một giới hạn của trình đọc PostScript
|
||||
@msg the path has no point to continue from đường dẫn không có điểm để tiếp tục
|
||||
@msg a value is outside the range the operator takes một giá trị nằm ngoài phạm vi mà toán tử chấp nhận
|
||||
@msg the operator needs more values than the stack holds toán tử cần nhiều giá trị hơn số có trong ngăn xếp
|
||||
@msg part of the program isn't valid PostScript text một phần chương trình không phải là văn bản PostScript hợp lệ
|
||||
@msg a value has the wrong type for the operator một giá trị có kiểu không phù hợp với toán tử
|
||||
@msg the program runs, deletes or renames a file, which the reader can't do chương trình chạy, xóa hoặc đổi tên một tệp, việc mà trình đọc PostScript không làm được
|
||||
@msg the program asks for a resource that isn't defined chương trình yêu cầu một tài nguyên chưa được định nghĩa
|
||||
@msg a calculation has no result, as in a division by zero một phép tính không có kết quả, như khi chia cho không
|
||||
@msg the operator looks for a mark on the stack and finds none toán tử tìm một dấu mốc trên ngăn xếp nhưng không thấy
|
||||
@msg a preset named `{_1}` exists đã có thiết lập sẵn tên `{_1}`
|
||||
@msg a swatch or color group named `{n}` exists đã có mẫu màu hoặc nhóm màu tên `{n}`
|
||||
@msg a slice size must be a positive number of points kích thước lát cắt phải là số điểm dương
|
||||
|
||||
|
Can't render this file because it contains an unexpected character in line 3969 and column 10.
|
@@ -3888,6 +3888,25 @@ imageTrace Outline 轮廓
|
||||
@msg a PostScript error ({name} in `{op}`: {at}) PostScript 错误 ({name},位于 `{op}`:{at})
|
||||
@msg a PostScript error ({name} in `{op}`: {at}), in {procs} PostScript 错误 ({name},位于 `{op}`:{at}),在 {procs} 中
|
||||
@msg a PostScript error ({name}) PostScript 错误 ({name})
|
||||
@msg a PostScript error ({name} in `{op}`; {meaning}) PostScript 错误 ({name},位于 `{op}`;{meaning})
|
||||
@msg a PostScript error ({name} in `{op}`; {meaning}), in {procs} PostScript 错误 ({name},位于 `{op}`;{meaning}),在 {procs} 中
|
||||
@msg a PostScript error ({name} in `{op}`: {at}; {meaning}) PostScript 错误 ({name},位于 `{op}`:{at};{meaning})
|
||||
@msg a PostScript error ({name} in `{op}`: {at}; {meaning}), in {procs} PostScript 错误 ({name},位于 `{op}`:{at};{meaning}),在 {procs} 中
|
||||
@msg a PostScript error ({name}; {meaning}) PostScript 错误 ({name};{meaning})
|
||||
@msg the program ends a dictionary it didn't begin 程序要结束一个它没有开始的字典
|
||||
@msg the program opens a file, which the reader can't do 程序要打开文件,而 PostScript 读取器无法打开文件
|
||||
@msg the program restores a saved state that was already restored 程序要恢复一个已经恢复过的保存状态
|
||||
@msg data the program reads is damaged or cut short, or the program asks for a position in a file that has none 程序读取的数据已损坏或不完整,或者程序要在没有位置的文件中获取位置
|
||||
@msg the program goes past one of the reader's limits 程序超出了 PostScript 读取器的一项限制
|
||||
@msg the path has no point to continue from 路径没有可以接着绘制的点
|
||||
@msg a value is outside the range the operator takes 某个值超出了运算符接受的范围
|
||||
@msg the operator needs more values than the stack holds 运算符需要的值多于栈中的值
|
||||
@msg part of the program isn't valid PostScript text 程序的一部分不是有效的 PostScript 文本
|
||||
@msg a value has the wrong type for the operator 某个值的类型不适用于该运算符
|
||||
@msg the program runs, deletes or renames a file, which the reader can't do 程序要运行、删除或重命名文件,而 PostScript 读取器无法执行这些操作
|
||||
@msg the program asks for a resource that isn't defined 程序请求了未定义的资源
|
||||
@msg a calculation has no result, as in a division by zero 计算没有结果,例如除以零
|
||||
@msg the operator looks for a mark on the stack and finds none 运算符在栈中找不到标记
|
||||
@msg it uses `{at}`, which VectorCraft's PostScript reader doesn't know 它使用了 `{at}`,VectorCraft 的 PostScript 读取器无法识别
|
||||
@msg the file was read up to an error ({why}): what follows it was left out 文件已读取到出错处 ({why}):其后的内容已略去
|
||||
@msg this file's PostScript couldn't be read ({why}): {what} 无法读取此文件的 PostScript ({why}):{what}
|
||||
|
||||
|
Can't render this file because it contains an unexpected character in line 2 and column 73.
|
@@ -1890,6 +1890,25 @@ file-filter Templates 範本
|
||||
@msg a PostScript error ({name} in `{op}`: {at}) PostScript 錯誤 ({name},位於 `{op}`:{at})
|
||||
@msg a PostScript error ({name} in `{op}`: {at}), in {procs} PostScript 錯誤 ({name},位於 `{op}`:{at}),在 {procs} 中
|
||||
@msg a PostScript error ({name}) PostScript 錯誤 ({name})
|
||||
@msg a PostScript error ({name} in `{op}`; {meaning}) PostScript 錯誤 ({name},位於 `{op}`;{meaning})
|
||||
@msg a PostScript error ({name} in `{op}`; {meaning}), in {procs} PostScript 錯誤 ({name},位於 `{op}`;{meaning}),在 {procs} 中
|
||||
@msg a PostScript error ({name} in `{op}`: {at}; {meaning}) PostScript 錯誤 ({name},位於 `{op}`:{at};{meaning})
|
||||
@msg a PostScript error ({name} in `{op}`: {at}; {meaning}), in {procs} PostScript 錯誤 ({name},位於 `{op}`:{at};{meaning}),在 {procs} 中
|
||||
@msg a PostScript error ({name}; {meaning}) PostScript 錯誤 ({name};{meaning})
|
||||
@msg the program ends a dictionary it didn't begin 程式要結束一個它沒有開始的字典
|
||||
@msg the program opens a file, which the reader can't do 程式要開啟檔案,而 PostScript 讀取器無法開啟檔案
|
||||
@msg the program restores a saved state that was already restored 程式要還原一個已經還原過的儲存狀態
|
||||
@msg data the program reads is damaged or cut short, or the program asks for a position in a file that has none 程式讀取的資料已損壞或不完整,或者程式要在沒有位置的檔案中取得位置
|
||||
@msg the program goes past one of the reader's limits 程式超出了 PostScript 讀取器的一項限制
|
||||
@msg the path has no point to continue from 路徑沒有可以接著繪製的點
|
||||
@msg a value is outside the range the operator takes 某個值超出了運算子接受的範圍
|
||||
@msg the operator needs more values than the stack holds 運算子需要的值多於堆疊中的值
|
||||
@msg part of the program isn't valid PostScript text 程式的一部分不是有效的 PostScript 文字
|
||||
@msg a value has the wrong type for the operator 某個值的類型不適用於該運算子
|
||||
@msg the program runs, deletes or renames a file, which the reader can't do 程式要執行、刪除或重新命名檔案,而 PostScript 讀取器無法執行這些操作
|
||||
@msg the program asks for a resource that isn't defined 程式要求了未定義的資源
|
||||
@msg a calculation has no result, as in a division by zero 計算沒有結果,例如除以零
|
||||
@msg the operator looks for a mark on the stack and finds none 運算子在堆疊中找不到標記
|
||||
@msg it uses `{at}`, which VectorCraft's PostScript reader doesn't know 它使用了 `{at}`,VectorCraft 的 PostScript 讀取器無法辨識
|
||||
@msg the file was read up to an error ({why}): what follows it was left out 檔案已讀取到發生錯誤處 ({why}):之後的內容已略過
|
||||
@msg this file's PostScript couldn't be read ({why}): {what} 無法讀取此檔案的 PostScript ({why}):{what}
|
||||
|
||||
|
Can't render this file because it contains an unexpected character in line 6 and column 47.
|
+3
-1
@@ -3519,7 +3519,9 @@ point type in the font the file names (embedded font programs are skipped). In a
|
||||
(else `%%BoundingBox`; a letter page without one). A program the interpreter can't run (an operator it doesn't know,
|
||||
an error, a runaway loop) or that draws nothing comes in as its TIFF preview (palette previews with an alpha channel
|
||||
too) with a warning; without a preview, the art drawn up to the error is kept with a warning, and a file with none is
|
||||
refused with a message saying why.
|
||||
refused with a message saying why. A PostScript error is named as PostScript spells it, followed by what it means:
|
||||
``a PostScript error (typecheck in `add`; a value has the wrong type for the operator)``. The status bar shows
|
||||
the meaning in the interface language, and the name stays as it is.
|
||||
|
||||
```json
|
||||
{"name":"run_command","arguments":{"command":"document.open","params":{"path":"/tmp/logo.eps"}}}
|
||||
|
||||
@@ -490,6 +490,7 @@ Moved from the ROADMAP's "Shipped so far" on 2026-10-10. Update it when a featur
|
||||
- Native macOS menu bar, vector tool cursors, a ⌘K command palette, middle-button panning with any tool. Native menus explicitly end tracking on command selection, outside window presses and Escape; menu updates wait until tracking ends, and a dismissing press never starts a canvas gesture (M14.8).
|
||||
- The errors of the blend spine commands (Move Spine Point, Reshape Spine Segment, Add Spine Point and Delete Spine Point) show in the status bar in the interface language: each has a row in every catalog that translates all status and error messages and in Bulgarian (`blend_spine_param_errors_are_translated`).
|
||||
- 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`).
|
||||
- An EPS or PostScript file that stops on a PostScript error gives the error's name as PostScript spells it (`typecheck`, `rangecheck` and the other names the reader raises, except `undefined`, whose message names the unknown name) followed by what it means, in the warning after opening and in the error when the file can't be opened. The status bar and the open-error dialog show the meaning in the interface language: each meaning has a row in every catalog (`postscript_error_meanings_are_translated`).
|
||||
- The macOS menu bar is built from the in-window menus (one model, `native_menu`) and laid out as a Mac app's: the VectorCraft menu holds About, Settings ▸ (each Preferences page, General… ⌘K), Language ▸, Appearance ▸ (UI brightness), Services, Hide VectorCraft ⌃⌘H (⌘H stays Hide Edges), Hide Others, Show All and Quit; Window gains Minimize ⌃⌘M, Zoom and Bring All to Front, and Help the system's search field. Its key equivalents go back to egui as key presses, so user shortcuts, focused text fields and the Type tool's input method behave as in the window, and nothing fires twice; enabled, check marks and labels update in place. `--in-window-menus` or `VECTORCRAFT_IN_WINDOW_MENUS=1` keeps the menus in the window; `ui.inspect` reports `nativeMenuBar`.
|
||||
- macOS: Finder opens every format File › Open reads with VectorCraft (double-click, Open With, a drop on the Dock icon, `open -a`), at launch or while it runs; the release and `cargo xtask bundle` apps share one `Info.plist` that declares those document types, owning only VectorCraft's own formats. The DMG opens on a designed Finder window, VectorCraft.app beside the `Applications` link over a background with the app icon (#493).
|
||||
- Swatch and graphic style libraries, Libraries panel files, presets and plug-ins open wherever they are dropped on the window, as File › Open opens them.
|
||||
|
||||
Reference in New Issue
Block a user