diff --git a/crates/i18n/README.md b/crates/i18n/README.md index 63000a04..c2ce066b 100644 --- a/crates/i18n/README.md +++ b/crates/i18n/README.md @@ -60,8 +60,8 @@ The app keeps its `tl!` macro, its language setting (`"auto"` → `I18N.system_l last form. CLDR's `pt` is Brazilian, so `pt` uses `pt-PT`'s rules (0 is plural) and `pt-br` `pt`'s. `intl_pluralrules` is pinned to the version craft-i18n's checker uses, and `plural_form_counts` holds the same counts. -- **Names:** a language's name comes from its shared catalog's `@id language.name` row, else its - code; English is "English". +- **Names:** a language's name comes from the app catalog's `@id language.name` row, else the + shared catalog's, else its code; English is "English". - **Right to left:** `rtl` is true for `ar`, `ckb`, `dv`, `fa`, `he`, `ps`, `sd`, `ug`, `ur` and `yi`; putting text into display order is the app's job. - **System locale:** `system_lang` matches the system's list once and caches it: on desktop Unix diff --git a/crates/i18n/src/lib.rs b/crates/i18n/src/lib.rs index 16a7c0e7..c040d074 100644 --- a/crates/i18n/src/lib.rs +++ b/crates/i18n/src/lib.rs @@ -68,7 +68,7 @@ impl Locale { rows.entry(e.context).or_default().insert(e.source, e.translation); } } - problems.iter().for_each(|p| log::warn!("translation catalog: {p}; that string shows in English")); + problems.iter().for_each(|p| log::warn!("translation catalog: {p}; row skipped")); Parsed { rows, problems } }) }