From 337b54b99f63b7e0dd8a12df615a3dcd9508de7b Mon Sep 17 00:00:00 2001 From: ConanYao Date: Tue, 30 Aug 2022 23:16:05 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=AD=A3cli=E9=83=A8=E5=88=86?= =?UTF-8?q?=E7=9A=84=E7=99=BB=E5=87=BA=E6=8C=87=E4=BB=A4=E6=8F=8F=E8=BF=B0?= =?UTF-8?q?=E4=BF=A1=E6=81=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- cli/cmd/logout.go | 4 ++-- cli/internal/apk/i18n/language/en_us/info.json | 4 ++++ cli/internal/apk/i18n/language/zh_cn/info.json | 4 ++++ docs/themes/docsy | 2 +- 4 files changed, 11 insertions(+), 3 deletions(-) diff --git a/cli/cmd/logout.go b/cli/cmd/logout.go index fd10058..f9cd377 100644 --- a/cli/cmd/logout.go +++ b/cli/cmd/logout.go @@ -20,8 +20,8 @@ import ( var logoutCmd = &cobra.Command{ Use: "logout", - Short: i18nInstance.Login.Info_help_short, - Long: i18nInstance.Login.Info_help_long, + Short: i18nInstance.Logout.Info_help_short, + Long: i18nInstance.Logout.Info_help_long, Example: ` smartide logout`, Run: func(cmd *cobra.Command, args []string) { diff --git a/cli/internal/apk/i18n/language/en_us/info.json b/cli/internal/apk/i18n/language/en_us/info.json index ed888f9..3f36c2b 100644 --- a/cli/internal/apk/i18n/language/en_us/info.json +++ b/cli/internal/apk/i18n/language/en_us/info.json @@ -292,6 +292,10 @@ "info_help_flag_pasword": "SmartIDE server password", "info_help_flag_loginurl": "SmartIDE server loginurl" }, + "logout": { + "info_help_short": "SmartIDE logout ", + "info_help_long": "SmartIDE logout " + }, "k8s": { "info_start": "Workspace public URL setting start", "info_help_short": "Workspace public URL setting", diff --git a/cli/internal/apk/i18n/language/zh_cn/info.json b/cli/internal/apk/i18n/language/zh_cn/info.json index c7b442e..9f3d150 100644 --- a/cli/internal/apk/i18n/language/zh_cn/info.json +++ b/cli/internal/apk/i18n/language/zh_cn/info.json @@ -293,6 +293,10 @@ "info_help_flag_pasword": "SmartIDE server 登录密码", "info_help_flag_loginurl": "SmartIDE server 登录地址" }, + "logout": { + "info_help_short": "SmartIDE 登出 ", + "info_help_long": "SmartIDE 登出 " + }, "k8s": { "info_start": "工作区公共访问地址设置开始...", "info_help_short": "工作区公共访问地址设置", diff --git a/docs/themes/docsy b/docs/themes/docsy index 4dd9955..f47ab9b 160000 --- a/docs/themes/docsy +++ b/docs/themes/docsy @@ -1 +1 @@ -Subproject commit 4dd9955bcece39e9404f92a29494f26a2f98aca2 +Subproject commit f47ab9b4b6b7d9b49eaae4099889155f98fe2af0 -- Gitee