diff --git a/src/Filee.App/Assets/i18n/ar.json b/src/Filee.App/Assets/i18n/ar.json index d1a8bd826..15dc840ff 100644 --- a/src/Filee.App/Assets/i18n/ar.json +++ b/src/Filee.App/Assets/i18n/ar.json @@ -497,6 +497,7 @@ "update.install": "تحديث", "update.notice_text_portable": "هذه هي النسخة المحمولة.\nنزّل ملف ZIP الجديد وفك ضغطه فوق هذا المجلد. ستُحفَظ إعداداتك.", "update.downloading": "جارٍ تنزيل التحديث… {0}%", + "update.downloading_short": "جارٍ التنزيل… {0}%", "update.installing_short": "جارٍ التحديث…", "update.installing": "أداة التثبيت قيد التشغيل. سيبدأ Filee مجددًا عند اكتمالها.", "update.failed": "تعذّر التحديث تلقائيًا. نزّل الإصدار الجديد من filee.sh.", diff --git a/src/Filee.App/Assets/i18n/de.json b/src/Filee.App/Assets/i18n/de.json index 1174b4fe6..e611705a9 100644 --- a/src/Filee.App/Assets/i18n/de.json +++ b/src/Filee.App/Assets/i18n/de.json @@ -497,6 +497,7 @@ "update.install": "Aktualisieren", "update.notice_text_portable": "Dies ist die portable Version.\nLade die neue ZIP-Datei herunter und entpacke sie in diesen Ordner. Ersetze dabei die vorhandenen Programmdateien. Deine Einstellungen bleiben erhalten.", "update.downloading": "Update wird heruntergeladen… {0}%", + "update.downloading_short": "Wird heruntergeladen… {0}%", "update.installing_short": "Wird aktualisiert…", "update.installing": "Das Installationsprogramm läuft. Filee startet danach erneut.", "update.failed": "Automatisches Update fehlgeschlagen. Lade die neue Version von filee.sh herunter.", diff --git a/src/Filee.App/Assets/i18n/en.json b/src/Filee.App/Assets/i18n/en.json index 5d830e6d1..2a16fcb79 100644 --- a/src/Filee.App/Assets/i18n/en.json +++ b/src/Filee.App/Assets/i18n/en.json @@ -509,6 +509,7 @@ "update.install": "Update", "update.notice_text_portable": "This is the portable version.\nDownload the new zip and unpack it over this folder. Your settings are kept.", "update.downloading": "Downloading the update… {0}%", + "update.downloading_short": "Downloading… {0}%", "update.installing_short": "Updating…", "update.installing": "The installer is running. Filee starts again when it is done.", "update.failed": "Couldn't update automatically. Download the new version from filee.sh.", diff --git a/src/Filee.App/Assets/i18n/es.json b/src/Filee.App/Assets/i18n/es.json index 9e2348c63..b838f7ffe 100644 --- a/src/Filee.App/Assets/i18n/es.json +++ b/src/Filee.App/Assets/i18n/es.json @@ -497,6 +497,7 @@ "update.install": "Actualizar", "update.notice_text_portable": "Esta es la versión portátil.\nDescarga el ZIP nuevo y descomprímelo sobre esta carpeta. Tus ajustes se conservan.", "update.downloading": "Descargando la actualización… {0}%", + "update.downloading_short": "Descargando… {0}%", "update.installing_short": "Actualizando…", "update.installing": "El instalador se está ejecutando. Filee se reinicia cuando termina.", "update.failed": "No se pudo actualizar automáticamente. Descarga la versión nueva en filee.sh.", diff --git a/src/Filee.App/Assets/i18n/fr.json b/src/Filee.App/Assets/i18n/fr.json index b3b7579c7..308664e5e 100644 --- a/src/Filee.App/Assets/i18n/fr.json +++ b/src/Filee.App/Assets/i18n/fr.json @@ -509,6 +509,7 @@ "update.install": "Mettre à jour", "update.notice_text_portable": "Ceci est la version portable.\nTéléchargez le nouveau zip et décompressez-le par-dessus ce dossier. Vos paramètres sont conservés.", "update.downloading": "Téléchargement de la mise à jour… {0} %", + "update.downloading_short": "Téléchargement… {0} %", "update.installing_short": "Mise à jour…", "update.installing": "Le programme d'installation est en cours. Filee redémarre une fois terminé.", "update.failed": "Impossible de mettre à jour automatiquement. Téléchargez la nouvelle version sur filee.sh.", diff --git a/src/Filee.App/Assets/i18n/hi.json b/src/Filee.App/Assets/i18n/hi.json index 869935bf1..852136162 100644 --- a/src/Filee.App/Assets/i18n/hi.json +++ b/src/Filee.App/Assets/i18n/hi.json @@ -497,6 +497,7 @@ "update.install": "अपडेट करें", "update.notice_text_portable": "यह पोर्टेबल संस्करण है।\nनई zip डाउनलोड करें और इसे इस फ़ोल्डर के ऊपर खोलें। आपकी सेटिंग्स बनी रहेंगी।", "update.downloading": "अपडेट डाउनलोड हो रहा है… {0}%", + "update.downloading_short": "डाउनलोड हो रहा है… {0}%", "update.installing_short": "अपडेट हो रहा है…", "update.installing": "इंस्टॉलर चल रहा है। पूरा होने पर Filee फिर शुरू हो जाएगा।", "update.failed": "अपने-आप अपडेट नहीं हो सका। नया संस्करण filee.sh से डाउनलोड करें।", diff --git a/src/Filee.App/Assets/i18n/it.json b/src/Filee.App/Assets/i18n/it.json index 61785112e..e62e8ea73 100644 --- a/src/Filee.App/Assets/i18n/it.json +++ b/src/Filee.App/Assets/i18n/it.json @@ -497,6 +497,7 @@ "update.install": "Aggiorna", "update.notice_text_portable": "Questa è la versione portatile.\\nScarica il nuovo zip e decomprimilo sopra questa cartella. Le tue impostazioni vengono conservate.", "update.downloading": "Download dell'aggiornamento… {0}%", +"update.downloading_short": "Download in corso… {0}%", "update.installing_short": "Installazione…", "update.installing": "Il programma di installazione è in esecuzione. Filee riparte al termine.", "update.failed": "Impossibile aggiornare automaticamente. Scarica la nuova versione da filee.sh.", diff --git a/src/Filee.App/Assets/i18n/ja.json b/src/Filee.App/Assets/i18n/ja.json index aee1366bf..b007d5fef 100644 --- a/src/Filee.App/Assets/i18n/ja.json +++ b/src/Filee.App/Assets/i18n/ja.json @@ -497,6 +497,7 @@ "update.install": "更新", "update.notice_text_portable": "これはポータブル版です。\n新しいZIPをダウンロードし、このフォルダーに上書き展開してください。設定はそのまま引き継がれます。", "update.downloading": "更新をダウンロード中…{0}%", + "update.downloading_short": "ダウンロード中…{0}%", "update.installing_short": "更新中…", "update.installing": "インストーラーを実行中です。完了するとFileeが再起動します。", "update.failed": "自動更新に失敗しました。filee.shから新しいバージョンをダウンロードしてください。", diff --git a/src/Filee.App/Assets/i18n/ko.json b/src/Filee.App/Assets/i18n/ko.json index 7dfc6859f..04f70f332 100644 --- a/src/Filee.App/Assets/i18n/ko.json +++ b/src/Filee.App/Assets/i18n/ko.json @@ -509,6 +509,7 @@ "update.install": "업데이트", "update.notice_text_portable": "휴대용 버전이라 새 zip을 받아서 지금 폴더에 덮어 풀어야 해요.\n설정은 그대로 남아요.", "update.downloading": "새 버전 받는 중… {0}%", + "update.downloading_short": "받는 중… {0}%", "update.installing_short": "업데이트 중…", "update.installing": "설치 프로그램이 열렸어요. 설치가 끝나면 Filee가 다시 켜져요.", "update.failed": "자동 업데이트가 안 됐어요. filee.sh에서 새 버전을 받아 주세요.", diff --git a/src/Filee.App/Assets/i18n/ne.json b/src/Filee.App/Assets/i18n/ne.json index 863b5719a..45fed94ed 100644 --- a/src/Filee.App/Assets/i18n/ne.json +++ b/src/Filee.App/Assets/i18n/ne.json @@ -497,6 +497,7 @@ "update.install": "अपडेट गर्नुहोस्", "update.notice_text_portable": "यो पोर्टेबल संस्करण हो।\nनयाँ zip डाउनलोड गर्नुहोस् र यसलाई यस फोल्डरमा अनप्याक गर्नुहोस्। तपाईंका सेटिङहरू यथावत रहनेछन्।", "update.downloading": "अपडेट डाउनलोड हुँदैछ… {0}%", + "update.downloading_short": "डाउनलोड हुँदैछ… {0}%", "update.installing_short": "अपडेट हुँदैछ…", "update.installing": "स्थापनाकर्ता चलिरहेको छ। पूरा भएपछि Filee फेरि सुरु हुनेछ।", "update.failed": "स्वचालित रूपमा अपडेट गर्न सकिएन। नयाँ संस्करण filee.sh बाट डाउनलोड गर्नुहोस्।", diff --git a/src/Filee.App/Assets/i18n/pl.json b/src/Filee.App/Assets/i18n/pl.json index b5d4655ae..f9d8bc5bc 100644 --- a/src/Filee.App/Assets/i18n/pl.json +++ b/src/Filee.App/Assets/i18n/pl.json @@ -509,6 +509,7 @@ "update.install": "Aktualizuj", "update.notice_text_portable": "To wersja przenośna.\nPobierz nowy plik zip i rozpakuj go do tego folderu. Ustawienia zostaną zachowane.", "update.downloading": "Pobieranie aktualizacji… {0}%", + "update.downloading_short": "Pobieranie… {0}%", "update.installing_short": "Aktualizowanie…", "update.installing": "Instalator działa. Filee uruchomi się ponownie po zakończeniu.", "update.failed": "Nie udało się zaktualizować automatycznie. Pobierz nową wersję z filee.sh.", diff --git a/src/Filee.App/Assets/i18n/pt-BR.json b/src/Filee.App/Assets/i18n/pt-BR.json index 3b71dde2b..d7bd76a85 100644 --- a/src/Filee.App/Assets/i18n/pt-BR.json +++ b/src/Filee.App/Assets/i18n/pt-BR.json @@ -509,6 +509,7 @@ "update.install": "Atualizar", "update.notice_text_portable": "Esta é a versão portátil.\nBaixe o novo zip e descompacte por cima desta pasta. Suas configurações são mantidas.", "update.downloading": "Baixando a atualização… {0}%", + "update.downloading_short": "Baixando… {0}%", "update.installing_short": "Atualizando…", "update.installing": "O instalador está em execução. O Filee inicia de novo quando terminar.", "update.failed": "Não foi possível atualizar automaticamente. Baixe a nova versão em filee.sh.", diff --git a/src/Filee.App/Assets/i18n/pt-PT.json b/src/Filee.App/Assets/i18n/pt-PT.json index 02b35f299..b50fd59fd 100644 --- a/src/Filee.App/Assets/i18n/pt-PT.json +++ b/src/Filee.App/Assets/i18n/pt-PT.json @@ -509,6 +509,7 @@ "update.install": "Atualizar", "update.notice_text_portable": "Esta é a versão portátil.\nDescarrega o novo ZIP e extrai-o para esta pasta, substituindo os ficheiros. As tuas definições são mantidas.", "update.downloading": "A descarregar a atualização… {0}%", + "update.downloading_short": "A descarregar… {0}%", "update.installing_short": "A atualizar…", "update.installing": "O instalador está em execução. O Filee volta a abrir quando terminar.", "update.failed": "Não foi possível atualizar automaticamente. Descarrega a nova versão em filee.sh.", diff --git a/src/Filee.App/Assets/i18n/ru.json b/src/Filee.App/Assets/i18n/ru.json index f40c05526..6f1ce9adb 100644 --- a/src/Filee.App/Assets/i18n/ru.json +++ b/src/Filee.App/Assets/i18n/ru.json @@ -509,6 +509,7 @@ "update.install": "Обновить", "update.notice_text_portable": "Это портативная версия.\nСкачайте новый zip и распакуйте его поверх этой папки. Настройки сохранятся.", "update.downloading": "Скачиваем обновление… {0}%", + "update.downloading_short": "Скачиваем… {0}%", "update.installing_short": "Обновляем…", "update.installing": "Идёт установка. Когда она закончится, Filee запустится снова.", "update.failed": "Не удалось обновиться автоматически. Скачайте новую версию с filee.sh.", diff --git a/src/Filee.App/Assets/i18n/th.json b/src/Filee.App/Assets/i18n/th.json index 9f5247cbc..c047d1766 100644 --- a/src/Filee.App/Assets/i18n/th.json +++ b/src/Filee.App/Assets/i18n/th.json @@ -497,6 +497,7 @@ "update.install": "อัปเดต", "update.notice_text_portable": "นี่คือเวอร์ชันพกพา (Portable)\nดาวน์โหลดไฟล์ zip ใหม่แล้วแตกไฟล์ทับโฟลเดอร์นี้ การตั้งค่าของคุณจะยังคงอยู่ครบถ้วน", "update.downloading": "กำลังดาวน์โหลดการอัปเดต… {0}%", + "update.downloading_short": "กำลังดาวน์โหลด… {0}%", "update.installing_short": "กำลังอัปเดต…", "update.installing": "ตัวติดตั้งกำลังทำงาน Filee จะเปิดใหม่อีกครั้งเมื่อเสร็จสิ้น", "update.failed": "ไม่สามารถอัปเดตอัตโนมัติได้ ดาวน์โหลดเวอร์ชันใหม่ได้ที่ filee.sh", diff --git a/src/Filee.App/Assets/i18n/tr.json b/src/Filee.App/Assets/i18n/tr.json index 869d074cd..0b195c35a 100644 --- a/src/Filee.App/Assets/i18n/tr.json +++ b/src/Filee.App/Assets/i18n/tr.json @@ -497,6 +497,7 @@ "update.install": "Güncelle", "update.notice_text_portable": "Bu taşınabilir sürümdür.\nYeni ZIP'i indirip bu klasörün üzerine çıkarın. Ayarlarınız korunur.", "update.downloading": "Güncelleme indiriliyor… %{0}", + "update.downloading_short": "İndiriliyor… %{0}", "update.installing_short": "Güncelleniyor…", "update.installing": "Kurulum çalışıyor. Tamamlanınca Filee yeniden açılır.", "update.failed": "Otomatik güncelleme yapılamadı. Yeni sürümü filee.sh adresinden indirin.", diff --git a/src/Filee.App/Assets/i18n/zh-CN.json b/src/Filee.App/Assets/i18n/zh-CN.json index cba60602e..a048a323f 100644 --- a/src/Filee.App/Assets/i18n/zh-CN.json +++ b/src/Filee.App/Assets/i18n/zh-CN.json @@ -509,6 +509,7 @@ "update.install": "更新", "update.notice_text_portable": "这是便携版,请下载新的 zip 并解压覆盖当前文件夹,设置会保留。", "update.downloading": "正在下载更新… {0}%", + "update.downloading_short": "正在下载… {0}%", "update.installing_short": "正在更新…", "update.installing": "安装程序正在运行,完成后 Filee 会重新启动。", "update.failed": "无法自动更新,请从 filee.sh 下载新版本。", diff --git a/src/Filee.App/Assets/i18n/zh-TW.json b/src/Filee.App/Assets/i18n/zh-TW.json index 7e3ccaa5c..51c831d80 100644 --- a/src/Filee.App/Assets/i18n/zh-TW.json +++ b/src/Filee.App/Assets/i18n/zh-TW.json @@ -509,6 +509,7 @@ "update.install": "更新", "update.notice_text_portable": "這是可攜版,請下載新的 zip 並解壓縮覆蓋當前資料夾,設定會保留。", "update.downloading": "正在下載更新… {0}%", + "update.downloading_short": "正在下載… {0}%", "update.installing_short": "正在更新…", "update.installing": "安裝程式正在執行,完成後 Filee 會重新啟動。", "update.failed": "無法自動更新,請從 filee.sh 下載新版本。", diff --git a/src/Filee.App/Services/UpdateTexts.cs b/src/Filee.App/Services/UpdateTexts.cs index ac23802e4..2dc978e1c 100644 --- a/src/Filee.App/Services/UpdateTexts.cs +++ b/src/Filee.App/Services/UpdateTexts.cs @@ -12,10 +12,13 @@ public static class UpdateTexts /// What the update button does, for the notice and tooltips. public static string HowKey => UpdateService.IsInstalled ? "update.notice_text" : "update.notice_text_portable"; - /// Short label for the sidebar button and the tray menu ("Update to 1.4.0", "Downloading… 42%"). + /// + /// Short label for the sidebar button and the tray menu ("Update to 1.4.0", "Downloading… 42%"). The download has a + /// key of its own, without the article of the full sentence that shows. + /// public static string Short(UpdateService updates, ILocalizer loc) => updates.Step switch { - UpdateStep.Downloading => loc.Format("update.downloading", updates.DownloadPercent), + UpdateStep.Downloading => loc.Format("update.downloading_short", updates.DownloadPercent), UpdateStep.Installing => loc["update.installing_short"], _ => updates.LatestVersion is { } latest ? loc.Format("update.sidebar", latest) : "", };