mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-11-30 02:07:10 +01:00
A plug-in manifest may give `translations`, keyed by language code, with the plug-in's name, its commands' labels, its parameters' labels, help and choice labels, and its group headings. Menus, plug-in dialogs, the Appearance panel, Keyboard Shortcuts, the command palette and Last Effect show the text for the UI language, then for the language without its region (pt-br, then pt), then the manifest's own text. Command ids, parameter names, choice values, plugin.list and errors keep the manifest's own text. The install approval asks with the name in the UI language and shows the manifest's own name under the ID when they differ. Installing refuses malformed or repeated language codes, more than 16 languages, empty or over-long text, control, direction and line-separator characters, keys the manifest does not declare, and two choices with the same label after fallback, with an error that names the key. The 64 KiB manifest limit covers the translations. Filter and importer menu items, plug-in dialog text and the heavy-filter refusal now escape bidirectional characters, and Keyboard Shortcuts and the palette no longer put a plug-in's own name or command label through the app's catalogs.