Skip to content

EffectCraft: An open-source motion graphics and compositing tool written by scratch in pure Rust

i18n-report: print every catalog, and correct the Georgian panel row

midasdf29034da722b2
diff --git a/crates/ui-egui/src/i18n.rs b/crates/ui-egui/src/i18n.rs
index 3b6452ff7..af112e7cf 100644
--- a/crates/ui-egui/src/i18n.rs
+++ b/crates/ui-egui/src/i18n.rs
@@ -7517,7 +7517,7 @@ mod tests {
#[test]
fn catalog_row_counts_report() {
println!("Localization catalog rows:");
- for code in ["ja", "zh-hans", "zh-hant"] {
+ for code in CATALOG_CODES {
let menus = menu_catalog(code).map_or(0, |catalog| catalog.len());
let panels = ui::translated_rows(code);
let effect_names = effects::translated_rows(code);
diff --git a/docs/localization-parity.md b/docs/localization-parity.md
index 76cac2258..a5ddd6e8a 100644
--- a/docs/localization-parity.md
+++ b/docs/localization-parity.md
@@ -26,8 +26,8 @@ interface; Arabic and Hebrew text *in layers* is supported through its Middle Ea
source string, with English fallback. Catalogs exist for Japanese (996 rows), Simplified
Chinese (998), Traditional Chinese (951, after #2244 pruned the table), Ukrainian (524),
Brazilian Portuguese (695), Czech (518) and Spanish (513); counted at this tree. Georgian has
- every row the Simplified Chinese catalog has, plus 191 for panels converted to the catalog
- since.
+ the Simplified Chinese catalog's 694 rows, plus 191 for panels converted to the catalog since
+ (885 in all).
- **Effect names:** `crates/ui-egui/src/i18n/effects.rs`, keyed by **effect id**, in Simplified
Chinese (307 rows, one per effect in the registry), Japanese (297 of the 307 ids) and Georgian
(307 rows, plus its 21 categories). The registry's