1
0
mirror of https://gitee.com/sui-feng-cb/AzurLaneAutoScript1 synced 2026-03-12 10:58:21 +08:00

Fix: Verify filename when adding new config

This commit is contained in:
hgjazhgj
2022-11-05 04:17:14 +08:00
parent 816f947deb
commit df74e0a98f
10 changed files with 31 additions and 26 deletions

View File

@@ -2256,7 +2256,8 @@
"NewName": "New name",
"CopyFrom": "Copy from existing config",
"Confirm": "Add",
"FileExist": "A config with the same name exists, please choose another one"
"FileExist": "A config with the same name exists, please choose another one",
"InvalidChar": "Config name cannot contain any of the following characters: .\\/:*?\"<>|"
},
"Update": {
"UpToDate": "Latest version",

View File

@@ -2256,7 +2256,8 @@
"NewName": "Gui.AddAlas.NewName",
"CopyFrom": "Gui.AddAlas.CopyFrom",
"Confirm": "Gui.AddAlas.Confirm",
"FileExist": "Gui.AddAlas.FileExist"
"FileExist": "Gui.AddAlas.FileExist",
"InvalidChar": "設定ファイル名には次の文字は使えません:.\\/:*?\"<>|"
},
"Update": {
"UpToDate": "Gui.Update.UpToDate",

View File

@@ -2256,7 +2256,8 @@
"NewName": "新的配置文件名",
"CopyFrom": "从现有的配置中复制",
"Confirm": "添加",
"FileExist": "存在同名的配置文件,请重新输入一个"
"FileExist": "存在同名的配置文件,请重新输入一个",
"InvalidChar": "配置文件名不能包含下列任何字符:.\\/:*?\"<>|"
},
"Update": {
"UpToDate": "已是最新版本",

View File

@@ -2256,7 +2256,8 @@
"NewName": "新設定的檔案名",
"CopyFrom": "從現有的設定中複製",
"Confirm": "添加",
"FileExist": "存在同名的設定檔案,請重新命名"
"FileExist": "存在同名的設定檔案,請重新命名",
"InvalidChar": "設定檔案名不可以包含下列任意字元:.\\/:*?\"<>|"
},
"Update": {
"UpToDate": "已是最新版本",