From 671c669d77ee09769ad75c0c02e76e805929e54d Mon Sep 17 00:00:00 2001 From: Diego Mello Date: Wed, 9 Oct 2024 17:40:54 -0300 Subject: [PATCH 1/3] RoomView and i18n --- app/i18n/locales/ar.json | 4 +++- app/i18n/locales/bn-IN.json | 4 +++- app/i18n/locales/cs.json | 4 +++- app/i18n/locales/de.json | 4 +++- app/i18n/locales/en.json | 4 +++- app/i18n/locales/es.json | 4 +++- app/i18n/locales/fi.json | 4 +++- app/i18n/locales/fr.json | 4 +++- app/i18n/locales/hi-IN.json | 4 +++- app/i18n/locales/hu.json | 4 +++- app/i18n/locales/it.json | 4 +++- app/i18n/locales/ja.json | 4 +++- app/i18n/locales/nl.json | 4 +++- app/i18n/locales/pt-BR.json | 4 +++- app/i18n/locales/pt-PT.json | 4 +++- app/i18n/locales/ru.json | 4 +++- app/i18n/locales/sl-SI.json | 4 +++- app/i18n/locales/sv.json | 4 +++- app/i18n/locales/ta-IN.json | 4 +++- app/i18n/locales/te-IN.json | 4 +++- app/i18n/locales/tr.json | 4 +++- app/i18n/locales/zh-CN.json | 4 +++- app/i18n/locales/zh-TW.json | 4 +++- app/lib/constants/defaultSettings.ts | 3 +++ app/views/RoomView/definitions.ts | 1 + app/views/RoomView/index.tsx | 20 ++++++++++++++++++-- app/views/RoomView/styles.ts | 12 ++++++++++-- 27 files changed, 101 insertions(+), 27 deletions(-) diff --git a/app/i18n/locales/ar.json b/app/i18n/locales/ar.json index 9001e0c3e7..bdb1133b52 100644 --- a/app/i18n/locales/ar.json +++ b/app/i18n/locales/ar.json @@ -501,5 +501,7 @@ "Your_invite_link_will_expire_on__date__or_after__usesLeft__uses": "ستنتهي صلاحية رابط الدعوة الخاص بك في {{date}} أو بعد {{usesLeft}} استخدامات", "Your_invite_link_will_never_expire": "لن تنتهي صلاحية رابط الدعوة الخاص بك", "Your_password_is": "كلمة المرور الخاصة بك هي", - "Your_workspace": "مساحة عملك" + "Your_workspace": "مساحة عملك", + "AirGapped_workspace_read_only_title": "مساحة العمل في وضع القراءة فقط.", + "AirGapped_workspace_read_only_description": "يمكن للمسؤولين استعادة الوظائف الكاملة عن طريق الاتصال بالإنترنت أو الترقية إلى خطة متميزة." } \ No newline at end of file diff --git a/app/i18n/locales/bn-IN.json b/app/i18n/locales/bn-IN.json index e146e42e03..022796112e 100644 --- a/app/i18n/locales/bn-IN.json +++ b/app/i18n/locales/bn-IN.json @@ -767,5 +767,7 @@ "Your_invite_link_will_expire_on__date__or_after__usesLeft__uses": "আপনার আমন্ত্রণ লিঙ্কটি {{date}} বা তারপর {{usesLeft}} ব্যবহার করার পর মেয়াদ শেষ হবে।", "Your_invite_link_will_never_expire": "আপনার আমন্ত্রণ লিঙ্কটি কখনও মেয়াদ শেষ হবে না।", "Your_password_is": "আপনার পাসওয়ার্ড হল", - "Your_workspace": "আপনার ওয়ার্কস্পেস" + "Your_workspace": "আপনার ওয়ার্কস্পেস", + "AirGapped_workspace_read_only_title": "কর্মস্থান পড়ার মোডে।", + "AirGapped_workspace_read_only_description": "অ্যাডমিনরা এটি ইন্টারনেটের সাথে সংযুক্ত করে বা একটি প্রিমিয়াম পরিকল্পনায় আপগ্রেড করে সম্পূর্ণ কার্যকারিতা পুনরুদ্ধার করতে পারেন।" } \ No newline at end of file diff --git a/app/i18n/locales/cs.json b/app/i18n/locales/cs.json index ac4bbae292..8da535b632 100644 --- a/app/i18n/locales/cs.json +++ b/app/i18n/locales/cs.json @@ -844,5 +844,7 @@ "Your_invite_link_will_never_expire": "Platnost vašeho odkazu s pozvánkou nikdy nevyprší.", "Your_password_is": "Vaše heslo je", "Your_push_was_sent_to_s_devices": "Vaše push byla odeslána do {{s}} zařízení", - "Your_workspace": "Váš pracovní prostor" + "Your_workspace": "Váš pracovní prostor", + "AirGapped_workspace_read_only_title": "Pracoviště v režimu pouze pro čtení.", + "AirGapped_workspace_read_only_description": "Správci mohou obnovit plnou funkčnost připojením k internetu nebo upgradem na prémiový plán." } \ No newline at end of file diff --git a/app/i18n/locales/de.json b/app/i18n/locales/de.json index 6c3f7c88da..56b03c2495 100644 --- a/app/i18n/locales/de.json +++ b/app/i18n/locales/de.json @@ -757,5 +757,7 @@ "Your_invite_link_will_expire_on__date__or_after__usesLeft__uses": "Ihr Einladungs-Link wird am {{date}} oder nach {{usesLeft}} Benutzungen ablaufen.", "Your_invite_link_will_never_expire": "Ihr Einladungs-Link wird niemals ablaufen.", "Your_password_is": "Ihr Passwort lautet", - "Your_workspace": "Ihr Arbeitsbereich" + "Your_workspace": "Ihr Arbeitsbereich", + "AirGapped_workspace_read_only_title": "Arbeitsbereich im Nur-Lesen-Modus.", + "AirGapped_workspace_read_only_description": "Administratoren können die volle Funktionalität wiederherstellen, indem sie es mit dem Internet verbinden oder auf einen Premium-Plan upgraden." } \ No newline at end of file diff --git a/app/i18n/locales/en.json b/app/i18n/locales/en.json index 6640cfdd82..8999ae0091 100644 --- a/app/i18n/locales/en.json +++ b/app/i18n/locales/en.json @@ -865,5 +865,7 @@ "Your_invite_link_will_never_expire": "Your invite link will never expire.", "Your_password_is": "Your password is", "Your_push_was_sent_to_s_devices": "Your push was sent to {{s}} devices", - "Your_workspace": "Your workspace" + "Your_workspace": "Your workspace", + "AirGapped_workspace_read_only_title": "Workspace in read-only mode.", + "AirGapped_workspace_read_only_description": "Admins can restore full functionality by connecting it to internet or upgrading to a premium plan." } \ No newline at end of file diff --git a/app/i18n/locales/es.json b/app/i18n/locales/es.json index 69de95d987..b50bbf8e98 100644 --- a/app/i18n/locales/es.json +++ b/app/i18n/locales/es.json @@ -306,5 +306,7 @@ "You_need_to_access_at_least_one_RocketChat_server_to_share_something": "Necesita acceder al menos a un servidor Rocket.Chat para compartir algo.", "you_were_mentioned": "has sido mencionado", "You_will_not_be_able_to_recover_this_message": "¡No podrás recuperar este mensaje!", - "Your_certificate": "Tu certificado" + "Your_certificate": "Tu certificado", + "AirGapped_workspace_read_only_title": "Espacio de trabajo en modo de solo lectura.", + "AirGapped_workspace_read_only_description": "Los administradores pueden restaurar la funcionalidad completa conectándolo a Internet o actualizando a un plan premium." } \ No newline at end of file diff --git a/app/i18n/locales/fi.json b/app/i18n/locales/fi.json index 3f0c4cf1b5..9cc813d5db 100644 --- a/app/i18n/locales/fi.json +++ b/app/i18n/locales/fi.json @@ -729,5 +729,7 @@ "Your_invite_link_will_expire_on__date__or_after__usesLeft__uses": "Kutsulinkkisi vanhenee {{date}} tai {{usesLeft}} käyttökerran jälkeen.", "Your_invite_link_will_never_expire": "Kutsulinkkisi ei vanhene.", "Your_password_is": "Salasanasi on", - "Your_workspace": "Työtilasi" + "Your_workspace": "Työtilasi", + "AirGapped_workspace_read_only_title": "Työtila vain luku -tilassa.", + "AirGapped_workspace_read_only_description": "Järjestelmänvalvojat voivat palauttaa täyden toiminnallisuuden liittämällä sen internetiin tai päivittämällä premium-suunnitelmaan." } \ No newline at end of file diff --git a/app/i18n/locales/fr.json b/app/i18n/locales/fr.json index 76ec6856b7..52d36582e1 100644 --- a/app/i18n/locales/fr.json +++ b/app/i18n/locales/fr.json @@ -648,5 +648,7 @@ "Your_invite_link_will_expire_on__date__or_after__usesLeft__uses": "Votre lien d'invitation expirera le {{date}} ou après {{usesLeft}} utilisations.", "Your_invite_link_will_never_expire": "Votre lien d'invitation n'expirera jamais.", "Your_password_is": "Votre mot de passe est", - "Your_workspace": "Votre espace de travail" + "Your_workspace": "Votre espace de travail", + "AirGapped_workspace_read_only_title": "Espace de travail en mode lecture seule.", + "AirGapped_workspace_read_only_description": "Les administrateurs peuvent restaurer la fonctionnalité complète en le connectant à Internet ou en passant à un plan premium." } \ No newline at end of file diff --git a/app/i18n/locales/hi-IN.json b/app/i18n/locales/hi-IN.json index b716d939cd..b2aaf0d765 100644 --- a/app/i18n/locales/hi-IN.json +++ b/app/i18n/locales/hi-IN.json @@ -767,5 +767,7 @@ "Your_invite_link_will_expire_on__date__or_after__usesLeft__uses": "आपका आमंत्रण लिंक {{date}} को या {{usesLeft}} उपयोगों के बाद समाप्त हो जाएगा।", "Your_invite_link_will_never_expire": "आपका आमंत्रण लिंक कभी समाप्त नहीं होगा।", "Your_password_is": "आपका पासवर्ड है", - "Your_workspace": "आपका कार्यस्थान" + "Your_workspace": "आपका कार्यस्थान", + "AirGapped_workspace_read_only_title": "कार्यस्थान केवल-पढ़ने के मोड में है।", + "AirGapped_workspace_read_only_description": "व्यवस्थापकों के पास इसे इंटरनेट से कनेक्ट करके या प्रीमियम योजना में अपग्रेड करके पूर्ण कार्यक्षमता को पुनर्स्थापित करने का विकल्प है।" } \ No newline at end of file diff --git a/app/i18n/locales/hu.json b/app/i18n/locales/hu.json index 11d56a4433..947a779c6c 100644 --- a/app/i18n/locales/hu.json +++ b/app/i18n/locales/hu.json @@ -770,5 +770,7 @@ "Your_invite_link_will_expire_on__date__or_after__usesLeft__uses": "A meghívási hivatkozása {{date}} napon vagy {{usesLeft}} használat után lejár.", "Your_invite_link_will_never_expire": "A meghívási hivatkozása sosem jár le.", "Your_password_is": "A jelszava a következő", - "Your_workspace": "Az Ön munkaterülete" + "Your_workspace": "Az Ön munkaterülete", + "AirGapped_workspace_read_only_title": "Munkaterület csak olvasási módban.", + "AirGapped_workspace_read_only_description": "A rendszergazdák visszaállíthatják a teljes funkcionalitást az internethez való csatlakozással vagy prémium tervre való frissítéssel." } \ No newline at end of file diff --git a/app/i18n/locales/it.json b/app/i18n/locales/it.json index 32606d26ce..ef04182eb3 100644 --- a/app/i18n/locales/it.json +++ b/app/i18n/locales/it.json @@ -551,5 +551,7 @@ "Your_invite_link_will_expire_on__date__or_after__usesLeft__uses": "Il tuo link di invito scadrà il {{date}} oppure dopo {{usesLeft}} utilizzi.", "Your_invite_link_will_never_expire": "Il tuo link di invito non scadrà mai.", "Your_password_is": "La tua password è", - "Your_workspace": "Il tuo workspace" + "Your_workspace": "Il tuo workspace", + "AirGapped_workspace_read_only_title": "Workspace in modalità di sola lettura.", + "AirGapped_workspace_read_only_description": "Gli amministratori possono ripristinare la funzionalità completa collegandosi a Internet o aggiornando a un piano premium." } \ No newline at end of file diff --git a/app/i18n/locales/ja.json b/app/i18n/locales/ja.json index 0899635cf2..f730ed4773 100644 --- a/app/i18n/locales/ja.json +++ b/app/i18n/locales/ja.json @@ -417,5 +417,7 @@ "Your_invite_link_will_expire_after__usesLeft__uses": "招待リンクはあと{{usesLeft}}回で使用できなくなります。", "Your_invite_link_will_expire_on__date__": "招待リンクは{{date}}に使用できなくなります。", "Your_invite_link_will_expire_on__date__or_after__usesLeft__uses": "招待リンクは{{date}}までか、あと{{usesLeft}}回で使用できなくなります。", - "Your_invite_link_will_never_expire": "招待リンクはずっと有効です。" + "Your_invite_link_will_never_expire": "招待リンクはずっと有効です。", + "AirGapped_workspace_read_only_title": "ワークスペースは読み取り専用モードです。", + "AirGapped_workspace_read_only_description": "管理者は、インターネットに接続するか、プレミアムプランにアップグレードすることで、完全な機能を復元できます。" } \ No newline at end of file diff --git a/app/i18n/locales/nl.json b/app/i18n/locales/nl.json index 5c3114930d..620edce0ac 100644 --- a/app/i18n/locales/nl.json +++ b/app/i18n/locales/nl.json @@ -648,5 +648,7 @@ "Your_invite_link_will_expire_on__date__or_after__usesLeft__uses": "Je uitnodigingslink verloopt op {{date}} of na {{usesLeft}} keer.", "Your_invite_link_will_never_expire": "Je uitnodigingslink zal nooit verlopen.", "Your_password_is": "Jouw wachtwoord is", - "Your_workspace": "Jouw werkruimte" + "Your_workspace": "Jouw werkruimte", + "AirGapped_workspace_read_only_title": "Werkruimte in alleen-lezen modus.", + "AirGapped_workspace_read_only_description": "Beheerders kunnen de volledige functionaliteit herstellen door deze met internet te verbinden of te upgraden naar een premiumplan." } \ No newline at end of file diff --git a/app/i18n/locales/pt-BR.json b/app/i18n/locales/pt-BR.json index ee8f2ef230..973bd6dd9c 100644 --- a/app/i18n/locales/pt-BR.json +++ b/app/i18n/locales/pt-BR.json @@ -854,5 +854,7 @@ "Your_invite_link_will_never_expire": "Seu link de convite nunca irá vencer.", "Your_password_is": "Sua senha é", "Your_push_was_sent_to_s_devices": "A sua notificação foi enviada para {{s}} dispositivos", - "Your_workspace": "Sua workspace" + "Your_workspace": "Sua workspace", + "AirGapped_workspace_read_only_title": "Espaço de trabalho em modo somente leitura.", + "AirGapped_workspace_read_only_description": "Os administradores podem restaurar a funcionalidade completa conectando-o à internet ou atualizando para um plano premium." } \ No newline at end of file diff --git a/app/i18n/locales/pt-PT.json b/app/i18n/locales/pt-PT.json index b3d1f99c40..70900bda2e 100644 --- a/app/i18n/locales/pt-PT.json +++ b/app/i18n/locales/pt-PT.json @@ -379,5 +379,7 @@ "You_colon": "Você: ", "You_dont_have_account": "Não tem uma conta?", "you_were_mentioned": "você foi mencionado", - "You_will_not_be_able_to_recover_this_message": "Você será incapaz de recuperar esta mensagem!" + "You_will_not_be_able_to_recover_this_message": "Você será incapaz de recuperar esta mensagem!", + "AirGapped_workspace_read_only_title": "Espaço de trabalho em modo apenas leitura.", + "AirGapped_workspace_read_only_description": "Os administradores podem restaurar a funcionalidade completa ligando-o à internet ou fazendo um upgrade para um plano premium." } \ No newline at end of file diff --git a/app/i18n/locales/ru.json b/app/i18n/locales/ru.json index 8b99e085dd..95cb960c7b 100644 --- a/app/i18n/locales/ru.json +++ b/app/i18n/locales/ru.json @@ -697,5 +697,7 @@ "Your_invite_link_will_expire_on__date__or_after__usesLeft__uses": "Ваша ссылка-приглашение станет не действительной {{date}} или после {{usesLeft}} ее использований.", "Your_invite_link_will_never_expire": "Ваша ссылка-приглашение никогда не будет просроченной.", "Your_password_is": "Ваш пароль", - "Your_workspace": "Ваш сервер" + "Your_workspace": "Ваш сервер", + "AirGapped_workspace_read_only_title": "Рабочее пространство в режиме только для чтения.", + "AirGapped_workspace_read_only_description": "Администраторы могут восстановить полную функциональность, подключив его к интернету или обновив до премиум-плана." } \ No newline at end of file diff --git a/app/i18n/locales/sl-SI.json b/app/i18n/locales/sl-SI.json index 6b9ae87530..62fa635779 100644 --- a/app/i18n/locales/sl-SI.json +++ b/app/i18n/locales/sl-SI.json @@ -663,5 +663,7 @@ "Your_invite_link_will_expire_on__date__or_after__usesLeft__uses": "Vaša povezava za povabilo bo potekala na {{date}} ali po {{usesLeft}}.", "Your_invite_link_will_never_expire": "Vaša povezava za povabilo ne bo nikoli potekala.", "Your_password_is": "Vaše geslo je", - "Your_workspace": "Vaš delovni prostor" + "Your_workspace": "Vaš delovni prostor", + "AirGapped_workspace_read_only_title": "Delovno okolje v načinu samo za branje.", + "AirGapped_workspace_read_only_description": "Skupni skrbniki lahko obnovijo popolno funkcionalnost z povezovanjem z internetom ali nadgradnjo na premium načrt." } \ No newline at end of file diff --git a/app/i18n/locales/sv.json b/app/i18n/locales/sv.json index 84c58f0c33..1411b3bfb5 100644 --- a/app/i18n/locales/sv.json +++ b/app/i18n/locales/sv.json @@ -727,5 +727,7 @@ "Your_invite_link_will_expire_on__date__or_after__usesLeft__uses": "Inbjudningslänken upphör att gälla den {{date}} eller efter {{usesLeft}} användningar.", "Your_invite_link_will_never_expire": "Inbjudningslänken upphör aldrig att gälla.", "Your_password_is": "Ditt lösenord är", - "Your_workspace": "Din arbetsyta" + "Your_workspace": "Din arbetsyta", + "AirGapped_workspace_read_only_title": "Arbetsytan är i skrivskyddat läge.", + "AirGapped_workspace_read_only_description": "Administratörer kan återställa full funktionalitet genom att ansluta den till internet eller uppgradera till en premiumplan." } \ No newline at end of file diff --git a/app/i18n/locales/ta-IN.json b/app/i18n/locales/ta-IN.json index 648e61379e..064c397b79 100644 --- a/app/i18n/locales/ta-IN.json +++ b/app/i18n/locales/ta-IN.json @@ -767,5 +767,7 @@ "Your_invite_link_will_expire_on__date__or_after__usesLeft__uses": "உங்கள் அழைத்துக்கொள்ளும் இணைய கணக்கு {{date}} அல்லது {{usesLeft}} பயன்பாடுகளுக்குப் பிறகு காலாவதியாகின்றது.", "Your_invite_link_will_never_expire": "உங்கள் அழைத்துக்கொள்ளும் இணைய கணக்கு எப்போதும் காலாவதியாகின்றதுமில்லை.", "Your_password_is": "உங்கள் கடவுச்சொல் உள்ளது", - "Your_workspace": "உங்கள் பணிகள்" + "Your_workspace": "உங்கள் பணிகள்", + "AirGapped_workspace_read_only_title": "தற்காலிகமாகவே படிக்கக்கூடிய சூழலில் உள்ள வேலைப்பாடு.", + "AirGapped_workspace_read_only_description": "அடுத்தவர்களை இணையத்துடன் இணைத்து அல்லது பிரீமியம் திட்டத்திற்கு மேம்படுத்துவதன் மூலம் முழு செயல்திறனை மீட்டெடுக்கலாம்." } \ No newline at end of file diff --git a/app/i18n/locales/te-IN.json b/app/i18n/locales/te-IN.json index 44a2c5f47f..0a20cf1f55 100644 --- a/app/i18n/locales/te-IN.json +++ b/app/i18n/locales/te-IN.json @@ -767,5 +767,7 @@ "Your_invite_link_will_expire_on__date__or_after__usesLeft__uses": "మీ ఆహ్వాన లింక్ {{date}} లేదా {{usesLeft}} ఉపయోగాల తరువాత అది కనబడిపోతుంది.", "Your_invite_link_will_never_expire": "మీ ఆహ్వాన లింక్ ఎప్పుడూ కనబడదు.", "Your_password_is": "మీ సంకేతపదం", - "Your_workspace": "మీ వర్క్‌స్పేస్" + "Your_workspace": "మీ వర్క్‌స్పేస్", + "AirGapped_workspace_read_only_title": "అయోమయ స్థితిలో ఉన్న పనికోసం.", + "AirGapped_workspace_read_only_description": "నిర్వహకులు దీన్ని ఇంటర్నెట్‌తో కలుపుకోవడం లేదా ప్రీమియం ప్రణాళికకు మెరుగుపరచడం ద్వారా పూర్తి ఫంక్షనాలిటీని పునఃస్థాపించవచ్చు." } \ No newline at end of file diff --git a/app/i18n/locales/tr.json b/app/i18n/locales/tr.json index 8b11909a13..042e39a757 100644 --- a/app/i18n/locales/tr.json +++ b/app/i18n/locales/tr.json @@ -534,5 +534,7 @@ "Your_invite_link_will_expire_on__date__or_after__usesLeft__uses": "Davet bağlantınızın geçerliliği {{date}} tarihinde veya {{usesLeft}} kullanımdan sonra sona erecek.", "Your_invite_link_will_never_expire": "Davet bağlantınızın geçerlilik süresi asla dolmayacak.", "Your_password_is": "Şifreniz", - "Your_workspace": "Çalışma alanınız" + "Your_workspace": "Çalışma alanınız", + "AirGapped_workspace_read_only_title": "Çalışma alanı yalnızca okunur modda.", + "AirGapped_workspace_read_only_description": "Yöneticiler, bunu internete bağlayarak veya premium bir plana yükselterek tam işlevselliği geri kazanabilirler." } \ No newline at end of file diff --git a/app/i18n/locales/zh-CN.json b/app/i18n/locales/zh-CN.json index 4ebc8fc5e3..718ce07cd7 100644 --- a/app/i18n/locales/zh-CN.json +++ b/app/i18n/locales/zh-CN.json @@ -492,5 +492,7 @@ "Your_invite_link_will_expire_on__date__or_after__usesLeft__uses": "您的邀请链接将于{{date}}或{{usesLeft}}使用后到期。", "Your_invite_link_will_never_expire": "您的邀请链接永久有效。", "Your_password_is": "您的密码", - "Your_workspace": "您的工作区" + "Your_workspace": "您的工作区", + "AirGapped_workspace_read_only_title": "工作区为只读模式。", + "AirGapped_workspace_read_only_description": "管理员可以通过将其连接到互联网或升级到高级计划来恢复完整功能。" } \ No newline at end of file diff --git a/app/i18n/locales/zh-TW.json b/app/i18n/locales/zh-TW.json index 98b5a9d72b..57dc1301c5 100644 --- a/app/i18n/locales/zh-TW.json +++ b/app/i18n/locales/zh-TW.json @@ -521,5 +521,7 @@ "Your_invite_link_will_expire_on__date__or_after__usesLeft__uses": "您的邀請連結將於{{date}}或{{usesLeft}}使用後到期。", "Your_invite_link_will_never_expire": "您的邀請連結永久有效。", "Your_password_is": "您的密碼", - "Your_workspace": "您的工作區" + "Your_workspace": "您的工作區", + "AirGapped_workspace_read_only_title": "工作區域為唯讀模式。", + "AirGapped_workspace_read_only_description": "管理員可以通過將其連接到互聯網或升級到高級計劃來恢復完整功能。" } \ No newline at end of file diff --git a/app/lib/constants/defaultSettings.ts b/app/lib/constants/defaultSettings.ts index 290d447ff7..82f321a073 100644 --- a/app/lib/constants/defaultSettings.ts +++ b/app/lib/constants/defaultSettings.ts @@ -264,5 +264,8 @@ export const defaultSettings = { UTF8_User_Names_Validation: { type: 'valueAsString' }, + Cloud_Workspace_AirGapped_Restrictions_Remaining_Days: { + type: 'valueAsNumber' + }, ...deprecatedSettings } as const; diff --git a/app/views/RoomView/definitions.ts b/app/views/RoomView/definitions.ts index ca1b3073f1..f37199757d 100644 --- a/app/views/RoomView/definitions.ts +++ b/app/views/RoomView/definitions.ts @@ -24,6 +24,7 @@ export interface IRoomViewProps extends IActionSheetProvider, IBaseScreen { shouldComponentUpdate(nextProps: IRoomViewProps, nextState: IRoomViewState) { const { state } = this; const { roomUpdate, member, isOnHold } = state; - const { theme, insets, route, encryptionEnabled } = this.props; + const { theme, insets, route, encryptionEnabled, airGappedRestrictionRemainingDays } = this.props; if (theme !== nextProps.theme) { return true; } if (encryptionEnabled !== nextProps.encryptionEnabled) { return true; } + if (airGappedRestrictionRemainingDays !== nextProps.airGappedRestrictionRemainingDays) { + return true; + } if (member.statusText !== nextState.member.statusText) { return true; } @@ -1378,7 +1381,7 @@ class RoomView extends React.Component { renderFooter = () => { const { joined, room, readOnly, loading } = this.state; - const { theme } = this.props; + const { theme, airGappedRestrictionRemainingDays } = this.props; if (!this.rid) { return null; @@ -1413,6 +1416,18 @@ class RoomView extends React.Component { ); } + if (airGappedRestrictionRemainingDays !== undefined && airGappedRestrictionRemainingDays === -1) { + return ( + + + {I18n.t('AirGapped_workspace_read_only_title')} + + + {I18n.t('AirGapped_workspace_read_only_description')} + + + ); + } if (readOnly) { return ( @@ -1534,6 +1549,7 @@ const mapStateToProps = (state: IApplicationState) => ({ transferLivechatGuestPermission: state.permissions['transfer-livechat-guest'], viewCannedResponsesPermission: state.permissions['view-canned-responses'], livechatAllowManualOnHold: state.settings.Livechat_allow_manual_on_hold as boolean, + airGappedRestrictionRemainingDays: state.settings.Cloud_Workspace_AirGapped_Restrictions_Remaining_Days, inAppFeedback: state.inAppFeedback, encryptionEnabled: state.encryption.enabled }); diff --git a/app/views/RoomView/styles.ts b/app/views/RoomView/styles.ts index be9ebae866..c0267ccaff 100644 --- a/app/views/RoomView/styles.ts +++ b/app/views/RoomView/styles.ts @@ -12,7 +12,8 @@ export default StyleSheet.create({ readOnly: { justifyContent: 'flex-end', alignItems: 'center', - marginVertical: 15 + margin: 16, + marginBottom: 32 }, reactionSearchContainer: { marginHorizontal: 12, @@ -66,7 +67,14 @@ export default StyleSheet.create({ }, previewMode: { fontSize: 16, - ...sharedStyles.textMedium + lineHeight: 24, + ...sharedStyles.textSemibold + }, + readOnlyDescription: { + fontSize: 16, + lineHeight: 24, + ...sharedStyles.textRegular, + textAlign: 'center' }, searchbarContainer: { height: 56, From 29691f2a168f65bb5b8e36acd6b18298d5429c96 Mon Sep 17 00:00:00 2001 From: Diego Mello Date: Thu, 10 Oct 2024 14:15:59 -0300 Subject: [PATCH 2/3] Share extension --- app/i18n/locales/ar.json | 3 +- app/i18n/locales/bn-IN.json | 3 +- app/i18n/locales/cs.json | 3 +- app/i18n/locales/de.json | 3 +- app/i18n/locales/en.json | 1 + app/i18n/locales/es.json | 3 +- app/i18n/locales/fi.json | 3 +- app/i18n/locales/fr.json | 3 +- app/i18n/locales/hi-IN.json | 3 +- app/i18n/locales/hu.json | 3 +- app/i18n/locales/it.json | 3 +- app/i18n/locales/ja.json | 3 +- app/i18n/locales/nl.json | 3 +- app/i18n/locales/pt-BR.json | 3 +- app/i18n/locales/pt-PT.json | 3 +- app/i18n/locales/ru.json | 3 +- app/i18n/locales/sl-SI.json | 3 +- app/i18n/locales/sv.json | 3 +- app/i18n/locales/ta-IN.json | 3 +- app/i18n/locales/te-IN.json | 3 +- app/i18n/locales/tr.json | 3 +- app/i18n/locales/zh-CN.json | 3 +- app/i18n/locales/zh-TW.json | 3 +- app/views/RoomView/index.tsx | 2 +- app/views/ShareListView/index.tsx | 94 ++++++++++++++++++++++++------- app/views/ShareListView/styles.ts | 20 +++++++ 26 files changed, 140 insertions(+), 43 deletions(-) diff --git a/app/i18n/locales/ar.json b/app/i18n/locales/ar.json index bdb1133b52..16f3d8204f 100644 --- a/app/i18n/locales/ar.json +++ b/app/i18n/locales/ar.json @@ -503,5 +503,6 @@ "Your_password_is": "كلمة المرور الخاصة بك هي", "Your_workspace": "مساحة عملك", "AirGapped_workspace_read_only_title": "مساحة العمل في وضع القراءة فقط.", - "AirGapped_workspace_read_only_description": "يمكن للمسؤولين استعادة الوظائف الكاملة عن طريق الاتصال بالإنترنت أو الترقية إلى خطة متميزة." + "AirGapped_workspace_read_only_description": "يمكن للمسؤولين استعادة الوظائف الكاملة عن طريق الاتصال بالإنترنت أو الترقية إلى خطة متميزة.", + "AirGapped_workspace_read_only_share_extension_title": "المشاركة معطلة لأن مساحة العمل في وضع القراءة فق." } \ No newline at end of file diff --git a/app/i18n/locales/bn-IN.json b/app/i18n/locales/bn-IN.json index 022796112e..8a6b74bb46 100644 --- a/app/i18n/locales/bn-IN.json +++ b/app/i18n/locales/bn-IN.json @@ -769,5 +769,6 @@ "Your_password_is": "আপনার পাসওয়ার্ড হল", "Your_workspace": "আপনার ওয়ার্কস্পেস", "AirGapped_workspace_read_only_title": "কর্মস্থান পড়ার মোডে।", - "AirGapped_workspace_read_only_description": "অ্যাডমিনরা এটি ইন্টারনেটের সাথে সংযুক্ত করে বা একটি প্রিমিয়াম পরিকল্পনায় আপগ্রেড করে সম্পূর্ণ কার্যকারিতা পুনরুদ্ধার করতে পারেন।" + "AirGapped_workspace_read_only_description": "অ্যাডমিনরা এটি ইন্টারনেটের সাথে সংযুক্ত করে বা একটি প্রিমিয়াম পরিকল্পনায় আপগ্রেড করে সম্পূর্ণ কার্যকারিতা পুনরুদ্ধার করতে পারেন।", + "AirGapped_workspace_read_only_share_extension_title": "কর্মস্থান পড়ার মোডে থাকার কারণে শেয়ারিং অক্ষম।" } \ No newline at end of file diff --git a/app/i18n/locales/cs.json b/app/i18n/locales/cs.json index 8da535b632..358c488ee9 100644 --- a/app/i18n/locales/cs.json +++ b/app/i18n/locales/cs.json @@ -846,5 +846,6 @@ "Your_push_was_sent_to_s_devices": "Vaše push byla odeslána do {{s}} zařízení", "Your_workspace": "Váš pracovní prostor", "AirGapped_workspace_read_only_title": "Pracoviště v režimu pouze pro čtení.", - "AirGapped_workspace_read_only_description": "Správci mohou obnovit plnou funkčnost připojením k internetu nebo upgradem na prémiový plán." + "AirGapped_workspace_read_only_description": "Správci mohou obnovit plnou funkčnost připojením k internetu nebo upgradem na prémiový plán.", + "AirGapped_workspace_read_only_share_extension_title": "Sdílení je zakázáno, protože pracovní prostor je v režimu pouze pro čtení." } \ No newline at end of file diff --git a/app/i18n/locales/de.json b/app/i18n/locales/de.json index 56b03c2495..e2690e3d7c 100644 --- a/app/i18n/locales/de.json +++ b/app/i18n/locales/de.json @@ -759,5 +759,6 @@ "Your_password_is": "Ihr Passwort lautet", "Your_workspace": "Ihr Arbeitsbereich", "AirGapped_workspace_read_only_title": "Arbeitsbereich im Nur-Lesen-Modus.", - "AirGapped_workspace_read_only_description": "Administratoren können die volle Funktionalität wiederherstellen, indem sie es mit dem Internet verbinden oder auf einen Premium-Plan upgraden." + "AirGapped_workspace_read_only_description": "Administratoren können die volle Funktionalität wiederherstellen, indem sie es mit dem Internet verbinden oder auf einen Premium-Plan upgraden.", + "AirGapped_workspace_read_only_share_extension_title": "Das Teilen ist deaktiviert, da der Arbeitsbereich im Nur-Lesen-Modus ist." } \ No newline at end of file diff --git a/app/i18n/locales/en.json b/app/i18n/locales/en.json index 8999ae0091..8468e43a8c 100644 --- a/app/i18n/locales/en.json +++ b/app/i18n/locales/en.json @@ -866,6 +866,7 @@ "Your_password_is": "Your password is", "Your_push_was_sent_to_s_devices": "Your push was sent to {{s}} devices", "Your_workspace": "Your workspace", + "AirGapped_workspace_read_only_share_extension_title": "Sharing is disabled because workspace is in read-only mode.", "AirGapped_workspace_read_only_title": "Workspace in read-only mode.", "AirGapped_workspace_read_only_description": "Admins can restore full functionality by connecting it to internet or upgrading to a premium plan." } \ No newline at end of file diff --git a/app/i18n/locales/es.json b/app/i18n/locales/es.json index b50bbf8e98..9b5f095569 100644 --- a/app/i18n/locales/es.json +++ b/app/i18n/locales/es.json @@ -308,5 +308,6 @@ "You_will_not_be_able_to_recover_this_message": "¡No podrás recuperar este mensaje!", "Your_certificate": "Tu certificado", "AirGapped_workspace_read_only_title": "Espacio de trabajo en modo de solo lectura.", - "AirGapped_workspace_read_only_description": "Los administradores pueden restaurar la funcionalidad completa conectándolo a Internet o actualizando a un plan premium." + "AirGapped_workspace_read_only_description": "Los administradores pueden restaurar la funcionalidad completa conectándolo a Internet o actualizando a un plan premium.", + "AirGapped_workspace_read_only_share_extension_title": "La compartición está deshabilitada porque el espacio de trabajo está en modo de solo lectura." } \ No newline at end of file diff --git a/app/i18n/locales/fi.json b/app/i18n/locales/fi.json index 9cc813d5db..016845cd22 100644 --- a/app/i18n/locales/fi.json +++ b/app/i18n/locales/fi.json @@ -731,5 +731,6 @@ "Your_password_is": "Salasanasi on", "Your_workspace": "Työtilasi", "AirGapped_workspace_read_only_title": "Työtila vain luku -tilassa.", - "AirGapped_workspace_read_only_description": "Järjestelmänvalvojat voivat palauttaa täyden toiminnallisuuden liittämällä sen internetiin tai päivittämällä premium-suunnitelmaan." + "AirGapped_workspace_read_only_description": "Järjestelmänvalvojat voivat palauttaa täyden toiminnallisuuden liittämällä sen internetiin tai päivittämällä premium-suunnitelmaan.", + "AirGapped_workspace_read_only_share_extension_title": "Jakaminen on poistettu käytöstä, koska työtila on vain luku -tilassa." } \ No newline at end of file diff --git a/app/i18n/locales/fr.json b/app/i18n/locales/fr.json index 52d36582e1..ca383b5843 100644 --- a/app/i18n/locales/fr.json +++ b/app/i18n/locales/fr.json @@ -650,5 +650,6 @@ "Your_password_is": "Votre mot de passe est", "Your_workspace": "Votre espace de travail", "AirGapped_workspace_read_only_title": "Espace de travail en mode lecture seule.", - "AirGapped_workspace_read_only_description": "Les administrateurs peuvent restaurer la fonctionnalité complète en le connectant à Internet ou en passant à un plan premium." + "AirGapped_workspace_read_only_description": "Les administrateurs peuvent restaurer la fonctionnalité complète en le connectant à Internet ou en passant à un plan premium.", + "AirGapped_workspace_read_only_share_extension_title": "Le partage est désactivé car l'espace de travail est en mode lecture seule." } \ No newline at end of file diff --git a/app/i18n/locales/hi-IN.json b/app/i18n/locales/hi-IN.json index b2aaf0d765..ae78923d1f 100644 --- a/app/i18n/locales/hi-IN.json +++ b/app/i18n/locales/hi-IN.json @@ -769,5 +769,6 @@ "Your_password_is": "आपका पासवर्ड है", "Your_workspace": "आपका कार्यस्थान", "AirGapped_workspace_read_only_title": "कार्यस्थान केवल-पढ़ने के मोड में है।", - "AirGapped_workspace_read_only_description": "व्यवस्थापकों के पास इसे इंटरनेट से कनेक्ट करके या प्रीमियम योजना में अपग्रेड करके पूर्ण कार्यक्षमता को पुनर्स्थापित करने का विकल्प है।" + "AirGapped_workspace_read_only_description": "व्यवस्थापकों के पास इसे इंटरनेट से कनेक्ट करके या प्रीमियम योजना में अपग्रेड करके पूर्ण कार्यक्षमता को पुनर्स्थापित करने का विकल्प है।", + "AirGapped_workspace_read_only_share_extension_title": "कार्यस्थान केवल-पढ़ने के मोड में होने के कारण साझा करना अक्षम है।" } \ No newline at end of file diff --git a/app/i18n/locales/hu.json b/app/i18n/locales/hu.json index 947a779c6c..e3576ab44f 100644 --- a/app/i18n/locales/hu.json +++ b/app/i18n/locales/hu.json @@ -772,5 +772,6 @@ "Your_password_is": "A jelszava a következő", "Your_workspace": "Az Ön munkaterülete", "AirGapped_workspace_read_only_title": "Munkaterület csak olvasási módban.", - "AirGapped_workspace_read_only_description": "A rendszergazdák visszaállíthatják a teljes funkcionalitást az internethez való csatlakozással vagy prémium tervre való frissítéssel." + "AirGapped_workspace_read_only_description": "A rendszergazdák visszaállíthatják a teljes funkcionalitást az internethez való csatlakozással vagy prémium tervre való frissítéssel.", + "AirGapped_workspace_read_only_share_extension_title": "A megosztás le van tiltva, mert a munkaterület csak olvasási módban van." } \ No newline at end of file diff --git a/app/i18n/locales/it.json b/app/i18n/locales/it.json index ef04182eb3..8c80b83b93 100644 --- a/app/i18n/locales/it.json +++ b/app/i18n/locales/it.json @@ -553,5 +553,6 @@ "Your_password_is": "La tua password è", "Your_workspace": "Il tuo workspace", "AirGapped_workspace_read_only_title": "Workspace in modalità di sola lettura.", - "AirGapped_workspace_read_only_description": "Gli amministratori possono ripristinare la funzionalità completa collegandosi a Internet o aggiornando a un piano premium." + "AirGapped_workspace_read_only_description": "Gli amministratori possono ripristinare la funzionalità completa collegandosi a Internet o aggiornando a un piano premium.", + "AirGapped_workspace_read_only_share_extension_title": "La condivisione è disabilitata perché l'area di lavoro è in modalità di sola lettura." } \ No newline at end of file diff --git a/app/i18n/locales/ja.json b/app/i18n/locales/ja.json index f730ed4773..3f659db669 100644 --- a/app/i18n/locales/ja.json +++ b/app/i18n/locales/ja.json @@ -419,5 +419,6 @@ "Your_invite_link_will_expire_on__date__or_after__usesLeft__uses": "招待リンクは{{date}}までか、あと{{usesLeft}}回で使用できなくなります。", "Your_invite_link_will_never_expire": "招待リンクはずっと有効です。", "AirGapped_workspace_read_only_title": "ワークスペースは読み取り専用モードです。", - "AirGapped_workspace_read_only_description": "管理者は、インターネットに接続するか、プレミアムプランにアップグレードすることで、完全な機能を復元できます。" + "AirGapped_workspace_read_only_description": "管理者は、インターネットに接続するか、プレミアムプランにアップグレードすることで、完全な機能を復元できます。", + "AirGapped_workspace_read_only_share_extension_title": "共有は無効です。作業スペースが読み取り専用モードになっているため。" } \ No newline at end of file diff --git a/app/i18n/locales/nl.json b/app/i18n/locales/nl.json index 620edce0ac..25bb141913 100644 --- a/app/i18n/locales/nl.json +++ b/app/i18n/locales/nl.json @@ -650,5 +650,6 @@ "Your_password_is": "Jouw wachtwoord is", "Your_workspace": "Jouw werkruimte", "AirGapped_workspace_read_only_title": "Werkruimte in alleen-lezen modus.", - "AirGapped_workspace_read_only_description": "Beheerders kunnen de volledige functionaliteit herstellen door deze met internet te verbinden of te upgraden naar een premiumplan." + "AirGapped_workspace_read_only_description": "Beheerders kunnen de volledige functionaliteit herstellen door deze met internet te verbinden of te upgraden naar een premiumplan.", + "AirGapped_workspace_read_only_share_extension_title": "Delen is uitgeschakeld omdat de werkruimte in alleen-lezen modus is." } \ No newline at end of file diff --git a/app/i18n/locales/pt-BR.json b/app/i18n/locales/pt-BR.json index 973bd6dd9c..04c8b9de11 100644 --- a/app/i18n/locales/pt-BR.json +++ b/app/i18n/locales/pt-BR.json @@ -856,5 +856,6 @@ "Your_push_was_sent_to_s_devices": "A sua notificação foi enviada para {{s}} dispositivos", "Your_workspace": "Sua workspace", "AirGapped_workspace_read_only_title": "Espaço de trabalho em modo somente leitura.", - "AirGapped_workspace_read_only_description": "Os administradores podem restaurar a funcionalidade completa conectando-o à internet ou atualizando para um plano premium." + "AirGapped_workspace_read_only_description": "Os administradores podem restaurar a funcionalidade completa conectando-o à internet ou atualizando para um plano premium.", + "AirGapped_workspace_read_only_share_extension_title": "O compartilhamento está desativado porque o espaço de trabalho está em modo somente leitura." } \ No newline at end of file diff --git a/app/i18n/locales/pt-PT.json b/app/i18n/locales/pt-PT.json index 70900bda2e..1a8cc0b291 100644 --- a/app/i18n/locales/pt-PT.json +++ b/app/i18n/locales/pt-PT.json @@ -381,5 +381,6 @@ "you_were_mentioned": "você foi mencionado", "You_will_not_be_able_to_recover_this_message": "Você será incapaz de recuperar esta mensagem!", "AirGapped_workspace_read_only_title": "Espaço de trabalho em modo apenas leitura.", - "AirGapped_workspace_read_only_description": "Os administradores podem restaurar a funcionalidade completa ligando-o à internet ou fazendo um upgrade para um plano premium." + "AirGapped_workspace_read_only_description": "Os administradores podem restaurar a funcionalidade completa ligando-o à internet ou fazendo um upgrade para um plano premium.", + "AirGapped_workspace_read_only_share_extension_title": "O compartilhamento está desativado porque o espaço de trabalho está em modo apenas leitura." } \ No newline at end of file diff --git a/app/i18n/locales/ru.json b/app/i18n/locales/ru.json index 95cb960c7b..f661be9f5b 100644 --- a/app/i18n/locales/ru.json +++ b/app/i18n/locales/ru.json @@ -699,5 +699,6 @@ "Your_password_is": "Ваш пароль", "Your_workspace": "Ваш сервер", "AirGapped_workspace_read_only_title": "Рабочее пространство в режиме только для чтения.", - "AirGapped_workspace_read_only_description": "Администраторы могут восстановить полную функциональность, подключив его к интернету или обновив до премиум-плана." + "AirGapped_workspace_read_only_description": "Администраторы могут восстановить полную функциональность, подключив его к интернету или обновив до премиум-плана.", + "AirGapped_workspace_read_only_share_extension_title": "Обмен отключен, так как рабочая область находится в режиме только для чтения." } \ No newline at end of file diff --git a/app/i18n/locales/sl-SI.json b/app/i18n/locales/sl-SI.json index 62fa635779..ad7e2ee62e 100644 --- a/app/i18n/locales/sl-SI.json +++ b/app/i18n/locales/sl-SI.json @@ -665,5 +665,6 @@ "Your_password_is": "Vaše geslo je", "Your_workspace": "Vaš delovni prostor", "AirGapped_workspace_read_only_title": "Delovno okolje v načinu samo za branje.", - "AirGapped_workspace_read_only_description": "Skupni skrbniki lahko obnovijo popolno funkcionalnost z povezovanjem z internetom ali nadgradnjo na premium načrt." + "AirGapped_workspace_read_only_description": "Skupni skrbniki lahko obnovijo popolno funkcionalnost z povezovanjem z internetom ali nadgradnjo na premium načrt.", + "AirGapped_workspace_read_only_share_extension_title": "Deljenje je onemogočeno, ker je delovno okolje v načinu samo za branje." } \ No newline at end of file diff --git a/app/i18n/locales/sv.json b/app/i18n/locales/sv.json index 1411b3bfb5..2811e8b98b 100644 --- a/app/i18n/locales/sv.json +++ b/app/i18n/locales/sv.json @@ -729,5 +729,6 @@ "Your_password_is": "Ditt lösenord är", "Your_workspace": "Din arbetsyta", "AirGapped_workspace_read_only_title": "Arbetsytan är i skrivskyddat läge.", - "AirGapped_workspace_read_only_description": "Administratörer kan återställa full funktionalitet genom att ansluta den till internet eller uppgradera till en premiumplan." + "AirGapped_workspace_read_only_description": "Administratörer kan återställa full funktionalitet genom att ansluta den till internet eller uppgradera till en premiumplan.", + "AirGapped_workspace_read_only_share_extension_title": "Delning är inaktiverat eftersom arbetsytan är i skrivskyddat läge." } \ No newline at end of file diff --git a/app/i18n/locales/ta-IN.json b/app/i18n/locales/ta-IN.json index 064c397b79..f3a4ac9ca3 100644 --- a/app/i18n/locales/ta-IN.json +++ b/app/i18n/locales/ta-IN.json @@ -769,5 +769,6 @@ "Your_password_is": "உங்கள் கடவுச்சொல் உள்ளது", "Your_workspace": "உங்கள் பணிகள்", "AirGapped_workspace_read_only_title": "தற்காலிகமாகவே படிக்கக்கூடிய சூழலில் உள்ள வேலைப்பாடு.", - "AirGapped_workspace_read_only_description": "அடுத்தவர்களை இணையத்துடன் இணைத்து அல்லது பிரீமியம் திட்டத்திற்கு மேம்படுத்துவதன் மூலம் முழு செயல்திறனை மீட்டெடுக்கலாம்." + "AirGapped_workspace_read_only_description": "அடுத்தவர்களை இணையத்துடன் இணைத்து அல்லது பிரீமியம் திட்டத்திற்கு மேம்படுத்துவதன் மூலம் முழு செயல்திறனை மீட்டெடுக்கலாம்.", + "AirGapped_workspace_read_only_share_extension_title": "பகிர்வு முடக்கப்பட்டுள்ளது, ஏனெனில் வேலைப்பாடு படிக்க மட்டுமே சுருக்கமாக உள்ளது." } \ No newline at end of file diff --git a/app/i18n/locales/te-IN.json b/app/i18n/locales/te-IN.json index 0a20cf1f55..e399855661 100644 --- a/app/i18n/locales/te-IN.json +++ b/app/i18n/locales/te-IN.json @@ -769,5 +769,6 @@ "Your_password_is": "మీ సంకేతపదం", "Your_workspace": "మీ వర్క్‌స్పేస్", "AirGapped_workspace_read_only_title": "అయోమయ స్థితిలో ఉన్న పనికోసం.", - "AirGapped_workspace_read_only_description": "నిర్వహకులు దీన్ని ఇంటర్నెట్‌తో కలుపుకోవడం లేదా ప్రీమియం ప్రణాళికకు మెరుగుపరచడం ద్వారా పూర్తి ఫంక్షనాలిటీని పునఃస్థాపించవచ్చు." + "AirGapped_workspace_read_only_description": "నిర్వహకులు దీన్ని ఇంటర్నెట్‌తో కలుపుకోవడం లేదా ప్రీమియం ప్రణాళికకు మెరుగుపరచడం ద్వారా పూర్తి ఫంక్షనాలిటీని పునఃస్థాపించవచ్చు.", + "AirGapped_workspace_read_only_share_extension_title": "జోడించడం నిలిపివేయబడింది, ఎందుకంటే పనికోసం చదివే స్ధితిలో ఉంది." } \ No newline at end of file diff --git a/app/i18n/locales/tr.json b/app/i18n/locales/tr.json index 042e39a757..0ec085bff8 100644 --- a/app/i18n/locales/tr.json +++ b/app/i18n/locales/tr.json @@ -536,5 +536,6 @@ "Your_password_is": "Şifreniz", "Your_workspace": "Çalışma alanınız", "AirGapped_workspace_read_only_title": "Çalışma alanı yalnızca okunur modda.", - "AirGapped_workspace_read_only_description": "Yöneticiler, bunu internete bağlayarak veya premium bir plana yükselterek tam işlevselliği geri kazanabilirler." + "AirGapped_workspace_read_only_description": "Yöneticiler, bunu internete bağlayarak veya premium bir plana yükselterek tam işlevselliği geri kazanabilirler.", + "AirGapped_workspace_read_only_share_extension_title": "Paylaşım, çalışma alanı yalnızca okunur modda olduğu için devre dışı bırakıldı." } \ No newline at end of file diff --git a/app/i18n/locales/zh-CN.json b/app/i18n/locales/zh-CN.json index 718ce07cd7..a01b037326 100644 --- a/app/i18n/locales/zh-CN.json +++ b/app/i18n/locales/zh-CN.json @@ -494,5 +494,6 @@ "Your_password_is": "您的密码", "Your_workspace": "您的工作区", "AirGapped_workspace_read_only_title": "工作区为只读模式。", - "AirGapped_workspace_read_only_description": "管理员可以通过将其连接到互联网或升级到高级计划来恢复完整功能。" + "AirGapped_workspace_read_only_description": "管理员可以通过将其连接到互联网或升级到高级计划来恢复完整功能。", + "AirGapped_workspace_read_only_share_extension_title": "共享已禁用,因为工作区处于只读模式。" } \ No newline at end of file diff --git a/app/i18n/locales/zh-TW.json b/app/i18n/locales/zh-TW.json index 57dc1301c5..b6af55df97 100644 --- a/app/i18n/locales/zh-TW.json +++ b/app/i18n/locales/zh-TW.json @@ -523,5 +523,6 @@ "Your_password_is": "您的密碼", "Your_workspace": "您的工作區", "AirGapped_workspace_read_only_title": "工作區域為唯讀模式。", - "AirGapped_workspace_read_only_description": "管理員可以通過將其連接到互聯網或升級到高級計劃來恢復完整功能。" + "AirGapped_workspace_read_only_description": "管理員可以通過將其連接到互聯網或升級到高級計劃來恢復完整功能。", + "AirGapped_workspace_read_only_share_extension_title": "共享被禁用,因為工作區域處於唯讀模式。" } \ No newline at end of file diff --git a/app/views/RoomView/index.tsx b/app/views/RoomView/index.tsx index 2044a32e8f..c13aafb776 100644 --- a/app/views/RoomView/index.tsx +++ b/app/views/RoomView/index.tsx @@ -1416,7 +1416,7 @@ class RoomView extends React.Component { ); } - if (airGappedRestrictionRemainingDays !== undefined && airGappedRestrictionRemainingDays === -1) { + if (airGappedRestrictionRemainingDays !== undefined && airGappedRestrictionRemainingDays === 0) { return ( diff --git a/app/views/ShareListView/index.tsx b/app/views/ShareListView/index.tsx index 42d943dfde..b6efba0662 100644 --- a/app/views/ShareListView/index.tsx +++ b/app/views/ShareListView/index.tsx @@ -59,6 +59,7 @@ interface IShareListViewProps extends INavigationOption { token: string; userId: string; theme: TSupportedThemes; + airGappedRestrictionRemainingDays: number | undefined; shareExtensionParams: Record; dispatch: Dispatch; } @@ -207,11 +208,12 @@ class ShareListView extends React.Component { ), headerTitle: I18n.t('Send_to'), - headerRight: () => ( - - - - ) + headerRight: () => + this.airGappedReadOnly ? null : ( + + + + ) }); }; @@ -283,6 +285,17 @@ class ShareListView extends React.Component { // Do nothing } + if (this.airGappedReadOnly) { + this.internalSetState({ + chats: [], + serversCount, + loading: false, + serverInfo + }); + this.forceUpdate(); + return; + } + this.internalSetState({ chats: chats ?? [], serversCount, @@ -345,6 +358,11 @@ class ShareListView extends React.Component { dispatch(appStart({ root: RootEnum.ROOT_INSIDE })); }; + get airGappedReadOnly() { + const { airGappedRestrictionRemainingDays } = this.props; + return airGappedRestrictionRemainingDays !== undefined && airGappedRestrictionRemainingDays === 0; + } + renderSectionHeader = (header: string) => { const { searching } = this.state; const { theme } = this.props; @@ -393,8 +411,11 @@ class ShareListView extends React.Component { }; renderSelectServer = () => { - const { serverInfo } = this.state; + const { serverInfo, serversCount } = this.state; const { navigation } = this.props; + if (serversCount === 1) { + return null; + } return ( <> {this.renderSectionHeader('Select_Server')} @@ -405,25 +426,25 @@ class ShareListView extends React.Component { }; renderEmptyComponent = () => { + const { searching, searchText } = this.state; const { theme } = this.props; - return ( - - {I18n.t('No_results_found')} - - ); + if (searching && searchText) { + return ( + + {I18n.t('No_results_found')} + + ); + } + return null; }; renderHeader = () => { - const { searching, serversCount } = this.state; + const { searching } = this.state; if (searching) { return null; } - if (serversCount === 1) { - return this.renderSectionHeader('Chats'); - } - return ( <> {this.renderSelectServer()} @@ -433,13 +454,42 @@ class ShareListView extends React.Component { }; render = () => { - const { chats, loading, searchResults, searching, searchText } = this.state; + const { chats, loading, searchResults, searching, serversCount } = this.state; const { theme } = this.props; if (loading) { return ; } + if (this.airGappedReadOnly) { + return ( + + {this.renderSelectServer()} + {serversCount > 1 ? ( + <> + + + + ) : null} + 1 ? { justifyContent: 'center' } : { paddingTop: 250 }) + } + ]}> + + {I18n.t('AirGapped_workspace_read_only_share_extension_title')} + + + {I18n.t('AirGapped_workspace_read_only_description')} + + + + ); + } + return ( { ItemSeparatorComponent={List.Separator} ListHeaderComponent={this.renderHeader} ListFooterComponent={!searching || searchResults.length > 0 ? : null} - ListEmptyComponent={searching && searchText ? this.renderEmptyComponent : null} + ListEmptyComponent={this.renderEmptyComponent} removeClippedSubviews keyboardShouldPersistTaps='always' /> @@ -460,13 +510,17 @@ class ShareListView extends React.Component { }; } -const mapStateToProps = ({ login, server, share }: IApplicationState) => ({ +const mapStateToProps = ({ login, server, share, settings }: IApplicationState) => ({ userId: login?.user?.id as string, token: login?.user?.token as string, isAuthenticated: login?.isAuthenticated, server: server?.server, connecting: server?.connecting, - shareExtensionParams: share?.params + shareExtensionParams: share?.params, + airGappedRestrictionRemainingDays: + typeof settings.Cloud_Workspace_AirGapped_Restrictions_Remaining_Days === 'number' + ? settings.Cloud_Workspace_AirGapped_Restrictions_Remaining_Days + : undefined }); export default connect(mapStateToProps)(withTheme(ShareListView)); diff --git a/app/views/ShareListView/styles.ts b/app/views/ShareListView/styles.ts index 5a3241da94..6b60a2a64f 100644 --- a/app/views/ShareListView/styles.ts +++ b/app/views/ShareListView/styles.ts @@ -66,5 +66,25 @@ export default StyleSheet.create({ marginHorizontal: 30, ...sharedStyles.textRegular, ...sharedStyles.textAlignCenter + }, + readOnlyServerSeparator: { + height: 16 + }, + readOnlyContainer: { + flex: 1, + alignItems: 'center', + padding: 16 + }, + readOnlyTitle: { + fontSize: 16, + lineHeight: 24, + ...sharedStyles.textSemibold, + textAlign: 'center' + }, + readOnlyDescription: { + fontSize: 16, + lineHeight: 24, + ...sharedStyles.textRegular, + textAlign: 'center' } }); From f593146200d7a9ef9daaf2eb875947c2745ce8fe Mon Sep 17 00:00:00 2001 From: diegolmello Date: Thu, 10 Oct 2024 17:33:44 +0000 Subject: [PATCH 3/3] action: organized translations --- app/i18n/locales/ar.json | 8 ++++---- app/i18n/locales/bn-IN.json | 8 ++++---- app/i18n/locales/cs.json | 8 ++++---- app/i18n/locales/de.json | 8 ++++---- app/i18n/locales/en.json | 8 ++++---- app/i18n/locales/es.json | 8 ++++---- app/i18n/locales/fi.json | 8 ++++---- app/i18n/locales/fr.json | 8 ++++---- app/i18n/locales/hi-IN.json | 8 ++++---- app/i18n/locales/hu.json | 8 ++++---- app/i18n/locales/it.json | 8 ++++---- app/i18n/locales/ja.json | 8 ++++---- app/i18n/locales/nl.json | 8 ++++---- app/i18n/locales/pt-BR.json | 8 ++++---- app/i18n/locales/pt-PT.json | 8 ++++---- app/i18n/locales/ru.json | 8 ++++---- app/i18n/locales/sl-SI.json | 8 ++++---- app/i18n/locales/sv.json | 8 ++++---- app/i18n/locales/ta-IN.json | 8 ++++---- app/i18n/locales/te-IN.json | 8 ++++---- app/i18n/locales/tr.json | 8 ++++---- app/i18n/locales/zh-CN.json | 8 ++++---- app/i18n/locales/zh-TW.json | 8 ++++---- 23 files changed, 92 insertions(+), 92 deletions(-) diff --git a/app/i18n/locales/ar.json b/app/i18n/locales/ar.json index 16f3d8204f..f35cf9947a 100644 --- a/app/i18n/locales/ar.json +++ b/app/i18n/locales/ar.json @@ -10,6 +10,9 @@ "Admin_Panel": "لوحة الإدارة", "After_seconds_set_by_admin": "بعد {{seconds}} ثوان (حددها المدير)", "Agent": "المندوب", + "AirGapped_workspace_read_only_description": "يمكن للمسؤولين استعادة الوظائف الكاملة عن طريق الاتصال بالإنترنت أو الترقية إلى خطة متميزة.", + "AirGapped_workspace_read_only_share_extension_title": "المشاركة معطلة لأن مساحة العمل في وضع القراءة فق.", + "AirGapped_workspace_read_only_title": "مساحة العمل في وضع القراءة فقط.", "Alert": "إنذار", "alert": "إنذار", "alerts": "الإنذارات", @@ -501,8 +504,5 @@ "Your_invite_link_will_expire_on__date__or_after__usesLeft__uses": "ستنتهي صلاحية رابط الدعوة الخاص بك في {{date}} أو بعد {{usesLeft}} استخدامات", "Your_invite_link_will_never_expire": "لن تنتهي صلاحية رابط الدعوة الخاص بك", "Your_password_is": "كلمة المرور الخاصة بك هي", - "Your_workspace": "مساحة عملك", - "AirGapped_workspace_read_only_title": "مساحة العمل في وضع القراءة فقط.", - "AirGapped_workspace_read_only_description": "يمكن للمسؤولين استعادة الوظائف الكاملة عن طريق الاتصال بالإنترنت أو الترقية إلى خطة متميزة.", - "AirGapped_workspace_read_only_share_extension_title": "المشاركة معطلة لأن مساحة العمل في وضع القراءة فق." + "Your_workspace": "مساحة عملك" } \ No newline at end of file diff --git a/app/i18n/locales/bn-IN.json b/app/i18n/locales/bn-IN.json index 8a6b74bb46..639e22d8a3 100644 --- a/app/i18n/locales/bn-IN.json +++ b/app/i18n/locales/bn-IN.json @@ -27,6 +27,9 @@ "admin-video-conf-provider-not-configured-header": "কনফারেন্স কল সক্ষম হয়নি", "After_seconds_set_by_admin": "{{seconds}} সেকেন্ড পরে (প্রশাসক দ্বারা সেট করা)", "Agent": "এজেন্ট", + "AirGapped_workspace_read_only_description": "অ্যাডমিনরা এটি ইন্টারনেটের সাথে সংযুক্ত করে বা একটি প্রিমিয়াম পরিকল্পনায় আপগ্রেড করে সম্পূর্ণ কার্যকারিতা পুনরুদ্ধার করতে পারেন।", + "AirGapped_workspace_read_only_share_extension_title": "কর্মস্থান পড়ার মোডে থাকার কারণে শেয়ারিং অক্ষম।", + "AirGapped_workspace_read_only_title": "কর্মস্থান পড়ার মোডে।", "Alert": "সতর্কতা", "alert": "সতর্কতা", "alerts": "সতর্কতা", @@ -767,8 +770,5 @@ "Your_invite_link_will_expire_on__date__or_after__usesLeft__uses": "আপনার আমন্ত্রণ লিঙ্কটি {{date}} বা তারপর {{usesLeft}} ব্যবহার করার পর মেয়াদ শেষ হবে।", "Your_invite_link_will_never_expire": "আপনার আমন্ত্রণ লিঙ্কটি কখনও মেয়াদ শেষ হবে না।", "Your_password_is": "আপনার পাসওয়ার্ড হল", - "Your_workspace": "আপনার ওয়ার্কস্পেস", - "AirGapped_workspace_read_only_title": "কর্মস্থান পড়ার মোডে।", - "AirGapped_workspace_read_only_description": "অ্যাডমিনরা এটি ইন্টারনেটের সাথে সংযুক্ত করে বা একটি প্রিমিয়াম পরিকল্পনায় আপগ্রেড করে সম্পূর্ণ কার্যকারিতা পুনরুদ্ধার করতে পারেন।", - "AirGapped_workspace_read_only_share_extension_title": "কর্মস্থান পড়ার মোডে থাকার কারণে শেয়ারিং অক্ষম।" + "Your_workspace": "আপনার ওয়ার্কস্পেস" } \ No newline at end of file diff --git a/app/i18n/locales/cs.json b/app/i18n/locales/cs.json index 358c488ee9..4ae3d4a56b 100644 --- a/app/i18n/locales/cs.json +++ b/app/i18n/locales/cs.json @@ -28,6 +28,9 @@ "admin-video-conf-provider-not-configured-header": "Konferenční hovor není povolen", "After_seconds_set_by_admin": "Po {{seconds}} sekundách (nastaveno administrátorem)", "Agent": "Agent", + "AirGapped_workspace_read_only_description": "Správci mohou obnovit plnou funkčnost připojením k internetu nebo upgradem na prémiový plán.", + "AirGapped_workspace_read_only_share_extension_title": "Sdílení je zakázáno, protože pracovní prostor je v režimu pouze pro čtení.", + "AirGapped_workspace_read_only_title": "Pracoviště v režimu pouze pro čtení.", "Alert": "Upozornění", "alert": "upozornění", "alerts": "upozornění", @@ -844,8 +847,5 @@ "Your_invite_link_will_never_expire": "Platnost vašeho odkazu s pozvánkou nikdy nevyprší.", "Your_password_is": "Vaše heslo je", "Your_push_was_sent_to_s_devices": "Vaše push byla odeslána do {{s}} zařízení", - "Your_workspace": "Váš pracovní prostor", - "AirGapped_workspace_read_only_title": "Pracoviště v režimu pouze pro čtení.", - "AirGapped_workspace_read_only_description": "Správci mohou obnovit plnou funkčnost připojením k internetu nebo upgradem na prémiový plán.", - "AirGapped_workspace_read_only_share_extension_title": "Sdílení je zakázáno, protože pracovní prostor je v režimu pouze pro čtení." + "Your_workspace": "Váš pracovní prostor" } \ No newline at end of file diff --git a/app/i18n/locales/de.json b/app/i18n/locales/de.json index e2690e3d7c..457465147e 100644 --- a/app/i18n/locales/de.json +++ b/app/i18n/locales/de.json @@ -27,6 +27,9 @@ "admin-video-conf-provider-not-configured-header": "Telefonkonferenz nicht aktiviert", "After_seconds_set_by_admin": "Nach {{seconds}} Sekunden (durch den Admin gesetzt)", "Agent": "Agent", + "AirGapped_workspace_read_only_description": "Administratoren können die volle Funktionalität wiederherstellen, indem sie es mit dem Internet verbinden oder auf einen Premium-Plan upgraden.", + "AirGapped_workspace_read_only_share_extension_title": "Das Teilen ist deaktiviert, da der Arbeitsbereich im Nur-Lesen-Modus ist.", + "AirGapped_workspace_read_only_title": "Arbeitsbereich im Nur-Lesen-Modus.", "Alert": "Benachrichtigung", "alert": "Benachrichtigung", "alerts": "Benachrichtigungen", @@ -757,8 +760,5 @@ "Your_invite_link_will_expire_on__date__or_after__usesLeft__uses": "Ihr Einladungs-Link wird am {{date}} oder nach {{usesLeft}} Benutzungen ablaufen.", "Your_invite_link_will_never_expire": "Ihr Einladungs-Link wird niemals ablaufen.", "Your_password_is": "Ihr Passwort lautet", - "Your_workspace": "Ihr Arbeitsbereich", - "AirGapped_workspace_read_only_title": "Arbeitsbereich im Nur-Lesen-Modus.", - "AirGapped_workspace_read_only_description": "Administratoren können die volle Funktionalität wiederherstellen, indem sie es mit dem Internet verbinden oder auf einen Premium-Plan upgraden.", - "AirGapped_workspace_read_only_share_extension_title": "Das Teilen ist deaktiviert, da der Arbeitsbereich im Nur-Lesen-Modus ist." + "Your_workspace": "Ihr Arbeitsbereich" } \ No newline at end of file diff --git a/app/i18n/locales/en.json b/app/i18n/locales/en.json index 8468e43a8c..ba6b500667 100644 --- a/app/i18n/locales/en.json +++ b/app/i18n/locales/en.json @@ -28,6 +28,9 @@ "admin-video-conf-provider-not-configured-header": "Conference call not enabled", "After_seconds_set_by_admin": "After {{seconds}} seconds (set by admin)", "Agent": "Agent", + "AirGapped_workspace_read_only_description": "Admins can restore full functionality by connecting it to internet or upgrading to a premium plan.", + "AirGapped_workspace_read_only_share_extension_title": "Sharing is disabled because workspace is in read-only mode.", + "AirGapped_workspace_read_only_title": "Workspace in read-only mode.", "Alert": "Alert", "alert": "alert", "alerts": "alerts", @@ -865,8 +868,5 @@ "Your_invite_link_will_never_expire": "Your invite link will never expire.", "Your_password_is": "Your password is", "Your_push_was_sent_to_s_devices": "Your push was sent to {{s}} devices", - "Your_workspace": "Your workspace", - "AirGapped_workspace_read_only_share_extension_title": "Sharing is disabled because workspace is in read-only mode.", - "AirGapped_workspace_read_only_title": "Workspace in read-only mode.", - "AirGapped_workspace_read_only_description": "Admins can restore full functionality by connecting it to internet or upgrading to a premium plan." + "Your_workspace": "Your workspace" } \ No newline at end of file diff --git a/app/i18n/locales/es.json b/app/i18n/locales/es.json index 9b5f095569..75a34ded59 100644 --- a/app/i18n/locales/es.json +++ b/app/i18n/locales/es.json @@ -6,6 +6,9 @@ "Add_Server": "Añadir servidor", "Add_server": "Añadir servidor", "Admin_Panel": "Panel de Control", + "AirGapped_workspace_read_only_description": "Los administradores pueden restaurar la funcionalidad completa conectándolo a Internet o actualizando a un plan premium.", + "AirGapped_workspace_read_only_share_extension_title": "La compartición está deshabilitada porque el espacio de trabajo está en modo de solo lectura.", + "AirGapped_workspace_read_only_title": "Espacio de trabajo en modo de solo lectura.", "Alert": "Alerta", "alert": "alerta", "alerts": "alertas", @@ -306,8 +309,5 @@ "You_need_to_access_at_least_one_RocketChat_server_to_share_something": "Necesita acceder al menos a un servidor Rocket.Chat para compartir algo.", "you_were_mentioned": "has sido mencionado", "You_will_not_be_able_to_recover_this_message": "¡No podrás recuperar este mensaje!", - "Your_certificate": "Tu certificado", - "AirGapped_workspace_read_only_title": "Espacio de trabajo en modo de solo lectura.", - "AirGapped_workspace_read_only_description": "Los administradores pueden restaurar la funcionalidad completa conectándolo a Internet o actualizando a un plan premium.", - "AirGapped_workspace_read_only_share_extension_title": "La compartición está deshabilitada porque el espacio de trabajo está en modo de solo lectura." + "Your_certificate": "Tu certificado" } \ No newline at end of file diff --git a/app/i18n/locales/fi.json b/app/i18n/locales/fi.json index 016845cd22..6c518f24bb 100644 --- a/app/i18n/locales/fi.json +++ b/app/i18n/locales/fi.json @@ -20,6 +20,9 @@ "Admin_Panel": "Hallintapaneeli", "After_seconds_set_by_admin": "{{seconds}} sekunnin kuluttua (järjestelmänvalvojan asettama)", "Agent": "Agentti", + "AirGapped_workspace_read_only_description": "Järjestelmänvalvojat voivat palauttaa täyden toiminnallisuuden liittämällä sen internetiin tai päivittämällä premium-suunnitelmaan.", + "AirGapped_workspace_read_only_share_extension_title": "Jakaminen on poistettu käytöstä, koska työtila on vain luku -tilassa.", + "AirGapped_workspace_read_only_title": "Työtila vain luku -tilassa.", "Alert": "Hälytys", "alert": "hälytys", "alerts": "hälytystä", @@ -729,8 +732,5 @@ "Your_invite_link_will_expire_on__date__or_after__usesLeft__uses": "Kutsulinkkisi vanhenee {{date}} tai {{usesLeft}} käyttökerran jälkeen.", "Your_invite_link_will_never_expire": "Kutsulinkkisi ei vanhene.", "Your_password_is": "Salasanasi on", - "Your_workspace": "Työtilasi", - "AirGapped_workspace_read_only_title": "Työtila vain luku -tilassa.", - "AirGapped_workspace_read_only_description": "Järjestelmänvalvojat voivat palauttaa täyden toiminnallisuuden liittämällä sen internetiin tai päivittämällä premium-suunnitelmaan.", - "AirGapped_workspace_read_only_share_extension_title": "Jakaminen on poistettu käytöstä, koska työtila on vain luku -tilassa." + "Your_workspace": "Työtilasi" } \ No newline at end of file diff --git a/app/i18n/locales/fr.json b/app/i18n/locales/fr.json index ca383b5843..d4c8a7fc3e 100644 --- a/app/i18n/locales/fr.json +++ b/app/i18n/locales/fr.json @@ -13,6 +13,9 @@ "Admin_Panel": "Panneau d'administration", "After_seconds_set_by_admin": "Après {{seconds}} secondes (défini par l'administrateur)", "Agent": "Agent", + "AirGapped_workspace_read_only_description": "Les administrateurs peuvent restaurer la fonctionnalité complète en le connectant à Internet ou en passant à un plan premium.", + "AirGapped_workspace_read_only_share_extension_title": "Le partage est désactivé car l'espace de travail est en mode lecture seule.", + "AirGapped_workspace_read_only_title": "Espace de travail en mode lecture seule.", "Alert": "Alerte", "alert": "alerte", "alerts": "alertes", @@ -648,8 +651,5 @@ "Your_invite_link_will_expire_on__date__or_after__usesLeft__uses": "Votre lien d'invitation expirera le {{date}} ou après {{usesLeft}} utilisations.", "Your_invite_link_will_never_expire": "Votre lien d'invitation n'expirera jamais.", "Your_password_is": "Votre mot de passe est", - "Your_workspace": "Votre espace de travail", - "AirGapped_workspace_read_only_title": "Espace de travail en mode lecture seule.", - "AirGapped_workspace_read_only_description": "Les administrateurs peuvent restaurer la fonctionnalité complète en le connectant à Internet ou en passant à un plan premium.", - "AirGapped_workspace_read_only_share_extension_title": "Le partage est désactivé car l'espace de travail est en mode lecture seule." + "Your_workspace": "Votre espace de travail" } \ No newline at end of file diff --git a/app/i18n/locales/hi-IN.json b/app/i18n/locales/hi-IN.json index ae78923d1f..a746e92a21 100644 --- a/app/i18n/locales/hi-IN.json +++ b/app/i18n/locales/hi-IN.json @@ -27,6 +27,9 @@ "admin-video-conf-provider-not-configured-header": "कॉन्फ़्रेंस कॉल सक्षम नहीं है", "After_seconds_set_by_admin": "{{seconds}} सेकंड्स के बाद (व्यवस्थापक द्वारा सेट किया गया है)", "Agent": "एजेंट", + "AirGapped_workspace_read_only_description": "व्यवस्थापकों के पास इसे इंटरनेट से कनेक्ट करके या प्रीमियम योजना में अपग्रेड करके पूर्ण कार्यक्षमता को पुनर्स्थापित करने का विकल्प है।", + "AirGapped_workspace_read_only_share_extension_title": "कार्यस्थान केवल-पढ़ने के मोड में होने के कारण साझा करना अक्षम है।", + "AirGapped_workspace_read_only_title": "कार्यस्थान केवल-पढ़ने के मोड में है।", "Alert": "चेतावनी", "alert": "चेतावनी", "alerts": "चेतावनियाँ", @@ -767,8 +770,5 @@ "Your_invite_link_will_expire_on__date__or_after__usesLeft__uses": "आपका आमंत्रण लिंक {{date}} को या {{usesLeft}} उपयोगों के बाद समाप्त हो जाएगा।", "Your_invite_link_will_never_expire": "आपका आमंत्रण लिंक कभी समाप्त नहीं होगा।", "Your_password_is": "आपका पासवर्ड है", - "Your_workspace": "आपका कार्यस्थान", - "AirGapped_workspace_read_only_title": "कार्यस्थान केवल-पढ़ने के मोड में है।", - "AirGapped_workspace_read_only_description": "व्यवस्थापकों के पास इसे इंटरनेट से कनेक्ट करके या प्रीमियम योजना में अपग्रेड करके पूर्ण कार्यक्षमता को पुनर्स्थापित करने का विकल्प है।", - "AirGapped_workspace_read_only_share_extension_title": "कार्यस्थान केवल-पढ़ने के मोड में होने के कारण साझा करना अक्षम है।" + "Your_workspace": "आपका कार्यस्थान" } \ No newline at end of file diff --git a/app/i18n/locales/hu.json b/app/i18n/locales/hu.json index e3576ab44f..1365cdcbbf 100644 --- a/app/i18n/locales/hu.json +++ b/app/i18n/locales/hu.json @@ -27,6 +27,9 @@ "admin-video-conf-provider-not-configured-header": "Konferenciahívás nem engedélyezett", "After_seconds_set_by_admin": "{{seconds}} másodperc (admin által beállított)", "Agent": "Ügyintéző", + "AirGapped_workspace_read_only_description": "A rendszergazdák visszaállíthatják a teljes funkcionalitást az internethez való csatlakozással vagy prémium tervre való frissítéssel.", + "AirGapped_workspace_read_only_share_extension_title": "A megosztás le van tiltva, mert a munkaterület csak olvasási módban van.", + "AirGapped_workspace_read_only_title": "Munkaterület csak olvasási módban.", "Alert": "Riasztás", "alert": "riasztás", "alerts": "riasztás", @@ -770,8 +773,5 @@ "Your_invite_link_will_expire_on__date__or_after__usesLeft__uses": "A meghívási hivatkozása {{date}} napon vagy {{usesLeft}} használat után lejár.", "Your_invite_link_will_never_expire": "A meghívási hivatkozása sosem jár le.", "Your_password_is": "A jelszava a következő", - "Your_workspace": "Az Ön munkaterülete", - "AirGapped_workspace_read_only_title": "Munkaterület csak olvasási módban.", - "AirGapped_workspace_read_only_description": "A rendszergazdák visszaállíthatják a teljes funkcionalitást az internethez való csatlakozással vagy prémium tervre való frissítéssel.", - "AirGapped_workspace_read_only_share_extension_title": "A megosztás le van tiltva, mert a munkaterület csak olvasási módban van." + "Your_workspace": "Az Ön munkaterülete" } \ No newline at end of file diff --git a/app/i18n/locales/it.json b/app/i18n/locales/it.json index 8c80b83b93..f6e26d421d 100644 --- a/app/i18n/locales/it.json +++ b/app/i18n/locales/it.json @@ -14,6 +14,9 @@ "Admin_Panel": "Amministrazione", "After_seconds_set_by_admin": "Dopo {{seconds}} secondi (impostati dall'admin)", "Agent": "Agente", + "AirGapped_workspace_read_only_description": "Gli amministratori possono ripristinare la funzionalità completa collegandosi a Internet o aggiornando a un piano premium.", + "AirGapped_workspace_read_only_share_extension_title": "La condivisione è disabilitata perché l'area di lavoro è in modalità di sola lettura.", + "AirGapped_workspace_read_only_title": "Workspace in modalità di sola lettura.", "Alert": "Avviso", "alert": "avviso", "alerts": "avvisi", @@ -551,8 +554,5 @@ "Your_invite_link_will_expire_on__date__or_after__usesLeft__uses": "Il tuo link di invito scadrà il {{date}} oppure dopo {{usesLeft}} utilizzi.", "Your_invite_link_will_never_expire": "Il tuo link di invito non scadrà mai.", "Your_password_is": "La tua password è", - "Your_workspace": "Il tuo workspace", - "AirGapped_workspace_read_only_title": "Workspace in modalità di sola lettura.", - "AirGapped_workspace_read_only_description": "Gli amministratori possono ripristinare la funzionalità completa collegandosi a Internet o aggiornando a un piano premium.", - "AirGapped_workspace_read_only_share_extension_title": "La condivisione è disabilitata perché l'area di lavoro è in modalità di sola lettura." + "Your_workspace": "Il tuo workspace" } \ No newline at end of file diff --git a/app/i18n/locales/ja.json b/app/i18n/locales/ja.json index 3f659db669..e2993039be 100644 --- a/app/i18n/locales/ja.json +++ b/app/i18n/locales/ja.json @@ -9,6 +9,9 @@ "Add_users": "ユーザーを追加", "Admin_Panel": "管理者パネル", "Agent": "エージェント", + "AirGapped_workspace_read_only_description": "管理者は、インターネットに接続するか、プレミアムプランにアップグレードすることで、完全な機能を復元できます。", + "AirGapped_workspace_read_only_share_extension_title": "共有は無効です。作業スペースが読み取り専用モードになっているため。", + "AirGapped_workspace_read_only_title": "ワークスペースは読み取り専用モードです。", "Alert": "アラート", "alert": "アラート", "alerts": "アラート", @@ -417,8 +420,5 @@ "Your_invite_link_will_expire_after__usesLeft__uses": "招待リンクはあと{{usesLeft}}回で使用できなくなります。", "Your_invite_link_will_expire_on__date__": "招待リンクは{{date}}に使用できなくなります。", "Your_invite_link_will_expire_on__date__or_after__usesLeft__uses": "招待リンクは{{date}}までか、あと{{usesLeft}}回で使用できなくなります。", - "Your_invite_link_will_never_expire": "招待リンクはずっと有効です。", - "AirGapped_workspace_read_only_title": "ワークスペースは読み取り専用モードです。", - "AirGapped_workspace_read_only_description": "管理者は、インターネットに接続するか、プレミアムプランにアップグレードすることで、完全な機能を復元できます。", - "AirGapped_workspace_read_only_share_extension_title": "共有は無効です。作業スペースが読み取り専用モードになっているため。" + "Your_invite_link_will_never_expire": "招待リンクはずっと有効です。" } \ No newline at end of file diff --git a/app/i18n/locales/nl.json b/app/i18n/locales/nl.json index 25bb141913..bb6ba4f8bc 100644 --- a/app/i18n/locales/nl.json +++ b/app/i18n/locales/nl.json @@ -13,6 +13,9 @@ "Admin_Panel": "Admin Paneel", "After_seconds_set_by_admin": "Na {{seconds}} seconden (ingesteld door beheerder)", "Agent": "Agent", + "AirGapped_workspace_read_only_description": "Beheerders kunnen de volledige functionaliteit herstellen door deze met internet te verbinden of te upgraden naar een premiumplan.", + "AirGapped_workspace_read_only_share_extension_title": "Delen is uitgeschakeld omdat de werkruimte in alleen-lezen modus is.", + "AirGapped_workspace_read_only_title": "Werkruimte in alleen-lezen modus.", "Alert": "Waarschuwing", "alert": "waarschuwing", "alerts": "waarschuwingen", @@ -648,8 +651,5 @@ "Your_invite_link_will_expire_on__date__or_after__usesLeft__uses": "Je uitnodigingslink verloopt op {{date}} of na {{usesLeft}} keer.", "Your_invite_link_will_never_expire": "Je uitnodigingslink zal nooit verlopen.", "Your_password_is": "Jouw wachtwoord is", - "Your_workspace": "Jouw werkruimte", - "AirGapped_workspace_read_only_title": "Werkruimte in alleen-lezen modus.", - "AirGapped_workspace_read_only_description": "Beheerders kunnen de volledige functionaliteit herstellen door deze met internet te verbinden of te upgraden naar een premiumplan.", - "AirGapped_workspace_read_only_share_extension_title": "Delen is uitgeschakeld omdat de werkruimte in alleen-lezen modus is." + "Your_workspace": "Jouw werkruimte" } \ No newline at end of file diff --git a/app/i18n/locales/pt-BR.json b/app/i18n/locales/pt-BR.json index 04c8b9de11..91ef06fe17 100644 --- a/app/i18n/locales/pt-BR.json +++ b/app/i18n/locales/pt-BR.json @@ -27,6 +27,9 @@ "admin-video-conf-provider-not-configured-header": "Video conferência não ativada", "After_seconds_set_by_admin": "Após {{seconds}} segundos (Configurado pelo adm)", "Agent": "Agente", + "AirGapped_workspace_read_only_description": "Os administradores podem restaurar a funcionalidade completa conectando-o à internet ou atualizando para um plano premium.", + "AirGapped_workspace_read_only_share_extension_title": "O compartilhamento está desativado porque o espaço de trabalho está em modo somente leitura.", + "AirGapped_workspace_read_only_title": "Espaço de trabalho em modo somente leitura.", "Alert": "Alerta", "alert": "alerta", "alerts": "alertas", @@ -854,8 +857,5 @@ "Your_invite_link_will_never_expire": "Seu link de convite nunca irá vencer.", "Your_password_is": "Sua senha é", "Your_push_was_sent_to_s_devices": "A sua notificação foi enviada para {{s}} dispositivos", - "Your_workspace": "Sua workspace", - "AirGapped_workspace_read_only_title": "Espaço de trabalho em modo somente leitura.", - "AirGapped_workspace_read_only_description": "Os administradores podem restaurar a funcionalidade completa conectando-o à internet ou atualizando para um plano premium.", - "AirGapped_workspace_read_only_share_extension_title": "O compartilhamento está desativado porque o espaço de trabalho está em modo somente leitura." + "Your_workspace": "Sua workspace" } \ No newline at end of file diff --git a/app/i18n/locales/pt-PT.json b/app/i18n/locales/pt-PT.json index 1a8cc0b291..5fa525b5f0 100644 --- a/app/i18n/locales/pt-PT.json +++ b/app/i18n/locales/pt-PT.json @@ -8,6 +8,9 @@ "Add_users": "Adicionar utilizadores", "Admin_Panel": "Painel de Administração", "Agent": "Agente", + "AirGapped_workspace_read_only_description": "Os administradores podem restaurar a funcionalidade completa ligando-o à internet ou fazendo um upgrade para um plano premium.", + "AirGapped_workspace_read_only_share_extension_title": "O compartilhamento está desativado porque o espaço de trabalho está em modo apenas leitura.", + "AirGapped_workspace_read_only_title": "Espaço de trabalho em modo apenas leitura.", "Alert": "Alerta", "alert": "alerta", "alerts": "alertas", @@ -379,8 +382,5 @@ "You_colon": "Você: ", "You_dont_have_account": "Não tem uma conta?", "you_were_mentioned": "você foi mencionado", - "You_will_not_be_able_to_recover_this_message": "Você será incapaz de recuperar esta mensagem!", - "AirGapped_workspace_read_only_title": "Espaço de trabalho em modo apenas leitura.", - "AirGapped_workspace_read_only_description": "Os administradores podem restaurar a funcionalidade completa ligando-o à internet ou fazendo um upgrade para um plano premium.", - "AirGapped_workspace_read_only_share_extension_title": "O compartilhamento está desativado porque o espaço de trabalho está em modo apenas leitura." + "You_will_not_be_able_to_recover_this_message": "Você será incapaz de recuperar esta mensagem!" } \ No newline at end of file diff --git a/app/i18n/locales/ru.json b/app/i18n/locales/ru.json index f661be9f5b..d7415f0ddd 100644 --- a/app/i18n/locales/ru.json +++ b/app/i18n/locales/ru.json @@ -18,6 +18,9 @@ "Admin_Panel": "Панель админа", "After_seconds_set_by_admin": "Через {{seconds}} секунд (установлено администратором сервера)", "Agent": "Агент", + "AirGapped_workspace_read_only_description": "Администраторы могут восстановить полную функциональность, подключив его к интернету или обновив до премиум-плана.", + "AirGapped_workspace_read_only_share_extension_title": "Обмен отключен, так как рабочая область находится в режиме только для чтения.", + "AirGapped_workspace_read_only_title": "Рабочее пространство в режиме только для чтения.", "Alert": "Оповещение", "alert": "оповещение", "alerts": "оповещения", @@ -697,8 +700,5 @@ "Your_invite_link_will_expire_on__date__or_after__usesLeft__uses": "Ваша ссылка-приглашение станет не действительной {{date}} или после {{usesLeft}} ее использований.", "Your_invite_link_will_never_expire": "Ваша ссылка-приглашение никогда не будет просроченной.", "Your_password_is": "Ваш пароль", - "Your_workspace": "Ваш сервер", - "AirGapped_workspace_read_only_title": "Рабочее пространство в режиме только для чтения.", - "AirGapped_workspace_read_only_description": "Администраторы могут восстановить полную функциональность, подключив его к интернету или обновив до премиум-плана.", - "AirGapped_workspace_read_only_share_extension_title": "Обмен отключен, так как рабочая область находится в режиме только для чтения." + "Your_workspace": "Ваш сервер" } \ No newline at end of file diff --git a/app/i18n/locales/sl-SI.json b/app/i18n/locales/sl-SI.json index ad7e2ee62e..8138320f6e 100644 --- a/app/i18n/locales/sl-SI.json +++ b/app/i18n/locales/sl-SI.json @@ -17,6 +17,9 @@ "Admin_Panel": "Administracijska plošča", "After_seconds_set_by_admin": "Po {{seconds}} sekundah (nastavil admin)", "Agent": "Agent", + "AirGapped_workspace_read_only_description": "Skupni skrbniki lahko obnovijo popolno funkcionalnost z povezovanjem z internetom ali nadgradnjo na premium načrt.", + "AirGapped_workspace_read_only_share_extension_title": "Deljenje je onemogočeno, ker je delovno okolje v načinu samo za branje.", + "AirGapped_workspace_read_only_title": "Delovno okolje v načinu samo za branje.", "Alert": "Opozorilo", "alert": "Opozorilo", "alerts": "opozorila", @@ -663,8 +666,5 @@ "Your_invite_link_will_expire_on__date__or_after__usesLeft__uses": "Vaša povezava za povabilo bo potekala na {{date}} ali po {{usesLeft}}.", "Your_invite_link_will_never_expire": "Vaša povezava za povabilo ne bo nikoli potekala.", "Your_password_is": "Vaše geslo je", - "Your_workspace": "Vaš delovni prostor", - "AirGapped_workspace_read_only_title": "Delovno okolje v načinu samo za branje.", - "AirGapped_workspace_read_only_description": "Skupni skrbniki lahko obnovijo popolno funkcionalnost z povezovanjem z internetom ali nadgradnjo na premium načrt.", - "AirGapped_workspace_read_only_share_extension_title": "Deljenje je onemogočeno, ker je delovno okolje v načinu samo za branje." + "Your_workspace": "Vaš delovni prostor" } \ No newline at end of file diff --git a/app/i18n/locales/sv.json b/app/i18n/locales/sv.json index 2811e8b98b..38c0bb948f 100644 --- a/app/i18n/locales/sv.json +++ b/app/i18n/locales/sv.json @@ -20,6 +20,9 @@ "Admin_Panel": "Administratörspanel", "After_seconds_set_by_admin": "Efter {{seconds}} sekunder (anges av administratören)", "Agent": "Agent", + "AirGapped_workspace_read_only_description": "Administratörer kan återställa full funktionalitet genom att ansluta den till internet eller uppgradera till en premiumplan.", + "AirGapped_workspace_read_only_share_extension_title": "Delning är inaktiverat eftersom arbetsytan är i skrivskyddat läge.", + "AirGapped_workspace_read_only_title": "Arbetsytan är i skrivskyddat läge.", "Alert": "Varning", "alert": "varning", "alerts": "varningar", @@ -727,8 +730,5 @@ "Your_invite_link_will_expire_on__date__or_after__usesLeft__uses": "Inbjudningslänken upphör att gälla den {{date}} eller efter {{usesLeft}} användningar.", "Your_invite_link_will_never_expire": "Inbjudningslänken upphör aldrig att gälla.", "Your_password_is": "Ditt lösenord är", - "Your_workspace": "Din arbetsyta", - "AirGapped_workspace_read_only_title": "Arbetsytan är i skrivskyddat läge.", - "AirGapped_workspace_read_only_description": "Administratörer kan återställa full funktionalitet genom att ansluta den till internet eller uppgradera till en premiumplan.", - "AirGapped_workspace_read_only_share_extension_title": "Delning är inaktiverat eftersom arbetsytan är i skrivskyddat läge." + "Your_workspace": "Din arbetsyta" } \ No newline at end of file diff --git a/app/i18n/locales/ta-IN.json b/app/i18n/locales/ta-IN.json index f3a4ac9ca3..92e7a95b1f 100644 --- a/app/i18n/locales/ta-IN.json +++ b/app/i18n/locales/ta-IN.json @@ -27,6 +27,9 @@ "admin-video-conf-provider-not-configured-header": "காந்ஃபரன்ஸ் கால் கொள்ளை இயக்கப்படவில்லை", "After_seconds_set_by_admin": "{{seconds}} வினாடிகளில் (நிர்வாகி அமைத்தார்)", "Agent": "ஏஜென்ட்", + "AirGapped_workspace_read_only_description": "அடுத்தவர்களை இணையத்துடன் இணைத்து அல்லது பிரீமியம் திட்டத்திற்கு மேம்படுத்துவதன் மூலம் முழு செயல்திறனை மீட்டெடுக்கலாம்.", + "AirGapped_workspace_read_only_share_extension_title": "பகிர்வு முடக்கப்பட்டுள்ளது, ஏனெனில் வேலைப்பாடு படிக்க மட்டுமே சுருக்கமாக உள்ளது.", + "AirGapped_workspace_read_only_title": "தற்காலிகமாகவே படிக்கக்கூடிய சூழலில் உள்ள வேலைப்பாடு.", "Alert": "எச்சரிக்கை", "alert": "எச்சரிக்கை", "alerts": "எச்சரிக்கைகள்", @@ -767,8 +770,5 @@ "Your_invite_link_will_expire_on__date__or_after__usesLeft__uses": "உங்கள் அழைத்துக்கொள்ளும் இணைய கணக்கு {{date}} அல்லது {{usesLeft}} பயன்பாடுகளுக்குப் பிறகு காலாவதியாகின்றது.", "Your_invite_link_will_never_expire": "உங்கள் அழைத்துக்கொள்ளும் இணைய கணக்கு எப்போதும் காலாவதியாகின்றதுமில்லை.", "Your_password_is": "உங்கள் கடவுச்சொல் உள்ளது", - "Your_workspace": "உங்கள் பணிகள்", - "AirGapped_workspace_read_only_title": "தற்காலிகமாகவே படிக்கக்கூடிய சூழலில் உள்ள வேலைப்பாடு.", - "AirGapped_workspace_read_only_description": "அடுத்தவர்களை இணையத்துடன் இணைத்து அல்லது பிரீமியம் திட்டத்திற்கு மேம்படுத்துவதன் மூலம் முழு செயல்திறனை மீட்டெடுக்கலாம்.", - "AirGapped_workspace_read_only_share_extension_title": "பகிர்வு முடக்கப்பட்டுள்ளது, ஏனெனில் வேலைப்பாடு படிக்க மட்டுமே சுருக்கமாக உள்ளது." + "Your_workspace": "உங்கள் பணிகள்" } \ No newline at end of file diff --git a/app/i18n/locales/te-IN.json b/app/i18n/locales/te-IN.json index e399855661..9919e0c758 100644 --- a/app/i18n/locales/te-IN.json +++ b/app/i18n/locales/te-IN.json @@ -27,6 +27,9 @@ "admin-video-conf-provider-not-configured-header": "కాన్ఫరెన్స్ కాల్ అనేకంగా లేదు", "After_seconds_set_by_admin": "అడ్మిన్ ద్వారా సెట్ చేయబడిన {{seconds}} సెకన్లలో", "Agent": "ఏజెంట్", + "AirGapped_workspace_read_only_description": "నిర్వహకులు దీన్ని ఇంటర్నెట్‌తో కలుపుకోవడం లేదా ప్రీమియం ప్రణాళికకు మెరుగుపరచడం ద్వారా పూర్తి ఫంక్షనాలిటీని పునఃస్థాపించవచ్చు.", + "AirGapped_workspace_read_only_share_extension_title": "జోడించడం నిలిపివేయబడింది, ఎందుకంటే పనికోసం చదివే స్ధితిలో ఉంది.", + "AirGapped_workspace_read_only_title": "అయోమయ స్థితిలో ఉన్న పనికోసం.", "Alert": "హెచ్చరిక", "alert": "హెచ్చరిక", "alerts": "హెచ్చరికలు", @@ -767,8 +770,5 @@ "Your_invite_link_will_expire_on__date__or_after__usesLeft__uses": "మీ ఆహ్వాన లింక్ {{date}} లేదా {{usesLeft}} ఉపయోగాల తరువాత అది కనబడిపోతుంది.", "Your_invite_link_will_never_expire": "మీ ఆహ్వాన లింక్ ఎప్పుడూ కనబడదు.", "Your_password_is": "మీ సంకేతపదం", - "Your_workspace": "మీ వర్క్‌స్పేస్", - "AirGapped_workspace_read_only_title": "అయోమయ స్థితిలో ఉన్న పనికోసం.", - "AirGapped_workspace_read_only_description": "నిర్వహకులు దీన్ని ఇంటర్నెట్‌తో కలుపుకోవడం లేదా ప్రీమియం ప్రణాళికకు మెరుగుపరచడం ద్వారా పూర్తి ఫంక్షనాలిటీని పునఃస్థాపించవచ్చు.", - "AirGapped_workspace_read_only_share_extension_title": "జోడించడం నిలిపివేయబడింది, ఎందుకంటే పనికోసం చదివే స్ధితిలో ఉంది." + "Your_workspace": "మీ వర్క్‌స్పేస్" } \ No newline at end of file diff --git a/app/i18n/locales/tr.json b/app/i18n/locales/tr.json index 0ec085bff8..3cf73f8a2a 100644 --- a/app/i18n/locales/tr.json +++ b/app/i18n/locales/tr.json @@ -10,6 +10,9 @@ "Admin_Panel": "Yönetim Paneli", "After_seconds_set_by_admin": "{{seconds}} saniye sonra (yönetici tarafından belirlenir)", "Agent": "Temsilci", + "AirGapped_workspace_read_only_description": "Yöneticiler, bunu internete bağlayarak veya premium bir plana yükselterek tam işlevselliği geri kazanabilirler.", + "AirGapped_workspace_read_only_share_extension_title": "Paylaşım, çalışma alanı yalnızca okunur modda olduğu için devre dışı bırakıldı.", + "AirGapped_workspace_read_only_title": "Çalışma alanı yalnızca okunur modda.", "Alert": "Uyarı", "alert": "uyarı", "alerts": "uyarılar", @@ -534,8 +537,5 @@ "Your_invite_link_will_expire_on__date__or_after__usesLeft__uses": "Davet bağlantınızın geçerliliği {{date}} tarihinde veya {{usesLeft}} kullanımdan sonra sona erecek.", "Your_invite_link_will_never_expire": "Davet bağlantınızın geçerlilik süresi asla dolmayacak.", "Your_password_is": "Şifreniz", - "Your_workspace": "Çalışma alanınız", - "AirGapped_workspace_read_only_title": "Çalışma alanı yalnızca okunur modda.", - "AirGapped_workspace_read_only_description": "Yöneticiler, bunu internete bağlayarak veya premium bir plana yükselterek tam işlevselliği geri kazanabilirler.", - "AirGapped_workspace_read_only_share_extension_title": "Paylaşım, çalışma alanı yalnızca okunur modda olduğu için devre dışı bırakıldı." + "Your_workspace": "Çalışma alanınız" } \ No newline at end of file diff --git a/app/i18n/locales/zh-CN.json b/app/i18n/locales/zh-CN.json index a01b037326..5457b2c181 100644 --- a/app/i18n/locales/zh-CN.json +++ b/app/i18n/locales/zh-CN.json @@ -10,6 +10,9 @@ "Admin_Panel": "仪表板", "After_seconds_set_by_admin": "{{seconds}} 秒 (管理员设定)", "Agent": "代理", + "AirGapped_workspace_read_only_description": "管理员可以通过将其连接到互联网或升级到高级计划来恢复完整功能。", + "AirGapped_workspace_read_only_share_extension_title": "共享已禁用,因为工作区处于只读模式。", + "AirGapped_workspace_read_only_title": "工作区为只读模式。", "Alert": "警报", "alert": "警报", "alerts": "警报", @@ -492,8 +495,5 @@ "Your_invite_link_will_expire_on__date__or_after__usesLeft__uses": "您的邀请链接将于{{date}}或{{usesLeft}}使用后到期。", "Your_invite_link_will_never_expire": "您的邀请链接永久有效。", "Your_password_is": "您的密码", - "Your_workspace": "您的工作区", - "AirGapped_workspace_read_only_title": "工作区为只读模式。", - "AirGapped_workspace_read_only_description": "管理员可以通过将其连接到互联网或升级到高级计划来恢复完整功能。", - "AirGapped_workspace_read_only_share_extension_title": "共享已禁用,因为工作区处于只读模式。" + "Your_workspace": "您的工作区" } \ No newline at end of file diff --git a/app/i18n/locales/zh-TW.json b/app/i18n/locales/zh-TW.json index b6af55df97..7aec5fd25a 100644 --- a/app/i18n/locales/zh-TW.json +++ b/app/i18n/locales/zh-TW.json @@ -10,6 +10,9 @@ "Admin_Panel": "管理者面板", "After_seconds_set_by_admin": "{{seconds}} 秒 (管理員設定)", "Agent": "代理", + "AirGapped_workspace_read_only_description": "管理員可以通過將其連接到互聯網或升級到高級計劃來恢復完整功能。", + "AirGapped_workspace_read_only_share_extension_title": "共享被禁用,因為工作區域處於唯讀模式。", + "AirGapped_workspace_read_only_title": "工作區域為唯讀模式。", "Alert": "警報", "alert": "警報", "alerts": "警報", @@ -521,8 +524,5 @@ "Your_invite_link_will_expire_on__date__or_after__usesLeft__uses": "您的邀請連結將於{{date}}或{{usesLeft}}使用後到期。", "Your_invite_link_will_never_expire": "您的邀請連結永久有效。", "Your_password_is": "您的密碼", - "Your_workspace": "您的工作區", - "AirGapped_workspace_read_only_title": "工作區域為唯讀模式。", - "AirGapped_workspace_read_only_description": "管理員可以通過將其連接到互聯網或升級到高級計劃來恢復完整功能。", - "AirGapped_workspace_read_only_share_extension_title": "共享被禁用,因為工作區域處於唯讀模式。" + "Your_workspace": "您的工作區" } \ No newline at end of file