Skip to content

FilmCraft: An open-source, nonlinear video editor written by scratch in pure Rust

Merge main into #866 (Indonesian and the German menu docs landed meanwhile)

Brandon Thomasc7f2b781b0b5
diff --cc ATTRIBUTION.md
index 9285a6b96,d6c293d2a..35622be49
--- a/ATTRIBUTION.md
+++ b/ATTRIBUTION.md
@@@ -9,8 -9,8 +9,9 @@@ iconography, images or other Adobe asse
| Asset | Author | Source | Licence |
|---|---|---|---|
+ | `crates/ui-egui/src/i18n/id.tsv` | FilmCraft contributors | Original work: clean-room Indonesian interface translations | MIT OR Apache-2.0 |
| `crates/ui-egui/src/i18n/fr.tsv` | FilmCraft contributors | Original work: clean-room French interface translations | MIT OR Apache-2.0 |
+| `crates/ui-egui/src/i18n/pt-br.tsv` | FilmCraft contributors | Original work: clean-room Brazilian Portuguese interface translations | MIT OR Apache-2.0 |
| `crates/ui-egui/src/i18n/ru.tsv` | FilmCraft contributors | Original work: clean-room Russian interface translations | MIT OR Apache-2.0 |
| `crates/ui-egui/src/i18n/uk.tsv` | FilmCraft contributors | Original work: clean-room Ukrainian interface translations | MIT OR Apache-2.0 |
| `assets/fonts/Inter-Regular.ttf` | The Inter Project Authors | https://github.com/rsms/inter | OFL-1.1 (`assets/fonts/OFL-Inter.txt`) |
diff --cc ROADMAP.md
index 4d9726b78,f96094f7e..7f3962fd6
--- a/ROADMAP.md
+++ b/ROADMAP.md
@@@ -79,10 -82,10 +82,10 @@@ Premiere ships 10 interface languages.
| Hindi | none (no Devanagari shaping in the interface) | 0% |
| Arabic | none (no RTL interface) | 0% |
| French | partial (whole interface; native review welcome) | ~100% |
-| Portuguese (Brazil) | menus only | 9.9% |
+| Portuguese (Brazil) | partial (whole interface; native review welcome) | ~100% |
- | Indonesian | none | 0% |
+ | Indonesian | partial (whole interface; native review welcome) | ~100% |
| Japanese | partial (whole interface) | 99.7% |
- | German | none | 0% |
+ | German | menus only (native-reviewed) | 10.6% |
| Korean | none | 0% |
| Vietnamese | none | 0% |
diff --cc crates/ui-egui/src/i18n/mod.rs
index 8dae92f1f,76e9e2a42..001ec3499
--- a/crates/ui-egui/src/i18n/mod.rs
+++ b/crates/ui-egui/src/i18n/mod.rs
@@@ -969,8 -972,8 +1011,8 @@@ mod tests
}
}
- /// German covers at least the core menus (the Brazilian Portuguese entries, the top-level menus
- /// and the native macOS app menu); every entry must still be a menu label.
+ /// German covers at least the core menus (`core_menu_labels`, the top-level menus and the native
- /// macOS Settings menu); every entry must still be a menu label.
++ /// macOS app menu); every entry must still be a menu label.
#[test]
fn german_entries_cover_the_original_menu_catalog() {
let app = crate::FilmcraftApp::new(filmcraft_engine::Session::default());
@@@ -978,9 -981,10 +1020,9 @@@
let known = |text: &str| crate::menus::MENUS.contains(&text) || items.iter().any(|it| it.label == text || it.path.iter().any(|p| p == text));
let (entries, _) = catalog::parse_entries(include_str!("de.tsv"));
for (_, en, _) in entries {
- assert!(known(&en) || en == "Settings", "not a menu label: {en}");
+ assert!(known(&en) || crate::menus::NATIVE_APP_MENU.contains(&en.as_str()), "not a menu label: {en}");
}
- let (portuguese, _) = catalog::parse_entries(include_str!("pt-br.tsv"));
- for (_, en, _) in portuguese {
+ for en in core_menu_labels() {
assert!(Language::De.has(&en), "missing German menu label: {en}");
}
// "Clip" and "Audio" are the same word in German, so check for an entry, not a change
diff --cc docs/gaps.md
index 9b89ee231,354932010..54eca9f09
--- a/docs/gaps.md
+++ b/docs/gaps.md
@@@ -201,12 -221,17 +221,17 @@@ platforms** G4, G9, G17; **performance*
## G14. Localization: 8 of the 12 key languages missing
-- **Have:** Spanish, Japanese, Simplified Chinese and French (#498) catalogs cover ~99.6–100% of
- the ~3,500 cataloged strings; Portuguese (Brazil) and Ukrainian ~10% (menus).
+- **Have:** Spanish, Japanese, Simplified Chinese, French (#498) and Portuguese (Brazil) (#859)
+ catalogs cover ~99.6–100% of the ~3,500 cataloged strings; Ukrainian ~10% (menus).
- - **Missing:** Hindi, Arabic (no RTL interface layout; Arabic titles reported broken, #395),
- Indonesian, German beyond menus (#490), Korean (#508; needs Hangul fonts in craft-fonts),
+ - **Missing:** Hindi, Arabic (no RTL interface layout or catalog; the interface has Arabic and Hebrew
+ fallback fonts and shows captions in reading order, but other names and fields keep egui's
+ left-to-right run order; Arabic titles reported broken, #395),
+ German beyond menus (#490), Korean (#508; needs Hangul fonts in craft-fonts),
- Vietnamese, Portuguese beyond menus; Premiere also ships Italian and Russian. Engine errors,
+ Vietnamese; Premiere also ships Italian and Russian. Engine errors,
CLI and MCP stay English. No language has a recorded native-speaker review.
+ - **Done:** Indonesian (#867): `id.tsv` has every entry of the Spanish catalog (~100%), in Edit ▸
+ Language, Settings ▸ General and the native macOS menu; System Language picks it for `id-*` (and
+ legacy `in-*`) locales. Native-speaker review welcome.
- **Estimate:** 150–230 h. Doc: [localization-parity.md](localization-parity.md).
## G15. Interchange never validated in Avid / Pro Tools; slow XML import
diff --cc docs/localization-parity.md
index 5a81a3b54,1705da16c..00f17d355
--- a/docs/localization-parity.md
+++ b/docs/localization-parity.md
@@@ -42,21 -44,21 +45,21 @@@ whole interface, one PR) at ~4–8 h pe
| Simplified Chinese | zh-cn | 3,485 (99.6%) | dialogs, Settings, effects, shortcuts, status; engine errors English | CJK font fallback; system IME via winit | not recorded | partial | 6–10 h + review |
| Spanish | es | 3,496 (99.9%) | as above | Latin | not recorded | partial | 4–8 h + review |
| Hindi | hi | 0 (0%) | — | **no Devanagari shaping in the interface** | — | none | 30–50 h (shaping in UI + catalog + fonts) |
- | Arabic | ar | 0 (0%) | — | **no RTL layout, no shaping in the interface**; titles broken (#395) | — | none | 40–70 h |
+ | Arabic | ar | 0 (0%) | — | **no RTL interface layout**; fallback fonts and shaping in the interface, captions in reading order, other text in egui's left-to-right run order; titles broken (#395) | — | none | 40–70 h |
| French | fr | 3,526 (same entries as Spanish, plus the macOS Settings item) | as Spanish | Latin (bundled fonts) | not recorded; welcome | partial (#498) | review |
-| Portuguese (Brazil) | pt-br | 348 (9.9%) | menus only | Latin | not recorded | menus only | 5–9 h + review |
+| Portuguese (Brazil) | pt-br | 3,541 (same entries as Spanish, plus the macOS Settings item) | as Spanish | Latin (bundled fonts) | not recorded; welcome | partial (#859) | review |
- | Indonesian | id | 0 (0%) | — | Latin | — | none | 6–10 h + review |
+ | Indonesian | id | 3,541 (same entries as Spanish, plus the macOS Settings item); must cover the core menus, no entry without a Spanish one | as Spanish | Latin (bundled fonts); System Language also maps the legacy `in` code | not recorded; welcome | partial (#867) | review |
| Japanese | ja | 3,487 (99.7%) | as zh-cn; system-font kanji may pick the Chinese fallback (#547) | CJK fonts, vertical title text | not recorded | partial | 4–8 h + review |
- | German | de | 0 (0%) | — | Latin | — | none (requested #490) | 6–10 h + review |
+ | German | de | 371 (10.6%) | menus only | Latin | yes (#630) | menus only | 5–9 h + review |
| Korean | ko | 0 (0%) | — | needs Hangul fonts in craft-fonts and IME testing | — | none (requested #508) | 10–20 h + review |
| Vietnamese | vi | 0 (0%) | — | Latin with stacked diacritics (font coverage to check) | — | none | 6–12 h + review |
| *Other shipped:* Ukrainian | uk | 351 (10.0%) | menus only | Cyrillic (bundled) | not recorded | menus only | 5–9 h |
Premiere also ships Italian and Russian, which we don't (6–10 h each).
-**Localization dimension:** 5 of the 12 key languages near-complete (English, Spanish, Japanese,
-Simplified Chinese, French), 2 menus-only, 5 none; against Premiere's 10 languages we cover 5 well
-and 2 partly. **~35%, 150–230 h** for all twelve to `full` plus Italian and Russian, of which the script
+**Localization dimension:** 6 of the 12 key languages near-complete (English, Spanish, Japanese,
- Simplified Chinese, French, Portuguese (Brazil)), 6 none; against Premiere's 10 languages we cover 6
- well. **~35%, 150–230 h** for all twelve to `full` plus Italian and Russian, of which the script
++Simplified Chinese, French, Portuguese (Brazil)), 1 menus-only, 5 none; against Premiere's 10 languages
++we cover 6 well and 1 partly. **~35%, 150–230 h** for all twelve to `full` plus Italian and Russian, of which the script
work (RTL and complex shaping in the egui interface) is the largest and least parallel part.
Every language needs native-speaker review (human).