Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Message composer read-only mode indication for air gapped envs #5912

Merged
merged 3 commits into from
Oct 18, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions app/i18n/locales/ar.json
Original file line number Diff line number Diff line change
Expand Up @@ -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": "الإنذارات",
Expand Down
3 changes: 3 additions & 0 deletions app/i18n/locales/bn-IN.json
Original file line number Diff line number Diff line change
Expand Up @@ -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": "সতর্কতা",
Expand Down
3 changes: 3 additions & 0 deletions app/i18n/locales/cs.json
Original file line number Diff line number Diff line change
Expand Up @@ -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í",
Expand Down
3 changes: 3 additions & 0 deletions app/i18n/locales/de.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
3 changes: 3 additions & 0 deletions app/i18n/locales/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
3 changes: 3 additions & 0 deletions app/i18n/locales/es.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
3 changes: 3 additions & 0 deletions app/i18n/locales/fi.json
Original file line number Diff line number Diff line change
Expand Up @@ -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ä",
Expand Down
3 changes: 3 additions & 0 deletions app/i18n/locales/fr.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
3 changes: 3 additions & 0 deletions app/i18n/locales/hi-IN.json
Original file line number Diff line number Diff line change
Expand Up @@ -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": "चेतावनियाँ",
Expand Down
3 changes: 3 additions & 0 deletions app/i18n/locales/hu.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
3 changes: 3 additions & 0 deletions app/i18n/locales/it.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
3 changes: 3 additions & 0 deletions app/i18n/locales/ja.json
Original file line number Diff line number Diff line change
Expand Up @@ -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": "アラート",
Expand Down
3 changes: 3 additions & 0 deletions app/i18n/locales/nl.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
3 changes: 3 additions & 0 deletions app/i18n/locales/pt-BR.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
3 changes: 3 additions & 0 deletions app/i18n/locales/pt-PT.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
3 changes: 3 additions & 0 deletions app/i18n/locales/ru.json
Original file line number Diff line number Diff line change
Expand Up @@ -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": "оповещения",
Expand Down
3 changes: 3 additions & 0 deletions app/i18n/locales/sl-SI.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
3 changes: 3 additions & 0 deletions app/i18n/locales/sv.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
3 changes: 3 additions & 0 deletions app/i18n/locales/ta-IN.json
Original file line number Diff line number Diff line change
Expand Up @@ -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": "எச்சரிக்கைகள்",
Expand Down
3 changes: 3 additions & 0 deletions app/i18n/locales/te-IN.json
Original file line number Diff line number Diff line change
Expand Up @@ -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": "హెచ్చరికలు",
Expand Down
3 changes: 3 additions & 0 deletions app/i18n/locales/tr.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
3 changes: 3 additions & 0 deletions app/i18n/locales/zh-CN.json
Original file line number Diff line number Diff line change
Expand Up @@ -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": "警报",
Expand Down
3 changes: 3 additions & 0 deletions app/i18n/locales/zh-TW.json
Original file line number Diff line number Diff line change
Expand Up @@ -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": "警報",
Expand Down
3 changes: 3 additions & 0 deletions app/lib/constants/defaultSettings.ts
Original file line number Diff line number Diff line change
Expand Up @@ -264,5 +264,8 @@ export const defaultSettings = {
UTF8_User_Names_Validation: {
type: 'valueAsString'
},
Cloud_Workspace_AirGapped_Restrictions_Remaining_Days: {
type: 'valueAsNumber'
},
...deprecatedSettings
} as const;
1 change: 1 addition & 0 deletions app/views/RoomView/definitions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ export interface IRoomViewProps extends IActionSheetProvider, IBaseScreen<ChatsS
livechatAllowManualOnHold?: boolean;
inAppFeedback?: { [key: string]: string };
encryptionEnabled: boolean;
airGappedRestrictionRemainingDays: number | undefined;
}

export type TStateAttrsUpdate = keyof IRoomViewState;
Expand Down
Loading