Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/MHSanaei/3x-ui.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMHSanaei <ho3ein.sanaei@gmail.com>2023-04-14 16:52:49 +0300
committerMHSanaei <ho3ein.sanaei@gmail.com>2023-04-14 16:52:49 +0300
commit4fb060d25e2d95803a964699c2def140c4a3fb95 (patch)
treea73f637d1ae7aedd52098ca87a1496edddc2e03c
parent3eff8022f2c0fd1da0a7388ac5e8b4135d9ceb32 (diff)
fix typo 2
-rw-r--r--main.go10
-rw-r--r--web/html/xui/setting.html6
-rw-r--r--web/translation/translate.en_US.toml2
-rw-r--r--x-ui.sh2
4 files changed, 9 insertions, 11 deletions
diff --git a/main.go b/main.go
index 0d6e0f90..2ea3fb33 100644
--- a/main.go
+++ b/main.go
@@ -97,7 +97,7 @@ func showSetting(show bool) {
settingService := service.SettingService{}
port, err := settingService.GetPort()
if err != nil {
- fmt.Println("get current port fialed,error info:", err)
+ fmt.Println("get current port failed,error info:", err)
}
userService := service.UserService{}
userModel, err := userService.GetFirstUser()
@@ -109,7 +109,7 @@ func showSetting(show bool) {
if (username == "") || (userpasswd == "") {
fmt.Println("current username or password is empty")
}
- fmt.Println("current pannel settings as follows:")
+ fmt.Println("current panel settings as follows:")
fmt.Println("username:", username)
fmt.Println("userpasswd:", userpasswd)
fmt.Println("port:", port)
@@ -234,9 +234,9 @@ func main() {
settingCmd.IntVar(&port, "port", 0, "set panel port")
settingCmd.StringVar(&username, "username", "", "set login username")
settingCmd.StringVar(&password, "password", "", "set login password")
- settingCmd.StringVar(&tgbottoken, "tgbottoken", "", "set telegrame bot token")
- settingCmd.StringVar(&tgbotRuntime, "tgbotRuntime", "", "set telegrame bot cron time")
- settingCmd.StringVar(&tgbotchatid, "tgbotchatid", "", "set telegrame bot chat id")
+ settingCmd.StringVar(&tgbottoken, "tgbottoken", "", "set telegram bot token")
+ settingCmd.StringVar(&tgbotRuntime, "tgbotRuntime", "", "set telegram bot cron time")
+ settingCmd.StringVar(&tgbotchatid, "tgbotchatid", "", "set telegram bot chat id")
settingCmd.BoolVar(&enabletgbot, "enabletgbot", false, "enable telegram bot notify")
oldUsage := flag.Usage
diff --git a/web/html/xui/setting.html b/web/html/xui/setting.html
index fcff77ce..0218aea8 100644
--- a/web/html/xui/setting.html
+++ b/web/html/xui/setting.html
@@ -51,9 +51,8 @@
<a-col :lg="24" :xl="12">
<a-list-item-meta title="Language"/>
</a-col>
-
<a-col :lg="24" :xl="12">
- <temlate>
+ <template>
<a-select
ref="selectLang"
v-model="lang"
@@ -66,10 +65,9 @@
&nbsp;&nbsp;<span v-text="l.name"></span>
</a-select-option>
</a-select>
- </temlate>
+ </template>
</a-col>
</a-row>
-
</a-list-item>
</a-list>
</a-tab-pane>
diff --git a/web/translation/translate.en_US.toml b/web/translation/translate.en_US.toml
index 61933941..97e65b5a 100644
--- a/web/translation/translate.en_US.toml
+++ b/web/translation/translate.en_US.toml
@@ -41,7 +41,7 @@
"domainName" = "Domain name"
"additional" = "Alter"
"monitor" = "Listen IP"
-"certificate" = "Certificat"
+"certificate" = "Certificate"
"fail" = "Fail"
"success" = " Success"
"getVersion" = "Get version"
diff --git a/x-ui.sh b/x-ui.sh
index 59645412..8f1fcd60 100644
--- a/x-ui.sh
+++ b/x-ui.sh
@@ -790,7 +790,7 @@ show_menu() {
${green}12.${plain} Check x-ui Logs
————————————————
${green}13.${plain} Enable x-ui On System Startup
- ${green}14.${plain} Disabel x-ui On System Startup
+ ${green}14.${plain} Disable x-ui On System Startup
————————————————
${green}15.${plain} Enable BBR
${green}16.${plain} Apply for an SSL Certificate