mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-11-19 17:05:55 +01:00
train: #7316
This commit is contained in:
commit
3894edefcb
4 files changed
+1787
-1
No files matched your search
File diff suppressed because it is too large.
Load diff
@@ -2572,6 +2572,31 @@ fn messages_translate_by_template_and_their_parts() {
|
||||
assert_eq!(message(Lang::EN, nested), nested);
|
||||
}
|
||||
|
||||
/// Spanish shows the status and error messages of the script engine, the parameter checks, the
|
||||
/// importers and the 3D effects in Spanish, with the values, names and command ids they carry kept.
|
||||
#[test]
|
||||
fn spanish_translates_engine_import_and_parameter_messages() {
|
||||
let es = Lang::from_code("es").expect("registered");
|
||||
for (english, spanish) in [
|
||||
("`colors` must be a whole number from 2 to 256", "`colors` debe ser un número entero entre 2 y 256"),
|
||||
("JSON.parse: oops (at offset 12)", "JSON.parse: oops (en el desplazamiento 12)"),
|
||||
("unknown mode `foo` (set, add, subtract)", "modo desconocido `foo` (set, add, subtract)"),
|
||||
(
|
||||
"the Word document is encrypted or protected with a password; save it without one to place it",
|
||||
"el documento de Word está cifrado o protegido con contraseña; guárdalo sin ella para colocarlo",
|
||||
),
|
||||
(
|
||||
"object 7: with a depth of 0 the object has one face: map its graphics onto the front",
|
||||
"objeto 7: con una profundidad de 0 el objeto tiene una sola cara: asigna sus gráficos a la parte frontal",
|
||||
),
|
||||
("no custom arrowhead Fin (see stroke.arrowheads.list)", "no existe la punta de flecha personalizada Fin (consulta stroke.arrowheads.list)"),
|
||||
("`warichuLines` must be a whole number from 1 to 6", "`warichuLines` debe ser un número entero entre 1 y 6"),
|
||||
("the rectangle or line reaches too many paths to check", "el rectángulo o la línea alcanza demasiados trazados para comprobarlos"),
|
||||
] {
|
||||
assert_eq!(message(es, english), spanish);
|
||||
}
|
||||
}
|
||||
|
||||
/// The note `recolor.apply` and the Edit Colors commands give when they leave out locked or hidden
|
||||
/// objects is translated whole, its counts included, in every complete-message language.
|
||||
#[test]
|
||||
|
||||
@@ -30,7 +30,7 @@ Chinese by `imachus`). Georgian and the original Gujarati catalog are recorded a
|
||||
|---|---|---|---|---|---|---|---|
|
||||
| English | `en` | source, 100% | all | Latin | — | full | — |
|
||||
| Simplified Chinese (Mandarin) | `zh-hans` | 5,102 rows, 791 of them `@msg` (counted 2026-10-21): menus, `tl!` literals and messages complete when counted | all (3,554 `@msg` and 48 `@msgplural` rows, counted 2026-11-13: the untranslated report lists 55 missing messages for it, which open #7116, #7211, #7330, #7378 and #7405 translate) | CJK UI font from craft-fonts (BIZ UDPGothic) when embedded, else a system font; IME with marked text at the caret; vertical type partial ([type-parity.md](type-parity.md)) | no | full | — (review) |
|
||||
| Spanish | `es` | 4,009 / 4,020 (99.7%) | all (604 messages) | Latin | no | full | — (review) |
|
||||
| Spanish | `es` | 4,009 / 4,020 (99.7%) | all (3,770 `@msg` and 55 `@msgplural` rows, counted 2026-11-18: the untranslated report lists 269 messages without a Spanish row, 236 in its own section and 33 that all 24 checked languages lack) | Latin | no | full | — (review) |
|
||||
| Hindi | `hi` | 8,782 rows (2026-11-13): 3,014 `@msg`, 47 `@msgplural`, 41 `@plural`; the untranslated report on main `f793044f83` (2026-11-14) lists 676 missing rows for it: 608 in its own section and 68 that every checked language lacks | menus, dialogs, tooltips and scanned messages; contributor-approved loanword terminology; agent wording pass | UI and document text shape with HarfRust; installed desktop Devanagari fallback, or a `Deva` craft-fonts face; the web fetches Noto Sans Devanagari when the interface needs it | contributor terminology review; 2026-11-13 wording pass on messages and longer labels, and a word-sense pass on short labels, with a glossary-term test; wider proofread welcome | complete catalog, machine-assisted draft | reported missing rows, native review and layout |
|
||||
| Gujarati | `gu` | 4,673 rows (2026-11-14): original 4,286 unchanged; all 387 additions contributor-reviewed and approved | menus and dialogs; status/error messages partial | installed Gujarati fonts on desktop; optional `Gujr` craft-fonts fallback; no Gujarati face in the pinned CI/release fonts or web startup list | original catalog reviewed by a native speaker; all 387 later additions approved by the contributor, with 11 wording corrections | contributor-reviewed catalog | remaining messages and a bundled Gujarati web font |
|
||||
| Arabic | `ar` | 0 | none | document text: bidi layout and Paragraph Direction; interface: no right-to-left layout, no Arabic shaping in egui | no | none | 25–40 |
|
||||
|
||||
@@ -1050,6 +1050,7 @@ Moved from the ROADMAP's "Shipped so far" on 2026-10-10. Update it when a featur
|
||||
- Hindi messages its catalog lacked (2026-11-14): 116 status and error messages that the Hindi catalog did not translate, among them the image export, color profile, swatch exchange, color book, DXF, PDF knockout group, Revolve and 3D messages, have Hindi rows; the translations are VectorCraft's own and await native review; scores and estimates unchanged.
|
||||
- Hindi English words (2026-11-13): 264 rows no longer keep English words in their sentences, repeat a parameter's name in Hindi or garble them, among them "unknown align", which now names the alignment; lists of accepted values such as `(left|right|top|bottom)` stay as their English writes them; two tests check every row; native review remains; scores and estimates unchanged.
|
||||
- Message field names and values (2026-11-13): 49 status and error messages in the Hindi, Bulgarian, Danish, Indonesian, Dutch, Brazilian Portuguese, Swedish and Turkish catalogs keep the field names in brackets, such as `[subpath, anchor]`, and the values an `unknown` message lists, such as `(points, lines)`, as their English writes them; a test checks every catalog; scores and estimates unchanged.
|
||||
- Spanish messages (2026-11-13): the Spanish (`es`) catalog has an `@msg` row for 1,840 of the 1,842 status and error messages the untranslated report listed for it; 38 of them are the composite font, select-a-path and justification order errors that #7211, #7214 and #7116 translated, now on `main`, and the other two put two placeholders side by side, which a catalog row can't match, and stay in English; the rows keep their placeholders, backticked names, quoted values and command ids; native review remains; scores and estimates unchanged.
|
||||
- Italian messages (2026-11-13): the Italian catalog (`it`) has 1,802 more status and error message rows, and the untranslated report's missing Italian messages go from 1,842 to 40; the translations are VectorCraft's own and await native review; scores and estimates unchanged. See [localization-parity.md](localization-parity.md).
|
||||
- Italian messages no catalog had (2026-11-13): the Italian catalog has 126 more `@msg` rows, 3,560 in all: the image export, color profile, color book, swatch exchange file, DXF and DWG import, 3D and Revolve, script and zip errors that no other catalog translates yet, and the Banner Hems and Grommets, parameter range and recovery save messages that other catalogs translate. The untranslated report lists 54 Italian messages, which open #7116, #7211, #7378 and #7405 translate; scores and estimates unchanged.
|
||||
- Window › Help Bar shows or hides the tool-help strip at the bottom of the window apart from the status bar (`window.helpBar`). Each setting is kept with the UI preferences and in saved workspaces, and Presentation Mode hides both bars. Layouts saved before the setting existed show the Help Bar where they show the status bar (`help_bar_toggle_is_independent_and_saved_in_workspaces`, `help_bar_and_status_bar_render_independently`, `legacy_help_bar_visibility_follows_each_layouts_status_bar`, `a_help_bar_setting_the_file_lacks_is_saved`).
|
||||
|
||||
Reference in new issue
Block a user