Skip to content

Open-source download manager & offline media toolbox for YouTube, music, social media, learning platforms & 1,800+ sites. Built with Tauri 2.0, Rust & Svelte.

feat: add confirmation dialog translations for ongoing downloads and search placeholder in settings

Tonhoe4aaf4d11bb1
diff --git a/src/lib/i18n/el.json b/src/lib/i18n/el.json
index 420b0366..f1029b47 100644
--- a/src/lib/i18n/el.json
+++ b/src/lib/i18n/el.json
@@ -1,4 +1,10 @@
{
+ "confirm_close": {
+ "title": "Λήψεις σε εξέλιξη",
+ "message": "Έχετε {{count}} ενεργή(ες) λήψη(εις). Το κλείσιμο τώρα θα τις ακυρώσει.",
+ "cancel": "Συνέχεια",
+ "confirm": "Κλείσιμο ούτως ή άλλως"
+ },
"nav": {
"home": "Αρχική",
"downloads": "Λήψεις",
@@ -228,7 +234,8 @@
"cat_shortcuts": "Συντομευσεις",
"cat_network": "Δικτυο",
"cat_tools": "Εργαλεια",
- "cat_advanced": "Προχωρημενα"
+ "cat_advanced": "Προχωρημενα",
+ "search_placeholder": "Αναζήτηση ρυθμίσεων..."
},
"omnibox": {
"placeholder": "Επικόλληση διεύθυνσης URL ή αναζήτηση",
diff --git a/src/lib/i18n/en.json b/src/lib/i18n/en.json
index f5a32822..3e4b1fc8 100644
--- a/src/lib/i18n/en.json
+++ b/src/lib/i18n/en.json
@@ -1,4 +1,10 @@
{
+ "confirm_close": {
+ "title": "Downloads in progress",
+ "message": "You have {{count}} active download(s). Closing now will cancel them.",
+ "cancel": "Keep running",
+ "confirm": "Close anyway"
+ },
"nav": {
"home": "Home",
"downloads": "Downloads",
diff --git a/src/lib/i18n/fr.json b/src/lib/i18n/fr.json
index 2d0f1f53..eed13c68 100644
--- a/src/lib/i18n/fr.json
+++ b/src/lib/i18n/fr.json
@@ -1,4 +1,10 @@
{
+ "confirm_close": {
+ "title": "Téléchargements en cours",
+ "message": "Vous avez {{count}} téléchargement(s) actif(s). Fermer maintenant va les annuler.",
+ "cancel": "Continuer",
+ "confirm": "Fermer quand même"
+ },
"nav": {
"home": "Accueil",
"downloads": "Téléchargements",
@@ -228,7 +234,8 @@
"cat_shortcuts": "Raccourcis",
"cat_network": "Reseau",
"cat_tools": "Outils",
- "cat_advanced": "Avance"
+ "cat_advanced": "Avance",
+ "search_placeholder": "Rechercher des paramètres..."
},
"omnibox": {
"placeholder": "Collez une URL ou recherchez",
diff --git a/src/lib/i18n/it.json b/src/lib/i18n/it.json
index ceb05f54..79148085 100644
--- a/src/lib/i18n/it.json
+++ b/src/lib/i18n/it.json
@@ -1,4 +1,10 @@
{
+ "confirm_close": {
+ "title": "Download in corso",
+ "message": "Hai {{count}} download attivi. Chiudere ora li annullerà.",
+ "cancel": "Continua",
+ "confirm": "Chiudi comunque"
+ },
"nav": {
"home": "Home",
"downloads": "Download",
@@ -228,7 +234,8 @@
"cat_shortcuts": "Scorciatoie",
"cat_network": "Rete",
"cat_tools": "Strumenti",
- "cat_advanced": "Avanzato"
+ "cat_advanced": "Avanzato",
+ "search_placeholder": "Cerca impostazioni..."
},
"omnibox": {
"placeholder": "Incolla un URL o cerca",
diff --git a/src/lib/i18n/ja.json b/src/lib/i18n/ja.json
index 4e53d1c9..920cf356 100644
--- a/src/lib/i18n/ja.json
+++ b/src/lib/i18n/ja.json
@@ -1,4 +1,10 @@
{
+ "confirm_close": {
+ "title": "ダウンロード中",
+ "message": "{{count}} 件のダウンロードが進行中です。今閉じるとキャンセルされます。",
+ "cancel": "続行する",
+ "confirm": "それでも閉じる"
+ },
"nav": {
"home": "ホーム",
"downloads": "ダウンロード",
@@ -228,7 +234,8 @@
"cat_shortcuts": "ショートカット",
"cat_network": "ネットワーク",
"cat_tools": "ツール",
- "cat_advanced": "詳細"
+ "cat_advanced": "詳細",
+ "search_placeholder": "設定を検索..."
},
"omnibox": {
"placeholder": "URLを貼り付けるか検索",
diff --git a/src/lib/i18n/keys.ts b/src/lib/i18n/keys.ts
index 7eb3d691..1f0a991a 100644
--- a/src/lib/i18n/keys.ts
+++ b/src/lib/i18n/keys.ts
@@ -73,6 +73,11 @@ export type TranslationKeys =
| 'common.unknown_error'
| 'common.ytdlp_missing'
+ | 'confirm_close.cancel'
+ | 'confirm_close.confirm'
+ | 'confirm_close.message'
+ | 'confirm_close.title'
+
| 'convert.audio_bitrate'
| 'convert.audio_codec'
| 'convert.auto'
@@ -488,6 +493,7 @@ export type TranslationKeys =
| 'settings.proxy.title'
| 'settings.proxy.type'
| 'settings.proxy.username'
+ | 'settings.search_placeholder'
| 'settings.telegram.concurrent_downloads'
| 'settings.telegram.concurrent_downloads_desc'
| 'settings.telegram.fix_file_extensions'
diff --git a/src/lib/i18n/pt.json b/src/lib/i18n/pt.json
index 30b5e54d..33fdebd8 100644
--- a/src/lib/i18n/pt.json
+++ b/src/lib/i18n/pt.json
@@ -1,4 +1,10 @@
{
+ "confirm_close": {
+ "title": "Downloads em andamento",
+ "message": "Você tem {{count}} download(s) ativo(s). Fechar agora vai cancelá-los.",
+ "cancel": "Manter rodando",
+ "confirm": "Fechar mesmo assim"
+ },
"nav": {
"home": "Início",
"downloads": "Downloads",
@@ -230,7 +236,8 @@
"cat_shortcuts": "Atalhos",
"cat_network": "Rede",
"cat_tools": "Ferramentas",
- "cat_advanced": "Avancado"
+ "cat_advanced": "Avancado",
+ "search_placeholder": "Buscar configurações..."
},
"omnibox": {
"placeholder": "Cole uma URL, magnet link, .torrent ou pesquise",
diff --git a/src/lib/i18n/zh-TW.json b/src/lib/i18n/zh-TW.json
index 0f29a1c5..7c5b200d 100644
--- a/src/lib/i18n/zh-TW.json
+++ b/src/lib/i18n/zh-TW.json
@@ -1,4 +1,10 @@
{
+ "confirm_close": {
+ "title": "下載進行中",
+ "message": "您有 {{count}} 個進行中的下載。立即關閉將會取消它們。",
+ "cancel": "繼續執行",
+ "confirm": "仍然關閉"
+ },
"nav": {
"home": "首頁",
"downloads": "下載",
@@ -182,6 +188,7 @@
},
"settings": {
"title": "設定",
+ "search_placeholder": "搜尋設定...",
"general": {
"title": "一般",
"start_with_windows": "與 Windows 一同啟動",
diff --git a/src/lib/i18n/zh.json b/src/lib/i18n/zh.json
index 5ab069dc..2d844afb 100644
--- a/src/lib/i18n/zh.json
+++ b/src/lib/i18n/zh.json
@@ -1,4 +1,10 @@
{
+ "confirm_close": {
+ "title": "下载进行中",
+ "message": "您有 {{count}} 个活动下载。立即关闭将会取消它们。",
+ "cancel": "继续运行",
+ "confirm": "仍然关闭"
+ },
"nav": {
"home": "首页",
"downloads": "下载",
@@ -228,7 +234,8 @@
"cat_shortcuts": "快捷键",
"cat_network": "网络",
"cat_tools": "工具",
- "cat_advanced": "高级"
+ "cat_advanced": "高级",
+ "search_placeholder": "搜索设置..."
},
"omnibox": {
"placeholder": "粘贴链接或搜索",