From 0b30f5cf8850d233d3744eb2c801b5456c76f54a Mon Sep 17 00:00:00 2001 From: fit2bot <68588906+fit2bot@users.noreply.github.com> Date: Tue, 19 Sep 2023 10:36:03 +0800 Subject: [PATCH] =?UTF-8?q?perf:=20=E7=BF=BB=E8=AF=91=20(#11602)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: feng <1304903146@qq.com> --- apps/locale/ja/LC_MESSAGES/django.mo | 4 ++-- apps/locale/ja/LC_MESSAGES/django.po | 19 +++++++------------ apps/locale/zh/LC_MESSAGES/django.mo | 4 ++-- apps/locale/zh/LC_MESSAGES/django.po | 23 +++++++++-------------- apps/terminal/models/applet/applet.py | 2 +- 5 files changed, 21 insertions(+), 31 deletions(-) diff --git a/apps/locale/ja/LC_MESSAGES/django.mo b/apps/locale/ja/LC_MESSAGES/django.mo index 0698447e1..17c46046e 100644 --- a/apps/locale/ja/LC_MESSAGES/django.mo +++ b/apps/locale/ja/LC_MESSAGES/django.mo @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:7c946abbc1980a2ab6066a26076e1fd0692c56e076673865ef0583a6c72f3b1b -size 159755 +oid sha256:2282c0cd38dbf5b6a004f282b871d397fa060385dcb3ec0105d7bbdf2818d780 +size 160182 diff --git a/apps/locale/ja/LC_MESSAGES/django.po b/apps/locale/ja/LC_MESSAGES/django.po index 74644a89a..7ac9d8fdb 100644 --- a/apps/locale/ja/LC_MESSAGES/django.po +++ b/apps/locale/ja/LC_MESSAGES/django.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-09-18 18:39+0800\n" +"POT-Creation-Date: 2023-09-19 10:25+0800\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -1304,7 +1304,7 @@ msgid "" "SFTP root directory, Support variable:
- ${ACCOUNT} The connected " "account username
- ${HOME} The home directory of the connected account " "
- ${USER} The username of the user" -msgstr "" +msgstr "SFTPルートディレクトリ、サポート変数:
-${ACCOUNT}接続されたアカウントのユーザー名
-${HOME}接続されたアカウントのホームディレクトリ
-${USER}ユーザーのユーザー名" #: assets/const/protocol.py:65 msgid "Console" @@ -6142,11 +6142,9 @@ msgstr "一括作成非サポート" msgid "Storage is invalid" msgstr "ストレージが無効です" -#: terminal/models/applet/applet.py:30 -#, fuzzy -#| msgid "Comment" -msgid "Community" -msgstr "コメント" +#: terminal/models/applet/applet.py:30 xpack/plugins/license/models.py:88 +msgid "Community edition" +msgstr "コミュニティ版" #: terminal/models/applet/applet.py:31 msgid "Enterprise" @@ -7268,7 +7266,7 @@ msgstr "公開キー" #: users/models/preference.py:38 msgid "Preference" -msgstr "のようにふるまう" +msgstr "ユーザー設定" #: users/models/user.py:648 users/serializers/profile.py:94 msgid "Force enable" @@ -7312,6 +7310,7 @@ msgstr "最終更新日パスワード" msgid "Need update password" msgstr "更新パスワードが必要" +#: users/models/user.py:977 msgid "Can not delete admin user" msgstr "管理者ユーザーを削除できませんでした" @@ -8435,9 +8434,5 @@ msgstr "エンタープライズプロフェッショナル版" msgid "Ultimate edition" msgstr "エンタープライズ・フラッグシップ・エディション" -#: xpack/plugins/license/models.py:88 -msgid "Community edition" -msgstr "コミュニティ版" - #~ msgid "Enterprise edition" #~ msgstr "エンタープライズ基本版" diff --git a/apps/locale/zh/LC_MESSAGES/django.mo b/apps/locale/zh/LC_MESSAGES/django.mo index 902076c2c..fe1f503bf 100644 --- a/apps/locale/zh/LC_MESSAGES/django.mo +++ b/apps/locale/zh/LC_MESSAGES/django.mo @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:65c1a53a660bde080fd5b4fa9f21a038365fc5d10492d9c017ba3a5a414c4196 -size 130454 +oid sha256:f07bd3ce99241c56762a54ed058913995775ba4fa019b7713dd74f5a3ef75d22 +size 130862 diff --git a/apps/locale/zh/LC_MESSAGES/django.po b/apps/locale/zh/LC_MESSAGES/django.po index c3f123fcd..9ef78f3e1 100644 --- a/apps/locale/zh/LC_MESSAGES/django.po +++ b/apps/locale/zh/LC_MESSAGES/django.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: JumpServer 0.3.3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-09-18 18:39+0800\n" +"POT-Creation-Date: 2023-09-19 10:33+0800\n" "PO-Revision-Date: 2021-05-20 10:54+0800\n" "Last-Translator: ibuler \n" "Language-Team: JumpServer team\n" @@ -1289,10 +1289,8 @@ msgid "Other" msgstr "其它" #: assets/const/protocol.py:48 -#, fuzzy -#| msgid "SFTP Root" msgid "SFTP root" -msgstr "SFTP根路径" +msgstr "SFTP 根路径" #: assets/const/protocol.py:50 #, python-brace-format @@ -1301,6 +1299,8 @@ msgid "" "account username
- ${HOME} The home directory of the connected account " "
- ${USER} The username of the user" msgstr "" +"SFTP根目录,支持变量:
-${ACCOUNT}已连接帐户用户名
-${HOME}连接帐户的主" +"目录
-${USER}用户的用户名" #: assets/const/protocol.py:65 msgid "Console" @@ -6055,11 +6055,9 @@ msgstr "不支持批量创建" msgid "Storage is invalid" msgstr "存储无效" -#: terminal/models/applet/applet.py:30 -#, fuzzy -#| msgid "Comment" -msgid "Community" -msgstr "备注" +#: terminal/models/applet/applet.py:30 xpack/plugins/license/models.py:88 +msgid "Community edition" +msgstr "社区版" #: terminal/models/applet/applet.py:31 msgid "Enterprise" @@ -7169,7 +7167,7 @@ msgstr "SSH公钥" #: users/models/preference.py:38 msgid "Preference" -msgstr "爱好" +msgstr "用户设置" #: users/models/user.py:648 users/serializers/profile.py:94 msgid "Force enable" @@ -7213,6 +7211,7 @@ msgstr "最后更新密码日期" msgid "Need update password" msgstr "需要更新密码" +#: users/models/user.py:977 msgid "Can not delete admin user" msgstr "无法删除管理员用户" @@ -8319,7 +8318,3 @@ msgstr "企业专业版" #: xpack/plugins/license/models.py:86 msgid "Ultimate edition" msgstr "企业旗舰版" - -#: xpack/plugins/license/models.py:88 -msgid "Community edition" -msgstr "社区版" diff --git a/apps/terminal/models/applet/applet.py b/apps/terminal/models/applet/applet.py index d8e1fde58..99f4e1689 100644 --- a/apps/terminal/models/applet/applet.py +++ b/apps/terminal/models/applet/applet.py @@ -27,7 +27,7 @@ class Applet(JMSBaseModel): web = 'web', _('Web') class Edition(models.TextChoices): - community = 'community', _('Community') + community = 'community', _('Community edition') enterprise = 'enterprise', _('Enterprise') name = models.SlugField(max_length=128, verbose_name=_('Name'), unique=True)