This commit is contained in:
Liang Ding 2023-01-05 16:09:10 +08:00
parent fbb1fee486
commit a4ca84376b
No known key found for this signature in database
GPG key ID: 136F30F901A2231D
6 changed files with 11 additions and 6 deletions

View file

@ -746,7 +746,7 @@
"about5": "Access Authorization Code",
"about6": "After configuration, it will be used as the access authentication password, leave it blank to close the authentication",
"about7": "Workspace dir",
"about8": "After the workspace is switched, the data in the current workspace will not be copied to the target workspace<br>The application will be closed automatically after modification, please restart manually",
"about8": "After the workspace is switched, the data in the current workspace will not be copied to the target workspace",
"about9": "Automatically upload error messages and diagnostic data",
"about10": "After enabling, it will automatically upload error information and diagnostic data through the <a href=\"https://sentry.io\" target=\"_blank\">Sentry</a> SDK, which does not involve personal privacy data so that developers can fix bugs. The application will be closed automatically after modification, please restart manually",
"about11": "Network serving",

View file

@ -746,7 +746,7 @@
"about5": "Código de autorización de acceso",
"about6": "Después de la configuración, se utilizará como contraseña de autenticación de acceso, déjelo en blanco para cerrar la autenticación",
"about7": "Directorio del espacio de trabajo",
"about8": "Después de cambiar el espacio de trabajo, los datos del espacio de trabajo actual no se copiarán en el espacio de trabajo de destino<br>La aplicación se cerrará automáticamente después de la modificación, por favor reinicie manualmente",
"about8": "Después de cambiar el espacio de trabajo, los datos del espacio de trabajo actual no se copiarán en el espacio de trabajo de destino",
"about9": "Carga automática de mensajes de error y datos de diagnóstico",
"about10": "Después de habilitarlo, cargará automáticamente información de error y datos de diagnóstico a través del <a href=\"https://sentry.io\" target=\"_blank\">Sentry</a> SDK, que no involucra datos de privacidad personal para que los desarrolladores puede corregir errores. La aplicación se cerrará automáticamente después de la modificación, por favor, reinicie manualmente",
"about11": "Red de servicio",

View file

@ -746,7 +746,7 @@
"about5": "Accès Code d'autorisation",
"about6": "Configuré comme mot de passe d'authentification d'accès, laisser vide pour désactiver l'authentification.",
"about7": "Répertoire de l'espace de travail",
"about8": "Une fois l'espace de travail basculé, les données de l'espace de travail actuel ne seront pas copiées dans l'espace de travail cible<br>L'application se fermera automatiquement après modification, merci de redémarrer manuellement",
"about8": "Une fois l'espace de travail basculé, les données de l'espace de travail actuel ne seront pas copiées dans l'espace de travail cible",
"about9": "Télécharger automatiquement les messages d'erreur et les données de diagnostic",
"about10": "Après l'activation, il télécharge automatiquement les informations d'erreur et les données de diagnostic via le SDK <a href=\"https://sentry.io\" target=\"_blank\">Sentry</a>, qui n'implique pas de données de confidentialité personnelles afin que les développeurs peut corriger des bogues. L'application sera fermée automatiquement après modification, veuillez la redémarrer manuellement.",
"about11": "Service de réseau",

View file

@ -746,7 +746,7 @@
"about5": "存取授權碼",
"about6": "配置後作為存取鑒權密碼,留空則關閉鑒權",
"about7": "工作空間目錄",
"about8": "切換工作空間後不會將當前工作空間的數據複製到目標工作空間中<br>修改後會自動關閉應用,請手動重啟",
"about8": "切換工作空間後不會將當前工作空間的數據複製到目標工作空間中",
"about9": "自動上傳報錯信息和診斷數據",
"about10": "啟用後會通過 <a href=\"https://sentry.io\" target=\"_blank\">Sentry</a> SDK 自動上傳報錯信息和診斷數據等不涉及個人隱私的數據,以便開發者修復缺陷。修改後會自動關閉應用,請手動重啟",
"about11": "網路伺服",

View file

@ -746,7 +746,7 @@
"about5": "访问授权码",
"about6": "配置后作为访问鉴权密码,留空则关闭鉴权",
"about7": "工作空间目录",
"about8": "切换工作空间后不会将当前工作空间的数据复制到目标工作空间中<br>修改后会自动关闭应用,请手动重启",
"about8": "切换工作空间后不会将当前工作空间的数据复制到目标工作空间中",
"about9": "自动上传报错信息和诊断数据",
"about10": "启用后会通过 <a href=\"https://sentry.io\" target=\"_blank\">Sentry</a> SDK 自动上传报错信息和诊断数据等不涉及个人隐私的数据,以便开发者修复缺陷。修改后会自动关闭应用,请手动重启",
"about11": "网络伺服",

View file

@ -22,6 +22,7 @@ import (
"os"
"path/filepath"
"strings"
"time"
"github.com/88250/gulu"
"github.com/gin-gonic/gin"
@ -176,5 +177,9 @@ func setWorkspaceDir(c *gin.Context) {
}
}
util.PushMsg(model.Conf.Language(42), 1000*15)
if util.ContainerAndroid == util.Container || util.ContainerIOS == util.Container {
util.PushMsg(model.Conf.Language(42), 1000*15)
time.Sleep(time.Second * 2)
model.Close(false, 1)
}
}