translations fix

This commit is contained in:
Alireza Ahmadi
2023-02-11 09:48:20 +01:00
parent 9d75925f30
commit f30235373a
5 changed files with 39 additions and 29 deletions

View File

@@ -28,7 +28,7 @@ var defaultValueMap = map[string]string{
"webKeyFile": "",
"secret": random.Seq(32),
"webBasePath": "/",
"timeLocation": "Asia/Shanghai",
"timeLocation": "Asia/Tehran",
"tgBotEnable": "false",
"tgBotToken": "",
"tgBotChatId": "0",
@@ -69,7 +69,7 @@ func (s *SettingService) GetAllSetting() (*entity.AllSetting, error) {
}
if !found {
// 有些设置自动生成,不需要返回到前端给用户修改
// Some settings are automatically generated, no need to return to the front end to modify the user
return nil
}