diff --git a/src/i18n/strings/ca.json b/src/i18n/strings/ca.json index 0cae81931a..1a6e933ac0 100644 --- a/src/i18n/strings/ca.json +++ b/src/i18n/strings/ca.json @@ -32,5 +32,7 @@ "I understand the risks and wish to continue": "Entenc els riscos i vull continuar", "Go to element.io": "Vés a element.io", "Failed to start": "Ha fallat l'inici", - "Missing indexeddb worker script!": "Falta l'script del treballador indexeddb!" + "Missing indexeddb worker script!": "Falta l'script del treballador indexeddb!", + "Use %(brand)s on mobile": "Utilitza %(brand)s al mòbil", + "Switch to space by number": "Canvia d'espai per número" } diff --git a/src/i18n/strings/fa.json b/src/i18n/strings/fa.json index 38b4441b00..710d5f23d7 100644 --- a/src/i18n/strings/fa.json +++ b/src/i18n/strings/fa.json @@ -33,5 +33,6 @@ "Go to element.io": "برو به element.io", "Failed to start": "مشکل در آغاز", "Powered by Matrix": "قدرت‌گرفته از ماتریکس", - "Use %(brand)s on mobile": "استفاده از %(brand)s روی گوشی" + "Use %(brand)s on mobile": "استفاده از %(brand)s روی گوشی", + "Switch to space by number": "تغییر به فضا با شماره" } diff --git a/src/i18n/strings/he.json b/src/i18n/strings/he.json index 29aaf5f218..b90bada916 100644 --- a/src/i18n/strings/he.json +++ b/src/i18n/strings/he.json @@ -4,20 +4,20 @@ "Unknown device": "מכשיר לא ידוע", "You need to be using HTTPS to place a screen-sharing call.": "עליך להשתמש ב HTTPS בכדי לבצע שיחת ווידאו משותפת.", "Welcome to Element": "ברוכים הבאים ל Element", - "Decentralised, encrypted chat & collaboration powered by [matrix]": "צא'ט וכלי שיתוף פעולה מבוזר ומוצפן & מופעל ע\"י [matrix]", + "Decentralised, encrypted chat & collaboration powered by [matrix]": "צא'ט וכלי שיתוף פעולה מבוזר ומוצפן & מופעל באמצעות [matrix]", "Invalid JSON": "JSON לא חוקי", "Invalid configuration: can only specify one of default_server_config, default_server_name, or default_hs_url.": "תצורה שגויה: ניתן לציין רק אחד מהערכים הבאים, default_server_config, default_server_name, או default_hs_url.", "Invalid configuration: no default server specified.": "תצורה שגויה: לא צוין שרת ברירת מחדל.", "Open user settings": "פתח הגדרות משתמש", "Go to your browser to complete Sign In": "עבור לדפדפן להמשך ההתחברות", - "Explore rooms": "שיטוט בחדרים", + "Explore rooms": "גלה חדרים", "Create Account": "יצירת חשבון", "Sign In": "כניסה", "Previous/next recently visited room or community": "הבא\\קודם חדרים וקהילות שביקרתם לאחרונה", "Open": "פתח", "Download Completed": "ההורדה הושלמה", - "Unexpected error preparing the app. See console for details.": "שגיאה לא צפויה במהלך הכנת האפליקציה. ראו קונסול לפרטים נוספים.", - "Unable to load config file: please refresh the page to try again.": "לא יכול לטעון את קובץ ההגדרות: יש לרענן את הדף כדי לנסות שנית.", + "Unexpected error preparing the app. See console for details.": "שגיאה לא צפויה במהלך טעינת האפליקציה. ראו קונסול לפרטים נוספים.", + "Unable to load config file: please refresh the page to try again.": "לא ניתן לטעון את קובץ ההגדרות: יש לרענן את הדף כדי לנסות שנית.", "Your Element configuration contains invalid JSON. Please correct the problem and reload the page.": "האלמנט מכיל הגדרת JSON שגויה, אנא תקנו את הבעיה ואתחלו את הדף.", "Your Element is misconfigured": "האלמנט מוגדר באופן שגוי", "Go to element.io": "חזור לאתר הראשי: element.io", diff --git a/src/i18n/strings/id.json b/src/i18n/strings/id.json index 1b1b095415..71dab68afc 100644 --- a/src/i18n/strings/id.json +++ b/src/i18n/strings/id.json @@ -7,5 +7,32 @@ "Decentralised, encrypted chat & collaboration powered by [matrix]": "Obrolan terenkripsi, terdesentralisasi & kolaborasi didukung oleh [matrix]", "Your Element configuration contains invalid JSON. Please correct the problem and reload the page.": "Konfigurasi Element Anda mengandung JSON yang tidak valid. Mohon perbaiki masalahnya dan muat ulang halaman nya.", "Invalid configuration: no default server specified.": "Konfigurasi tidak valid: server default belum ditentukan.", - "Missing indexeddb worker script!": "Tidak ada script worker indexeddb!" + "Missing indexeddb worker script!": "Tidak ada script worker indexeddb!", + "Explore rooms": "Jelajahi ruang", + "Create Account": "Buat Akun", + "Switch to space by number": "Beralih ke ruang dengan nomor", + "Go to your browser to complete Sign In": "Buka browser Anda untuk menyelesaikan Masuk", + "Sign In": "Masuk", + "Failed to start": "Gagal untuk memulai", + "Go to element.io": "Buka element.io", + "I understand the risks and wish to continue": "Saya memahami risikonya dan ingin melanjutkan", + "You can continue using your current browser, but some or all features may not work and the look and feel of the application may be incorrect.": "Anda dapat lanjut menggunakan browser Anda saat ini, tetapi beberapa atau semua fitur mungkin tidak berfungsi dan tampilan serta nuansa aplikasi mungkin salah.", + "Please install Chrome, Firefox, or Safari for the best experience.": "Mohon instal Chrome, Firefox, atau Safari untuk pengalaman terbaik.", + "%(brand)s uses advanced browser features which aren't supported by your current browser.": "%(brand)s menggunakan fitur browser lanjutan yang tidak didukung oleh browser Anda saat ini.", + "Your browser can't run %(brand)s": "Browser Anda tidak bisa menjalankan %(brand)s", + "Unsupported browser": "Browser tidak didukung", + "Use %(brand)s on mobile": "Gunakan %(brand)s di ponsel", + "Powered by Matrix": "Didukung oleh Matrix", + "%(appName)s (%(browserName)s, %(osName)s)": "%(appName)s (%(browserName)s, %(osName)s)", + "%(brand)s Desktop (%(platformName)s)": "%(brand)s Desktop (%(platformName)s)", + "Previous/next recently visited room or community": "Ruangan atau komunitas yang baru saja dikunjungi sebelum/berikutnya", + "Open user settings": "Buka pengaturan pengguna", + "Open": "Buka", + "Download Completed": "Unduh Selesai", + "Unexpected error preparing the app. See console for details.": "Kesalahan tak terduga saat menyiapkan aplikasi. Lihat konsol untuk detail.", + "Unable to load config file: please refresh the page to try again.": "Tidak bisa muat file konfigurasi: mohon segarkan halaman untuk mencoba lagi.", + "Invalid JSON": "JSON tidak valid", + "The message from the parser is: %(message)s": "Pesan dari pengurai adalah: %(message)s", + "Your Element is misconfigured": "Element Anda salah dikonfigurasi", + "Invalid configuration: can only specify one of default_server_config, default_server_name, or default_hs_url.": "Konfigurasi tidak valid: hanya bisa menentukan satu dari default_server_config, default_server_name, atau default_hs_url." } diff --git a/src/i18n/strings/ro.json b/src/i18n/strings/ro.json index 17ed715ebe..e64ff0dd0e 100644 --- a/src/i18n/strings/ro.json +++ b/src/i18n/strings/ro.json @@ -33,5 +33,6 @@ "Unable to load config file: please refresh the page to try again.": "Nu se poate încărca fișierul de configurație: vă rugăm sa reîncărcați pagina și să încercați din nou.", "The message from the parser is: %(message)s": "Mesajul de la parser este: %(message)s", "Your Element configuration contains invalid JSON. Please correct the problem and reload the page.": "Configurația ta Element conține JSON invalid. Vă rugăm sa corectați problema și să reîncărcați pagina.", - "Invalid configuration: no default server specified.": "Configurație invalidă: niciun server implicit specificat." + "Invalid configuration: no default server specified.": "Configurație invalidă: niciun server implicit specificat.", + "Switch to space by number": "Comută spațiul folosind un număr" } diff --git a/src/vector/platform/ElectronPlatform.tsx b/src/vector/platform/ElectronPlatform.tsx index c97b7dc922..dfec829d10 100644 --- a/src/vector/platform/ElectronPlatform.tsx +++ b/src/vector/platform/ElectronPlatform.tsx @@ -257,12 +257,15 @@ export default class ElectronPlatform extends VectorBasePlatform { }); electron.on('userDownloadCompleted', (ev, { path, name }) => { + const key = `DOWNLOAD_TOAST_${path}`; + const onAccept = () => { electron.send('userDownloadOpen', { path }); + ToastStore.sharedInstance().dismissToast(key); }; ToastStore.sharedInstance().addOrReplaceToast({ - key: `DOWNLOAD_TOAST_${path}`, + key, title: _t("Download Completed"), props: { description: name, diff --git a/yarn.lock b/yarn.lock index 2b83ea0320..5bf6f5ead4 100644 --- a/yarn.lock +++ b/yarn.lock @@ -4252,8 +4252,8 @@ eslint-config-google@^0.14.0: integrity sha512-WsbX4WbjuMvTdeVL6+J3rK1RGhCTqjsFjX7UMSMgZiyxxaNLkoJENbrGExzERFeoTpGw3F3FypTiWAP9ZXzkEw== "eslint-plugin-matrix-org@github:matrix-org/eslint-plugin-matrix-org#main": - version "0.3.3" - resolved "https://codeload.github.com/matrix-org/eslint-plugin-matrix-org/tar.gz/50d6bdf6704dd95016d5f1f824f00cac6eaa64e1" + version "0.3.4" + resolved "https://codeload.github.com/matrix-org/eslint-plugin-matrix-org/tar.gz/45f6937539192e3820edcafc4d6d4d4187e85a6a" eslint-plugin-react-hooks@^4.2.0: version "4.2.0"