DesignCraft: An open-source page and layout design editor written by scratch in pure Rust
i18n (cs): translate labels that were looked up but missing from the catalog
Losmineke24c0190f8bb
diff --git a/crates/ui-egui/src/i18n.rs b/crates/ui-egui/src/i18n.rsindex 5c6f674d5..873988fd1 100644--- a/crates/ui-egui/src/i18n.rs+++ b/crates/ui-egui/src/i18n.rs@@ -3063,12 +3063,27 @@ mod tests {keys.extend(crate::menus::UI_COMMANDS.iter().map(|(_, label, _, _)| *label));// UI labels passed to `tr` that no other catalog has yet.keys.extend([+ "(any)",+ "(unchanged)",+ "[No Language]",+ "Cell Number:",+ "Change fill to:",+ "Chinese: Simplified",+ "Chinese: Traditional","Don't Save",+ "Email Address:",+ "Email:",+ "Find fill:","Group with","H:",+ "Message:",+ "Organization:",+ "Phone:","W:","Resize panel window","Resize panels",+ "Subject:",+ "Text:","Unsaved Changes","“{}” has changes that are not saved. Save them before closing?",]);diff --git a/crates/ui-egui/src/i18n/cs.rs b/crates/ui-egui/src/i18n/cs.rsindex 1fd44fade..87c8eb3fc 100644--- a/crates/ui-egui/src/i18n/cs.rs+++ b/crates/ui-egui/src/i18n/cs.rs@@ -1726,19 +1726,29 @@ pub(super) const TABLE: &[(&str, &str)] = &[("Yellow", "Žlutá"),// Labels the code passes to `tr` that no other catalog has yet.("Activate Panel", "Aktivovat panel"),+ ("Cell Number:", "Číslo mobilu:"),+ ("Change fill to:", "Změnit výplň na:"),("Change Panel Layout", "Změnit rozvržení panelů"),+ ("Chinese: Simplified", "Čínština: zjednodušená"),+ ("Chinese: Traditional", "Čínština: tradiční"),("Close Panel", "Zavřít panel"),("Data Fields", "Datová pole"),("Data Merge Options", "Možnosti sloučení dat"),("Distribute Rows Evenly", "Rozmístit řádky rovnoměrně"),("Don't Save", "Neukládat"),("Drag Rows or Columns", "Přetáhnout řádky nebo sloupce"),+ ("Email Address:", "E-mailová adresa:"),+ ("Email:", "E-mail:"),+ ("Find fill:", "Najít výplň:"),("Group with", "Seskupit s"),("H:", "V:"),("Insert Field", "Vložit pole"),("List Composite Fonts", "Vypsat složená písma"),+ ("Message:", "Zpráva:"),("Move Panel", "Přesunout panel"),("Object & Layout", "Objekt a rozvržení"),+ ("Organization:", "Organizace:"),+ ("Phone:", "Telefon:"),("Pin Bar Position", "Připnout polohu lišty"),("Preview Record", "Náhled záznamu"),("Remove Data Source", "Odebrat zdroj dat"),@@ -1748,10 +1758,15 @@ pub(super) const TABLE: &[(&str, &str)] = &[("Resize panels", "Změnit velikost panelů"),("Set Composite Font", "Nastavit složené písmo"),("Stop Preview", "Ukončit náhled"),+ ("Subject:", "Předmět:"),+ ("Text:", "Text:"),("Unsaved Changes", "Neuložené změny"),("Update Data Source", "Aktualizovat zdroj dat"),("Validate from Root Element", "Ověřit od kořenového prvku"),("W:", "Š:"),+ ("(any)", "(libovolná)"),+ ("(unchanged)", "(beze změny)"),+ ("[No Language]", "[Žádný jazyk]"),("“{}” has changes that are not saved. Save them before closing?", "„{}“ obsahuje neuložené změny. Uložit je před zavřením?"),];