Skip to content

Commit

Permalink
perf: cloud sync module adjustment
Browse files Browse the repository at this point in the history
  • Loading branch information
O-Jiangweidong committed May 11, 2024
1 parent 2377f1f commit 4846525
Show file tree
Hide file tree
Showing 7 changed files with 1,466 additions and 1,033 deletions.
1,792 changes: 1,041 additions & 751 deletions apps/i18n/core/en/LC_MESSAGES/django.po

Large diffs are not rendered by default.

615 changes: 357 additions & 258 deletions apps/i18n/core/ja/LC_MESSAGES/django.po

Large diffs are not rendered by default.

35 changes: 18 additions & 17 deletions apps/i18n/core/zh/LC_MESSAGES/django.po
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ msgid ""
msgstr ""
"Project-Id-Version: JumpServer 0.3.3\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2024-05-10 15:26+0800\n"
"POT-Creation-Date: 2024-05-11 11:33+0800\n"
"PO-Revision-Date: 2021-05-20 10:54+0800\n"
"Last-Translator: ibuler <[email protected]>\n"
"Language-Team: JumpServer team<[email protected]>\n"
Expand Down Expand Up @@ -1814,7 +1814,7 @@ msgstr "地址"
msgid "Platform"
msgstr "平台"

#: assets/models/asset/common.py:163 assets/models/domain.py:22
#: assets/models/asset/common.py:163
#: authentication/serializers/connect_token_secret.py:136
#: perms/serializers/user_permission.py:28 xpack/plugins/cloud/models.py:327
msgid "Domain"
Expand Down Expand Up @@ -2656,8 +2656,7 @@ msgstr "MFA"
msgid "Login Date"
msgstr "登录日期"

#: audits/models.py:212 audits/models.py:266 audits/serializers.py:70
#: audits/serializers.py:184
#: audits/models.py:212 audits/models.py:266
msgid "Auth backend"
msgstr "认证方式"

Expand Down Expand Up @@ -8742,19 +8741,15 @@ msgstr "或"
msgid "Task \"%s\" starts executing"
msgstr "任务 \"%s\" 开始执行"

#: xpack/plugins/cloud/manager.py:45
msgid "Account is valid"
msgstr "账号有效"

#: xpack/plugins/cloud/manager.py:55 xpack/plugins/cloud/manager.py:57
#: xpack/plugins/cloud/providers/gcp.py:64
#: xpack/plugins/cloud/manager.py:45 xpack/plugins/cloud/manager.py:55
#: xpack/plugins/cloud/manager.py:57 xpack/plugins/cloud/providers/gcp.py:64
#: xpack/plugins/cloud/providers/huaweicloud.py:34
msgid "Account unavailable"
msgstr "账号无效"

#: xpack/plugins/cloud/manager.py:71
msgid "View the task details path: "
msgstr "查看任务详情路径"
msgstr "查看任务详情路径"

#: xpack/plugins/cloud/manager.py:74
msgid "Account Details"
Expand Down Expand Up @@ -9315,7 +9310,8 @@ msgstr "定期清除同步实例任务执行记录"
msgid "Restore default successfully."
msgstr "恢复默认成功!"

#: xpack/plugins/interface/meta.py:9
#: xpack/plugins/interface/meta.py:9 xpack/plugins/interface/models.py:45
#: xpack/plugins/interface/models.py:86
msgid "Interface settings"
msgstr "界面设置"

Expand Down Expand Up @@ -9350,10 +9346,6 @@ msgstr "主题"
msgid "Footer content"
msgstr "页脚内容"

#: xpack/plugins/interface/models.py:45 xpack/plugins/interface/models.py:86
msgid "Interface setting"
msgstr "界面设置"

#: xpack/plugins/interface/serializers/interface.py:37
msgid "Wide logo on top"
msgstr "顶部宽 Logo"
Expand All @@ -9367,7 +9359,7 @@ msgid "License import successfully"
msgstr "许可证导入成功"

#: xpack/plugins/license/api.py:53
msgid "License is invalid"
msgid "Invalid license"
msgstr "无效的许可证"

#: xpack/plugins/license/meta.py:10 xpack/plugins/license/models.py:144
Expand All @@ -9390,6 +9382,15 @@ msgstr "企业专业版"
msgid "Ultimate edition"
msgstr "企业旗舰版"

#~ msgid "Account is valid"
#~ msgstr "账号有效"

#~ msgid "Interface setting"
#~ msgstr "界面设置"

#~ msgid "License is invalid"
#~ msgstr "无效的许可证"

#~ msgid "Key password"
#~ msgstr "密钥密码"

