Place: contact sheet strings in every interface language; Spanish grid labels

- Arabic, Czech, Hungarian, Italian, Polish, Portuguese (Brazil), Russian and
  Ukrainian read only their own catalogs, so File › Place Contact Sheet… and
  its dialog showed in English there. They now have the four new strings.
- Spanish Columns, Rows and Gutter were still English in the shared table:
  Columnas, Filas, Medianil, as the Spanish catalog already says for
  "Columns:", "Rows:" and "Gutter:".
This commit is contained in:
texjer committed 2026-11-04 10:44:31 -05:00
1 parent e2d8502636
commit a938858775
10 files changed
+57 -3

No files matched your search

+4
View File
@@ -22,6 +22,10 @@ pub(super) const TABLE: &[(&str, &str)] = &[
("Save a Copy…", "حفظ نسخة…"),
("Revert", "استعادة"),
("Place…", "وضع…"),
("Place Contact Sheet…", "وضع ورقة مصغّرات…"),
("Place Contact Sheet", "وضع ورقة مصغّرات"),
("Place loaded images on new pages, in file order.", "وضع الصور المحمّلة على صفحات جديدة، بترتيب الملفات."),
("Page margin", "هامش الصفحة"),
("Export PDF…", "تصدير PDF…"),
("Print…", "طباعة…"),
("Print", "طباعة"),
+4
View File
@@ -25,6 +25,10 @@ pub(super) const TABLE: &[(&str, &str)] = &[
("Save a Copy…", "Uložit kopii…"),
("Revert", "Vrátit k uložené verzi"),
("Place…", "Umístit…"),
("Place Contact Sheet…", "Umístit kontaktní arch…"),
("Place Contact Sheet", "Umístit kontaktní arch"),
("Place loaded images on new pages, in file order.", "Umístit načtené obrázky na nové stránky v pořadí souborů."),
("Page margin", "Okraj stránky"),
("Export PDF…", "Exportovat PDF…"),
("Print…", "Tisk…"),
("Document Setup…", "Nastavení dokumentu…"),
+4
View File
@@ -1223,6 +1223,10 @@ pub(super) const TABLE: &[(&str, &str)] = &[
("Place with Import Options", "Elhelyezés importálási beállításokkal"),
("Place with Import Options…", "Elhelyezés importálási beállításokkal…"),
("Place…", "Elhelyezés…"),
("Place Contact Sheet…", "Kontaktlap elhelyezése…"),
("Place Contact Sheet", "Kontaktlap elhelyezése"),
("Place loaded images on new pages, in file order.", "A betöltött képek elhelyezése új oldalakon, fájlsorrendben."),
("Page margin", "Oldalmargó"),
("Plain", "Egyszerű"),
("Plain Text", "Egyszerű szöveg"),
("Play on Page Load", "Lejátszás az oldal betöltésekor"),
+4
View File
@@ -25,6 +25,10 @@ pub(super) const TABLE: &[(&str, &str)] = &[
("Save a Copy…", "Salva una copia…"),
("Revert", "Ripristina"),
("Place…", "Inserisci…"),
("Place Contact Sheet…", "Inserisci provino…"),
("Place Contact Sheet", "Inserisci provino"),
("Place loaded images on new pages, in file order.", "Inserisci le immagini caricate in nuove pagine, nell'ordine dei file."),
("Page margin", "Margine pagina"),
("Export PDF…", "Esporta PDF…"),
("Print…", "Stampa…"),
("Document Setup…", "Impostazione documento…"),
+4
View File
@@ -23,6 +23,10 @@ pub(super) const TABLE: &[(&str, &str)] = &[
("Save a Copy…", "Zapisz kopię…"),
("Revert", "Przywróć"),
("Place…", "Umieść…"),
("Place Contact Sheet…", "Umieść stykówkę…"),
("Place Contact Sheet", "Umieść stykówkę"),
("Place loaded images on new pages, in file order.", "Umieść wczytane obrazy na nowych stronach, w kolejności plików."),
("Page margin", "Margines strony"),
("Export PDF…", "Eksportuj PDF…"),
("Print…", "Drukuj…"),
("Document Setup…", "Ustawienia dokumentu…"),
+4
View File
@@ -26,6 +26,10 @@ pub(super) const TABLE: &[(&str, &str)] = &[
("Save a Copy…", "Salvar uma cópia…"),
("Revert", "Reverter"),
("Place…", "Inserir…"),
("Place Contact Sheet…", "Inserir folha de contato…"),
("Place Contact Sheet", "Inserir folha de contato"),
("Place loaded images on new pages, in file order.", "Inserir as imagens carregadas em novas páginas, na ordem dos arquivos."),
("Page margin", "Margem da página"),
("Export PDF…", "Exportar PDF…"),
("Print…", "Imprimir…"),
("Print", "Imprimir"),
+4
View File
@@ -27,6 +27,10 @@ pub(super) const TABLE: &[(&str, &str)] = &[
("Save a Copy…", "Сохранить копию…"),
("Revert", "Восстановить сохраненную версию"),
("Place…", "Поместить…"),
("Place Contact Sheet…", "Поместить контактный лист…"),
("Place Contact Sheet", "Поместить контактный лист"),
("Place loaded images on new pages, in file order.", "Поместить загруженные изображения на новые страницы в порядке файлов."),
("Page margin", "Поле страницы"),
("Export PDF…", "Экспорт в PDF…"),
("Print…", "Печать…"),
("Document Setup…", "Настройка документа…"),
+3 -3
View File
@@ -1190,7 +1190,7 @@ pub(super) const TABLE: &[(&str, [&str; 5])] = &[
),
("Color Settings", ["Color Settings", "Réglages des couleurs", "Color Settings", "Color Settings", "颜色设置"]),
("Color:", ["Color:", "Couleur :", "Color:", "Color:", "颜色:"]),
("Columns", ["Columns", "Colonnes", "Columns", "Columns", "栏"]),
("Columns", ["Columns", "Colonnes", "Columnas", "Columns", "栏"]),
("Composer:", ["Composer:", "Compositeur :", "Composer:", "Composer:", "排版器:"]),
("Copies:", ["Copies:", "Copies :", "Copies:", "Copies:", "份数:"]),
("Count", ["Count", "Compter", "Count", "Count", "数量"]),
@@ -1292,7 +1292,7 @@ pub(super) const TABLE: &[(&str, [&str; 5])] = &[
("Generate QR Code", ["Generate QR Code", "Générer un code QR", "Generate QR Code", "Generate QR Code", "生成二维码"]),
("Go To", ["Go To", "Atteindre", "Go To", "Go To", "转到"]),
("Go to Page", ["Go to Page", "Atteindre la page", "Go to Page", "Go to Page", "转到页面"]),
("Gutter", ["Gutter", "Gouttière", "Gutter", "Gutter", "栏间距"]),
("Gutter", ["Gutter", "Gouttière", "Medianil", "Gutter", "栏间距"]),
("Header Rows", ["Header Rows", "Lignes d'en-tête", "Header Rows", "Header Rows", "表头行"]),
("Height", ["Height", "Hauteur", "Height", "Height", "高度"]),
("Height:", ["Height:", "Hauteur :", "Height:", "Height:", "高度:"]),
@@ -3723,7 +3723,7 @@ pub(super) const TABLE: &[(&str, [&str; 5])] = &[
),
("Rotate 180°", ["180° drehen", "Rotation à 180°", "Girar 180°", "180°回転", "旋转 180°"]),
("Rotation Angle", ["Rotation Angle", "Angle de rotation", "Rotation Angle", "Rotation Angle", "旋转角度"]),
("Rows", ["Rows", "Lignes", "Rows", "Rows", "行数"]),
("Rows", ["Rows", "Lignes", "Filas", "Rows", "行数"]),
("Run", ["Run", "Exécuter", "Run", "Run", "运行"]),
("Scale X Percentage", ["Scale X Percentage", "Échelle X en pourcentage", "Scale X Percentage", "Scale X Percentage", "水平缩放百分比"]),
("Scale Y Percentage", ["Scale Y Percentage", "Échelle Y en pourcentage", "Scale Y Percentage", "Scale Y Percentage", "垂直缩放百分比"]),
+22
View File
@@ -249,6 +249,28 @@ fn arrangement_accessible_name_is_localized_in_every_interface_language() {
}
}
/// File › Place Contact Sheet… and its dialog read in every interface language, including those
/// whose own catalog is all `tr` looks in.
#[test]
fn contact_sheet_strings_are_translated_in_every_interface_language() {
let strings = [
"Place Contact Sheet…",
"Place Contact Sheet",
"Place loaded images on new pages, in file order.",
"Columns",
"Rows",
"Gutter",
"Page margin",
];
for (code, name) in LANGUAGES.iter().filter(|(code, _)| !code.is_empty()) {
for s in strings {
let text = tr(code, s);
assert!(text != s && !text.trim().is_empty(), "{name}: {s:?} is still English");
}
}
assert_eq!(["Columns", "Rows", "Gutter"].map(|s| tr("es", s)), ["Columnas", "Filas", "Medianil"]);
}
/// Checks language-specific context precedence and fallback to the plain translation.
#[test]
fn context_captions_come_from_their_context_or_the_plain_translation() {
+4
View File
@@ -26,6 +26,10 @@ pub(super) const TABLE: &[(&str, &str)] = &[
("Save a Copy…", "Зберегти копію…"),
("Revert", "Повернути збережену версію"),
("Place…", "Розмістити…"),
("Place Contact Sheet…", "Розмістити аркуш мініатюр…"),
("Place Contact Sheet", "Розмістити аркуш мініатюр"),
("Place loaded images on new pages, in file order.", "Розмістити завантажені зображення на нових сторінках у порядку файлів."),
("Page margin", "Поле сторінки"),
("Export PDF…", "Експортувати PDF…"),
("Print…", "Друк…"),
("Document Setup…", "Параметри документа…"),