chore: translate Chinese strings to English across repository

This commit is contained in:
2025-12-23 09:52:55 +01:00
parent 4590d46e17
commit ce649f0e18
15 changed files with 99 additions and 59 deletions

View File

@@ -21,7 +21,7 @@ func (host Host) String() string {
func (host Host) Verify() bool {
if host.HostName == "" {
logger.Warning.Printf("未设置 %s主机名称%s: 请检查配置文件中的 %sSafeLine.Host.HostName%s 参数", logger.Cyan, logger.Reset, logger.Yellow, logger.Reset)
logger.Warning.Printf("No %shostname%s set: please check the %sSafeLine.Host.HostName%s parameter", logger.Cyan, logger.Reset, logger.Yellow, logger.Reset)
return true
}
return false
@@ -29,7 +29,7 @@ func (host Host) Verify() bool {
func (host Host) VerifyCommand() bool {
if host.HostName == "" {
logger.Warning.Printf("未设置 %s主机名称%s: 请检查命令中的 %s-h%s 参数", logger.Cyan, logger.Reset, logger.Yellow, logger.Reset)
logger.Warning.Printf("No %shostname%s set: please check the %s-h%s command-line argument", logger.Cyan, logger.Reset, logger.Yellow, logger.Reset)
return true
}
return false