fix: integrate batched community PRs (pt-BR/Arabic catalogs drop keys main already translates; Typography in Window › Type & Tables; Georgian for the new menu labels)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Brandon Thomas
2026-10-14 22:26:51 -04:00
co-authored by Claude Opus 5.5
parent edfc98ffd7
commit 8da5bb5bab
4 changed files with 10 additions and 18 deletions
-5
View File
@@ -1549,7 +1549,6 @@ pub(super) const TABLE: &[(&str, &str)] = &[
("All records", "كل السجلات"),
("Alpha Channel", "قناة ألفا"),
("Anchored Object Options", "خيارات الكائن المرسّى"),
("Apply Parent to Pages", "تطبيق الأصل على الصفحات"),
("ArtCraft App Page", "صفحة تطبيق ArtCraft"),
("ArtCraft Website", "موقع ArtCraft"),
("Bind to frame", "ربط بالإطار"),
@@ -1567,12 +1566,10 @@ pub(super) const TABLE: &[(&str, &str)] = &[
("Column Break", "فاصل عمود"),
("Column spacing", "تباعد الأعمدة"),
("Columns first", "الأعمدة أولاً"),
("Columns:", "الأعمدة:"),
("Conditional Text", "نص شرطي"),
("Copyright Symbol", "رمز حقوق النشر"),
("Corner Options", "خيارات الزوايا"),
("Create Guides", "إنشاء أدلة"),
("Current Page Number", "رقم الصفحة الحالية"),
("Cyan", "سماوي"),
("Dark", "داكن"),
("Data Merge", "دمج البيانات"),
@@ -1624,7 +1621,6 @@ pub(super) const TABLE: &[(&str, &str)] = &[
("Hair Space", "مسافة شعرية"),
("High Contrast", "تباين عالٍ"),
("High Resolution", "دقة عالية"),
("Horizontal:", "أفقي:"),
("I, II, III, IV...", "أ، ب، ج، د..."),
("Import XML", "استيراد XML"),
("Indent to Here", "إزاحة بادئة إلى هنا"),
@@ -1766,7 +1762,6 @@ pub(super) const TABLE: &[(&str, &str)] = &[
("Type/Type on a Path", "نص/النص على مسار"),
("URL:", "URL:"),
("Unassigned", "غير معيّن"),
("Vertical:", "رأسي:"),
("View/Display Performance", "عرض/أداء العرض"),
("View/Grids & Guides", "عرض/الشبكات والأدلة"),
("Window/Arrange", "نافذة/ترتيب"),
+5
View File
@@ -1821,4 +1821,9 @@ pub(super) const TABLE: &[(&str, &str)] = &[
"The object's height is locked. Click to let the object change height as the page changes height.",
"ობიექტის სიმაღლე ჩაკეტილია. დაწკაპეთ, რომ ობიექტის სიმაღლე გვერდის სიმაღლესთან ერთად შეიცვალოს.",
),
("Bulleted & Numbered Lists", "მარკირებული და დანომრილი სიები"),
("Styles", "სტილები"),
("Object & Layout", "ობიექტი და განლაგება"),
("Editorial", "სარედაქციო"),
("Essentials Classic", "ძირითადი (კლასიკური)"),
];
-11
View File
@@ -1157,7 +1157,6 @@ pub(super) const TABLE: &[(&str, &str)] = &[
("Tabs", "Tabulações"),
("Story", "Matéria"),
("Create Outlines", "Criar contornos"),
("Show Hidden Characters", "Mostrar caracteres ocultos"),
("Unmerge Cells", "Desfazer mesclagem de células"),
("Snap to Guides", "Alinhar às guias"),
("Snap to Document Grid", "Alinhar à grade do documento"),
@@ -1185,7 +1184,6 @@ pub(super) const TABLE: &[(&str, &str)] = &[
("Add Hyphenation Exception", "Adicionar exceção de hifenização"),
("Add Item", "Adicionar item"),
("Add Page to Spread", "Adicionar página ao spread"),
("Allow Selected Spread to Shuffle", "Permitir que o spread selecionado seja reorganizado"),
("Anchored Object Options…", "Opções de objeto ancorado…"),
("Anchored Objects", "Objetos ancorados"),
("Apply Attributes (Eyedropper)", "Aplicar atributos (conta-gotas)"),
@@ -1225,7 +1223,6 @@ pub(super) const TABLE: &[(&str, &str)] = &[
("Convert to Form Field", "Converter em campo de formulário"),
("Copy Link(s) To…", "Copiar link(s) para…"),
("Corner Options…", "Opções de canto…"),
("Create Alternate Layout…", "Criar layout alternativo…"),
("Create Frame", "Criar quadro"),
("Create Merged Document…", "Criar documento mesclado…"),
("Cross-Reference Formats", "Formatos de referência cruzada"),
@@ -1241,7 +1238,6 @@ pub(super) const TABLE: &[(&str, &str)] = &[
("Delete Workspace…", "Excluir espaço de trabalho…"),
("DesignCraft Website…", "Site do DesignCraft…"),
("DesignCraft on GitHub…", "DesignCraft no GitHub…"),
("Detach All Objects from Parent", "Desvincular todos os objetos da página-mestre"),
("Directional Feather", "Esmaecimento direcional"),
("Distribute", "Distribuir"),
("Dock Panel", "Encaixar painel"),
@@ -1289,9 +1285,7 @@ pub(super) const TABLE: &[(&str, &str)] = &[
("Inner Shadow", "Sombra interna"),
("Insert Anchored Object…", "Inserir objeto ancorado…"),
("Insert Cross-Reference…", "Inserir referência cruzada…"),
("Insert Endnote", "Inserir nota de fim"),
("Insert Math Expression…", "Inserir expressão matemática…"),
("Insert Pages…", "Inserir páginas…"),
("Insert Variable", "Inserir variável"),
("Inspect Document", "Inspecionar documento"),
("Interface Color Theme", "Tema de cores da interface"),
@@ -1340,7 +1334,6 @@ pub(super) const TABLE: &[(&str, &str)] = &[
("Open Library", "Abrir biblioteca"),
("Outer Glow", "Brilho externo"),
("Overprint Preview", "Visualização de sobreimpressão"),
("Override All Parent Page Items", "Substituir todos os itens da página-mestre"),
("Page Transition", "Transição de página"),
("Page Transitions", "Transições de página"),
("Paragraph Formatting", "Formatação de parágrafo"),
@@ -1363,7 +1356,6 @@ pub(super) const TABLE: &[(&str, &str)] = &[
("Recovery Data", "Dados de recuperação"),
("Reject All Changes", "Rejeitar todas as alterações"),
("Release Compound Path", "Liberar traçado composto"),
("Remove All Local Overrides", "Remover todas as substituições locais"),
("Remove Document", "Remover documento"),
("Report an Issue…", "Relatar um problema…"),
("Reset Shortcuts", "Redefinir atalhos"),
@@ -1487,14 +1479,11 @@ pub(super) const TABLE: &[(&str, &str)] = &[
("Move Column", "Mover coluna"),
("Move Guide", "Mover guia"),
("Move Layer", "Mover camada"),
("Move Pages…", "Mover páginas…"),
("Move to Layer", "Mover para a camada"),
("New Article", "Novo artigo"),
("New Bookmark", "Novo marcador"),
("New Layer…", "Nova camada…"),
("New Note", "Nova nota"),
("New Object Style…", "Novo estilo de objeto…"),
("New Parent…", "Nova página-mestre…"),
("New Tag", "Nova tag"),
("Paste in Place", "Colar no mesmo lugar"),
("Place Loaded Graphic", "Inserir gráfico carregado"),
+5 -2
View File
@@ -777,6 +777,7 @@ pub const MENUS: &[(&str, &[&str])] = &[
"ui:window.panel|Glyphs|{\"panel\": \"glyphs\"}",
"ui:window.panel|Paragraph|{\"panel\": \"paragraph\"}",
"ui:window.panel|Table|{\"panel\": \"table\"}",
"ui:window.panel|Typography|{\"panel\": \"typography\"}",
"<",
">Utilities",
"ui:window.panel|Book|{\"panel\": \"book\"}",
@@ -2993,8 +2994,10 @@ mod tests {
_ => {}
}
}
// Labels without letters ("180°") read the same in every language.
untranslated.extend(labels.into_iter().filter(|l| l.chars().any(char::is_alphabetic) && crate::i18n::tr("ka", l) == l.as_str()));
// Labels without letters ("180°") or point sizes ("72 pt") read the same in every language.
let size = |l: &str| l.strip_suffix(" pt").is_some_and(|n| !n.is_empty() && n.chars().all(|c| c.is_ascii_digit()));
untranslated
.extend(labels.into_iter().filter(|l| l.chars().any(char::is_alphabetic) && !size(l) && crate::i18n::tr("ka", l) == l.as_str()));
}
assert!(untranslated.is_empty(), "untranslated Georgian menu labels: {untranslated:?}");
}