From 2288daedecb5f632708f7172a2f045ae61c2aeec Mon Sep 17 00:00:00 2001 From: BillionClaw Date: Tue, 17 Mar 2026 10:51:10 +0800 Subject: [PATCH] fix(i18n): add missing dialogs.share_folder translation key The share dialog for folders was failing because dialogs.share_folder key was missing from all locale files. The contextMenus.js code references this key when opening the share dialog for folders: window.i18n.t('dialogs.share_folder') Added the missing key to all 14 locale files with appropriate translations for each language. Fixes #189 --- static/locales/ar.json | 1 + static/locales/de.json | 1 + static/locales/en.json | 1 + static/locales/es.json | 1 + static/locales/fa.json | 1 + static/locales/fr.json | 1 + static/locales/hi.json | 1 + static/locales/it.json | 1 + static/locales/ja.json | 1 + static/locales/ko.json | 1 + static/locales/nl.json | 1 + static/locales/pt.json | 1 + static/locales/ru.json | 1 + static/locales/zh.json | 1 + 14 files changed, 14 insertions(+) diff --git a/static/locales/ar.json b/static/locales/ar.json index ef16a5fe..b9e7b477 100644 --- a/static/locales/ar.json +++ b/static/locales/ar.json @@ -229,6 +229,7 @@ "confirm_delete_share": "حذف رابط المشاركة", "confirm_delete_share_msg": "هل أنت متأكد أنك تريد حذف رابط المشاركة هذا؟", "share_file": "مشاركة الملف", + "share_folder": "مشاركة المجلد", "existing_shares": "المشاركات الحالية", "share_options": "خيارات المشاركة", "password": "كلمة المرور", diff --git a/static/locales/de.json b/static/locales/de.json index 1365a26d..4566dadb 100755 --- a/static/locales/de.json +++ b/static/locales/de.json @@ -226,6 +226,7 @@ "confirm_delete_share": "Freigabelink löschen", "confirm_delete_share_msg": "Sind Sie sicher, dass Sie diesen Freigabelink löschen möchten?", "share_file": "Datei teilen", + "share_folder": "Ordner teilen", "existing_shares": "Bestehende Freigaben", "share_options": "Freigabeoptionen", "password": "Passwort", diff --git a/static/locales/en.json b/static/locales/en.json index 5af687b5..c7585148 100755 --- a/static/locales/en.json +++ b/static/locales/en.json @@ -229,6 +229,7 @@ "confirm_delete_share": "Delete share link", "confirm_delete_share_msg": "Are you sure you want to delete this shared link?", "share_file": "Share File", + "share_folder": "Share Folder", "existing_shares": "Existing Shares", "share_options": "Share Options", "password": "Password", diff --git a/static/locales/es.json b/static/locales/es.json index 2ca34fbe..58a15aa5 100755 --- a/static/locales/es.json +++ b/static/locales/es.json @@ -229,6 +229,7 @@ "confirm_delete_share": "Eliminar enlace compartido", "confirm_delete_share_msg": "¿Estás seguro de que quieres eliminar este enlace compartido?", "share_file": "Compartir Archivo", + "share_folder": "Compartir Carpeta", "existing_shares": "Compartidos Existentes", "share_options": "Opciones de Compartición", "password": "Contraseña", diff --git a/static/locales/fa.json b/static/locales/fa.json index 93d90aeb..20b86aed 100755 --- a/static/locales/fa.json +++ b/static/locales/fa.json @@ -213,6 +213,7 @@ "and_contents": "و همهٔ محتویات آن", "no_undo": "این عملیات قابل بازگردانی نیست", "share_file": "هم‌رسانی پرونده", + "share_folder": "هم‌رسانی پوشه", "existing_shares": "هم‌رسانی موجود", "share_options": "گزینه‌های هم‌رسانی", "password": "گذرواژه", diff --git a/static/locales/fr.json b/static/locales/fr.json index 4849aef8..96d762ea 100755 --- a/static/locales/fr.json +++ b/static/locales/fr.json @@ -226,6 +226,7 @@ "confirm_delete_share": "Supprimer le lien de partage", "confirm_delete_share_msg": "Êtes-vous sûr de vouloir supprimer ce lien de partage ?", "share_file": "Partager le fichier", + "share_folder": "Partager le dossier", "existing_shares": "Partages existants", "share_options": "Options de partage", "password": "Mot de passe", diff --git a/static/locales/hi.json b/static/locales/hi.json index f76888cb..2b87ff9a 100644 --- a/static/locales/hi.json +++ b/static/locales/hi.json @@ -229,6 +229,7 @@ "confirm_delete_share": "शेयर लिंक हटाएँ", "confirm_delete_share_msg": "क्या आप वाकई इस शेयर लिंक को हटाना चाहते हैं?", "share_file": "फ़ाइल साझा करें", + "share_folder": "फ़ोल्डर साझा करें", "existing_shares": "मौजूदा शेयर", "share_options": "शेयर विकल्प", "password": "पासवर्ड", diff --git a/static/locales/it.json b/static/locales/it.json index e6573d70..fa5dec05 100755 --- a/static/locales/it.json +++ b/static/locales/it.json @@ -226,6 +226,7 @@ "confirm_delete_share": "Elimina link di condivisione", "confirm_delete_share_msg": "Sei sicuro di voler eliminare questo link di condivisione?", "share_file": "Condividi File", + "share_folder": "Condividi Cartella", "existing_shares": "Condivisioni Esistenti", "share_options": "Opzioni di Condivisione", "password": "Password", diff --git a/static/locales/ja.json b/static/locales/ja.json index 2ef1bd04..5158cb11 100644 --- a/static/locales/ja.json +++ b/static/locales/ja.json @@ -229,6 +229,7 @@ "confirm_delete_share": "共有リンクを削除", "confirm_delete_share_msg": "この共有リンクを削除しますか?", "share_file": "ファイルを共有", + "share_folder": "フォルダを共有", "existing_shares": "既存の共有", "share_options": "共有オプション", "password": "パスワード", diff --git a/static/locales/ko.json b/static/locales/ko.json index 41b422d8..75c55e1b 100644 --- a/static/locales/ko.json +++ b/static/locales/ko.json @@ -229,6 +229,7 @@ "confirm_delete_share": "공유 링크 삭제", "confirm_delete_share_msg": "이 공유 링크를 삭제하시겠습니까?", "share_file": "파일 공유", + "share_folder": "폴��� 공유", "existing_shares": "기존 공유", "share_options": "공유 옵션", "password": "비밀번호", diff --git a/static/locales/nl.json b/static/locales/nl.json index a3e224be..cb8b55dd 100755 --- a/static/locales/nl.json +++ b/static/locales/nl.json @@ -226,6 +226,7 @@ "confirm_delete_share": "Deellink verwijderen", "confirm_delete_share_msg": "Weet je zeker dat je deze deellink wilt verwijderen?", "share_file": "Bestand delen", + "share_folder": "Map delen", "existing_shares": "Bestaande delingen", "share_options": "Deelopties", "password": "Wachtwoord", diff --git a/static/locales/pt.json b/static/locales/pt.json index 6e68cf99..2689fe96 100755 --- a/static/locales/pt.json +++ b/static/locales/pt.json @@ -226,6 +226,7 @@ "confirm_delete_share": "Excluir link de compartilhamento", "confirm_delete_share_msg": "Tem certeza de que deseja excluir este link de compartilhamento?", "share_file": "Compartilhar arquivo", + "share_folder": "Compartilhar pasta", "existing_shares": "Compartilhamentos existentes", "share_options": "Opções de compartilhamento", "password": "Senha", diff --git a/static/locales/ru.json b/static/locales/ru.json index 79af7102..91a3b9f1 100644 --- a/static/locales/ru.json +++ b/static/locales/ru.json @@ -229,6 +229,7 @@ "confirm_delete_share": "Удалить ссылку общего доступа", "confirm_delete_share_msg": "Вы уверены, что хотите удалить эту ссылку общего доступа?", "share_file": "Поделиться файлом", + "share_folder": "Поделиться папкой", "existing_shares": "Существующие общие доступы", "share_options": "Параметры общего доступа", "password": "Пароль", diff --git a/static/locales/zh.json b/static/locales/zh.json index 3c1b298c..c29943de 100755 --- a/static/locales/zh.json +++ b/static/locales/zh.json @@ -175,6 +175,7 @@ "and_contents": "及其所有内容", "no_undo": "此操作无法撤销", "share_file": "共享文件", + "share_folder": "共享文件夹", "existing_shares": "现有共享", "share_options": "共享选项", "password": "密码",