Expand Down
6 changes: 6 additions & 0 deletions apps/i18n/lina/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -181,6 +181,10 @@
"Basic": "Basic",
"BasicInfo": "Basic Information",
"BasicSetting": "Basic",
"Step": "Step",
"Primary": "Primary",
"Warning": "Warning",
"Danger": "Danger",
"BatchConsent": "Batch Approval",
"BatchDeployment": "Batch deployment",
"BatchProcessing": "{Number} items selected",
Expand Down Expand Up @@ -433,6 +437,8 @@
"EndpointListHelpMessage": "The service endpoint is the address (port) for users to access the service. When users connect to assets, they choose service endpoints based on endpoint rules and asset labels, using them as access points to establish connections and achieve distributed connections to assets",
"EndpointRule": "Endpoint Rules",
"EndpointRuleListHelpMessage": "For the server endpoint selection strategy, there are currently two options:<br>1、Specify the endpoint according to the endpoint rule (current page);<br>2、Choose the endpoint through asset labels, with the fixed label name being 'endpoint' and the value being the name of the endpoint.<br>The tag matching method is preferred for both methods, as the IP range may conflict, and the tag method exists as a supplement to the rules.",
"Options" :"Options",
"Footer": "Footer",
"Endswith": "Ending with...",
"EnsureThisValueIsGreaterThanOrEqualTo1": "Please Make Sure this Number is Greater Than or Equal to 1",
"EnterForSearch": "Press Enter to Search",
Expand Down
18 changes: 16 additions & 2 deletions apps/i18n/lina/ja.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@
"About": "について",
"Accept": "同意する",
"AccessIP": "Access IP",
"Warning": "に警告",
"Danger": "危険",
"AccessKey": "アクセスキー",
"Account": "アカウント",
"AccountBackup": "アカウントのバックアップ",
Expand Down Expand Up @@ -73,6 +75,8 @@
"AddOrgMembers": "組織メンバーの追加",
"AddPassKey": "パスキー(通行鍵)を追加",
"AddSuccessMsg": "追加に成功しました",
"Step": "步骤",
"Options": "オプション",
"AddSystemUser": "システムユーザーの追加",
"Address": "アドレス",
"Addressee": "宛先",
Expand All @@ -88,6 +92,10 @@
"AdminUserUpdate": "管理ユーザーの更新",
"Advanced": "詳細設定",
"AfterChange": "変更後",
"CloudAccountList": "クラウドアカウント",
"CloudAccountCreate": "クラウドアカウントの作成",
"CloudAccountUpdate": "クラウドアカウントの更新",
"CloudAccountDetail": "クラウドアカウントの詳細",
"AjaxError404": "404リクエストエラー",
"AlibabaCloud": "Alibaba cloud",
"Aliyun": "Alibaba cloud",
Expand Down Expand Up @@ -247,6 +255,11 @@
"BindLabel": "ラベルをバインド",
"BindResource": "リソースを関連付ける",
"BindSuccess": "バインド成功",
"LoginImageTip": "ヒント:エンタープライズ版ユーザーログインページに表示されます(推奨画像サイズ:492*472px)",
"FaviconTip": "ヒント:Webサイトアイコン(推奨画像サイズ:16px*16px)",
"LogoIndexTip": "ヒント:管理ページの左上に表示されます(推奨画像サイズ:185px*55px)",
"LogoLogoutTip": "ヒント:エンタープライズ版ユーザーのWeb端末ページに表示されます(推奨画像サイズ:82px*82px)",
"LoginTitleTip": "ヒント: エンタープライズ版ユーザーの SSH ログイン KoKo ログイン ページに表示されます (例: JumpServer オープン ソースマシンの使用へようこそ)",
"BlockedIPS": "ロックされたIP",
"Builtin": "内蔵",
"BuiltinTree": "タイプツリー",
Expand All @@ -264,7 +277,7 @@
"CMPP2": "CMPP v2.0",
"CTYunPrivate": "天翼プライベート・クラウド",
"CanDragSelect": "マウスをドラッグして時間帯を選択",
"Cancel": "確認",
"Cancel": "キャンセル",
"CancelCollection": "収集の取消し",
"CannotAccess": "現在のページにアクセスできません",
"Cas": "Cas設定",
Expand Down Expand Up @@ -913,6 +926,7 @@
"Others": "その他",
"Overview": "概要",
"PENDING": "待っている",
"Next": "次のステップ",
"PageNext": "次のページ",
"PagePrev": "前のページ",
"Parameter": "パラメータ",
Expand Down Expand Up @@ -1958,4 +1972,4 @@
"week": "",
"weekOf": "週の週",
"wildcardsAllowed": "許可されたワイルドカード"
}
}
10 changes: 8 additions & 2 deletions apps/i18n/lina/zh.json
Original file line number Diff line number Diff line change
Expand Up @@ -175,6 +175,7 @@
"BindLabel": "关联标签",
"BindResource": "关联资源",
"BindSuccess": "绑定成功",
"Step": "步骤",
"BlockedIPS": "已锁定的 IP",
"BuiltinVariable": "内置变量",
"CACertificate": "CA 证书",
Expand Down Expand Up @@ -601,7 +602,7 @@
"LoginPasswordSetting": "登录密码设置",
"LoginRequiredMsg": "账号已退出,请重新登录",
"LoginSucceeded": "登录成功",
"LoginTitleTip": "提示:将会显示在企业版用户 SSH 登录 KoKo 登录页面(eg: 欢迎使用JumpServer开源堡垒机)",
"LoginTitleTip": "提示:将会显示在企业版用户 SSH 登录 KoKo 登录页面(eg: 欢迎使用JumpServer开源堡垒机",
"LoginUserRanking": "登录账号排名",
"LoginUserToday": "今日登录账号数",
"LoginUsers": "活跃账号",
Expand Down Expand Up @@ -1022,12 +1023,17 @@
"StrategyUpdate": "更新策略",
"SuFrom": "切换自",
"Submit": "提交",
"Primary": "主要",
"Warning": "警告",
"Danger": "危险",
"SubscriptionID": "订阅授权ID",
"Success": "成功",
"SuccessAsset": "成功的资产",
"SuccessfulOperation": "操作成功",
"Summary(success/total)": "概况( 成功/总数 )",
"Sunday": "周日",
"Options" :"选项",
"Footer": "页脚",
"SuperAdmin": "超级管理员",
"SuperOrgAdmin": "超级管理员+组织管理员",
"Support": "支持",
Expand Down Expand Up @@ -1224,4 +1230,4 @@
"Workspace": "工作空间",
"Yes": "",
"ZStack": "ZStack"
}
}
23 changes: 20 additions & 3 deletions apps/i18n/lina/zh_hant.json
Original file line number Diff line number Diff line change
Expand Up @@ -294,6 +294,7 @@
"CloseStatus": "已完成",
"Closed": "已完成",
"Cloud": "雲管中心",
"Step": "步驟",
"CloudCenter": "雲管中心",
"CloudCreate": "創建資產-雲平台",
"CloudPlatform": "雲平台",
Expand Down Expand Up @@ -369,7 +370,20 @@
"Corporation": "公司",
"Correlation": "關聯",
"Cpu": "CPU",
"Create": "創建密碼",
"Create": "創建",
"DeleteWarningMsg": "你確定要刪除",
"CloudAccountList": "雲平台帳號",
"Next": "下一步",
"TechnologyConsult": "技術諮詢",
"Consult": "諮詢",
"LoginImageTip": "提示:將會顯示在企業版使用者登入頁面(建議圖片大小為: 492*472px)",
"FaviconTip": "提示:網站圖示(建議圖片大小為: 16px*16px)",
"CloudAccountCreate": "建立雲平台帳號",
"CloudAccountUpdate": "更新雲平台帳號",
"CloudAccountDetail": "雲平台帳號詳情",
"LoginTitleTip": "提示:將會顯示在企業版使用者 SSH 登入 KoKo 登入頁面(eg: 歡迎使用JumpServer開源堡壘機)",
"LogoIndexTip": "提示:將會顯示在管理頁面左上方(建議圖片大小為: 185px*55px)",
"LogoLogoutTip": "提示:將會顯示在企業版使用者的 Web 終端頁面(建議圖片大小為:82px*82px)",
"CreateAccessKey": "創建訪問金鑰",
"CreateAccountTemplate": "創建帳號模板",
"CreateCommandStorage": "創建命令儲存",
Expand Down Expand Up @@ -948,7 +962,10 @@
"PleaseSelect": "請選擇",
"PolicyName": "策略名稱",
"Ports": "",
"Primary": "主要的",
"Primary": "主要",
"Options" :"選項",
"Warning": "警告",
"Danger": "危險",
"PrimaryProtocol": "主要協議, 資產最基本最常用的協議,只能且必須設置一個",
"PriorityHelpMessage": "1-100, 1最低優先度,100最高優先度。授權多個用戶時,高優先度的系統用戶將會作為默認登入用戶",
"PrivateCloud": "私有雲",
Expand Down Expand Up @@ -1928,4 +1945,4 @@
"week": "",
"weekOf": "周的星期",
"wildcardsAllowed": "允許的通配符"
}
}

0 comments on commit 4846525

Please sign in to comment.