diff --git a/plugins/workbench-assets/lang/en.json b/plugins/workbench-assets/lang/en.json index a0278e98d7..d483a13f81 100644 --- a/plugins/workbench-assets/lang/en.json +++ b/plugins/workbench-assets/lang/en.json @@ -29,6 +29,7 @@ "NewVersionAvailable": "New version is available", "PleaseUpdate": "Please update", "ServerUnderMaintenance": "Server is under maintenance", - "MobileNotSupported": "Sorry, mobile devices support coming soon. In the meantime, please use Desktop" + "MobileNotSupported": "Sorry, mobile devices support coming soon. In the meantime, please use Desktop", + "LogInAnyway": "Log in anyway" } } diff --git a/plugins/workbench-assets/lang/es.json b/plugins/workbench-assets/lang/es.json index 35925522eb..cf9e4d068d 100644 --- a/plugins/workbench-assets/lang/es.json +++ b/plugins/workbench-assets/lang/es.json @@ -29,6 +29,7 @@ "NewVersionAvailable": "Nueva versión disponible", "PleaseUpdate": "Por favor, actualice", "ServerUnderMaintenance": "El servidor está en mantenimiento", - "MobileNotSupported": "Disculpa, el soporte para dispositivos móviles estará disponible próximamente. Mientras tanto, por favor usa el escritorio." + "MobileNotSupported": "Disculpa, el soporte para dispositivos móviles estará disponible próximamente. Mientras tanto, por favor usa el escritorio.", + "LogInAnyway": "Iniciar sesión de todas formas" } } \ No newline at end of file diff --git a/plugins/workbench-assets/lang/pt.json b/plugins/workbench-assets/lang/pt.json index 4b67e5e018..9a4aabc56d 100644 --- a/plugins/workbench-assets/lang/pt.json +++ b/plugins/workbench-assets/lang/pt.json @@ -29,6 +29,7 @@ "NewVersionAvailable": "Nova versão disponível", "PleaseUpdate": "Atualize", "ServerUnderMaintenance": "Servidor em manutenção", - "MobileNotSupported": "Desculpe, o suporte para dispositivos móveis estará disponível em breve. Enquanto isso, por favor, use o Desktop." + "MobileNotSupported": "Desculpe, o suporte para dispositivos móveis estará disponível em breve. Enquanto isso, por favor, use o Desktop.", + "LogInAnyway": "Entrar de qualquer maneira" } } \ No newline at end of file diff --git a/plugins/workbench-assets/lang/ru.json b/plugins/workbench-assets/lang/ru.json index 4cf2a185ce..0d2d57046c 100644 --- a/plugins/workbench-assets/lang/ru.json +++ b/plugins/workbench-assets/lang/ru.json @@ -29,6 +29,7 @@ "NewVersionAvailable": "Доступна новая версия", "PleaseUpdate": "Пожалуйста, обновите приложение", "ServerUnderMaintenance": "Обслуживание сервера", - "MobileNotSupported": "Простите, поддержка мобильных устройств скоро будет доступна. Пока воспользуйтесь компьютером." + "MobileNotSupported": "Простите, поддержка мобильных устройств скоро будет доступна. Пока воспользуйтесь компьютером.", + "LogInAnyway": "Все равно войти" } } diff --git a/plugins/workbench-resources/src/components/WorkbenchApp.svelte b/plugins/workbench-resources/src/components/WorkbenchApp.svelte index af1d2805da..380610f339 100644 --- a/plugins/workbench-resources/src/components/WorkbenchApp.svelte +++ b/plugins/workbench-resources/src/components/WorkbenchApp.svelte @@ -14,20 +14,38 @@ --> {#if $location.path[0] === workbenchId || $location.path[0] === workbench.component.WorkbenchApp} - {#if $deviceOptionsStore.isMobile} + {#if $deviceOptionsStore.isMobile && mobileAllowed !== true}