diff --git a/crates/ui-egui/src/i18n.rs b/crates/ui-egui/src/i18n.rs index bbaf71e8b..eae37a494 100644 --- a/crates/ui-egui/src/i18n.rs +++ b/crates/ui-egui/src/i18n.rs @@ -9,9 +9,9 @@ use serde::{Deserialize, Serialize}; +mod cs; mod de; mod es; -mod cs; mod ko; mod pt; mod ru; diff --git a/crates/ui-egui/src/i18n/cs.rs b/crates/ui-egui/src/i18n/cs.rs index 5b56b209e..f8605b54f 100644 --- a/crates/ui-egui/src/i18n/cs.rs +++ b/crates/ui-egui/src/i18n/cs.rs @@ -184,6 +184,78 @@ pub(super) fn translate(text: &str) -> Option<&'static str> { "Gridlines" => "Mřížka", "Headings" => "Záhlaví", "Zoom" => "Lupa", + "Checkbox" => "Zaškrtávací políčko", + "Insert checkboxes in the selected cells" => "Vložit zaškrtávací políčka do vybraných buněk", + "Sheet\nRight-to-Left" => "List zprava\ndoleva", + "Sheet Right-to-Left" => "List zprava doleva", + "Data\nAnalysis" => "Analýza\ndat", + "Data Analysis" => "Analýza dat", + "Solver" => "Řešitel", + "Allow Edit\nRanges" => "Povolit úpravy\noblastí", + "Allow Edit Ranges" => "Povolit úpravy oblastí", + "Interface size" => "Velikost rozhraní", + "Auto" => "Automaticky", + "Drag to freeze columns" => "Přetažením ukotvíte sloupce", + "Drag to freeze rows" => "Přetažením ukotvíte řádky", + "Select\nData" => "Vybrat\ndata", + "File" => "Soubor", + "Back" => "Zpět", + "New" => "Nový", + "Open" => "Otevřít", + "Info" => "Informace", + "Save" => "Uložit", + "Save As" => "Uložit jako", + "Export" => "Exportovat", + "Close" => "Zavřít", + "Options" => "Možnosti", + "Blank workbook" => "Prázdný sešit", + "Recent" => "Naposledy použité", + "No recent workbooks yet." => "Zatím žádné naposledy použité sešity.", + "More workbooks" => "Další sešity", + "Browse…" => "Procházet…", + "Not saved yet" => "Zatím neuloženo", + "Location" => "Umístění", + "Sheets" => "Listy", + "Protect Workbook" => "Zamknout sešit", + "Sheet structure is locked: sheets can't be added, moved, renamed or deleted." => { + "Struktura listů je zamčená: listy nelze přidávat, přesouvat, přejmenovávat ani odstraňovat." + } + "Lock the sheet structure so sheets can't be added, moved, renamed or deleted." => { + "Zamkne strukturu listů, aby listy nebylo možné přidávat, přesouvat, přejmenovávat ani odstraňovat." + } + "Properties" => "Vlastnosti", + "Title" => "Název", + "Subject" => "Předmět", + "Author" => "Autor", + "Company" => "Společnost", + "Keywords" => "Klíčová slova", + "Description" => "Popis", + "No workbook is open." => "Není otevřený žádný sešit.", + "Save the workbook under another name or in another folder." => "Uloží sešit pod jiným názvem nebo do jiné složky.", + "Download (.xlsx)" => "Stáhnout (.xlsx)", + "PDF, CSV and web pages are on the Export page." => "PDF, CSV a webové stránky najdete na stránce Exportovat.", + "Print Active Sheets" => "Vytisknout aktivní listy", + "Print Entire Workbook" => "Vytisknout celý sešit", + "Fit Sheet on One Page" => "Přizpůsobit list na jednu stránku", + "Page Setup…" => "Vzhled stránky…", + "Page {page} of {pages}" => "Stránka {page} z {pages}", + "Nothing to print." => "Není co tisknout.", + "Previous page" => "Předchozí stránka", + "Next page" => "Další stránka", + "Create PDF" => "Vytvořit PDF", + "Save the sheet as a PDF document that keeps its page layout." => "Uloží list jako dokument PDF se zachováním rozložení stránky.", + "Change File Type" => "Změnit typ souboru", + "CSV (Comma delimited)" => "CSV (oddělený čárkami)", + "Save the active sheet as comma-separated text." => "Uloží aktivní list jako text oddělený čárkami.", + "Web Page (.html)" => "Webová stránka (.html)", + "Save the workbook as a web page." => "Uloží sešit jako webovou stránku.", + "Options|General" => "Obecné", + "Options|Save" => "Uložit", + "Show formula bar" => "Zobrazit řádek vzorců", + "Save .xlsx workbooks automatically after every change" => "Automaticky ukládat sešity .xlsx po každé změně", + "Workbook calculation" => "Výpočet sešitu", + "Enable iterative calculation" => "Povolit iterativní výpočet", + "Calculation settings are saved with the workbook." => "Nastavení výpočtů se ukládá se sešitem.", "100%" => "100 %", "Zoom to\nSelection" => "Přiblížit\nna výběr", "Freeze\nPanes" => "Ukotvit\npříčky", diff --git a/crates/ui-egui/src/i18n/de.rs b/crates/ui-egui/src/i18n/de.rs index 5640187da..e0f350884 100644 --- a/crates/ui-egui/src/i18n/de.rs +++ b/crates/ui-egui/src/i18n/de.rs @@ -184,6 +184,78 @@ pub(super) fn translate(text: &str) -> Option<&'static str> { "Gridlines" => "Gitternetzlinien", "Headings" => "Überschriften", "Zoom" => "Zoom", + "Checkbox" => "Kontrollkästchen", + "Insert checkboxes in the selected cells" => "Kontrollkästchen in die ausgewählten Zellen einfügen", + "Sheet\nRight-to-Left" => "Blatt von rechts\nnach links", + "Sheet Right-to-Left" => "Blatt von rechts nach links", + "Data\nAnalysis" => "Daten-\nanalyse", + "Data Analysis" => "Datenanalyse", + "Solver" => "Solver", + "Allow Edit\nRanges" => "Bearbeiten von\nBereichen zulassen", + "Allow Edit Ranges" => "Bearbeiten von Bereichen zulassen", + "Drag to freeze columns" => "Ziehen, um Spalten zu fixieren", + "Drag to freeze rows" => "Ziehen, um Zeilen zu fixieren", + "Select\nData" => "Daten\nauswählen", + "File" => "Datei", + "Back" => "Zurück", + "New" => "Neu", + "Open" => "Öffnen", + "Info" => "Informationen", + "Save" => "Speichern", + "Save As" => "Speichern unter", + "Export" => "Exportieren", + "Close" => "Schließen", + "Options" => "Optionen", + "Blank workbook" => "Leere Arbeitsmappe", + "Recent" => "Zuletzt verwendet", + "No recent workbooks yet." => "Noch keine zuletzt verwendeten Arbeitsmappen.", + "More workbooks" => "Weitere Arbeitsmappen", + "Browse…" => "Durchsuchen…", + "Not saved yet" => "Noch nicht gespeichert", + "Location" => "Speicherort", + "Sheets" => "Blätter", + "Protect Workbook" => "Arbeitsmappe schützen", + "Sheet structure is locked: sheets can't be added, moved, renamed or deleted." => { + "Die Blattstruktur ist gesperrt: Blätter können nicht hinzugefügt, verschoben, umbenannt oder gelöscht werden." + } + "Lock the sheet structure so sheets can't be added, moved, renamed or deleted." => { + "Sperrt die Blattstruktur, sodass Blätter nicht hinzugefügt, verschoben, umbenannt oder gelöscht werden können." + } + "Properties" => "Eigenschaften", + "Title" => "Titel", + "Subject" => "Thema", + "Author" => "Autor", + "Company" => "Firma", + "Keywords" => "Stichwörter", + "Description" => "Beschreibung", + "No workbook is open." => "Es ist keine Arbeitsmappe geöffnet.", + "Save the workbook under another name or in another folder." => { + "Speichert die Arbeitsmappe unter einem anderen Namen oder in einem anderen Ordner." + } + "Download (.xlsx)" => "Herunterladen (.xlsx)", + "PDF, CSV and web pages are on the Export page." => "PDF, CSV und Webseiten finden Sie auf der Seite „Exportieren“.", + "Print Active Sheets" => "Aktive Blätter drucken", + "Print Entire Workbook" => "Gesamte Arbeitsmappe drucken", + "Fit Sheet on One Page" => "Blatt auf einer Seite darstellen", + "Page Setup…" => "Seite einrichten…", + "Page {page} of {pages}" => "Seite {page} von {pages}", + "Nothing to print." => "Nichts zu drucken.", + "Previous page" => "Vorherige Seite", + "Next page" => "Nächste Seite", + "Create PDF" => "PDF erstellen", + "Save the sheet as a PDF document that keeps its page layout." => "Speichert das Blatt als PDF-Dokument mit unverändertem Seitenlayout.", + "Change File Type" => "Dateityp ändern", + "CSV (Comma delimited)" => "CSV (Trennzeichen-getrennt)", + "Save the active sheet as comma-separated text." => "Speichert das aktive Blatt als durch Kommas getrennten Text.", + "Web Page (.html)" => "Webseite (.html)", + "Save the workbook as a web page." => "Speichert die Arbeitsmappe als Webseite.", + "Options|General" => "Allgemein", + "Options|Save" => "Speichern", + "Show formula bar" => "Bearbeitungsleiste anzeigen", + "Save .xlsx workbooks automatically after every change" => ".xlsx-Arbeitsmappen nach jeder Änderung automatisch speichern", + "Workbook calculation" => "Arbeitsmappenberechnung", + "Enable iterative calculation" => "Iterative Berechnung aktivieren", + "Calculation settings are saved with the workbook." => "Berechnungseinstellungen werden mit der Arbeitsmappe gespeichert.", "Interface size" => "Größe der Benutzeroberfläche", "Auto" => "Automatisch", "100%" => "100%", diff --git a/crates/ui-egui/src/i18n/es.rs b/crates/ui-egui/src/i18n/es.rs index 18a30ab24..fe6f36873 100644 --- a/crates/ui-egui/src/i18n/es.rs +++ b/crates/ui-egui/src/i18n/es.rs @@ -185,6 +185,76 @@ pub(super) fn translate(text: &str) -> Option<&'static str> { "Gridlines" => "Líneas de cuadrícula", "Headings" => "Encabezados", "Zoom" => "Zoom", + "Checkbox" => "Casilla", + "Insert checkboxes in the selected cells" => "Insertar casillas en las celdas seleccionadas", + "Sheet\nRight-to-Left" => "Hoja de derecha\na izquierda", + "Sheet Right-to-Left" => "Hoja de derecha a izquierda", + "Data\nAnalysis" => "Análisis\nde datos", + "Data Analysis" => "Análisis de datos", + "Solver" => "Solver", + "Allow Edit\nRanges" => "Permitir editar\nrangos", + "Allow Edit Ranges" => "Permitir editar rangos", + "Drag to freeze columns" => "Arrastrar para inmovilizar columnas", + "Drag to freeze rows" => "Arrastrar para inmovilizar filas", + "Select\nData" => "Seleccionar\ndatos", + "File" => "Archivo", + "Back" => "Atrás", + "New" => "Nuevo", + "Open" => "Abrir", + "Info" => "Información", + "Save" => "Guardar", + "Save As" => "Guardar como", + "Export" => "Exportar", + "Close" => "Cerrar", + "Options" => "Opciones", + "Blank workbook" => "Libro en blanco", + "Recent" => "Recientes", + "No recent workbooks yet." => "Todavía no hay libros recientes.", + "More workbooks" => "Más libros", + "Browse…" => "Examinar…", + "Not saved yet" => "Aún no se ha guardado", + "Location" => "Ubicación", + "Sheets" => "Hojas", + "Protect Workbook" => "Proteger libro", + "Sheet structure is locked: sheets can't be added, moved, renamed or deleted." => { + "La estructura de hojas está bloqueada: no se pueden agregar, mover, cambiar de nombre ni eliminar hojas." + } + "Lock the sheet structure so sheets can't be added, moved, renamed or deleted." => { + "Bloquea la estructura de hojas para que no se puedan agregar, mover, cambiar de nombre ni eliminar hojas." + } + "Properties" => "Propiedades", + "Title" => "Título", + "Subject" => "Asunto", + "Author" => "Autor", + "Company" => "Organización", + "Keywords" => "Palabras clave", + "Description" => "Descripción", + "No workbook is open." => "No hay ningún libro abierto.", + "Save the workbook under another name or in another folder." => "Guarda el libro con otro nombre o en otra carpeta.", + "Download (.xlsx)" => "Descargar (.xlsx)", + "PDF, CSV and web pages are on the Export page." => "PDF, CSV y páginas web están en la página Exportar.", + "Print Active Sheets" => "Imprimir hojas activas", + "Print Entire Workbook" => "Imprimir todo el libro", + "Fit Sheet on One Page" => "Ajustar hoja en una página", + "Page Setup…" => "Configurar página…", + "Page {page} of {pages}" => "Página {page} de {pages}", + "Nothing to print." => "No hay nada que imprimir.", + "Previous page" => "Página anterior", + "Next page" => "Página siguiente", + "Create PDF" => "Crear PDF", + "Save the sheet as a PDF document that keeps its page layout." => "Guarda la hoja como documento PDF conservando el diseño de página.", + "Change File Type" => "Cambiar el tipo de archivo", + "CSV (Comma delimited)" => "CSV (delimitado por comas)", + "Save the active sheet as comma-separated text." => "Guarda la hoja activa como texto separado por comas.", + "Web Page (.html)" => "Página web (.html)", + "Save the workbook as a web page." => "Guarda el libro como página web.", + "Options|General" => "General", + "Options|Save" => "Guardar", + "Show formula bar" => "Mostrar barra de fórmulas", + "Save .xlsx workbooks automatically after every change" => "Guardar automáticamente los libros .xlsx tras cada cambio", + "Workbook calculation" => "Cálculo del libro", + "Enable iterative calculation" => "Habilitar cálculo iterativo", + "Calculation settings are saved with the workbook." => "La configuración de cálculo se guarda con el libro.", "Interface size" => "Tamaño de la interfaz", "Auto" => "Automático", "100%" => "100%", diff --git a/crates/ui-egui/tests/system_theme.rs b/crates/ui-egui/tests/system_theme.rs index a0a6b007d..73a4f194c 100644 --- a/crates/ui-egui/tests/system_theme.rs +++ b/crates/ui-egui/tests/system_theme.rs @@ -178,9 +178,10 @@ fn title_bar_switch_and_file_menu_choose_the_theme() { h.run_steps(2); assert_appearance(&h, false); + // File opens Backstage; its Options page holds the Office Theme choice (#331). h.get_by_label("File").click(); h.run_steps(3); - h.get_by_label("Display theme ⏵").click(); + h.get_by_label("Options").click(); h.run_steps(3); h.get_by_label("System").click(); h.run_steps(3);