Skip to content

Commit

Permalink
make Jitsi open always on browser (#2996)
Browse files Browse the repository at this point in the history
  • Loading branch information
jeanfbrito authored Mar 6, 2025
1 parent 90c1228 commit ed45709
Show file tree
Hide file tree
Showing 10 changed files with 19 additions and 16 deletions.
2 changes: 1 addition & 1 deletion src/i18n/de-DE.i18n.json
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,7 @@
},
"internalVideoChatWindow": {
"title": "Öffnen Sie den Video-Chat mit dem Anwendungsfenster",
"description": "Wenn diese Option aktiviert ist, wird der Video-Chat über ein Anwendungsfenster geöffnet, andernfalls wird der Standardbrowser verwendet. <strong> Der Freigabebildschirm von Google Meet </strong> wird in Electron-Anwendungen nicht unterstützt, daher ändert diese Konfiguration nicht das Verhalten von Meet-Anrufen, die im Browser geöffnet werden.",
"description": "Wenn diese Option aktiviert ist, wird der Video-Chat im Anwendungsfenster anstelle des Standardbrowsers geöffnet. Allerdings wird für <strong>Google Meet</strong> und <strong>Jitsi</strong> die Bildschirmaufzeichnung in Electron-Anwendungen nicht unterstützt, daher werden sie unabhängig von dieser Einstellung immer im Browser geöffnet.",
"masDescription": "Diese Option ist deaktiviert, wenn sie aus dem Mac App Store installiert wird. Aus Sicherheitsgründen wird der Video-Chat standardmäßig über den Browser geöffnet."
},
"minimizeOnClose": {
Expand Down
6 changes: 3 additions & 3 deletions src/i18n/en.i18n.json
Original file line number Diff line number Diff line change
Expand Up @@ -212,9 +212,9 @@
"description": "Enables the use of hardware acceleration when available. The application will reload on change."
},
"internalVideoChatWindow": {
"title": "Open Video Chat using Application Window",
"description": "When set Video Chat will be opened using an application's window, otherwise the default browser will be used. <strong>Google Meet</strong> share screen is not supported in Electron applications, so this configuration don't change Meet calls behavior, that will open on browser.",
"masDescription": "This option is disabled when installed from the Mac App Store, for security reasons it will open Video Chat using the browser by default."
"title": "Open Video Chat in Application Window",
"description": "If enabled, the Video Chat will open in the application's window instead of the default browser. However, for <strong>Google Meet</strong> and <strong>Jitsi</strong>, screen recording is not supported in Electron applications, so they will always open in the browser regardless of this setting.",
"masDescription": "This option is disabled when installed from the Mac App Store. For security reasons, Video Chat will always open in the browser by default."
},
"minimizeOnClose": {
"title": "Minimize on close",
Expand Down
2 changes: 1 addition & 1 deletion src/i18n/es.i18n.json
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,7 @@
},
"internalVideoChatWindow": {
"title": "Abrir videollamada en la ventana de la aplicación",
"description": "Cuando está activado, la videollamada se abrirá en la ventana de la aplicación; de lo contrario, se usará el navegador predeterminado. <strong>Google Meet</strong> no admite compartir pantalla en aplicaciones Electron, por lo que esta configuración no cambia el comportamiento de las llamadas de Meet, que se abrirán en el navegador.",
"description": "Si está activado, la videollamada se abrirá en la ventana de la aplicación en lugar del navegador predeterminado. Sin embargo, para <strong>Google Meet</strong> y <strong>Jitsi</strong>, la grabación de pantalla no es compatible en aplicaciones Electron, por lo que siempre se abrirán en el navegador independientemente de esta configuración.",
"masDescription": "Esta opción está desactivada cuando se instala desde la Mac App Store; por razones de seguridad, las videollamadas se abrirán en el navegador de forma predeterminada."
},
"minimizeOnClose": {
Expand Down
2 changes: 1 addition & 1 deletion src/i18n/fi.i18n.json
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,7 @@
},
"internalVideoChatWindow": {
"title": "Avaa videokeskustelu sovellusikkunaan",
"description": "Tällä asetuksella videokeskustelu avautuu sovelluksen ikkunaan, muutoin oletusselaimeen.",
"description": "Jos käytössä, videokeskustelu avautuu sovelluksen ikkunaan oletusselaimen sijaan. Kuitenkin <strong>Google Meet</strong> ja <strong>Jitsi</strong> -palveluissa ruuduntallennus ei ole tuettu Electron-sovelluksissa, joten ne avautuvat aina selaimessa tästä asetuksesta riippumatta.",
"masDescription": "Asetus ei ole käytössä, kun asennus on tehty Macin App Storesta. Suojaussyistä videokeskustelu avautuu oletusarvoisesti selaimeen."
},
"minimizeOnClose": {
Expand Down
2 changes: 1 addition & 1 deletion src/i18n/fr.i18n.json
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,7 @@
},
"internalVideoChatWindow": {
"title": "Ouvrir le chat vidéo à l'aide de la fenêtre de l'application",
"description": "Une fois défini, le chat vidéo sera ouvert à l'aide d'une fenêtre d'application, sinon le navigateur par défaut sera utilisé.",
"description": "Si cette option est activée, le chat vidéo s'ouvrira dans la fenêtre de l'application au lieu du navigateur par défaut. Cependant, pour <strong>Google Meet</strong> et <strong>Jitsi</strong>, l'enregistrement d'écran n'est pas pris en charge dans les applications Electron, donc ils s'ouvriront toujours dans le navigateur, quel que soit ce paramètre.",
"masDescription": "Cette option est désactivée lorsqu'elle est installée à partir du Mac App Store, pour des raisons de sécurité, elle ouvrira le chat vidéo en utilisant le navigateur par défaut."
},
"minimizeOnClose": {
Expand Down
10 changes: 5 additions & 5 deletions src/i18n/hu.i18n.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,17 +28,17 @@
},
"addServer": {
"title": "Kiszolgáló hozzáadása",
"message": "Szeretné hozzáadni a(z) {{- host}} kiszolgálót a kiszolgálólistájához?",
"message": "Szeretné hozzáadni a(z) \"{{- host}}\" kiszolgálót a kiszolgálólistájához?",
"add": "Hozzáadás",
"cancel": "Mégse"
},
"addServerError": {
"title": "Érvénytelen kiszolgáló",
"message": "A(z) {{- host}} kiszolgálót nem sikerült ellenőrizni, ezért nem lett hozzáadva."
"message": "A(z) \"{{- host}}\" kiszolgálót nem sikerült ellenőrizni, ezért nem lett hozzáadva."
},
"certificateError": {
"title": "Tanúsítványhiba",
"message": "Megbízik a(z) {{- issuerName}} által kiadott tanúsítványban?",
"message": "Megbízik a(z) \"{{- issuerName}}\" által kiadott tanúsítványban?",
"yes": "Igen",
"no": "Nem"
},
Expand Down Expand Up @@ -204,7 +204,7 @@
},
"internalVideoChatWindow": {
"title": "Videocsevegés megnyitása alkalmazásablak használatával",
"description": "Ha be van állítva, akkor a videocsevegés egy alkalmazás ablakával nyílik meg, egyébként az alapértelmezett böngésző lesz használva. A <strong>Google Meet</strong> megosztási képernyője nem támogatott az Electront használó alkalmazásokban, így ez a beállítás nem változtatja meg azoknak a Meet-hívásoknak a viselkedését, amelyek a böngészőben fognak megnyílni.",
"description": "Ha engedélyezve van, a videocsevegés az alkalmazás ablakában nyílik meg az alapértelmezett böngésző helyett. Azonban a <strong>Google Meet</strong> és a <strong>Jitsi</strong> esetében a képernyőrögzítés nem támogatott az Electron alkalmazásokban, így ezek mindig a böngészőben fognak megnyílni, függetlenül ettől a beállítástól.",
"masDescription": "Ez a beállítás a Mac alkalmazásboltból történő telepítéskor le van tiltva. Biztonsági okokból a videocsevegést alapértelmezetten a böngésző használatával fogja megnyitni."
},
"minimizeOnClose": {
Expand Down Expand Up @@ -307,7 +307,7 @@
},
"selfxss": {
"title": "Megállj!",
"description": "Ez a böngészőfunkció fejlesztők számára készült. Ha valaki azt mondja, hogy másoljon le és illesszen be valamit ide, azért hogy egy Rocket.Chat funkciót engedélyezzen vagy feltörje valaki más fiókját, akkor az átverés, és hozzáférést fog adni nekik az Ön Rocket.Chat fiókjához.",
"description": "Ez a böngészőfunkció fejlesztők számára készült. Ha valaki azt mondja, hogy másoljon le és illesszen be valamit ide, azért hogy egy Rocket.Chat funkciót engedélyezzen vagy \"feltörje\" valaki más fiókját, akkor az átverés, és hozzáférést fog adni nekik az Ön Rocket.Chat fiókjához.",
"moreInfo": "További információkért nézze meg a https://go.rocket.chat/i/xss oldalt."
},
"sidebar": {
Expand Down
2 changes: 1 addition & 1 deletion src/i18n/pt-BR.i18n.json
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,7 @@
},
"internalVideoChatWindow": {
"title": "Abrir chat em video em uma janela da aplicação",
"description": "Quando ativado, o Video Chat será aberto usando a janela do aplicativo, caso contrário, o navegador padrão será usado. O compartilhamento de tela do <strong>Google Meet</strong> não é suportado em aplicativos Electron, portanto, essa configuração não altera o comportamento das chamadas no Meet, que serão abertas no navegador.",
"description": "Se ativado, o Chat de Vídeo será aberto na janela do aplicativo em vez do navegador padrão. No entanto, para <strong>Google Meet</strong> e <strong>Jitsi</strong>, a gravação de tela não é suportada em aplicativos Electron, então eles sempre serão abertos no navegador independentemente desta configuração.",
"masDescription": "Esta opção esta desativada quando for instalado através da Mac App Store, por motivos de segurança o chat em video sera aberto usando o navegador por padrão."
},
"minimizeOnClose": {
Expand Down
2 changes: 1 addition & 1 deletion src/i18n/ru.i18n.json
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@
},
"internalVideoChatWindow": {
"title": "Открывать видеочат в окне приложения",
"description": "При установке этого параметра видеочат будет открываться в окне приложения, в противном случае будет использоваться браузер по умолчанию.",
"description": "Если этот параметр включен, видеочат будет открываться в окне приложения вместо браузера по умолчанию. Однако для <strong>Google Meet</strong> и <strong>Jitsi</strong> запись экрана не поддерживается в приложениях Electron, поэтому они всегда будут открываться в браузере независимо от этой настройки.",
"masDescription": "Эта опция отключена при установке из Mac App Store, по соображениям безопасности окно видео чата будет открыто в браузере по умолчанию."
},
"minimizeOnClose": {
Expand Down
3 changes: 2 additions & 1 deletion src/i18n/zh-CN.i18n.json
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,8 @@
},
"internalVideoChatWindow": {
"title": "在程序窗口中打开视频通话",
"description": "视频通话会在程序窗口中打开,否则会在默认的浏览器窗口中打开。"
"description": "如果启用,视频通话将在应用程序窗口中打开,而不是在默认浏览器中打开。但是,对于<strong>Google Meet</strong>和<strong>Jitsi</strong>,Electron应用程序不支持屏幕录制,所以无论此设置如何,它们始终会在浏览器中打开。",
"masDescription": "从Mac App Store安装时此选项被禁用。出于安全原因,视频通话将始终默认在浏览器中打开。"
}
}
},
Expand Down
4 changes: 3 additions & 1 deletion src/servers/preload/internalVideoChatWindow.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,9 @@ export const openInternalVideoChatWindow = (
if (!process.mas && getInternalVideoChatWindowEnabled()) {
switch (options?.providerName) {
case 'jitsi':
window.open(validUrl.href, 'Video Call', 'scrollbars=true');
// window.open(validUrl.href, 'Video Call', 'scrollbars=true');
// We will open Jitsi on browser instead of opening a new window for compatibility from their side
shell.openExternal(validUrl.href);
break;
case 'googlemeet':
shell.openExternal(validUrl.href);
Expand Down

0 comments on commit ed45709

Please sign in to comment.