mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-11-14 21:44:57 +00:00
i18n: Dutch translates status and error messages
Dutch was not in COMPLETE_MESSAGES, so with the interface in Dutch script errors, plug-in manifest and permission errors, parameter schema errors, 3D effect refusals, file-reader errors and data-set messages showed in English. - nl.tsv gains 557 `@msg` rows and one `@msgplural` row: the messages the German catalog translates and Dutch lacked. Most are one block with a header comment on their conventions, in the order de.tsv holds them; the rest sit next to the related existing rows. Backticked names, command ids, double-quoted values and bare true, false and null stay as the English writes them. - nl joins COMPLETE_MESSAGES, so the message tests that iterate the list check Dutch too, and the untranslated report lists Dutch's missing messages. It lists the same set for Dutch as for German. - The registry comment, docs/development.md, the Dutch row and introduction of docs/localization-parity.md, and the interface languages line of docs/target-app-parity.md list Dutch among the languages that translate messages.
This commit is contained in:
+1
-1
@@ -294,7 +294,7 @@ other `sv-*` locale resolve to it), Georgian (`ka`, complete; `ka-GE` and `ka_GE
|
||||
control channel, MCP and tests read them) and are translated only where the status bar draws them
|
||||
(`i18n::msg`). `@msg` catalog rows hold a whole message or a template such as
|
||||
`Couldn't open {name}: {e}`; `{_1}`, `{_2}` … stand for the format string's `{}`, and the values in the
|
||||
placeholders are translated in turn (the reason after `: {e}` is often a message too). Czech, German, Greek, Spanish, French, Georgian, Hungarian, Italian, Japanese, Korean, Polish, Brazilian Portuguese, Russian, Simplified Chinese, Traditional Chinese, Swedish, Ukrainian, Vietnamese, Finnish, Turkish and Catalan
|
||||
placeholders are translated in turn (the reason after `: {e}` is often a message too). Czech, German, Greek, Spanish, French, Georgian, Hungarian, Italian, Japanese, Korean, Polish, Brazilian Portuguese, Russian, Simplified Chinese, Traditional Chinese, Swedish, Ukrainian, Vietnamese, Finnish, Turkish, Catalan and Dutch
|
||||
translate status and error messages (`COMPLETE_MESSAGES` in `i18n::tests`); the untranslated report lists the
|
||||
message literals the scan finds that one of them has no row for. The scan reads `Err("…")`, `Other(…)`,
|
||||
`#[error(…)]` and `status(…)` messages, messages given to an error enum's variant (`PsError::Limit(…)`, the reason
|
||||
|
||||
Reference in New Issue
Block a user