mirror of
https://github.com/storytold/gridcraft.git
synced 2026-10-22 18:22:24 +00:00
Integration: cargo fmt
This commit is contained in:
1 parent
a9a8fe7d20
commit
55aeed6f1a
7 files changed
+26
-7
No files matched your search
@@ -433,7 +433,9 @@ pub(super) fn translate(text: &str) -> Option<&'static str> {
|
||||
"Unhide…" => "Einblenden…",
|
||||
"Select All Sheets" => "Alle Blätter auswählen",
|
||||
"AutoSave" => "AutoSpeichern",
|
||||
"AutoSave: save after every change (workbooks saved to a file)" => "AutoSpeichern: nach jeder Änderung speichern (Arbeitsmappen, die in einer Datei gespeichert sind)",
|
||||
"AutoSave: save after every change (workbooks saved to a file)" => {
|
||||
"AutoSpeichern: nach jeder Änderung speichern (Arbeitsmappen, die in einer Datei gespeichert sind)"
|
||||
}
|
||||
"Previous sheet" => "Vorheriges Blatt",
|
||||
"Next sheet" => "Nächstes Blatt",
|
||||
"All sheets" => "Alle Blätter",
|
||||
|
||||
@@ -451,7 +451,9 @@ pub(super) fn translate(text: &str) -> Option<&'static str> {
|
||||
"Unhide…" => "Mostrar…",
|
||||
"Select All Sheets" => "Seleccionar todas las hojas",
|
||||
"AutoSave" => "Autoguardado",
|
||||
"AutoSave: save after every change (workbooks saved to a file)" => "Autoguardado: guardar después de cada cambio (libros guardados en un archivo)",
|
||||
"AutoSave: save after every change (workbooks saved to a file)" => {
|
||||
"Autoguardado: guardar después de cada cambio (libros guardados en un archivo)"
|
||||
}
|
||||
"Previous sheet" => "Hoja anterior",
|
||||
"Next sheet" => "Hoja siguiente",
|
||||
"All sheets" => "Todas las hojas",
|
||||
|
||||
@@ -421,7 +421,9 @@ pub(super) fn translate(text: &str) -> Option<&'static str> {
|
||||
"Unhide…" => "Afficher…",
|
||||
"Select All Sheets" => "Sélectionner toutes les feuilles",
|
||||
"AutoSave" => "Enregistrement automatique",
|
||||
"AutoSave: save after every change (workbooks saved to a file)" => "Enregistrement automatique : enregistrer après chaque modification (classeurs enregistrés dans un fichier)",
|
||||
"AutoSave: save after every change (workbooks saved to a file)" => {
|
||||
"Enregistrement automatique : enregistrer après chaque modification (classeurs enregistrés dans un fichier)"
|
||||
}
|
||||
"Previous sheet" => "Feuille précédente",
|
||||
"Next sheet" => "Feuille suivante",
|
||||
"All sheets" => "Toutes les feuilles",
|
||||
|
||||
@@ -964,7 +964,9 @@ pub(super) fn translate(text: &str) -> Option<&'static str> {
|
||||
"No Color" => "Sem cor",
|
||||
"Unhide…" => "Reexibir…",
|
||||
"Select All Sheets" => "Selecionar todas as planilhas",
|
||||
"AutoSave: save after every change (workbooks saved to a file)" => "Salvamento automático: salvar após cada alteração (pastas de trabalho salvas em um arquivo)",
|
||||
"AutoSave: save after every change (workbooks saved to a file)" => {
|
||||
"Salvamento automático: salvar após cada alteração (pastas de trabalho salvas em um arquivo)"
|
||||
}
|
||||
"All sheets" => "Todas as planilhas",
|
||||
_ => return None,
|
||||
})
|
||||
|
||||
@@ -421,7 +421,9 @@ pub(super) fn translate(text: &str) -> Option<&'static str> {
|
||||
"Unhide…" => "Показать…",
|
||||
"Select All Sheets" => "Выделить все листы",
|
||||
"AutoSave" => "Автосохранение",
|
||||
"AutoSave: save after every change (workbooks saved to a file)" => "Автосохранение: сохранять после каждого изменения (книги, сохранённые в файл)",
|
||||
"AutoSave: save after every change (workbooks saved to a file)" => {
|
||||
"Автосохранение: сохранять после каждого изменения (книги, сохранённые в файл)"
|
||||
}
|
||||
"Previous sheet" => "Предыдущий лист",
|
||||
"Next sheet" => "Следующий лист",
|
||||
"All sheets" => "Все листы",
|
||||
|
||||
@@ -419,7 +419,9 @@ pub(super) fn translate(text: &str) -> Option<&'static str> {
|
||||
"Unhide…" => "Прикажи…",
|
||||
"Select All Sheets" => "Изабери све листове",
|
||||
"AutoSave" => "Аутоматско чување",
|
||||
"AutoSave: save after every change (workbooks saved to a file)" => "Аутоматско чување: сачувај после сваке измене (свеске сачуване у датотеку)",
|
||||
"AutoSave: save after every change (workbooks saved to a file)" => {
|
||||
"Аутоматско чување: сачувај после сваке измене (свеске сачуване у датотеку)"
|
||||
}
|
||||
"Previous sheet" => "Претходни лист",
|
||||
"Next sheet" => "Следећи лист",
|
||||
"All sheets" => "Сви листови",
|
||||
|
||||
@@ -202,7 +202,14 @@ pub fn sheet_tabs(app: &mut SheetApp, ui: &mut Ui) {
|
||||
}
|
||||
ui.separator();
|
||||
let protected = app.active_sheet_protected();
|
||||
if ui.button(if protected { app.ui.language.tr("Unprotect Sheet…") } else { app.ui.language.tr("Protect Sheet…") }).clicked() {
|
||||
if ui
|
||||
.button(if protected {
|
||||
app.ui.language.tr("Unprotect Sheet…")
|
||||
} else {
|
||||
app.ui.language.tr("Protect Sheet…")
|
||||
})
|
||||
.clicked()
|
||||
{
|
||||
app.open_dialog("protectSheet", json!({}));
|
||||
}
|
||||
if ui.button(app.ui.language.tr("Select All Sheets")).clicked() {
|
||||
|
||||
Reference in new issue
Block a user