mirror of
https://github.com/storytold/designcraft.git
synced 2026-10-25 10:46:50 -06:00
Integration: Italian and Ukrainian entries for strings added by the merged PRs
#218's test needs it.rs to cover every key of TABLE and ar::TABLE, and #236's test needs the uk.rs keys to equal TABLE, ar and pt_br together. Other PRs on next add 34 keys to those tables that neither catalog has: - #80: Can't Open the File, Can't Place the File - #83 (also carried by #81, #84, #96, #106): drop cap labels (Drop Caps, Drop Lines, Drop Chars, Lines:, Characters:, Align Left Edge, Scale for Descenders, dropcap) - #84: Select an object or text to color its fill or stroke. - #144: Character Style Options and its Basic/Advanced Character Formats and OpenType sections (Case:, Tint:, Skew:, Kerning:, Ligatures, ...) The Italian and Ukrainian entries are machine-translated and marked with a comment in each catalog; a native speaker should review them. The ROADMAP's Ukrainian line drops its fixed key count (1,430), which no longer holds.
This commit is contained in:
+1
-1
@@ -132,7 +132,7 @@ DesignCraft aims at full Adobe InDesign parity — and to be better: faster, ope
|
||||
- Transparency flattener (`file.exportPdf {flatten: high|medium|low|ppi}`, Edit ▸ Transparency Flattener Presets): each object involving transparency becomes an opaque image of its area over what's beneath it, so everything else stays vector (spreads with transparent parent items are rasterised whole).
|
||||
- Video and sound (place .mp4/.mov/.webm/.mp3/.wav…, `media.options/get`, Media panel): media frames show a poster or placeholder on screen, in print and in PDF, and export as HTML5 `<video>`/`<audio>` in EPUB. Interactive PDF export (`file.exportPdf {media: true}`, File ▸ Export PDF (Interactive)) embeds each file and plays it in a Screen annotation through a rendition action (controls, loop, play on page load). No in-app playback.
|
||||
- Right-to-left text (World-Ready basics): right-to-left runs are shaped right to left, lines are reordered by the Unicode Bidirectional Algorithm (matched against the reference implementation), Paragraph Direction (`type.para {direction}`, Paragraph panel, IDML ParagraphDirection, EPUB `dir`). Digits (`digits`: Default, Arabic, Hindi, Farsi, Native by language; Character panel for right-to-left text; IDML DigitsType) draw 0–9 in another script. Kashidas (`kashidas` paragraph attribute, on by default; IDML Kashidas): justified Arabic lines stretch at one join per word (after seen/sad when possible, never inside lam–alef) with a drawn tatweel before word spaces widen. Carets follow the drawing: the caret before a right-to-left glyph sits at its right edge, arrow keys move as drawn (by words in the line's direction), clicks find the nearest drawn caret position and selections highlight the selected glyphs. Binding: Right to Left (Document Setup, `layout.documentSetup {binding}`, IDML PageBinding) makes page 1 a left page and lays spreads out right to left.
|
||||
- Interface language (Edit ▸ Interface Language, `app.language`): German, French, Spanish, Italian, Japanese, Simplified Chinese and Arabic menu titles, common menu items and panel names (our own translations). Common dialog, panel and tooltip labels are also localized, with English fallback for untranslated strings. Arabic translations cover every key in the shared interface translation table, including menu commands and utility labels. The Type menu's Story Direction, Horizontal/Vertical, Tate-Chu-Yoko, Ruby… and Kenten are translated too. Arabic labels use Unicode bidi run ordering and contextual shaping; welcome and new-document form layouts follow RTL direction independently of document binding. CJK and Arabic glyphs come from [craft-fonts](https://github.com/storytold/craft-fonts) when built with `CRAFT_FONTS_DIR` (all releases): BIZ UDPGothic and Noto Sans CJK SC for the UI (Chinese forms first in the Chinese interface), Noto Sans Arabic, and Mincho for Japanese documents (the web build embeds BIZ UDPGothic only); otherwise from system fonts. Ukrainian covers all 1,430 existing catalog keys, including publishing dialogs and built-in names, with persisted selection, grammatical count captions, English fallback and bundled Cyrillic UI glyph coverage.
|
||||
- Interface language (Edit ▸ Interface Language, `app.language`): German, French, Spanish, Italian, Japanese, Simplified Chinese and Arabic menu titles, common menu items and panel names (our own translations). Common dialog, panel and tooltip labels are also localized, with English fallback for untranslated strings. Arabic translations cover every key in the shared interface translation table, including menu commands and utility labels. The Type menu's Story Direction, Horizontal/Vertical, Tate-Chu-Yoko, Ruby… and Kenten are translated too. Arabic labels use Unicode bidi run ordering and contextual shaping; welcome and new-document form layouts follow RTL direction independently of document binding. CJK and Arabic glyphs come from [craft-fonts](https://github.com/storytold/craft-fonts) when built with `CRAFT_FONTS_DIR` (all releases): BIZ UDPGothic and Noto Sans CJK SC for the UI (Chinese forms first in the Chinese interface), Noto Sans Arabic, and Mincho for Japanese documents (the web build embeds BIZ UDPGothic only); otherwise from system fonts. Ukrainian covers every catalog key, including publishing dialogs and built-in names, with persisted selection, grammatical count captions, English fallback and bundled Cyrillic UI glyph coverage.
|
||||
- Page transitions (`page.transition/transitions`, Page Transitions panel): twelve transition types with speed and direction per spread, written into exported PDFs as `/Trans` entries through an incremental update.
|
||||
- PDF/X-4 export (`file.exportPdf {standard: "x4"}`): an output intent with our own Generic CMYK ICC profile (lut16 tables generated from the parametric press model), GTS_PDFXVersion in Info and XMP, `pdf:Trapped` in XMP as in Info, RGB images without a profile tagged sRGB, no image interpolation (none in PDF/A either), and built-in PDF/X-4 checks reported as warnings. qpdf finds no errors in the result.
|
||||
- EPS place: placed at its (high-resolution) bounding box and shown, printed and exported through its TIFF preview, or a placeholder when it has none. PostScript itself isn't interpreted.
|
||||
|
||||
@@ -1458,4 +1458,39 @@ pub(super) const TABLE: &[(&str, &str)] = &[
|
||||
("Selection", "Selezione"),
|
||||
("All Documents", "Tutti i documenti"),
|
||||
("On", "Attivato"),
|
||||
// Machine-translated; not yet reviewed by a native speaker.
|
||||
("Advanced Character Formats", "Formati carattere avanzati"),
|
||||
("Align Left Edge", "Allinea bordo sinistro"),
|
||||
("Baseline Shift:", "Spostamento linea di base:"),
|
||||
("Can't Open the File", "Impossibile aprire il file"),
|
||||
("Can't Place the File", "Impossibile inserire il file"),
|
||||
("Case:", "Maiuscole/minuscole:"),
|
||||
("Character Style Options", "Opzioni stile di carattere"),
|
||||
("Characters:", "Caratteri:"),
|
||||
("Drop Caps", "Capilettera"),
|
||||
("Drop Chars", "Caratteri capolettera"),
|
||||
("Drop Lines", "Righe capolettera"),
|
||||
("Edit \"{name}\"…", "Modifica \"{name}\"…"),
|
||||
("Figure Style:", "Stile numeri:"),
|
||||
("Horizontal Scale:", "Scala orizzontale:"),
|
||||
("Kerning:", "Crenatura:"),
|
||||
("Language:", "Lingua:"),
|
||||
("Ligatures", "Legature"),
|
||||
("Lines:", "Righe:"),
|
||||
("No Break", "Nessuna interruzione"),
|
||||
("OpenType All Small Caps", "Tutto maiuscoletto OpenType"),
|
||||
("OpenType Denominator", "Denominatore OpenType"),
|
||||
("OpenType Features", "Funzioni OpenType"),
|
||||
("OpenType Numerator", "Numeratore OpenType"),
|
||||
("OpenType Subscript", "Pedice OpenType"),
|
||||
("Scale for Descenders", "Ridimensiona per i discendenti"),
|
||||
("Select an object or text to color its fill or stroke.", "Seleziona un oggetto o del testo per colorarne il riempimento o la traccia."),
|
||||
("Skew:", "Inclinazione:"),
|
||||
("Strikethrough On", "Barrato attivato"),
|
||||
("Style Settings:", "Impostazioni stile:"),
|
||||
("Subscript", "Pedice"),
|
||||
("Tint:", "Tinta:"),
|
||||
("Underline On", "Sottolineato attivato"),
|
||||
("Vertical Scale:", "Scala verticale:"),
|
||||
("dropcap", "capolettera"),
|
||||
];
|
||||
|
||||
@@ -1453,6 +1453,41 @@ pub(super) const TABLE: &[(&str, &str)] = &[
|
||||
("Selection", "Виділення"),
|
||||
("All Documents", "Усі документи"),
|
||||
("On", "Увімкнено"),
|
||||
// Machine-translated; not yet reviewed by a native speaker.
|
||||
("Advanced Character Formats", "Розширене форматування символів"),
|
||||
("Align Left Edge", "Вирівняти лівий край"),
|
||||
("Baseline Shift:", "Зсув базової лінії:"),
|
||||
("Can't Open the File", "Не вдалося відкрити файл"),
|
||||
("Can't Place the File", "Не вдалося розмістити файл"),
|
||||
("Case:", "Регістр:"),
|
||||
("Character Style Options", "Параметри стилю символів"),
|
||||
("Characters:", "Символи:"),
|
||||
("Drop Caps", "Буквиці"),
|
||||
("Drop Chars", "Символи буквиці"),
|
||||
("Drop Lines", "Рядки буквиці"),
|
||||
("Edit \"{name}\"…", "Редагувати «{name}»…"),
|
||||
("Figure Style:", "Стиль цифр:"),
|
||||
("Horizontal Scale:", "Горизонтальний масштаб:"),
|
||||
("Kerning:", "Кернінг:"),
|
||||
("Language:", "Мова:"),
|
||||
("Ligatures", "Лігатури"),
|
||||
("Lines:", "Рядки:"),
|
||||
("No Break", "Без розриву"),
|
||||
("OpenType All Small Caps", "Уся капітель OpenType"),
|
||||
("OpenType Denominator", "Знаменник OpenType"),
|
||||
("OpenType Features", "Функції OpenType"),
|
||||
("OpenType Numerator", "Чисельник OpenType"),
|
||||
("OpenType Subscript", "Нижній індекс OpenType"),
|
||||
("Scale for Descenders", "Масштабувати з урахуванням виносних елементів"),
|
||||
("Select an object or text to color its fill or stroke.", "Виділіть об’єкт або текст, щоб задати колір його заливки чи обведення."),
|
||||
("Skew:", "Нахил:"),
|
||||
("Strikethrough On", "Закреслення увімкнено"),
|
||||
("Style Settings:", "Параметри стилю:"),
|
||||
("Subscript", "Нижній індекс"),
|
||||
("Tint:", "Відтінок:"),
|
||||
("Underline On", "Підкреслення увімкнено"),
|
||||
("Vertical Scale:", "Вертикальний масштаб:"),
|
||||
("dropcap", "буквиця"),
|
||||
];
|
||||
|
||||
/// Contexts whose Ukrainian noun differs from the shared action/text-layout label.
|
||||
|
||||
Reference in New Issue
Block a user