mirror of
https://github.com/shadow1ng/fscan.git
synced 2025-07-13 21:02:44 +08:00
Change default lang to en
This commit is contained in:
parent
2e44374863
commit
968064c240
@ -131,7 +131,7 @@ func Flag(Info *HostInfo) {
|
|||||||
flag.StringVar(&LogLevel, "log", LogLevelSuccess, GetText("flag_log_level"))
|
flag.StringVar(&LogLevel, "log", LogLevelSuccess, GetText("flag_log_level"))
|
||||||
flag.BoolVar(&ShowProgress, "pg", false, GetText("flag_show_progress"))
|
flag.BoolVar(&ShowProgress, "pg", false, GetText("flag_show_progress"))
|
||||||
|
|
||||||
flag.StringVar(&Language, "lang", "zh", GetText("flag_language"))
|
flag.StringVar(&Language, "lang", "en", GetText("flag_language"))
|
||||||
|
|
||||||
flag.Parse()
|
flag.Parse()
|
||||||
|
|
||||||
|
@ -1100,7 +1100,7 @@ var i18nMap = map[string]map[string]string{
|
|||||||
}
|
}
|
||||||
|
|
||||||
// 当前语言设置
|
// 当前语言设置
|
||||||
var currentLang = LangZH
|
var currentLang = LangEN
|
||||||
|
|
||||||
func SetLanguage() {
|
func SetLanguage() {
|
||||||
// 使用flag设置的语言
|
// 使用flag设置的语言
|
||||||
|
Loading…
Reference in New Issue
Block a user