From 8c668944d182761c34b07e86d074e69552ca384e Mon Sep 17 00:00:00 2001 From: dotCooCoo Date: Sat, 28 Nov 2026 19:51:50 -0800 Subject: [PATCH] Scripts: name app.undo and app.redo in script.run's help, and leave file.new's messages to their own change script.run's params text now says what app.undo() and app.redo() do. The artboardLayout messages, their test and their catalog rows go back to main's text; they belong to file.new rather than to script history. --- crates/engine/src/cmd/newdoc.rs | 4 ++-- crates/engine/src/cmd/scripts.rs | 2 +- crates/engine/src/tests/script_dom.rs | 5 ----- crates/ui-egui/src/i18n/cs.tsv | 4 ++-- crates/ui-egui/src/i18n/da.tsv | 4 ++-- crates/ui-egui/src/i18n/de.tsv | 4 ++-- crates/ui-egui/src/i18n/es.tsv | 4 ++-- crates/ui-egui/src/i18n/fr.tsv | 4 ++-- crates/ui-egui/src/i18n/hi.tsv | 4 ++-- crates/ui-egui/src/i18n/hu.tsv | 4 ++-- crates/ui-egui/src/i18n/it.tsv | 4 ++-- crates/ui-egui/src/i18n/ja.tsv | 4 ++-- crates/ui-egui/src/i18n/ka.tsv | 4 ++-- crates/ui-egui/src/i18n/ko.tsv | 4 ++-- crates/ui-egui/src/i18n/nl.tsv | 4 ++-- crates/ui-egui/src/i18n/pl.tsv | 4 ++-- crates/ui-egui/src/i18n/pt-br.tsv | 4 ++-- crates/ui-egui/src/i18n/ru.tsv | 4 ++-- crates/ui-egui/src/i18n/sv.tsv | 4 ++-- crates/ui-egui/src/i18n/tr.tsv | 4 ++-- crates/ui-egui/src/i18n/uk.tsv | 4 ++-- crates/ui-egui/src/i18n/zh-hans.tsv | 4 ++-- crates/ui-egui/src/i18n/zh-hant.tsv | 4 ++-- 23 files changed, 43 insertions(+), 48 deletions(-) diff --git a/crates/engine/src/cmd/newdoc.rs b/crates/engine/src/cmd/newdoc.rs index f15e08e59e..0b92e37191 100644 --- a/crates/engine/src/cmd/newdoc.rs +++ b/crates/engine/src/cmd/newdoc.rs @@ -379,7 +379,7 @@ impl DocSettings { } return Ok(()); } - let o = l.as_object().ok_or_else(|| bad(cmd, "artboardLayout must be {layout?, columns?, rows?, spacing?, rightToLeft?}"))?; + let o = l.as_object().ok_or_else(|| bad(cmd, "artboardLayout must be {layout?, columns?, spacing?, rightToLeft?}"))?; let count = |v: &Value| v.as_f64().filter(|c| c.is_finite() && *c >= 1.0).map(|c| c.round().min(MAX_ARTBOARDS as f64) as u32); for (k, v) in o { match k.as_str() { @@ -393,7 +393,7 @@ impl DocSettings { .ok_or_else(|| bad(cmd, format!("artboardLayout.spacing must be 0–{MAX_SPACING} pt")))? } "rightToLeft" => self.right_to_left = v.as_bool().ok_or_else(|| bad(cmd, "artboardLayout.rightToLeft must be true or false"))?, - _ => return Err(bad(cmd, format!("unknown artboardLayout key `{k}` (layout, columns, rows, spacing, rightToLeft)"))), + _ => return Err(bad(cmd, format!("unknown artboardLayout key `{k}` (layout, columns, spacing, rightToLeft)"))), } } if o.contains_key("rows") && self.layout != ArtboardLayout::GridByColumn { diff --git a/crates/engine/src/cmd/scripts.rs b/crates/engine/src/cmd/scripts.rs index 194df59e51..02263a38c1 100644 --- a/crates/engine/src/cmd/scripts.rs +++ b/crates/engine/src/cmd/scripts.rs @@ -32,7 +32,7 @@ pub fn specs() -> Vec { "Run Script", [], None, - "{path?: a .js or .jsx file | source?: the script's text (exactly one of the two), installed?: true or false (default false; true with a path that script.listInstalled gave: the file is read once, checked as File › Scripts checks it, and that text runs, its #include lines and $.evalFile reading in the folder that read found; a file that is no longer a listed script ends with \"the script is no longer in the Scripts folder\" and nothing runs), name?: the name errors and the report use (default: the script's #script line, else the path's file name, or \"script\"), args?: {…} (at most 1 MiB as JSON; vc.args in the script), answers?: [{kind: alert|confirm|prompt|window, value: \"ok\" (alert) | true or false (confirm) | text or null (prompt) | [{control, event: click} | {control, event: change, value: text, number, item index or null} | {event: close}] (window: the steps of one show(), control being a control's name, or the text of a control without a name)}] (for a run with nobody to ask: the answers to its dialogs, in order; at most 10000 and 1 MiB as JSON; refused in the app, where the person answers; an empty object is an empty list), actions?: [{set, name, steps: [{command, params?, step?: the step's place in the action, a whole number from 1 (default its place in the list)}]}] (the actions app.doScript(action, set, dialogs?) plays, matched by their exact names; a command.batch step gives its own steps; at most 4096 actions, 10000 steps an action, 100000 steps in all and 16 MiB as JSON; in the app, the Actions panel's actions with their included steps, which a caller's list replaces), maxFuel?: whole number from 1 to 100000000000 (instructions in all; default 1000000000)} run a JavaScript file against the open documents, through the vc object: vc.run(id, params) runs a command and returns its result, a failed command throws an error the script can catch and puts back the documents and the session state it changed, while any file it wrote stays written and is named; vc.document is a snapshot of the active document or null; vc.commands lists the commands a script may run; vc.log(value) adds to the report and the Script Console (script.console); $.write(...values) writes the values to the Script Console as String(value) gives them, and $.writeln(...values) does the same and ends the line; $.evalFile(path, timeout?) runs a file with the same globals and returns its last value (timeout, in milliseconds from 0, is taken and not waited on), $.fileName is the file of the code that reads it (the file being run for code that eval or Function compiled; empty for code compiled from a script given as text), $.includePath the #includepath list and $.engineName the engine's name (VectorCraft without #targetengine); alert(message[, title, errorIcon]), confirm(message[, noAsDflt, title]) and prompt(message, preset[, title]) open a dialog with a Stop button (default title \"Script Alert\"; message and preset as String(value) gives them; errorIcon and noAsDflt as Boolean(value) gives them; No is the default with noAsDflt): alert returns undefined, confirm true for Yes and false for No, prompt the field's text for OK and null for Cancel; in the app the run waits at the call for the person's answer and Stop ends it as script.stop does, a dialog cannot open inside a callback of a built-in, a getter, a conversion or a file $.evalFile runs and throws there (an #include file's code is the script's own and can), and a run with nobody to ask takes the next of answers, and ends when none is left or the next is for another kind of dialog, or when the script ends with answers unused; new Window(\"dialog\", title) builds a ScriptUI dialog with add(type, bounds, text or items or value, properties) for group, panel, statictext, edittext, button, checkbox, radiobutton, dropdownlist, listbox (one selection), slider and progressbar (a group takes properties third, or fourth after a third that is not an object, and a list may take them there with properties.items), at most 512 controls 16 deep, 1024 list items and 16 KiB a text (other types, palettes and windows throw that they are not available yet); new Window and add also take a resource string such as \"dialog { g: Group { b: Button { text: 'OK' } } }\" in place of the type, which adds each control it lists through add and sets it and each other value as the property of its name (properties gives the creation properties and a list's items its item texts; at most 1 MiB nested 64 deep, and a malformed one throws a SyntaxError); preferredSize, size, minimumSize and maximumSize start with width and height -1 (left to the layout), lists have find and remove, containers remove, radio buttons added one after another turn each other off, notify runs a click's or a change's handlers without closing the dialog, addEventListener and removeEventListener take click, change, changing and show (show on the dialog only; at most 256 listeners a window or control; the other documented event types throw that they are not available yet, and an unknown type throws that there is no such event), a removed control leaves the dialog (no parent or window, and its events no longer reach the containers it was in), and Window.alert, Window.confirm and Window.prompt are alert, confirm and prompt; show() waits like a dialog function, runs onClick, onChanging, onChange, onShow, onClose and the listeners in the run's fuel, and returns close(result)'s result, 1 for the default button (OK by name or text) and 2 for the cancel button (Cancel) when they have no onClick or click listener and no capturing listener stopped the click, or 0 for the close box; a show() inside a handler throws while a dialog is showing, and in the app so do a show() in a handler that notify runs and the alert, confirm, prompt and file dialogs a handler calls (a run with nobody to ask shows a dialog from a handler that notify runs while none is showing, and takes a window answer for it), and a run with nobody to ask takes a window answer and ends when a step is missing, is for a control the dialog lacks or cannot take, or is left unused; vc.api.has(\"scriptui\") is true; vc.args is args; app.doScript(action, set, dialogs?) plays the action of actions with those exact names and returns undefined once every step has run: a name that matches none or more than one, a stop, and a step whose command a script may not run or the engine does not have (a View menu step, or one that plays an action) throw an error before any step runs; each step then runs as vc.run runs a command, counted as a host call, and a step that fails is put back and throws an error that names its place and the action, the steps before it staying done; dialogs must be true or false (default false) and changes nothing, as no step opens a dialog. Before anything runs, the script's preprocessor lines (# or //@ at the start of a line, outside strings and comments) are read: #include \"file\" and //@include put that file's text in place of the line, looked for beside the file that includes it, then in each #includepath folder in turn (separated by ;, relative to that file's folder; a later #includepath replaces the list), then in each JSINCLUDE folder; #script names the run; #target takes any value and changes nothing; #strict on makes an assignment to a read-only or getter-only property, or a new property on an object that is not extensible (preventExtensions, seal, freeze, vc, $), throw a TypeError, without the rest of ES5 strict mode, and #strict off turns that off (the last #strict line of the script and its includes sets the run; off without one; a $.evalFile file's own line holds for its code); #targetengine name runs the script in the named engine, whose globals and functions stay for the next run that names it until script.engine.drop drops it or the session ends (script.engines lists them; a name of letters, digits and _ not starting with a digit, or a quoted one of 1 to 64 bytes without control characters, matched as written; only in the script itself, once, before its code and #include lines; main, and a script without the line, get a new engine each run; a session keeps 8 named engines, a ninth name is refused, each has 64 MiB of heap, and an uncaught error, a limit or script.stop keeps the globals the run set while the documents go back; host functions kept in a global act for the run that calls them; an error in code an earlier run compiled is at that run's file, line and column, within 8 MiB of source maps kept for each engine, the oldest going first; not on the web); #engine is refused as unsupported, any other #name as unknown, and another //@name is a comment. A script run from a file reads its includes and $.evalFile's files only in that file's folder and the folders below it, refusing a path with a .. name or a link that leads out (a JSINCLUDE folder outside is passed over); a script given as text reads none. File(path) and Folder(path) name files and folders and read them in the same folders, and inside the automation read roots when they are set: exists, length, created, modified, getFiles(mask or function; at most 2048 entries), resolve, and open('r') with read, readln, readch, seek, tell and close; a path outside, a network or device path and a link that leads out give false or null with error \"Script file access denied\", a file is read whole at most 8 MiB (checked from its size first) and a run reads at most 32 MiB. A script writes only in Folder.temp (a folder for the run, deleted when it ends), Folder.userData (for a script run from a file, a folder of its own in the Script Data folder next to the settings, kept between runs; for text, one in Folder.temp) and what a person allowed it in a file dialog, inside the automation write roots when they are set, and never in the folder that holds the settings outside its own Folder.userData: open('w') empties or makes the file, open('e') opens a file that is there and open('a') opens it at its end; write(...values) and writeln(...values) (with lineFeed's line end: Windows CRLF, Macintosh CR, Unix LF) encode in the file's encoding (ASCII and ISO-8859-1 refuse a character they cannot hold, BINARY writes each character's low byte), and the file is written at close or when the run ends (a file that close could not write is written again then, and a run that would succeed fails when a file it left open cannot be written), at most 8 MiB a file and 32 MiB a run, which counts what setting length adds and what copy writes once for the file and once more for each object that has it open (write turns its values into text only for an open file and gives false with \"Script file exceeds 8 MiB\" past 16777216 UTF-16 code units); copy(target) replaces a file that is there, remove() deletes a file or an empty folder at once, rename(name) takes a name without a folder that is not in use, Folder.create() makes the folder and the folders above it, and none of them when one is outside the places the script writes, and setting length or readonly changes the file; on Unix setting hidden renames the file, or a link itself, with one dot added or its leading dots taken off (both names must be places the script writes; a name in use, a name of dots alone or a folder gives error), and createAlias(target) makes a symbolic link at the object's path, a place the script writes where nothing is, to the real path of a file the script reads, and returns true (a link that leads out afterward is refused like any other path, and writing through a link needs its file to be a place the script writes); on Windows setting hidden and createAlias set error and change nothing; execute returns false with error set. In the app, File.openDialog(prompt, filter, multiSelect), File.saveDialog(prompt, filter) and Folder.selectDialog(prompt), and the objects' openDlg, saveDlg and selectDlg, wait for the person, who picks and then allows the script that file or folder once, always (kept in Script Grants.json next to the settings for that script file with that text and the files it includes, by their SHA-256, and for the sources the run evaluated, files $.evalFile ran and strings given to eval and Function, so a later run loses the grant before it evaluates another source, or when its named engine holds code the grant was not kept for, and only while its path is still the real path that was allowed, not one a link now leads elsewhere; script.grants lists them and script.grants.revoke removes them), or denies it, which gives null (a string filter such as \"Text:*.txt;All files:*.*\" gives the file types the dialog shows, *.ext patterns and * or *.* for every file; a filter that is a function is called with a File for each file picked, and the files it gives a false value for are left out, null when none is left; multiSelect gives an array of the files picked, at most 2048); only the person at the keyboard allows a file or folder, and a control request or synthetic input that allows one is refused; an open grant reads the file, a save grant reads and writes it, and a folder grant reads and writes everything inside it; a run with nobody to ask gets null with error \"Script file dialogs need a person to answer them\", and a dialog inside a callback throws. Each file a script writes is in written, also after a run that failed, at most 4096 files, with writtenMore: true when it wrote more. A command vc.run runs reads and writes files only where the script's File and Folder objects may and in the files the open documents were opened from or saved to, and fails with \"Script file access denied\" elsewhere, saving into a user library of swatches, brushes, symbols or graphic styles included (reading the app's own libraries is allowed). An error in another file is at that file's line and column; vc.api.version and vc.api.has(feature) describe the API. The run is one transaction: on success each changed document gets one undo step, Run Script, and each preference it changed keeps its value, and on an uncaught error, a limit or script.stop every open document and the session go back as they were; files a command wrote before that stay written and are named. While it runs, other commands that change anything end with a busy error. Commands that change anything outside the documents (script.*, except script.check, plugin.*, prefs.*, actionSet.*, shortcutSet.*, help.*, print.*, library.*, importMatches.*, edit.undoGroup.*, file.recovery.*, stroke.widthProfile.*, saving, importing or deleting a preset, text.addFontFiles, text.findFontFiles, text.rescanFonts, links.findFiles, file.place.queue, color.loadProfile, color.removeProfile, file.print, view.proofSetup, view.proofSetup.save, view.proofSetup.load, view.proofColors, view.overprintPreview, view.separationsPreview) throw. VectorCraft's own limits: 8 MiB of source a file and 32 MiB in all, 64 included or evaluated files 16 deep, 1024 paths looked up for them, 256 MiB of heap (128 MiB on the web), 2000000 host calls, 200000000 instructions without a pause, 64 levels, 16 MiB and 1048576 entries for a value crossing to or from a command, 10000 log entries and 4 MiB of log, 16 KiB of a dialog's message, 256 bytes of its title and 16 KiB of a prompt's preset (past these a RangeError), and 100000 objects and 512 MiB of new document data, past which a person is asked to continue or stop and a run with nobody to ask ends → {ok: true, name, changed: [document names], written: [paths], writtenMore?: true, log: [values], fuelUsed, hostCalls, runTimeMs (the time the script ran, its commands included, waits between frames and for a person's answer left out; 0 without a clock), timingAvailable (false on the web), hostCallCounts: {vcRun, documentReads, commandListReads, vcLog, consoleWrites, fileCalls, fileExecutes}, slowestCommands: [{id, calls, totalMs, maxMs}] (at most 5, the longest in all first, then by id), console: {lines: [text], droppedLines, truncatedLines} (the run's own output, vc.log lines and error), dialogs: [{kind, message (not window), title, errorIcon (alert), noAsDefault (confirm), preset (prompt), controls and events (window), answer: \"ok\" | true | false | text | null | show()'s result (window) | \"stop\" | \"missing\" | \"error\" (window)}] (in the order they opened, at most 10000 and 1 MiB), dialogCount, dialogsTruncated}, or, in the app, {running: true, name} and the report later in ui.inspect's scriptReport; a run that fails ends with its error, and its report there also has kind, message, line, column, file (when the error is in another file than the script, or in code an earlier run of its engine compiled), fuelLeft, fuelUsed, hostCalls and the fields above", + "{path?: a .js or .jsx file | source?: the script's text (exactly one of the two), installed?: true or false (default false; true with a path that script.listInstalled gave: the file is read once, checked as File › Scripts checks it, and that text runs, its #include lines and $.evalFile reading in the folder that read found; a file that is no longer a listed script ends with \"the script is no longer in the Scripts folder\" and nothing runs), name?: the name errors and the report use (default: the script's #script line, else the path's file name, or \"script\"), args?: {…} (at most 1 MiB as JSON; vc.args in the script), answers?: [{kind: alert|confirm|prompt|window, value: \"ok\" (alert) | true or false (confirm) | text or null (prompt) | [{control, event: click} | {control, event: change, value: text, number, item index or null} | {event: close}] (window: the steps of one show(), control being a control's name, or the text of a control without a name)}] (for a run with nobody to ask: the answers to its dialogs, in order; at most 10000 and 1 MiB as JSON; refused in the app, where the person answers; an empty object is an empty list), actions?: [{set, name, steps: [{command, params?, step?: the step's place in the action, a whole number from 1 (default its place in the list)}]}] (the actions app.doScript(action, set, dialogs?) plays, matched by their exact names; a command.batch step gives its own steps; at most 4096 actions, 10000 steps an action, 100000 steps in all and 16 MiB as JSON; in the app, the Actions panel's actions with their included steps, which a caller's list replaces), maxFuel?: whole number from 1 to 100000000000 (instructions in all; default 1000000000)} run a JavaScript file against the open documents, through the vc object: vc.run(id, params) runs a command and returns its result, a failed command throws an error the script can catch and puts back the documents and the session state it changed, while any file it wrote stays written and is named; vc.document is a snapshot of the active document or null; vc.commands lists the commands a script may run; vc.log(value) adds to the report and the Script Console (script.console); $.write(...values) writes the values to the Script Console as String(value) gives them, and $.writeln(...values) does the same and ends the line; $.evalFile(path, timeout?) runs a file with the same globals and returns its last value (timeout, in milliseconds from 0, is taken and not waited on), $.fileName is the file of the code that reads it (the file being run for code that eval or Function compiled; empty for code compiled from a script given as text), $.includePath the #includepath list and $.engineName the engine's name (VectorCraft without #targetengine); alert(message[, title, errorIcon]), confirm(message[, noAsDflt, title]) and prompt(message, preset[, title]) open a dialog with a Stop button (default title \"Script Alert\"; message and preset as String(value) gives them; errorIcon and noAsDflt as Boolean(value) gives them; No is the default with noAsDflt): alert returns undefined, confirm true for Yes and false for No, prompt the field's text for OK and null for Cancel; in the app the run waits at the call for the person's answer and Stop ends it as script.stop does, a dialog cannot open inside a callback of a built-in, a getter, a conversion or a file $.evalFile runs and throws there (an #include file's code is the script's own and can), and a run with nobody to ask takes the next of answers, and ends when none is left or the next is for another kind of dialog, or when the script ends with answers unused; new Window(\"dialog\", title) builds a ScriptUI dialog with add(type, bounds, text or items or value, properties) for group, panel, statictext, edittext, button, checkbox, radiobutton, dropdownlist, listbox (one selection), slider and progressbar (a group takes properties third, or fourth after a third that is not an object, and a list may take them there with properties.items), at most 512 controls 16 deep, 1024 list items and 16 KiB a text (other types, palettes and windows throw that they are not available yet); new Window and add also take a resource string such as \"dialog { g: Group { b: Button { text: 'OK' } } }\" in place of the type, which adds each control it lists through add and sets it and each other value as the property of its name (properties gives the creation properties and a list's items its item texts; at most 1 MiB nested 64 deep, and a malformed one throws a SyntaxError); preferredSize, size, minimumSize and maximumSize start with width and height -1 (left to the layout), lists have find and remove, containers remove, radio buttons added one after another turn each other off, notify runs a click's or a change's handlers without closing the dialog, addEventListener and removeEventListener take click, change, changing and show (show on the dialog only; at most 256 listeners a window or control; the other documented event types throw that they are not available yet, and an unknown type throws that there is no such event), a removed control leaves the dialog (no parent or window, and its events no longer reach the containers it was in), and Window.alert, Window.confirm and Window.prompt are alert, confirm and prompt; show() waits like a dialog function, runs onClick, onChanging, onChange, onShow, onClose and the listeners in the run's fuel, and returns close(result)'s result, 1 for the default button (OK by name or text) and 2 for the cancel button (Cancel) when they have no onClick or click listener and no capturing listener stopped the click, or 0 for the close box; a show() inside a handler throws while a dialog is showing, and in the app so do a show() in a handler that notify runs and the alert, confirm, prompt and file dialogs a handler calls (a run with nobody to ask shows a dialog from a handler that notify runs while none is showing, and takes a window answer for it), and a run with nobody to ask takes a window answer and ends when a step is missing, is for a control the dialog lacks or cannot take, or is left unused; vc.api.has(\"scriptui\") is true; vc.args is args; app.doScript(action, set, dialogs?) plays the action of actions with those exact names and returns undefined once every step has run: a name that matches none or more than one, a stop, and a step whose command a script may not run or the engine does not have (a View menu step, or one that plays an action) throw an error before any step runs; each step then runs as vc.run runs a command, counted as a host call, and a step that fails is put back and throws an error that names its place and the action, the steps before it staying done; dialogs must be true or false (default false) and changes nothing, as no step opens a dialog; app.undo() and app.redo() undo and redo the run's own edits in the active document, change nothing when the run has no such step, and throw No active document with no document open. Before anything runs, the script's preprocessor lines (# or //@ at the start of a line, outside strings and comments) are read: #include \"file\" and //@include put that file's text in place of the line, looked for beside the file that includes it, then in each #includepath folder in turn (separated by ;, relative to that file's folder; a later #includepath replaces the list), then in each JSINCLUDE folder; #script names the run; #target takes any value and changes nothing; #strict on makes an assignment to a read-only or getter-only property, or a new property on an object that is not extensible (preventExtensions, seal, freeze, vc, $), throw a TypeError, without the rest of ES5 strict mode, and #strict off turns that off (the last #strict line of the script and its includes sets the run; off without one; a $.evalFile file's own line holds for its code); #targetengine name runs the script in the named engine, whose globals and functions stay for the next run that names it until script.engine.drop drops it or the session ends (script.engines lists them; a name of letters, digits and _ not starting with a digit, or a quoted one of 1 to 64 bytes without control characters, matched as written; only in the script itself, once, before its code and #include lines; main, and a script without the line, get a new engine each run; a session keeps 8 named engines, a ninth name is refused, each has 64 MiB of heap, and an uncaught error, a limit or script.stop keeps the globals the run set while the documents go back; host functions kept in a global act for the run that calls them; an error in code an earlier run compiled is at that run's file, line and column, within 8 MiB of source maps kept for each engine, the oldest going first; not on the web); #engine is refused as unsupported, any other #name as unknown, and another //@name is a comment. A script run from a file reads its includes and $.evalFile's files only in that file's folder and the folders below it, refusing a path with a .. name or a link that leads out (a JSINCLUDE folder outside is passed over); a script given as text reads none. File(path) and Folder(path) name files and folders and read them in the same folders, and inside the automation read roots when they are set: exists, length, created, modified, getFiles(mask or function; at most 2048 entries), resolve, and open('r') with read, readln, readch, seek, tell and close; a path outside, a network or device path and a link that leads out give false or null with error \"Script file access denied\", a file is read whole at most 8 MiB (checked from its size first) and a run reads at most 32 MiB. A script writes only in Folder.temp (a folder for the run, deleted when it ends), Folder.userData (for a script run from a file, a folder of its own in the Script Data folder next to the settings, kept between runs; for text, one in Folder.temp) and what a person allowed it in a file dialog, inside the automation write roots when they are set, and never in the folder that holds the settings outside its own Folder.userData: open('w') empties or makes the file, open('e') opens a file that is there and open('a') opens it at its end; write(...values) and writeln(...values) (with lineFeed's line end: Windows CRLF, Macintosh CR, Unix LF) encode in the file's encoding (ASCII and ISO-8859-1 refuse a character they cannot hold, BINARY writes each character's low byte), and the file is written at close or when the run ends (a file that close could not write is written again then, and a run that would succeed fails when a file it left open cannot be written), at most 8 MiB a file and 32 MiB a run, which counts what setting length adds and what copy writes once for the file and once more for each object that has it open (write turns its values into text only for an open file and gives false with \"Script file exceeds 8 MiB\" past 16777216 UTF-16 code units); copy(target) replaces a file that is there, remove() deletes a file or an empty folder at once, rename(name) takes a name without a folder that is not in use, Folder.create() makes the folder and the folders above it, and none of them when one is outside the places the script writes, and setting length or readonly changes the file; on Unix setting hidden renames the file, or a link itself, with one dot added or its leading dots taken off (both names must be places the script writes; a name in use, a name of dots alone or a folder gives error), and createAlias(target) makes a symbolic link at the object's path, a place the script writes where nothing is, to the real path of a file the script reads, and returns true (a link that leads out afterward is refused like any other path, and writing through a link needs its file to be a place the script writes); on Windows setting hidden and createAlias set error and change nothing; execute returns false with error set. In the app, File.openDialog(prompt, filter, multiSelect), File.saveDialog(prompt, filter) and Folder.selectDialog(prompt), and the objects' openDlg, saveDlg and selectDlg, wait for the person, who picks and then allows the script that file or folder once, always (kept in Script Grants.json next to the settings for that script file with that text and the files it includes, by their SHA-256, and for the sources the run evaluated, files $.evalFile ran and strings given to eval and Function, so a later run loses the grant before it evaluates another source, or when its named engine holds code the grant was not kept for, and only while its path is still the real path that was allowed, not one a link now leads elsewhere; script.grants lists them and script.grants.revoke removes them), or denies it, which gives null (a string filter such as \"Text:*.txt;All files:*.*\" gives the file types the dialog shows, *.ext patterns and * or *.* for every file; a filter that is a function is called with a File for each file picked, and the files it gives a false value for are left out, null when none is left; multiSelect gives an array of the files picked, at most 2048); only the person at the keyboard allows a file or folder, and a control request or synthetic input that allows one is refused; an open grant reads the file, a save grant reads and writes it, and a folder grant reads and writes everything inside it; a run with nobody to ask gets null with error \"Script file dialogs need a person to answer them\", and a dialog inside a callback throws. Each file a script writes is in written, also after a run that failed, at most 4096 files, with writtenMore: true when it wrote more. A command vc.run runs reads and writes files only where the script's File and Folder objects may and in the files the open documents were opened from or saved to, and fails with \"Script file access denied\" elsewhere, saving into a user library of swatches, brushes, symbols or graphic styles included (reading the app's own libraries is allowed). An error in another file is at that file's line and column; vc.api.version and vc.api.has(feature) describe the API. The run is one transaction: on success each changed document gets one undo step, Run Script, and each preference it changed keeps its value, and on an uncaught error, a limit or script.stop every open document and the session go back as they were; files a command wrote before that stay written and are named. While it runs, other commands that change anything end with a busy error. Commands that change anything outside the documents (script.*, except script.check, plugin.*, prefs.*, actionSet.*, shortcutSet.*, help.*, print.*, library.*, importMatches.*, edit.undoGroup.*, file.recovery.*, stroke.widthProfile.*, saving, importing or deleting a preset, text.addFontFiles, text.findFontFiles, text.rescanFonts, links.findFiles, file.place.queue, color.loadProfile, color.removeProfile, file.print, view.proofSetup, view.proofSetup.save, view.proofSetup.load, view.proofColors, view.overprintPreview, view.separationsPreview) throw. VectorCraft's own limits: 8 MiB of source a file and 32 MiB in all, 64 included or evaluated files 16 deep, 1024 paths looked up for them, 256 MiB of heap (128 MiB on the web), 2000000 host calls, 200000000 instructions without a pause, 64 levels, 16 MiB and 1048576 entries for a value crossing to or from a command, 10000 log entries and 4 MiB of log, 16 KiB of a dialog's message, 256 bytes of its title and 16 KiB of a prompt's preset (past these a RangeError), and 100000 objects and 512 MiB of new document data, past which a person is asked to continue or stop and a run with nobody to ask ends → {ok: true, name, changed: [document names], written: [paths], writtenMore?: true, log: [values], fuelUsed, hostCalls, runTimeMs (the time the script ran, its commands included, waits between frames and for a person's answer left out; 0 without a clock), timingAvailable (false on the web), hostCallCounts: {vcRun, documentReads, commandListReads, vcLog, consoleWrites, fileCalls, fileExecutes}, slowestCommands: [{id, calls, totalMs, maxMs}] (at most 5, the longest in all first, then by id), console: {lines: [text], droppedLines, truncatedLines} (the run's own output, vc.log lines and error), dialogs: [{kind, message (not window), title, errorIcon (alert), noAsDefault (confirm), preset (prompt), controls and events (window), answer: \"ok\" | true | false | text | null | show()'s result (window) | \"stop\" | \"missing\" | \"error\" (window)}] (in the order they opened, at most 10000 and 1 MiB), dialogCount, dialogsTruncated}, or, in the app, {running: true, name} and the report later in ui.inspect's scriptReport; a run that fails ends with its error, and its report there also has kind, message, line, column, file (when the error is in another file than the script, or in code an earlier run of its engine compiled), fuelLeft, fuelUsed, hostCalls and the fields above", always, run ), diff --git a/crates/engine/src/tests/script_dom.rs b/crates/engine/src/tests/script_dom.rs index 168f031526..1f0d231cf5 100644 --- a/crates/engine/src/tests/script_dom.rs +++ b/crates/engine/src/tests/script_dom.rs @@ -1022,11 +1022,6 @@ fn file_new_takes_the_rows_of_a_grid_by_column() { let e = s.execute("file.new", &json!({"artboardLayout": {"layout": layout, "rows": 2}})).unwrap_err().to_string(); assert!(e.contains("rows needs the gridByColumn layout"), "{layout}: {e}"); } - // The messages for a layout of the wrong kind and an unknown key list `rows` with the others. - let e = s.execute("file.new", &json!({"artboardLayout": 3})).unwrap_err().to_string(); - assert!(e.contains("{layout?, columns?, rows?, spacing?, rightToLeft?}"), "{e}"); - let e = s.execute("file.new", &json!({"artboardLayout": {"row": 2}})).unwrap_err().to_string(); - assert!(e.contains("(layout, columns, rows, spacing, rightToLeft)"), "{e}"); } #[test] diff --git a/crates/ui-egui/src/i18n/cs.tsv b/crates/ui-egui/src/i18n/cs.tsv index af6b9289ae..31030654e3 100644 --- a/crates/ui-egui/src/i18n/cs.tsv +++ b/crates/ui-egui/src/i18n/cs.tsv @@ -9575,7 +9575,7 @@ breakText Glyphs Glyfy @msg artboard is a 0-based index artboard je index počítaný od 0 @msg artboard must be a 0-based index artboard musí být index počítaný od 0 @msg artboard {i} doesn't print pracovní plocha {i} se netiskne -@msg artboardLayout must be {layout?, columns?, rows?, spacing?, rightToLeft?} artboardLayout musí být {layout?, columns?, rows?, spacing?, rightToLeft?} +@msg artboardLayout must be {layout?, columns?, spacing?, rightToLeft?} artboardLayout musí být {layout?, columns?, spacing?, rightToLeft?} @msg artboardLayout.columns must be 1 or more artboardLayout.columns musí být 1 nebo více @msg artboardLayout.layout must be gridByRow, gridByColumn, row or column artboardLayout.layout musí být gridByRow, gridByColumn, row nebo column @msg artboardLayout.rightToLeft must be true or false artboardLayout.rightToLeft musí být true nebo false @@ -10684,7 +10684,7 @@ breakText Glyphs Glyfy @msg unknown Warp style neznámý styl deformace @msg unknown alignToPath `{a}` neznámé alignToPath `{a}` @msg unknown arrowhead {v} neznámá šipka {v} -@msg unknown artboardLayout key `{k}` (layout, columns, rows, spacing, rightToLeft) neznámý klíč artboardLayout `{k}` (layout, columns, rows, spacing, rightToLeft) +@msg unknown artboardLayout key `{k}` (layout, columns, spacing, rightToLeft) neznámý klíč artboardLayout `{k}` (layout, columns, spacing, rightToLeft) @msg unknown attribute `{attribute}` neznámý atribut `{attribute}` @msg unknown attribute `{k}` neznámý atribut `{k}` @msg unknown axis `{other}` (vertical|horizontal|free) neznámá osa `{other}` (vertical|horizontal|free) diff --git a/crates/ui-egui/src/i18n/da.tsv b/crates/ui-egui/src/i18n/da.tsv index a790462036..e9da516794 100644 --- a/crates/ui-egui/src/i18n/da.tsv +++ b/crates/ui-egui/src/i18n/da.tsv @@ -1684,7 +1684,7 @@ liquify-list-end {0}, {1} {0} og {1} @msg artboard is a 0-based index artboard er et 0-baseret indeks @msg artboard must be a 0-based index artboard skal være et 0-baseret indeks @msg artboard {i} doesn't print tegneflade {i} udskrives ikke -@msg artboardLayout must be {{layout?, columns?, rows?, spacing?, rightToLeft?}} artboardLayout skal være {{layout?, columns?, rows?, spacing?, rightToLeft?}} +@msg artboardLayout must be {{layout?, columns?, spacing?, rightToLeft?}} artboardLayout skal være {{layout?, columns?, spacing?, rightToLeft?}} @msg artboardLayout.columns must be 1 or more artboardLayout.columns skal være 1 eller mere @msg artboardLayout.layout must be gridByRow, gridByColumn, row or column artboardLayout.layout skal være gridByRow, gridByColumn, row eller column @msg artboardLayout.rightToLeft must be true or false artboardLayout.rightToLeft skal være true eller false @@ -2854,7 +2854,7 @@ liquify-list-end {0}, {1} {0} og {1} @msg unknown `by` "{name}": expected one of {_1} ukendt `by` "{name}": forventede en af {_1} @msg unknown alignToPath `{a}` ukendt alignToPath `{a}` @msg unknown arrowhead {v} ukendt pilespids {v} -@msg unknown artboardLayout key `{k}` (layout, columns, rows, spacing, rightToLeft) ukendt artboardLayout-nøgle `{k}` (layout, columns, rows, spacing, rightToLeft) +@msg unknown artboardLayout key `{k}` (layout, columns, spacing, rightToLeft) ukendt artboardLayout-nøgle `{k}` (layout, columns, spacing, rightToLeft) @msg unknown attribute `{attribute}` ukendt attribut `{attribute}` @msg unknown attribute `{k}` ukendt attribut `{k}` @msg unknown axis `{other}` (vertical|horizontal|free) ukendt akse `{other}` (vertical|horizontal|free) diff --git a/crates/ui-egui/src/i18n/de.tsv b/crates/ui-egui/src/i18n/de.tsv index d4b934c91d..36a98df5f8 100644 --- a/crates/ui-egui/src/i18n/de.tsv +++ b/crates/ui-egui/src/i18n/de.tsv @@ -9304,7 +9304,7 @@ breakText Glyphs Glyphen @msg artboard is a 0-based index artboard ist ein nullbasierter Index @msg artboard must be a 0-based index artboard muss ein nullbasierter Index sein @msg artboard {i} doesn't print Zeichenfläche {i} wird nicht gedruckt -@msg artboardLayout must be {layout?, columns?, rows?, spacing?, rightToLeft?} artboardLayout muss {layout?, columns?, rows?, spacing?, rightToLeft?} sein +@msg artboardLayout must be {layout?, columns?, spacing?, rightToLeft?} artboardLayout muss {layout?, columns?, spacing?, rightToLeft?} sein @msg artboardLayout.columns must be 1 or more artboardLayout.columns muss 1 oder größer sein @msg artboardLayout.layout must be gridByRow, gridByColumn, row or column artboardLayout.layout muss gridByRow, gridByColumn, row oder column sein @msg artboardLayout.rightToLeft must be true or false artboardLayout.rightToLeft muss true oder false sein @@ -10205,7 +10205,7 @@ breakText Glyphs Glyphen @msg unknown Warp style unbekannter Verkrümmungsstil @msg unknown alignToPath `{a}` unbekanntes alignToPath `{a}` @msg unknown arrowhead {v} unbekannte Pfeilspitze {v} -@msg unknown artboardLayout key `{k}` (layout, columns, rows, spacing, rightToLeft) unbekannter artboardLayout-Schlüssel `{k}` (layout, columns, rows, spacing, rightToLeft) +@msg unknown artboardLayout key `{k}` (layout, columns, spacing, rightToLeft) unbekannter artboardLayout-Schlüssel `{k}` (layout, columns, spacing, rightToLeft) @msg unknown attribute `{attribute}` unbekanntes Attribut `{attribute}` @msg unknown attribute `{k}` unbekanntes Attribut `{k}` @msg unknown axis `{other}` (vertical|horizontal|free) unbekannte Achse `{other}` (vertical|horizontal|free) diff --git a/crates/ui-egui/src/i18n/es.tsv b/crates/ui-egui/src/i18n/es.tsv index 3f77b6fd76..f26d178b5e 100644 --- a/crates/ui-egui/src/i18n/es.tsv +++ b/crates/ui-egui/src/i18n/es.tsv @@ -9756,7 +9756,7 @@ breakText Glyphs Glifos @msg artboard is a 0-based index artboard es un índice que empieza en 0 @msg artboard must be a 0-based index artboard debe ser un índice que empieza en 0 @msg artboard {i} doesn't print la mesa de trabajo {i} no se imprime -@msg artboardLayout must be {layout?, columns?, rows?, spacing?, rightToLeft?} artboardLayout debe ser {layout?, columns?, rows?, spacing?, rightToLeft?} +@msg artboardLayout must be {layout?, columns?, spacing?, rightToLeft?} artboardLayout debe ser {layout?, columns?, spacing?, rightToLeft?} @msg artboardLayout.columns must be 1 or more artboardLayout.columns debe ser 1 o más @msg artboardLayout.layout must be gridByRow, gridByColumn, row or column artboardLayout.layout debe ser gridByRow, gridByColumn, row o column @msg artboardLayout.rightToLeft must be true or false artboardLayout.rightToLeft debe ser true o false @@ -10633,7 +10633,7 @@ breakText Glyphs Glifos @msg unknown Warp style estilo de Deformación desconocido @msg unknown alignToPath `{a}` alignToPath desconocido `{a}` @msg unknown arrowhead {v} punta de flecha desconocida {v} -@msg unknown artboardLayout key `{k}` (layout, columns, rows, spacing, rightToLeft) clave de artboardLayout desconocida `{k}` (layout, columns, rows, spacing, rightToLeft) +@msg unknown artboardLayout key `{k}` (layout, columns, spacing, rightToLeft) clave de artboardLayout desconocida `{k}` (layout, columns, spacing, rightToLeft) @msg unknown attribute `{attribute}` atributo desconocido `{attribute}` @msg unknown attribute `{k}` atributo desconocido `{k}` @msg unknown axis `{other}` (vertical|horizontal|free) eje desconocido `{other}` (vertical|horizontal|free) diff --git a/crates/ui-egui/src/i18n/fr.tsv b/crates/ui-egui/src/i18n/fr.tsv index 8b6e23eeb8..85c2e3e977 100644 --- a/crates/ui-egui/src/i18n/fr.tsv +++ b/crates/ui-egui/src/i18n/fr.tsv @@ -9436,7 +9436,7 @@ breakText Glyphs Glyphes @msg artboard is a 0-based index artboard est un indice commençant à 0 @msg artboard must be a 0-based index artboard doit être un indice commençant à 0 @msg artboard {i} doesn't print le plan de travail {i} ne s’imprime pas -@msg artboardLayout must be {layout?, columns?, rows?, spacing?, rightToLeft?} artboardLayout doit être {layout?, columns?, rows?, spacing?, rightToLeft?} +@msg artboardLayout must be {layout?, columns?, spacing?, rightToLeft?} artboardLayout doit être {layout?, columns?, spacing?, rightToLeft?} @msg artboardLayout.columns must be 1 or more artboardLayout.columns doit être supérieur ou égal à 1 @msg artboardLayout.layout must be gridByRow, gridByColumn, row or column artboardLayout.layout doit valoir gridByRow, gridByColumn, row ou column @msg artboardLayout.rightToLeft must be true or false artboardLayout.rightToLeft doit valoir true ou false @@ -10541,7 +10541,7 @@ breakText Glyphs Glyphes @msg unknown Warp style style de déformation inconnu @msg unknown alignToPath `{a}` alignToPath inconnu `{a}` @msg unknown arrowhead {v} pointe de flèche inconnue {v} -@msg unknown artboardLayout key `{k}` (layout, columns, rows, spacing, rightToLeft) clé artboardLayout inconnue `{k}` (layout, columns, rows, spacing, rightToLeft) +@msg unknown artboardLayout key `{k}` (layout, columns, spacing, rightToLeft) clé artboardLayout inconnue `{k}` (layout, columns, spacing, rightToLeft) @msg unknown attribute `{attribute}` attribut inconnu `{attribute}` @msg unknown attribute `{k}` attribut inconnu `{k}` @msg unknown axis `{other}` (vertical|horizontal|free) axe inconnu `{other}` (vertical|horizontal|free) diff --git a/crates/ui-egui/src/i18n/hi.tsv b/crates/ui-egui/src/i18n/hi.tsv index 8ea3546139..1a8ad42007 100644 --- a/crates/ui-egui/src/i18n/hi.tsv +++ b/crates/ui-egui/src/i18n/hi.tsv @@ -7451,7 +7451,7 @@ arrowhead Feather पंख @msg artboard {i} doesn't print आर्टबोर्ड {i} प्रिंट नहीं करता है @msg artboard is a 0-based index artboard 0 से शुरू होने वाला इंडेक्स है @msg artboard must be a 0-based index artboard 0 से शुरू होने वाला इंडेक्स होना चाहिए -@msg artboardLayout must be {{layout?, columns?, rows?, spacing?, rightToLeft?}} artboardLayout को {{layout?, columns?, rows?, spacing?, rightToLeft?}} होना चाहिए +@msg artboardLayout must be {{layout?, columns?, spacing?, rightToLeft?}} artboardLayout को {{layout?, columns?, spacing?, rightToLeft?}} होना चाहिए @msg artboardLayout.columns must be 1 or more artboardLayout.columns को 1 या अधिक होना चाहिए @msg artboardLayout.layout must be gridByRow, gridByColumn, row or column artboardLayout.layout को gridByRow, gridByColumn, row या column होना चाहिए @msg artboardLayout.rightToLeft must be true or false artboardLayout.rightToLeft को true या false होना चाहिए @@ -9758,7 +9758,7 @@ liquify-list-end {0}, {1} {0} और {1} @msg unknown align `{other}` अज्ञात संरेखण `{other}` @msg unknown alignToPath `{a}` अज्ञात alignToPath `{a}` @msg unknown arrowhead {v} अज्ञात arrowhead {v} -@msg unknown artboardLayout key `{k}` (layout, columns, rows, spacing, rightToLeft) अज्ञात artboardLayout कुंजी `{k}` (layout, columns, rows, spacing, rightToLeft) +@msg unknown artboardLayout key `{k}` (layout, columns, spacing, rightToLeft) अज्ञात artboardLayout कुंजी `{k}` (layout, columns, spacing, rightToLeft) @msg unknown attribute `{attribute}` अज्ञात विशेषता `{attribute}` @msg unknown attribute `{k}` अज्ञात विशेषता `{k}` @msg unknown axis `{other}` (vertical|horizontal|free) अज्ञात अक्ष `{other}` (vertical|horizontal|free) diff --git a/crates/ui-egui/src/i18n/hu.tsv b/crates/ui-egui/src/i18n/hu.tsv index 36ca76b24b..9673b9779b 100644 --- a/crates/ui-egui/src/i18n/hu.tsv +++ b/crates/ui-egui/src/i18n/hu.tsv @@ -9446,7 +9446,7 @@ breakText Glyphs Glifák @msg artboard is a 0-based index artboard: 0-tól kezdődő index @msg artboard must be a 0-based index artboard: 0-tól kezdődő index kell @msg artboard {i} doesn't print ez a rajztábla nem kerül nyomtatásra: {i} -@msg artboardLayout must be {layout?, columns?, rows?, spacing?, rightToLeft?} artboardLayout: {layout?, columns?, rows?, spacing?, rightToLeft?} kell +@msg artboardLayout must be {layout?, columns?, spacing?, rightToLeft?} artboardLayout: {layout?, columns?, spacing?, rightToLeft?} kell @msg artboardLayout.columns must be 1 or more artboardLayout.columns: 1 vagy nagyobb érték kell @msg artboardLayout.layout must be gridByRow, gridByColumn, row or column artboardLayout.layout: gridByRow, gridByColumn, row vagy column kell @msg artboardLayout.rightToLeft must be true or false artboardLayout.rightToLeft: true vagy false kell @@ -10554,7 +10554,7 @@ breakText Glyphs Glifák @msg unknown Warp style ismeretlen hajlítási stílus @msg unknown alignToPath `{a}` ismeretlen alignToPath: `{a}` @msg unknown arrowhead {v} ismeretlen nyílhegy: {v} -@msg unknown artboardLayout key `{k}` (layout, columns, rows, spacing, rightToLeft) ismeretlen artboardLayout kulcs: `{k}` (layout, columns, rows, spacing, rightToLeft) +@msg unknown artboardLayout key `{k}` (layout, columns, spacing, rightToLeft) ismeretlen artboardLayout kulcs: `{k}` (layout, columns, spacing, rightToLeft) @msg unknown attribute `{attribute}` ismeretlen attribútum: `{attribute}` @msg unknown attribute `{k}` ismeretlen attribútum: `{k}` @msg unknown axis `{other}` (vertical|horizontal|free) ismeretlen tengely: `{other}` (vertical|horizontal|free) diff --git a/crates/ui-egui/src/i18n/it.tsv b/crates/ui-egui/src/i18n/it.tsv index 62f82717fc..d980fb9bc8 100644 --- a/crates/ui-egui/src/i18n/it.tsv +++ b/crates/ui-egui/src/i18n/it.tsv @@ -9357,7 +9357,7 @@ breakText Glyphs Glifi @msg artboard is a 0-based index artboard è un indice a partire da 0 @msg artboard must be a 0-based index artboard deve essere un indice a partire da 0 @msg artboard {i} doesn't print la tavola da disegno {i} non viene stampata -@msg artboardLayout must be {layout?, columns?, rows?, spacing?, rightToLeft?} artboardLayout deve essere {layout?, columns?, rows?, spacing?, rightToLeft?} +@msg artboardLayout must be {layout?, columns?, spacing?, rightToLeft?} artboardLayout deve essere {layout?, columns?, spacing?, rightToLeft?} @msg artboardLayout.columns must be 1 or more artboardLayout.columns deve essere 1 o maggiore @msg artboardLayout.layout must be gridByRow, gridByColumn, row or column artboardLayout.layout deve essere gridByRow, gridByColumn, row o column @msg artboardLayout.rightToLeft must be true or false artboardLayout.rightToLeft deve essere true o false @@ -10258,7 +10258,7 @@ breakText Glyphs Glifi @msg unknown Warp style stile Altera sconosciuto @msg unknown alignToPath `{a}` alignToPath sconosciuto `{a}` @msg unknown arrowhead {v} punta di freccia sconosciuta {v} -@msg unknown artboardLayout key `{k}` (layout, columns, rows, spacing, rightToLeft) chiave di artboardLayout sconosciuta `{k}` (layout, columns, rows, spacing, rightToLeft) +@msg unknown artboardLayout key `{k}` (layout, columns, spacing, rightToLeft) chiave di artboardLayout sconosciuta `{k}` (layout, columns, spacing, rightToLeft) @msg unknown attribute `{attribute}` attributo sconosciuto `{attribute}` @msg unknown attribute `{k}` attributo sconosciuto `{k}` @msg unknown axis `{other}` (vertical|horizontal|free) asse sconosciuto `{other}` (vertical|horizontal|free) diff --git a/crates/ui-egui/src/i18n/ja.tsv b/crates/ui-egui/src/i18n/ja.tsv index 7076979233..c8419ff162 100644 --- a/crates/ui-egui/src/i18n/ja.tsv +++ b/crates/ui-egui/src/i18n/ja.tsv @@ -8150,7 +8150,7 @@ axis Y Axis Y 軸 @msg artboard is a 0-based index artboard には 0 から始まるインデックスを指定してください @msg artboard must be a 0-based index artboard には 0 から始まるインデックスを指定してください @msg artboard {i} doesn't print アートボード {i} はプリントされません -@msg artboardLayout must be {layout?, columns?, rows?, spacing?, rightToLeft?} artboardLayout には {layout?, columns?, rows?, spacing?, rightToLeft?} を指定してください +@msg artboardLayout must be {layout?, columns?, spacing?, rightToLeft?} artboardLayout には {layout?, columns?, spacing?, rightToLeft?} を指定してください @msg artboardLayout.columns must be 1 or more artboardLayout.columns には 1 以上の値を指定してください @msg artboardLayout.layout must be gridByRow, gridByColumn, row or column artboardLayout.layout には gridByRow、gridByColumn、row、column のいずれかを指定してください @msg artboardLayout.rightToLeft must be true or false artboardLayout.rightToLeft には true または false を指定してください @@ -9050,7 +9050,7 @@ axis Y Axis Y 軸 @msg unknown Warp style 不明なワープスタイルです @msg unknown alignToPath `{a}` `{a}` は不明な alignToPath の指定です @msg unknown arrowhead {v} {v} は不明な矢印です -@msg unknown artboardLayout key `{k}` (layout, columns, rows, spacing, rightToLeft) `{k}` は不明な artboardLayout のキーです (layout、columns、rows、spacing、rightToLeft のいずれか) +@msg unknown artboardLayout key `{k}` (layout, columns, spacing, rightToLeft) `{k}` は不明な artboardLayout のキーです (layout、columns、spacing、rightToLeft のいずれか) @msg unknown attribute `{attribute}` `{attribute}` は不明な属性です @msg unknown attribute `{k}` `{k}` は不明な属性です @msg unknown axis `{other}` (vertical|horizontal|free) `{other}` は不明な軸の指定です (vertical|horizontal|free) diff --git a/crates/ui-egui/src/i18n/ka.tsv b/crates/ui-egui/src/i18n/ka.tsv index da711f179d..f5e48eb141 100644 --- a/crates/ui-egui/src/i18n/ka.tsv +++ b/crates/ui-egui/src/i18n/ka.tsv @@ -625,7 +625,7 @@ @msg artboard is a 0-based index artboard არის 0-დან დაწყებული ინდექსი @msg artboard must be a 0-based index artboard უნდა იყოს 0-დან დაწყებული ინდექსი @msg artboard {i} doesn't print სამუშაო დაფა {i} არ იბეჭდება -@msg artboardLayout must be {{layout?, columns?, rows?, spacing?, rightToLeft?}} artboardLayout უნდა იყოს {{layout?, columns?, rows?, spacing?, rightToLeft?}} +@msg artboardLayout must be {{layout?, columns?, spacing?, rightToLeft?}} artboardLayout უნდა იყოს {{layout?, columns?, spacing?, rightToLeft?}} @msg artboardLayout.columns must be 1 or more artboardLayout.columns უნდა იყოს 1 ან მეტი @msg artboardLayout.layout must be gridByRow, gridByColumn, row or column artboardLayout.layout უნდა იყოს gridByRow, gridByColumn, row ან column @msg artboardLayout.rightToLeft must be true or false artboardLayout.rightToLeft უნდა იყოს true ან false @@ -1774,7 +1774,7 @@ @msg unknown Warp style გაღუნვის უცნობი სტილი @msg unknown alignToPath `{a}` უცნობი alignToPath `{a}` @msg unknown arrowhead {v} უცნობი ისრის წვერი {v} -@msg unknown artboardLayout key `{k}` (layout, columns, rows, spacing, rightToLeft) artboardLayout-ის უცნობი გასაღები `{k}` (layout, columns, rows, spacing, rightToLeft) +@msg unknown artboardLayout key `{k}` (layout, columns, spacing, rightToLeft) artboardLayout-ის უცნობი გასაღები `{k}` (layout, columns, spacing, rightToLeft) @msg unknown attribute `{attribute}` უცნობი ატრიბუტი `{attribute}` @msg unknown attribute `{k}` უცნობი ატრიბუტი `{k}` @msg unknown axis `{other}` (vertical|horizontal|free) უცნობი ღერძი `{other}` (vertical|horizontal|free) diff --git a/crates/ui-egui/src/i18n/ko.tsv b/crates/ui-egui/src/i18n/ko.tsv index 15389834ab..9329b98a3e 100644 --- a/crates/ui-egui/src/i18n/ko.tsv +++ b/crates/ui-egui/src/i18n/ko.tsv @@ -9213,7 +9213,7 @@ breakText Glyphs 글리프 @msg artboard is a 0-based index artboard는 0부터 시작하는 인덱스입니다 @msg artboard must be a 0-based index artboard는 0부터 시작하는 인덱스여야 합니다 @msg artboard {i} doesn't print 아트보드 {i}은(는) 인쇄되지 않습니다 -@msg artboardLayout must be {layout?, columns?, rows?, spacing?, rightToLeft?} artboardLayout은 {layout?, columns?, rows?, spacing?, rightToLeft?}여야 합니다 +@msg artboardLayout must be {layout?, columns?, spacing?, rightToLeft?} artboardLayout은 {layout?, columns?, spacing?, rightToLeft?}여야 합니다 @msg artboardLayout.columns must be 1 or more artboardLayout.columns는 1 이상이어야 합니다 @msg artboardLayout.layout must be gridByRow, gridByColumn, row or column artboardLayout.layout은 gridByRow, gridByColumn, row 또는 column이어야 합니다 @msg artboardLayout.rightToLeft must be true or false artboardLayout.rightToLeft는 true 또는 false여야 합니다 @@ -10329,7 +10329,7 @@ breakText Glyphs 글리프 @msg unknown Warp style 알 수 없는 왜곡 스타일 @msg unknown alignToPath `{a}` 알 수 없는 alignToPath `{a}` @msg unknown arrowhead {v} 알 수 없는 화살촉 {v} -@msg unknown artboardLayout key `{k}` (layout, columns, rows, spacing, rightToLeft) 알 수 없는 artboardLayout 키 `{k}`(layout, columns, rows, spacing, rightToLeft) +@msg unknown artboardLayout key `{k}` (layout, columns, spacing, rightToLeft) 알 수 없는 artboardLayout 키 `{k}`(layout, columns, spacing, rightToLeft) @msg unknown attribute `{attribute}` 알 수 없는 속성 `{attribute}` @msg unknown attribute `{k}` 알 수 없는 속성 `{k}` @msg unknown axis `{other}` (vertical|horizontal|free) 알 수 없는 축 `{other}`(vertical|horizontal|free) diff --git a/crates/ui-egui/src/i18n/nl.tsv b/crates/ui-egui/src/i18n/nl.tsv index 0442a16f7d..5571004089 100644 --- a/crates/ui-egui/src/i18n/nl.tsv +++ b/crates/ui-egui/src/i18n/nl.tsv @@ -7079,7 +7079,7 @@ imageTrace Outline Contour @msg artboard is a 0-based index artboard is een index die bij 0 begint @msg artboard must be a 0-based index artboard moet een index zijn die bij 0 begint @msg artboard {i} doesn't print tekengebied {i} wordt niet afgedrukt -@msg artboardLayout must be {layout?, columns?, rows?, spacing?, rightToLeft?} artboardLayout moet {layout?, columns?, rows?, spacing?, rightToLeft?} zijn +@msg artboardLayout must be {layout?, columns?, spacing?, rightToLeft?} artboardLayout moet {layout?, columns?, spacing?, rightToLeft?} zijn @msg artboardLayout.columns must be 1 or more artboardLayout.columns moet 1 of meer zijn @msg artboardLayout.layout must be gridByRow, gridByColumn, row or column artboardLayout.layout moet gridByRow, gridByColumn, row of column zijn @msg artboardLayout.rightToLeft must be true or false artboardLayout.rightToLeft moet true of false zijn @@ -8195,7 +8195,7 @@ imageTrace Outline Contour @msg unknown Warp style onbekende warpstijl @msg unknown alignToPath `{a}` onbekende alignToPath `{a}` @msg unknown arrowhead {v} onbekende pijlpunt {v} -@msg unknown artboardLayout key `{k}` (layout, columns, rows, spacing, rightToLeft) onbekende sleutel `{k}` van artboardLayout (layout, columns, rows, spacing, rightToLeft) +@msg unknown artboardLayout key `{k}` (layout, columns, spacing, rightToLeft) onbekende sleutel `{k}` van artboardLayout (layout, columns, spacing, rightToLeft) @msg unknown attribute `{attribute}` onbekend kenmerk `{attribute}` @msg unknown attribute `{k}` onbekend kenmerk `{k}` @msg unknown axis `{other}` (vertical|horizontal|free) onbekende as `{other}` (vertical|horizontal|free) diff --git a/crates/ui-egui/src/i18n/pl.tsv b/crates/ui-egui/src/i18n/pl.tsv index 72e0dbf1c3..d17e80a23a 100644 --- a/crates/ui-egui/src/i18n/pl.tsv +++ b/crates/ui-egui/src/i18n/pl.tsv @@ -9565,7 +9565,7 @@ breakText Glyphs Glify @msg artboard is a 0-based index artboard to indeks liczony od 0 @msg artboard must be a 0-based index artboard musi być indeksem liczonym od 0 @msg artboard {i} doesn't print obszar kompozycji {i} nie jest drukowany -@msg artboardLayout must be {layout?, columns?, rows?, spacing?, rightToLeft?} artboardLayout musi mieć postać {layout?, columns?, rows?, spacing?, rightToLeft?} +@msg artboardLayout must be {layout?, columns?, spacing?, rightToLeft?} artboardLayout musi mieć postać {layout?, columns?, spacing?, rightToLeft?} @msg artboardLayout.columns must be 1 or more artboardLayout.columns musi wynosić 1 lub więcej @msg artboardLayout.layout must be gridByRow, gridByColumn, row or column artboardLayout.layout musi mieć wartość gridByRow, gridByColumn, row lub column @msg artboardLayout.rightToLeft must be true or false artboardLayout.rightToLeft musi mieć wartość true lub false @@ -10465,7 +10465,7 @@ breakText Glyphs Glify @msg unknown Warp style nieznany styl wypaczenia @msg unknown alignToPath `{a}` nieznane alignToPath `{a}` @msg unknown arrowhead {v} nieznany grot strzałki {v} -@msg unknown artboardLayout key `{k}` (layout, columns, rows, spacing, rightToLeft) nieznany klucz artboardLayout `{k}` (layout, columns, rows, spacing, rightToLeft) +@msg unknown artboardLayout key `{k}` (layout, columns, spacing, rightToLeft) nieznany klucz artboardLayout `{k}` (layout, columns, spacing, rightToLeft) @msg unknown attribute `{attribute}` nieznany atrybut `{attribute}` @msg unknown attribute `{k}` nieznany atrybut `{k}` @msg unknown axis `{other}` (vertical|horizontal|free) nieznana oś `{other}` (vertical|horizontal|free) diff --git a/crates/ui-egui/src/i18n/pt-br.tsv b/crates/ui-egui/src/i18n/pt-br.tsv index be505a40ac..5830595a41 100644 --- a/crates/ui-egui/src/i18n/pt-br.tsv +++ b/crates/ui-egui/src/i18n/pt-br.tsv @@ -9637,7 +9637,7 @@ swatch Yellow Green Verde-amarelado @msg artboard is a 0-based index artboard é um índice com base 0 @msg artboard must be a 0-based index artboard deve ser um índice com base 0 @msg artboard {i} doesn't print a prancheta {i} não é impressa -@msg artboardLayout must be {layout?, columns?, rows?, spacing?, rightToLeft?} artboardLayout deve ser {layout?, columns?, rows?, spacing?, rightToLeft?} +@msg artboardLayout must be {layout?, columns?, spacing?, rightToLeft?} artboardLayout deve ser {layout?, columns?, spacing?, rightToLeft?} @msg artboardLayout.columns must be 1 or more artboardLayout.columns deve ser 1 ou mais @msg artboardLayout.layout must be gridByRow, gridByColumn, row or column artboardLayout.layout deve ser gridByRow, gridByColumn, row ou column @msg artboardLayout.rightToLeft must be true or false artboardLayout.rightToLeft deve ser true ou false @@ -10745,7 +10745,7 @@ swatch Yellow Green Verde-amarelado @msg unknown Warp style estilo de Deformação desconhecido @msg unknown alignToPath `{a}` alignToPath desconhecido `{a}` @msg unknown arrowhead {v} ponta de seta desconhecida {v} -@msg unknown artboardLayout key `{k}` (layout, columns, rows, spacing, rightToLeft) chave de artboardLayout desconhecida `{k}` (layout, columns, rows, spacing, rightToLeft) +@msg unknown artboardLayout key `{k}` (layout, columns, spacing, rightToLeft) chave de artboardLayout desconhecida `{k}` (layout, columns, spacing, rightToLeft) @msg unknown attribute `{attribute}` atributo desconhecido `{attribute}` @msg unknown attribute `{k}` atributo desconhecido `{k}` @msg unknown axis `{other}` (vertical|horizontal|free) eixo desconhecido `{other}` (vertical|horizontal|free) diff --git a/crates/ui-egui/src/i18n/ru.tsv b/crates/ui-egui/src/i18n/ru.tsv index b06a0994be..96badacf8d 100644 --- a/crates/ui-egui/src/i18n/ru.tsv +++ b/crates/ui-egui/src/i18n/ru.tsv @@ -9564,7 +9564,7 @@ shape Open Открытый @msg artboard is a 0-based index artboard — индекс, отсчитываемый от 0 @msg artboard must be a 0-based index artboard должно быть индексом, отсчитываемым от 0 @msg artboard {i} doesn't print монтажная область {i} не печатается -@msg artboardLayout must be {layout?, columns?, rows?, spacing?, rightToLeft?} artboardLayout должно быть {layout?, columns?, rows?, spacing?, rightToLeft?} +@msg artboardLayout must be {layout?, columns?, spacing?, rightToLeft?} artboardLayout должно быть {layout?, columns?, spacing?, rightToLeft?} @msg artboardLayout.columns must be 1 or more artboardLayout.columns должно быть 1 или больше @msg artboardLayout.layout must be gridByRow, gridByColumn, row or column artboardLayout.layout должно быть gridByRow, gridByColumn, row или column @msg artboardLayout.rightToLeft must be true or false artboardLayout.rightToLeft должно быть true или false @@ -10661,7 +10661,7 @@ shape Open Открытый @msg unknown Warp style неизвестный стиль деформации @msg unknown alignToPath `{a}` неизвестное значение alignToPath `{a}` @msg unknown arrowhead {v} неизвестная стрелка {v} -@msg unknown artboardLayout key `{k}` (layout, columns, rows, spacing, rightToLeft) неизвестный ключ artboardLayout `{k}` (layout, columns, rows, spacing, rightToLeft) +@msg unknown artboardLayout key `{k}` (layout, columns, spacing, rightToLeft) неизвестный ключ artboardLayout `{k}` (layout, columns, spacing, rightToLeft) @msg unknown attribute `{attribute}` неизвестный атрибут `{attribute}` @msg unknown attribute `{k}` неизвестный атрибут `{k}` @msg unknown axis `{other}` (vertical|horizontal|free) неизвестная ось `{other}` (vertical|horizontal|free) diff --git a/crates/ui-egui/src/i18n/sv.tsv b/crates/ui-egui/src/i18n/sv.tsv index 906f516397..ca968fc94e 100644 --- a/crates/ui-egui/src/i18n/sv.tsv +++ b/crates/ui-egui/src/i18n/sv.tsv @@ -9189,7 +9189,7 @@ digits Hindi Hindi @msg artboard {i} doesn't print rityta {i} skrivs inte ut @msg artboard is a 0-based index artboard är ett 0-baserat index @msg artboard must be a 0-based index artboard måste vara ett 0-baserat index -@msg artboardLayout must be {{layout?, columns?, rows?, spacing?, rightToLeft?}} artboardLayout måste vara {{layout?, columns?, rows?, spacing?, rightToLeft?}} +@msg artboardLayout must be {{layout?, columns?, spacing?, rightToLeft?}} artboardLayout måste vara {{layout?, columns?, spacing?, rightToLeft?}} @msg artboardLayout.columns must be 1 or more artboardLayout.columns måste vara 1 eller mer @msg artboardLayout.layout must be gridByRow, gridByColumn, row or column artboardLayout.layout måste vara gridByRow, gridByColumn, row eller column @msg artboardLayout.rightToLeft must be true or false artboardLayout.rightToLeft måste vara true eller false @@ -10158,7 +10158,7 @@ digits Hindi Hindi @msg unknown align `{other}` okänd justering `{other}` @msg unknown alignToPath `{a}` okänt alignToPath-värde `{a}` @msg unknown arrowhead {v} okänd pilspets {v} -@msg unknown artboardLayout key `{k}` (layout, columns, rows, spacing, rightToLeft) okänd artboardLayout-nyckel `{k}` (layout, columns, rows, spacing, rightToLeft) +@msg unknown artboardLayout key `{k}` (layout, columns, spacing, rightToLeft) okänd artboardLayout-nyckel `{k}` (layout, columns, spacing, rightToLeft) @msg unknown attribute `{attribute}` okänt attribut `{attribute}` @msg unknown attribute `{k}` okänt attribut `{k}` @msg unknown axis `{other}` (vertical|horizontal|free) okänd axel `{other}` (vertical|horizontal|free) diff --git a/crates/ui-egui/src/i18n/tr.tsv b/crates/ui-egui/src/i18n/tr.tsv index 42d527e838..c7ab4d49b9 100644 --- a/crates/ui-egui/src/i18n/tr.tsv +++ b/crates/ui-egui/src/i18n/tr.tsv @@ -8534,7 +8534,7 @@ axis Y Axis Y ekseni @msg artboard is a 0-based index artboard 0 tabanlı bir dizindir @msg artboard must be a 0-based index artboard 0 tabanlı bir dizin olmalıdır @msg artboard {i} doesn't print {i} numaralı çalışma yüzeyi yazdırılmıyor -@msg artboardLayout must be {layout?, columns?, rows?, spacing?, rightToLeft?} artboardLayout {layout?, columns?, rows?, spacing?, rightToLeft?} olmalıdır +@msg artboardLayout must be {layout?, columns?, spacing?, rightToLeft?} artboardLayout {layout?, columns?, spacing?, rightToLeft?} olmalıdır @msg artboardLayout.columns must be 1 or more artboardLayout.columns 1 veya daha büyük olmalıdır @msg artboardLayout.layout must be gridByRow, gridByColumn, row or column artboardLayout.layout gridByRow, gridByColumn, row veya column olmalıdır @msg artboardLayout.rightToLeft must be true or false artboardLayout.rightToLeft true veya false olmalıdır @@ -9430,7 +9430,7 @@ axis Y Axis Y ekseni @msg unknown Warp style bilinmeyen Çarpıtma stili @msg unknown alignToPath `{a}` bilinmeyen alignToPath `{a}` @msg unknown arrowhead {v} bilinmeyen ok ucu {v} -@msg unknown artboardLayout key `{k}` (layout, columns, rows, spacing, rightToLeft) bilinmeyen artboardLayout anahtarı `{k}` (layout, columns, rows, spacing, rightToLeft) +@msg unknown artboardLayout key `{k}` (layout, columns, spacing, rightToLeft) bilinmeyen artboardLayout anahtarı `{k}` (layout, columns, spacing, rightToLeft) @msg unknown attribute `{attribute}` bilinmeyen öznitelik `{attribute}` @msg unknown attribute `{k}` bilinmeyen öznitelik `{k}` @msg unknown axis `{other}` (vertical|horizontal|free) bilinmeyen eksen `{other}` (vertical|horizontal|free) diff --git a/crates/ui-egui/src/i18n/uk.tsv b/crates/ui-egui/src/i18n/uk.tsv index bfec639b0f..007055151c 100644 --- a/crates/ui-egui/src/i18n/uk.tsv +++ b/crates/ui-egui/src/i18n/uk.tsv @@ -9216,7 +9216,7 @@ breakText Glyphs Гліфи @msg artboard is a 0-based index artboard — це індекс, що починається з 0 @msg artboard must be a 0-based index artboard має бути індексом, що починається з 0 @msg artboard {i} doesn't print монтажна область {i} не друкується -@msg artboardLayout must be {layout?, columns?, rows?, spacing?, rightToLeft?} artboardLayout має бути {layout?, columns?, rows?, spacing?, rightToLeft?} +@msg artboardLayout must be {layout?, columns?, spacing?, rightToLeft?} artboardLayout має бути {layout?, columns?, spacing?, rightToLeft?} @msg artboardLayout.columns must be 1 or more artboardLayout.columns має бути 1 або більше @msg artboardLayout.layout must be gridByRow, gridByColumn, row or column artboardLayout.layout має бути gridByRow, gridByColumn, row або column @msg artboardLayout.rightToLeft must be true or false artboardLayout.rightToLeft має бути true або false @@ -10318,7 +10318,7 @@ breakText Glyphs Гліфи @msg unknown Warp style невідомий стиль деформації @msg unknown alignToPath `{a}` невідомий alignToPath `{a}` @msg unknown arrowhead {v} невідома стрілка {v} -@msg unknown artboardLayout key `{k}` (layout, columns, rows, spacing, rightToLeft) невідомий ключ artboardLayout `{k}` (layout, columns, rows, spacing, rightToLeft) +@msg unknown artboardLayout key `{k}` (layout, columns, spacing, rightToLeft) невідомий ключ artboardLayout `{k}` (layout, columns, spacing, rightToLeft) @msg unknown attribute `{attribute}` невідомий атрибут `{attribute}` @msg unknown attribute `{k}` невідомий атрибут `{k}` @msg unknown axis `{other}` (vertical|horizontal|free) невідома вісь `{other}` (vertical|horizontal|free) diff --git a/crates/ui-egui/src/i18n/zh-hans.tsv b/crates/ui-egui/src/i18n/zh-hans.tsv index 69d5ff1a57..a347bd1d33 100644 --- a/crates/ui-egui/src/i18n/zh-hans.tsv +++ b/crates/ui-egui/src/i18n/zh-hans.tsv @@ -9578,7 +9578,7 @@ breakText Glyphs 字形 @msg artboard is a 0-based index artboard 是从 0 开始的索引 @msg artboard must be a 0-based index artboard 必须是从 0 开始的索引 @msg artboard {i} doesn't print 画板 {i} 不打印 -@msg artboardLayout must be {layout?, columns?, rows?, spacing?, rightToLeft?} artboardLayout 必须是 {layout?, columns?, rows?, spacing?, rightToLeft?} +@msg artboardLayout must be {layout?, columns?, spacing?, rightToLeft?} artboardLayout 必须是 {layout?, columns?, spacing?, rightToLeft?} @msg artboardLayout.columns must be 1 or more artboardLayout.columns 必须大于或等于 1 @msg artboardLayout.layout must be gridByRow, gridByColumn, row or column artboardLayout.layout 必须是 gridByRow、gridByColumn、row 或 column @msg artboardLayout.rightToLeft must be true or false artboardLayout.rightToLeft 必须为 true 或 false @@ -10478,7 +10478,7 @@ breakText Glyphs 字形 @msg unknown Warp style 未知的变形样式 @msg unknown alignToPath `{a}` 未知的 alignToPath `{a}` @msg unknown arrowhead {v} 未知的箭头 {v} -@msg unknown artboardLayout key `{k}` (layout, columns, rows, spacing, rightToLeft) 未知的 artboardLayout 键 `{k}` (layout、columns、rows、spacing、rightToLeft) +@msg unknown artboardLayout key `{k}` (layout, columns, spacing, rightToLeft) 未知的 artboardLayout 键 `{k}` (layout、columns、spacing、rightToLeft) @msg unknown attribute `{attribute}` 未知的属性 `{attribute}` @msg unknown attribute `{k}` 未知的属性 `{k}` @msg unknown axis `{other}` (vertical|horizontal|free) 未知的轴 `{other}` (vertical|horizontal|free) diff --git a/crates/ui-egui/src/i18n/zh-hant.tsv b/crates/ui-egui/src/i18n/zh-hant.tsv index 8a8d2cc84a..05f45ecb68 100644 --- a/crates/ui-egui/src/i18n/zh-hant.tsv +++ b/crates/ui-egui/src/i18n/zh-hant.tsv @@ -9512,7 +9512,7 @@ breakText Glyphs 字符 @msg artboard is a 0-based index artboard 是從 0 起算的索引 @msg artboard must be a 0-based index artboard 必須是從 0 起算的索引 @msg artboard {i} doesn't print 工作區域 {i} 不會列印 -@msg artboardLayout must be {layout?, columns?, rows?, spacing?, rightToLeft?} artboardLayout 必須是 {layout?, columns?, rows?, spacing?, rightToLeft?} +@msg artboardLayout must be {layout?, columns?, spacing?, rightToLeft?} artboardLayout 必須是 {layout?, columns?, spacing?, rightToLeft?} @msg artboardLayout.columns must be 1 or more artboardLayout.columns 必須大於或等於 1 @msg artboardLayout.layout must be gridByRow, gridByColumn, row or column artboardLayout.layout 必須是 gridByRow、gridByColumn、row 或 column @msg artboardLayout.rightToLeft must be true or false artboardLayout.rightToLeft 必須是 true 或 false @@ -10412,7 +10412,7 @@ breakText Glyphs 字符 @msg unknown Warp style 未知的彎曲樣式 @msg unknown alignToPath `{a}` 未知的 alignToPath `{a}` @msg unknown arrowhead {v} 未知的箭頭 {v} -@msg unknown artboardLayout key `{k}` (layout, columns, rows, spacing, rightToLeft) 未知的 artboardLayout 鍵 `{k}` (layout、columns、rows、spacing、rightToLeft) +@msg unknown artboardLayout key `{k}` (layout, columns, spacing, rightToLeft) 未知的 artboardLayout 鍵 `{k}` (layout、columns、spacing、rightToLeft) @msg unknown attribute `{attribute}` 未知的屬性 `{attribute}` @msg unknown attribute `{k}` 未知的屬性 `{k}` @msg unknown axis `{other}` (vertical|horizontal|free) 未知的軸 `{other}` (vertical|horizontal|free)