From 90055f7680c49a6a846e805833bbc44fc4bc3b9b Mon Sep 17 00:00:00 2001 From: ibuler Date: Sun, 26 Mar 2017 19:41:10 +0800 Subject: [PATCH] =?UTF-8?q?[Bugfix]=20=E6=B7=BB=E5=8A=A0=E7=BF=BB=E8=AF=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apps/locale/zh/LC_MESSAGES/django.mo | Bin 8637 -> 14626 bytes apps/locale/zh/LC_MESSAGES/django.po | 3182 +++++++++++++++----------- 2 files changed, 1859 insertions(+), 1323 deletions(-) diff --git a/apps/locale/zh/LC_MESSAGES/django.mo b/apps/locale/zh/LC_MESSAGES/django.mo index a04d6205c35ada85a66a4caa386d99ae71f675d5..0a8f755fa2651b745b154a60a8b4d727d49c8532 100644 GIT binary patch literal 14626 zcmb`M34EMYwZJd5Y=MeYWP2!IQI<+m3PmXusG$ojw6rvBRUTTW$s`#%nF+JB1bvb& zY11|7zNJe_S4z{BE=k*n8!9f~_D~iT@_jQ=5k(Y*2fqKg_e?UWMf|vrjYTa(MsQ#)Nop{Gg;7<6UITdh|Z#zs<-{JZ29e5?|b%`;&ngLMy83{iO!%*7!GVBd!!3*I^SO9myQScD#1S>f0gz%pU%T{ho$0{uiOl^S4me{T=ve_+b`b+PxP_`7c1RPaI1B z53BwNly>GTS3#+_1xmfWQ0(`0DC7UG>c4=}@2{b>_h%^f`5TmePX7qDg1ulrcoCHO z4uz6GO7kZ`vEvt@^b^wb3gv^!hoSU83rfGsAWLJmL236%DD!vF6JW*TAcxjO!jK^(VsX;eAl*&xbPaWl-$49?JZ7LMeX` ziXD$aS>LBM{{<-H&OoXEDwKZSgfjkjq4;U9E8M)VhtmEKDCO>kQhz)YfB77g{=Nid z{9#S6fHIycDC7MylzOvOpAV(IWvZ`*(*L7S=D8or_+M7O0j2(#p5u8?`t7Z}7)pG& z97=o{0A+l`q4YlniXA3F>8BjZI!%KTrxro6$D>f%-3?`3_bc0=hIwu~j{u&f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je!UJgXg>h!x&LITdf4C$Pv@YlQ?K- zv9+GS8K?r$a|k;;m_DwyL~aAsm291LSt1mmYw4S9W-i?z&y6l?4*f8Pa_7qPTpwj4oDL>hww9`_O%II++Cp^;!5|K_mYH-UKPQ`5`c-i`KEp+~$fSUI$enM{7ewM!X-K*PnI%0wBJcJxA^2VWGTkt`*ZU&xszjg^ zq|o$@Ln>zTkRCnj?{3dI5oUMGyt87yg1xV*$wNS1@zaT9=4ir891CU+G4DnK3y}Gj jPN$OxWdfMH<0J9=Q@!bHSN*{x)~%ZOt%4oM^XGp6Sr-Lj diff --git a/apps/locale/zh/LC_MESSAGES/django.po b/apps/locale/zh/LC_MESSAGES/django.po index cda86f2c0..5218a674d 100644 --- a/apps/locale/zh/LC_MESSAGES/django.po +++ b/apps/locale/zh/LC_MESSAGES/django.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Jumpserver 0.3.3\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2016-11-22 21:30+0800\n" +"POT-Creation-Date: 2017-03-26 13:39+0800\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: ibuler \n" "Language-Team: Jumpserver team\n" @@ -17,857 +17,1181 @@ msgstr "" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -#: assets/forms.py:53 assets/forms.py:208 -#: assets/templates/assets/admin_user_detail.html:191 perms/forms.py:27 -#: perms/templates/perms/asset_permission_asset.html:139 users/forms.py:124 -msgid "Select asset groups" -msgstr "添加到资产组" +#: applications/models.py:14 +#: applications/templates/applications/terminal_detail.html:43 +#: applications/templates/applications/terminal_list.html:29 +#: assets/forms.py:121 assets/forms.py:201 assets/forms.py:269 +#: assets/models/group.py:18 assets/models/idc.py:18 assets/models/user.py:34 +#: assets/models/user.py:136 assets/templates/assets/admin_user_detail.html:52 +#: assets/templates/assets/admin_user_list.html:15 +#: assets/templates/assets/asset_group_list.html:15 +#: assets/templates/assets/idc_detail.html:57 +#: assets/templates/assets/idc_list.html:18 +#: assets/templates/assets/system_user_asset_group.html:51 +#: assets/templates/assets/system_user_detail.html:52 +#: assets/templates/assets/system_user_list.html:17 audits/models.py:18 +#: audits/templates/audits/login_log_list.html:49 ops/models.py:19 +#: ops/templates/ops/task_detail.html:50 ops/templates/ops/task_list.html:39 +#: perms/models.py:21 +#: perms/templates/perms/asset_permission_create_update.html:33 +#: perms/templates/perms/asset_permission_detail.html:62 +#: perms/templates/perms/asset_permission_list.html:11 +#: perms/templates/perms/asset_permission_user.html:64 users/models/group.py:18 +#: users/models/user.py:32 users/templates/users/_select_user_modal.html:13 +#: users/templates/users/user_asset_permission.html:54 +#: users/templates/users/user_detail.html:65 +#: users/templates/users/user_granted_asset.html:88 +#: users/templates/users/user_group_asset_permission.html:54 +#: users/templates/users/user_group_detail.html:58 +#: users/templates/users/user_group_granted_asset.html:88 +#: users/templates/users/user_group_list.html:12 +#: users/templates/users/user_list.html:25 +msgid "Name" +msgstr "名称" -#: assets/forms.py:56 -#, fuzzy -#| msgid "Select assets" -msgid "Select asset tags" -msgstr "选择资产" +#: applications/models.py:15 +msgid "Remote address" +msgstr "远端地址" + +#: applications/models.py:16 +#: applications/templates/applications/terminal_detail.html:55 +msgid "Terminal type" +msgstr "终端类型" + +#: applications/models.py:19 +#, fuzzy +msgid "URL to login" +msgstr "登录地址" + +#: applications/models.py:22 +#: applications/templates/applications/terminal_detail.html:63 +#: assets/models/asset.py:85 assets/models/group.py:22 assets/models/idc.py:35 +#: assets/models/user.py:46 assets/models/user.py:157 +#: assets/templates/assets/admin_user_detail.html:68 +#: assets/templates/assets/admin_user_list.html:19 +#: assets/templates/assets/asset_detail.html:129 +#: assets/templates/assets/asset_group_list.html:17 +#: assets/templates/assets/idc_detail.html:97 +#: assets/templates/assets/system_user_asset_group.html:54 +#: assets/templates/assets/system_user_detail.html:106 +#: assets/templates/assets/system_user_list.html:21 perms/models.py:40 +#: perms/templates/perms/asset_permission_detail.html:98 +#: users/models/group.py:19 users/models/user.py:43 +#: users/templates/users/user_detail.html:109 +#: users/templates/users/user_group_detail.html:70 +#: users/templates/users/user_group_list.html:14 +msgid "Comment" +msgstr "备注" -#: assets/forms.py:58 -#, fuzzy -#| msgid "System user" -msgid "Select asset system users" -msgstr "系统" +#: applications/templates/applications/terminal_detail.html:13 +#: applications/views.py:51 +msgid "Terminal detail" +msgstr "终端详情" + +#: applications/templates/applications/terminal_detail.html:51 +msgid "Terminal url" +msgstr "终端地址" + +#: applications/templates/applications/terminal_detail.html:59 +#: assets/templates/assets/admin_user_detail.html:60 +#: assets/templates/assets/asset_tag_detail.html:51 +#: assets/templates/assets/idc_detail.html:89 +#: assets/templates/assets/system_user_detail.html:98 perms/models.py:39 +#: perms/templates/perms/asset_permission_detail.html:90 +#: users/templates/users/user_group_detail.html:66 +msgid "Date created" +msgstr "创建日期" + +#: applications/templates/applications/terminal_list.html:30 +#: assets/models/asset.py:41 assets/templates/assets/admin_user_detail.html:98 +#: assets/templates/assets/asset_detail.html:53 +#: assets/templates/assets/asset_group_detail.html:46 +#: assets/templates/assets/asset_list.html:55 +#: assets/templates/assets/asset_tag_detail.html:82 +#: assets/templates/assets/idc_assets.html:55 +#: assets/templates/assets/system_user_asset.html:48 +#: audits/templates/audits/login_log_list.html:52 +#: perms/templates/perms/asset_permission_asset.html:65 +#: users/templates/users/user_granted_asset.html:53 +#: users/templates/users/user_group_granted_asset.html:53 +msgid "IP" +msgstr "IP" + +#: applications/templates/applications/terminal_list.html:31 +#: assets/templates/assets/asset_group_detail.html:48 +#: assets/templates/assets/asset_list.html:57 +#: assets/templates/assets/asset_tag_detail.html:84 +#: assets/templates/assets/idc_assets.html:57 +#: audits/templates/audits/login_log_list.html:50 +msgid "Type" +msgstr "类型" + +#: applications/templates/applications/terminal_list.html:32 +#: templates/_nav.html:59 +msgid "Session online" +msgstr "在线session" + +#: applications/templates/applications/terminal_list.html:33 +#: assets/templates/assets/asset_detail.html:146 +#: assets/templates/assets/asset_list.html:74 perms/models.py:33 +#: perms/templates/perms/asset_permission_create_update.html:47 +#: users/templates/users/_select_user_modal.html:18 +#: users/templates/users/user_detail.html:126 +#: users/templates/users/user_list.html:29 +msgid "Active" +msgstr "激活" + +#: applications/templates/applications/terminal_list.html:34 +#: assets/templates/assets/admin_user_detail.html:100 +#: assets/templates/assets/asset_group_detail.html:49 +#: assets/templates/assets/asset_list.html:61 +msgid "Alive" +msgstr "在线" + +#: applications/templates/applications/terminal_list.html:35 +#: assets/templates/assets/admin_user_detail.html:101 +#: assets/templates/assets/admin_user_list.html:20 +#: assets/templates/assets/asset_group_detail.html:50 +#: assets/templates/assets/asset_group_list.html:18 +#: assets/templates/assets/asset_list.html:62 +#: assets/templates/assets/asset_tag_detail.html:86 +#: assets/templates/assets/asset_tags_list.html:65 +#: assets/templates/assets/idc_list.html:23 +#: assets/templates/assets/system_user_asset.html:51 +#: assets/templates/assets/system_user_list.html:22 +#: ops/templates/ops/task_list.html:45 +#: perms/templates/perms/asset_permission_list.html:18 +#: users/templates/users/user_group_list.html:15 +#: users/templates/users/user_list.html:30 +msgid "Action" +msgstr "动作" + +#: applications/templates/applications/terminal_list.html:72 +#: assets/templates/assets/admin_user_detail.html:305 +#: assets/templates/assets/admin_user_list.html:56 +#: assets/templates/assets/asset_group_detail.html:176 +#: assets/templates/assets/asset_group_detail.html:300 +#: assets/templates/assets/asset_group_list.html:55 +#: assets/templates/assets/asset_list.html:131 +#: assets/templates/assets/asset_tag_detail.html:223 +#: assets/templates/assets/asset_tags_list.html:99 +#: assets/templates/assets/idc_list.html:55 +#: assets/templates/assets/system_user_asset.html:256 +#: assets/templates/assets/system_user_list.html:58 +#: perms/templates/perms/asset_permission_list.html:44 +#: users/templates/users/user_group_list.html:50 +#: users/templates/users/user_list.html:78 +#: users/templates/users/user_profile.html:111 +msgid "Update" +msgstr "更新" + +#: applications/templates/applications/terminal_list.html:74 +#: assets/templates/assets/admin_user_list.html:57 +#: assets/templates/assets/asset_group_detail.html:175 +#: assets/templates/assets/asset_group_list.html:56 +#: assets/templates/assets/asset_list.html:132 +#: assets/templates/assets/asset_tag_detail.html:224 +#: assets/templates/assets/asset_tags_list.html:100 +#: assets/templates/assets/idc_list.html:56 +#: assets/templates/assets/system_user_asset.html:257 +#: assets/templates/assets/system_user_list.html:59 +#: ops/templates/ops/task_list.html:72 +#: perms/templates/perms/asset_permission_list.html:47 +#: users/templates/users/user_group_list.html:52 +#: users/templates/users/user_list.html:79 +msgid "Delete" +msgstr "删除" -#: assets/forms.py:59 +#: applications/templates/applications/terminal_list.html:77 +msgid "Accept" +msgstr "接受" + +#: applications/templates/applications/terminal_list.html:79 +msgid "Reject" +msgstr "拒绝" + +#: applications/templates/applications/terminal_modal_accept.html:5 +msgid "Accept terminal registration" +msgstr "接受终端注册请求" + +#: applications/templates/applications/terminal_update.html:33 +msgid "Info" +msgstr "信息" + +#: applications/templates/applications/terminal_update.html:40 +#: assets/templates/assets/_system_user.html:70 +#: assets/templates/assets/asset_create.html:31 +#: assets/templates/assets/asset_update.html:46 +#: perms/templates/perms/asset_permission_create_update.html:45 +msgid "Other" +msgstr "其它" + +#: applications/templates/applications/terminal_update.html:45 +#: assets/templates/assets/_system_user.html:76 +#: assets/templates/assets/admin_user_create_update.html:46 +#: assets/templates/assets/admin_user_detail.html:151 +#: assets/templates/assets/asset_create.html:39 +#: assets/templates/assets/asset_modal_update.html:78 +#: assets/templates/assets/asset_update.html:56 +#: assets/templates/assets/idc_create_update.html:51 +#: assets/templates/assets/system_user_detail.html:145 +#: perms/templates/perms/asset_permission_create_update.html:67 +#: users/templates/users/_user.html:49 +#: users/templates/users/user_detail.html:158 +#: users/templates/users/user_detail.html:166 +msgid "Reset" +msgstr "重置" + +#: applications/templates/applications/terminal_update.html:46 +#: assets/templates/assets/_system_user.html:77 +#: assets/templates/assets/admin_user_create_update.html:47 +#: assets/templates/assets/admin_user_list.html:33 +#: assets/templates/assets/asset_create.html:40 +#: assets/templates/assets/asset_group_list.html:32 +#: assets/templates/assets/asset_list.html:78 +#: assets/templates/assets/asset_modal_update.html:79 +#: assets/templates/assets/asset_tags_list.html:79 +#: assets/templates/assets/asset_update.html:57 +#: assets/templates/assets/idc_assets.html:72 +#: assets/templates/assets/idc_create_update.html:52 +#: assets/templates/assets/idc_list.html:36 +#: assets/templates/assets/system_user_list.html:36 +#: audits/templates/audits/proxy_log_online_list.html:124 +#: perms/templates/perms/asset_permission_create_update.html:68 +#: users/templates/users/_user.html:50 +#: users/templates/users/forgot_password.html:44 +#: users/templates/users/user_asset_permission.html:100 +#: users/templates/users/user_group_asset_permission.html:100 +#: users/templates/users/user_group_list.html:26 +#: users/templates/users/user_list.html:46 +msgid "Submit" +msgstr "提交" + +#: applications/views.py:23 audits/models.py:47 +#: audits/templates/audits/proxy_log_offline_list.html:67 +#: audits/templates/audits/proxy_log_online_list.html:67 templates/_nav.html:42 +msgid "Terminal" +msgstr "终端" + +#: applications/views.py:24 +msgid "Terminal list" +msgstr "终端列表" + +#: applications/views.py:38 applications/views.py:50 templates/_nav.html:39 +msgid "Applications" +msgstr "应用程序" + +#: applications/views.py:38 #, fuzzy -#| msgid "Select assets" +msgid "Update terminal" +msgstr "更新terminal" + +#: assets/forms.py:15 +msgid "Select admin user" +msgstr "选择管理用户" + +#: assets/forms.py:26 assets/forms.py:47 +#: assets/templates/assets/admin_user_detail.html:198 perms/forms.py:30 +#: perms/templates/perms/asset_permission_asset.html:137 users/forms.py:102 +#: users/forms.py:129 +msgid "Select asset groups" +msgstr "添加到资产组" + +#: assets/forms.py:27 assets/forms.py:48 msgid "Select asset admin user" -msgstr "选择资产" +msgstr "选择资产管理用户" -#: assets/forms.py:71 assets/forms.py:107 assets/forms.py:140 -#: assets/forms.py:198 assets/forms.py:270 +#: assets/forms.py:32 assets/forms.py:53 +msgid "" +"System user will be granted for user to login assets (using ansible create " +"automatic)" +msgstr "系统用户会被授权给用户用来登录资产, ansible会自动创建" + +#: assets/forms.py:33 assets/forms.py:54 +msgid "" +"Admin user should be exist on asset already, And have sudo ALL permission" +msgstr "管理用户应该已经在资产上存在, 可以是root或者其他拥有 sudo ALL 权限的用户" + +#: assets/forms.py:62 assets/forms.py:98 assets/forms.py:136 +#: assets/templates/assets/asset_group_list.html:16 +#: assets/templates/assets/system_user_list.html:19 audits/models.py:41 +#: audits/templates/audits/command_log_list.html:35 +#: audits/templates/audits/proxy_log_offline_list.html:34 +#: audits/templates/audits/proxy_log_offline_list.html:65 +#: audits/templates/audits/proxy_log_online_list.html:34 +#: audits/templates/audits/proxy_log_online_list.html:65 +#: ops/templates/ops/task_list.html:40 #: perms/templates/perms/asset_permission_create_update.html:40 -#: templates/_nav.html:21 +#: perms/templates/perms/asset_permission_list.html:14 templates/_nav.html:21 +#: users/templates/users/user_asset_permission.html:55 +#: users/templates/users/user_granted_asset.html:89 +#: users/templates/users/user_group_asset_permission.html:55 +#: users/templates/users/user_group_granted_asset.html:89 msgid "Asset" msgstr "资产" -#: assets/forms.py:74 assets/forms.py:110 assets/forms.py:143 -#: assets/forms.py:201 assets/forms.py:273 perms/forms.py:25 users/forms.py:122 +#: assets/forms.py:65 assets/forms.py:101 assets/forms.py:139 +#: assets/templates/assets/asset_group_detail.html:86 perms/forms.py:27 +#: users/forms.py:99 users/forms.py:126 msgid "Select assets" msgstr "选择资产" -#: assets/forms.py:96 +#: assets/forms.py:87 #, fuzzy #| msgid "System user" msgid "Select asset system user" msgstr "系统" -#: assets/forms.py:129 assets/forms.py:186 assets/forms.py:258 -#: assets/models.py:15 assets/models.py:94 assets/models.py:159 -#: assets/models.py:243 assets/templates/assets/admin_user_detail.html:46 -#: assets/templates/assets/admin_user_list.html:10 -#: assets/templates/assets/asset_group_detail.html:46 -#: assets/templates/assets/asset_group_list.html:12 -#: assets/templates/assets/idc_list.html:12 -#: assets/templates/assets/system_user_asset_group.html:53 -#: assets/templates/assets/system_user_detail.html:51 -#: assets/templates/assets/system_user_list.html:10 ops/models.py:18 -#: ops/models.py:36 ops/models.py:48 ops/models.py:65 ops/models.py:397 -#: ops/templates/cron/list.html:26 ops/templates/sudo/list.html:26 -#: perms/models.py:19 -#: perms/templates/perms/asset_permission_create_update.html:33 -#: perms/templates/perms/asset_permission_detail.html:56 -#: perms/templates/perms/asset_permission_list.html:12 -#: perms/templates/perms/asset_permission_user.html:66 users/models.py:23 -#: users/models.py:75 users/templates/users/_select_user_modal.html:13 -#: users/templates/users/user_asset_permission.html:66 -#: users/templates/users/user_detail.html:58 -#: users/templates/users/user_granted_asset.html:129 -#: users/templates/users/user_group_detail.html:90 -#: users/templates/users/user_group_list.html:25 -#: users/templates/users/user_list.html:26 -msgid "Name" -msgstr "名称" - -#: assets/forms.py:148 assets/forms.py:213 +#: assets/forms.py:145 msgid "If also set private key, use that first" msgstr "如果设置私钥,则优先使用私钥" -#: assets/forms.py:187 assets/forms.py:259 assets/models.py:95 -#: assets/models.py:160 assets/templates/assets/admin_user_detail.html:50 -#: assets/templates/assets/admin_user_list.html:11 -#: assets/templates/assets/system_user_detail.html:55 -#: assets/templates/assets/system_user_list.html:11 -#: ops/templates/cron/list.html:27 ops/templates/sudo/list.html:27 -#: perms/templates/perms/asset_permission_user.html:67 users/forms.py:13 -#: users/models.py:74 users/templates/users/_select_user_modal.html:14 +#: assets/forms.py:184 +#, fuzzy +#| msgid "SSH private key" +msgid "Invalid private key" +msgstr "ssh密钥" + +#: assets/forms.py:194 +msgid "Password and private key file must be input one" +msgstr "密码和私钥, 必须输入一个" + +#: assets/forms.py:202 assets/forms.py:270 assets/models/user.py:35 +#: assets/models/user.py:137 assets/templates/assets/admin_user_detail.html:56 +#: assets/templates/assets/admin_user_list.html:16 +#: assets/templates/assets/system_user_detail.html:56 +#: assets/templates/assets/system_user_list.html:18 audits/models.py:17 +#: audits/templates/audits/login_log_list.html:48 +#: perms/templates/perms/asset_permission_user.html:65 users/forms.py:14 +#: users/models/user.py:31 users/templates/users/_select_user_modal.html:14 #: users/templates/users/login.html:53 -#: users/templates/users/user_detail.html:62 -#: users/templates/users/user_list.html:27 -#: users/templates/users/user_update.html:6 +#: users/templates/users/user_detail.html:69 +#: users/templates/users/user_list.html:26 msgid "Username" msgstr "用户名" -#: assets/forms.py:204 templates/_nav.html:22 -msgid "Asset group" -msgstr "资产组" +#: assets/forms.py:247 +msgid "Private key required" +msgstr "密钥不能为空" -#: assets/models.py:16 -msgid "Bandwidth" -msgstr "带宽" +#: assets/forms.py:252 +msgid "Private key invalid" +msgstr "密钥不合法" -#: assets/models.py:17 assets/templates/assets/idc_list.html:14 -msgid "Contact" -msgstr "联系人" +#: assets/forms.py:258 +msgid "Password required" +msgstr "密码不能为空" -#: assets/models.py:18 assets/templates/assets/idc_list.html:15 -#: users/models.py:81 users/templates/users/user_detail.html:71 -msgid "Phone" -msgstr "手机" +#: assets/models/asset.py:23 +#, fuzzy +#| msgid "Admin user" +msgid "In use" +msgstr "管理用户" -#: assets/models.py:19 -msgid "Address" -msgstr "地址" +#: assets/models/asset.py:24 +#, fuzzy +#| msgid "Auto push" +msgid "Out of use" +msgstr "自动推送" -#: assets/models.py:20 -msgid "Intranet" -msgstr "" +#: assets/models/asset.py:27 +#: assets/templates/assets/_asset_bulk_update_modal.html:24 +msgid "Server" +msgstr "物理机" -#: assets/models.py:21 -msgid "Extranet" -msgstr "" +#: assets/models/asset.py:28 +#: assets/templates/assets/_asset_bulk_update_modal.html:25 +msgid "VM" +msgstr "虚拟机" -#: assets/models.py:22 assets/models.py:246 assets/models.py:324 -msgid "Date added" -msgstr "加入日期" +#: assets/models/asset.py:29 +#: assets/templates/assets/_asset_bulk_update_modal.html:26 +msgid "Switch" +msgstr "交换机" -#: assets/models.py:23 -msgid "Operator" -msgstr "运营商" +#: assets/models/asset.py:30 +#: assets/templates/assets/_asset_bulk_update_modal.html:28 +msgid "Router" +msgstr "路由器" -#: assets/models.py:24 assets/models.py:64 assets/models.py:102 -#: assets/models.py:173 assets/models.py:245 assets/models.py:322 -#: assets/models.py:370 assets/templates/assets/admin_user_detail.html:58 -#: assets/templates/assets/asset_detail.html:114 -#: assets/templates/assets/asset_group_detail.html:54 -#: assets/templates/assets/asset_tag_detail.html:49 -#: assets/templates/assets/system_user_detail.html:101 perms/models.py:29 -#: perms/templates/perms/asset_permission_detail.html:88 users/models.py:90 -#: users/templates/users/user_detail.html:90 -msgid "Created by" -msgstr "创建者" +#: assets/models/asset.py:31 +#: assets/templates/assets/_asset_bulk_update_modal.html:29 +msgid "Firewall" +msgstr "防火墙" -#: assets/models.py:25 assets/models.py:66 assets/models.py:100 -#: assets/models.py:174 assets/models.py:247 assets/models.py:325 -#: assets/templates/assets/admin_user_detail.html:62 -#: assets/templates/assets/admin_user_list.html:14 -#: assets/templates/assets/asset_detail.html:122 -#: assets/templates/assets/asset_group_detail.html:58 -#: assets/templates/assets/asset_group_list.html:14 -#: assets/templates/assets/system_user_asset_group.html:56 -#: assets/templates/assets/system_user_detail.html:105 -#: assets/templates/assets/system_user_list.html:15 perms/models.py:31 -#: perms/templates/perms/asset_permission_detail.html:92 users/models.py:24 -#: users/models.py:86 users/templates/users/user_detail.html:102 -#: users/templates/users/user_group_detail.html:94 -#: users/templates/users/user_group_list.html:28 -msgid "Comment" -msgstr "备注" +#: assets/models/asset.py:32 +#: assets/templates/assets/_asset_bulk_update_modal.html:27 +msgid "Storage" +msgstr "存储" + +#: assets/models/asset.py:42 assets/templates/assets/admin_user_detail.html:97 +#: assets/templates/assets/asset_detail.html:49 +#: assets/templates/assets/asset_group_detail.html:45 +#: assets/templates/assets/asset_list.html:54 +#: assets/templates/assets/asset_tag_detail.html:81 +#: assets/templates/assets/idc_assets.html:54 +#: assets/templates/assets/system_user_asset.html:47 +#: perms/templates/perms/asset_permission_asset.html:64 +#: users/templates/users/user_granted_asset.html:52 +#: users/templates/users/user_group_granted_asset.html:52 +msgid "Hostname" +msgstr "主机名" -#: assets/models.py:32 assets/models.py:257 -#, fuzzy -#| msgid "As default" -msgid "Default" -msgstr "默认使用" +#: assets/models/asset.py:43 assets/templates/assets/admin_user_detail.html:99 +#: assets/templates/assets/asset_detail.html:73 +#: assets/templates/assets/asset_group_detail.html:47 +#: assets/templates/assets/asset_list.html:56 +#: assets/templates/assets/asset_tag_detail.html:83 +#: assets/templates/assets/idc_assets.html:56 +#: assets/templates/assets/system_user_asset.html:49 +#: perms/templates/perms/asset_permission_asset.html:66 +#: users/templates/users/user_granted_asset.html:54 +#: users/templates/users/user_group_granted_asset.html:54 +msgid "Port" +msgstr "端口" -#: assets/models.py:32 users/models.py:224 -msgid "System" -msgstr "系统" +#: assets/models/asset.py:44 assets/templates/assets/asset_detail.html:191 +msgid "Asset groups" +msgstr "用户组" -#: assets/models.py:32 -#, fuzzy -#| msgid "As default" -msgid "Default IDC" -msgstr "默认使用" +#: assets/models/asset.py:46 assets/templates/assets/asset_detail.html:57 +#: templates/_nav.html:24 +msgid "Admin user" +msgstr "管理用户" -#: assets/models.py:62 -msgid "KEY" -msgstr "KEY" +#: assets/models/asset.py:47 +msgid "System User" +msgstr "系统用户" -#: assets/models.py:63 -msgid "VALUE" -msgstr "VALUE" +#: assets/models/asset.py:49 templates/_nav.html:23 +msgid "IDC" +msgstr "机房" -#: assets/models.py:74 assets/models.py:75 -msgid "status" -msgstr "状态" +#: assets/models/asset.py:50 assets/templates/assets/asset_detail.html:101 +msgid "Is active" +msgstr "是否激活" -#: assets/models.py:74 -#, fuzzy -#| msgid "Admin user" -msgid "In use" -msgstr "管理用户" +#: assets/models/asset.py:52 assets/templates/assets/asset_detail.html:105 +msgid "Asset type" +msgstr "系统类型" + +#: assets/models/asset.py:54 assets/templates/assets/asset_detail.html:109 +msgid "Asset environment" +msgstr "资产环境" + +#: assets/models/asset.py:56 assets/templates/assets/asset_detail.html:97 +msgid "Asset status" +msgstr "资产状态" + +#: assets/models/asset.py:59 +msgid "Public IP" +msgstr "公网IP" + +#: assets/models/asset.py:60 +msgid "Remote control card IP" +msgstr "远控卡IP" -#: assets/models.py:75 +#: assets/models/asset.py:61 +msgid "Cabinet number" +msgstr "机柜编号" + +#: assets/models/asset.py:62 +msgid "Cabinet position" +msgstr "机柜层号" + +#: assets/models/asset.py:63 assets/templates/assets/asset_detail.html:117 +msgid "Asset number" +msgstr "资产编号" + +#: assets/models/asset.py:66 +msgid "Vendor" +msgstr "制造商" + +#: assets/models/asset.py:67 +msgid "Model" +msgstr "型号" + +#: assets/models/asset.py:68 assets/templates/assets/asset_detail.html:113 +msgid "Serial number" +msgstr "序列号" + +#: assets/models/asset.py:70 +msgid "CPU model" +msgstr "CPU型号" + +#: assets/models/asset.py:71 #, fuzzy -#| msgid "Auto push" -msgid "Out of use" -msgstr "自动推送" +#| msgid "User group" +msgid "CPU count" +msgstr "CPU数量" -#: assets/models.py:76 assets/models.py:77 assets/models.py:78 -#: assets/models.py:79 assets/models.py:80 assets/models.py:81 -msgid "type" -msgstr "" +#: assets/models/asset.py:72 +msgid "CPU cores" +msgstr "CPU核数" -#: assets/models.py:76 -msgid "Server" -msgstr "" +#: assets/models/asset.py:73 assets/templates/assets/asset_detail.html:85 +msgid "Memory" +msgstr "内存" -#: assets/models.py:77 -msgid "VM" -msgstr "" +#: assets/models/asset.py:74 +msgid "Disk total" +msgstr "硬盘大小" -#: assets/models.py:78 -msgid "Switch" -msgstr "" +#: assets/models/asset.py:75 +msgid "Disk info" +msgstr "硬盘信息" + +#: assets/models/asset.py:78 assets/templates/assets/asset_detail.html:93 +msgid "OS" +msgstr "操作系统" -#: assets/models.py:79 +#: assets/models/asset.py:79 +msgid "OS Version" +msgstr "系统版本" + +#: assets/models/asset.py:80 +msgid "OS Arch" +msgstr "系统架构" + +#: assets/models/asset.py:81 #, fuzzy -#| msgid "Role" -msgid "Router" -msgstr "角色" +msgid "Hostname raw" +msgstr "主机名原始" -#: assets/models.py:80 -msgid "Firewall" -msgstr "" +#: assets/models/asset.py:83 assets/models/group.py:20 assets/models/idc.py:34 +#: assets/models/user.py:49 assets/models/user.py:155 +#: assets/templates/assets/admin_user_detail.html:64 +#: assets/templates/assets/asset_detail.html:121 +#: assets/templates/assets/asset_tag_detail.html:47 +#: assets/templates/assets/idc_detail.html:93 +#: assets/templates/assets/system_user_detail.html:102 perms/models.py:37 +#: perms/templates/perms/asset_permission_detail.html:94 +#: users/models/user.py:47 users/templates/users/user_detail.html:97 +msgid "Created by" +msgstr "创建者" -#: assets/models.py:81 -msgid "Storage" -msgstr "" +#: assets/models/asset.py:84 assets/models/group.py:21 assets/models/idc.py:30 +msgid "Date added" +msgstr "加入日期" -#: assets/models.py:82 assets/models.py:83 assets/models.py:84 -msgid "env" -msgstr "" +#: assets/models/group.py:32 assets/models/idc.py:42 +#, fuzzy +msgid "Default" +msgstr "默认" -#: assets/models.py:82 -msgid "Production" -msgstr "" +#: assets/models/group.py:32 +#, fuzzy +msgid "Default asset group" +msgstr "默认资产组" -#: assets/models.py:83 -msgid "Development" -msgstr "" +#: assets/models/idc.py:20 assets/templates/assets/idc_detail.html:61 +msgid "Bandwidth" +msgstr "带宽" + +#: assets/models/idc.py:22 assets/templates/assets/idc_detail.html:65 +#: assets/templates/assets/idc_list.html:20 +msgid "Contact" +msgstr "联系人" + +#: assets/models/idc.py:24 assets/templates/assets/idc_detail.html:69 +#: assets/templates/assets/idc_list.html:21 users/models/user.py:38 +#: users/templates/users/user_detail.html:78 +msgid "Phone" +msgstr "手机" + +#: assets/models/idc.py:26 assets/templates/assets/idc_detail.html:73 +msgid "Address" +msgstr "地址" -#: assets/models.py:84 +#: assets/models/idc.py:27 assets/templates/assets/idc_detail.html:77 +msgid "Intranet" +msgstr "内网" + +#: assets/models/idc.py:28 assets/templates/assets/idc_detail.html:81 +msgid "Extranet" +msgstr "外网" + +#: assets/models/idc.py:32 assets/templates/assets/idc_detail.html:85 +#: assets/templates/assets/idc_list.html:22 +msgid "Operator" +msgstr "运营商" +#: assets/models/idc.py:42 users/models/user.py:242 +msgid "System" +msgstr "系统" + +#: assets/models/idc.py:42 #, fuzzy -msgid "Testing" -msgstr "设置" +#| msgid "As default" +msgid "Default IDC" +msgstr "默认使用" + +#: assets/models/user.py:24 +#, python-format +msgid "%(value)s is not an even number" +msgstr "" -#: assets/models.py:96 assets/models.py:161 users/forms.py:15 +#: assets/models/user.py:37 assets/models/user.py:139 users/forms.py:16 #: users/templates/users/login.html:56 #: users/templates/users/reset_password.html:52 #: users/templates/users/user_create.html:9 #: users/templates/users/user_create.html:11 -#: users/templates/users/user_update.html:13 -#: users/templates/users/user_update.html:15 +#: users/templates/users/user_update.html:5 +#: users/templates/users/user_update.html:7 msgid "Password" msgstr "密码" -#: assets/models.py:97 assets/models.py:163 +#: assets/models/user.py:38 assets/models/user.py:143 msgid "SSH private key" msgstr "ssh密钥" -#: assets/models.py:98 assets/models.py:164 +#: assets/models/user.py:45 assets/models/user.py:145 msgid "SSH public key" msgstr "ssh公钥" -#: assets/models.py:99 assets/models.py:165 -#: assets/templates/assets/admin_user_create_update.html:43 -#: assets/templates/assets/system_user_create_update.html:44 -#: assets/templates/assets/system_user_detail.html:71 -msgid "As default" -msgstr "默认使用" - -#: assets/models.py:162 assets/templates/assets/system_user_detail.html:59 +#: assets/models/user.py:141 assets/templates/assets/system_user_detail.html:60 msgid "Protocol" msgstr "协议" -#: assets/models.py:166 -#: assets/templates/assets/system_user_create_update.html:50 -#: assets/templates/assets/system_user_detail.html:63 +#: assets/models/user.py:147 +msgid "Auth method" +msgstr "认证方式" + +#: assets/models/user.py:148 assets/templates/assets/_system_user.html:65 +#: assets/templates/assets/system_user_detail.html:64 msgid "Auto push" msgstr "自动推送" -#: assets/models.py:167 -msgid "Auto update pass/key" -msgstr "自动更新密码/密钥" - -#: assets/models.py:168 assets/templates/assets/system_user_detail.html:75 -#: templates/_nav.html:46 +#: assets/models/user.py:150 assets/templates/assets/system_user_detail.html:76 msgid "Sudo" msgstr "Sudo" -#: assets/models.py:169 assets/templates/assets/system_user_detail.html:80 +#: assets/models/user.py:152 assets/templates/assets/system_user_detail.html:81 msgid "Shell" msgstr "Shell" -#: assets/models.py:170 assets/templates/assets/system_user_detail.html:86 -#: templates/_header_bar.html:41 templates/_nav.html:4 -msgid "Home" -msgstr "仪表盘" - -#: assets/models.py:171 assets/templates/assets/system_user_detail.html:92 -msgid "Uid" -msgstr "Uid" - -#: assets/models.py:257 +#: assets/templates/assets/_asset_bulk_update_modal.html:5 #, fuzzy -#| msgid "Create asset group" -msgid "Default asset group" -msgstr "创建资产组" - -#: assets/models.py:291 assets/templates/assets/admin_user_detail.html:92 -#: assets/templates/assets/asset_detail.html:54 -#: assets/templates/assets/asset_group_detail.html:88 -#: assets/templates/assets/asset_list.html:58 -#: assets/templates/assets/asset_tag_detail.html:84 -#: assets/templates/assets/system_user_asset.html:50 -#: perms/templates/perms/asset_permission_asset.html:67 -#: users/templates/users/user_granted_asset.html:67 -msgid "IP" -msgstr "IP" - -#: assets/models.py:292 assets/templates/assets/asset_detail.html:58 -msgid "Other IP" -msgstr "其它IP" - -#: assets/models.py:293 assets/templates/assets/asset_detail.html:62 -msgid "Remote card IP" -msgstr "远控卡IP" +#| msgid "Update user" +msgid "Update Asset" +msgstr "编辑用户" -#: assets/models.py:294 assets/templates/assets/admin_user_detail.html:91 -#: assets/templates/assets/asset_detail.html:50 -#: assets/templates/assets/asset_group_detail.html:87 -#: assets/templates/assets/asset_list.html:57 -#: assets/templates/assets/asset_tag_detail.html:83 -#: assets/templates/assets/system_user_asset.html:49 -#: perms/templates/perms/asset_permission_asset.html:66 -#: users/templates/users/user_granted_asset.html:66 -msgid "Hostname" -msgstr "主机名" +#: assets/templates/assets/_asset_bulk_update_modal.html:8 +#: assets/templates/assets/_asset_group_bulk_update_modal.html:8 +#: users/templates/users/_user_bulk_update_modal.html:6 +msgid "Hint: only change the field you want to update." +msgstr "" -#: assets/models.py:295 assets/templates/assets/admin_user_detail.html:93 -#: assets/templates/assets/asset_detail.html:66 -#: assets/templates/assets/asset_group_detail.html:89 -#: assets/templates/assets/asset_list.html:59 -#: assets/templates/assets/asset_tag_detail.html:85 -#: assets/templates/assets/system_user_asset.html:51 -#: perms/templates/perms/asset_permission_asset.html:68 -#: users/templates/users/user_granted_asset.html:68 -msgid "Port" -msgstr "端口" +#: assets/templates/assets/_asset_bulk_update_modal.html:20 +#, fuzzy +#| msgid "System User" +msgid "System Type" +msgstr "系统用户" -#: assets/models.py:296 assets/templates/assets/asset_detail.html:184 -msgid "Asset groups" +#: assets/templates/assets/_asset_bulk_update_modal.html:35 +#, fuzzy +#| msgid "Asset groups" +msgid "Asset Groups" msgstr "用户组" -#: assets/models.py:298 templates/_nav.html:24 -msgid "Admin user" -msgstr "管理用户" +#: assets/templates/assets/_asset_bulk_update_modal.html:37 +#: users/templates/users/_user_bulk_update_modal.html:21 +#, fuzzy +#| msgid "Select asset groups" +msgid "Select Group" +msgstr "添加到资产组" -#: assets/models.py:299 -msgid "System User" +#: assets/templates/assets/_asset_bulk_update_modal.html:46 +#: assets/templates/assets/_asset_group_bulk_update_modal.html:22 +#, fuzzy +#| msgid "System User" +msgid "System Users" msgstr "系统用户" -#: assets/models.py:301 templates/_nav.html:23 -msgid "IDC" -msgstr "机房" - -#: assets/models.py:303 assets/templates/assets/asset_detail.html:70 -msgid "Mac address" -msgstr "Mac地址" - -#: assets/models.py:304 -msgid "Brand" -msgstr "品牌" - -#: assets/models.py:305 assets/templates/assets/asset_detail.html:74 -msgid "CPU" -msgstr "CPU" - -#: assets/models.py:306 assets/templates/assets/asset_detail.html:78 -msgid "Memory" -msgstr "内存" - -#: assets/models.py:307 assets/templates/assets/asset_detail.html:82 -msgid "Disk" -msgstr "硬盘" - -#: assets/models.py:308 assets/templates/assets/asset_detail.html:86 -msgid "OS" -msgstr "操作系统" +#: assets/templates/assets/_asset_bulk_update_modal.html:48 +#: assets/templates/assets/_asset_group_bulk_update_modal.html:24 +#, fuzzy +#| msgid "System user" +msgid "Select System Users" +msgstr "选择系统用户" -#: assets/models.py:309 -msgid "Cabinet number" -msgstr "机柜编号" +#: assets/templates/assets/_asset_bulk_update_modal.html:59 +#: assets/templates/assets/_asset_group_bulk_update_modal.html:35 +#: users/templates/users/_user_bulk_update_modal.html:31 +#, fuzzy +#| msgid "Enable OTP" +msgid "Enable-OTP" +msgstr "二次验证" -#: assets/models.py:310 -msgid "Cabinet position" -msgstr "机柜层号" +#: assets/templates/assets/_asset_group_bulk_update_modal.html:5 +msgid "Update Asset Group" +msgstr "编辑资产组" -#: assets/models.py:311 assets/templates/assets/asset_detail.html:110 -msgid "Asset number" -msgstr "资产编号" +#: assets/templates/assets/_asset_group_bulk_update_modal.html:12 +#: assets/views.py:191 assets/views.py:214 assets/views.py:234 +#: assets/views.py:259 assets/views.py:280 assets/views.py:345 +#: assets/views.py:368 assets/views.py:465 assets/views.py:484 +#: assets/views.py:511 assets/views.py:529 templates/_nav.html:18 +msgid "Assets" +msgstr "资产管理" -#: assets/models.py:313 assets/templates/assets/asset_detail.html:90 -msgid "Asset status" -msgstr "资产状态" +#: assets/templates/assets/_asset_group_bulk_update_modal.html:14 +#, fuzzy +msgid "Select Asset" +msgstr "选择资产" -#: assets/models.py:316 assets/templates/assets/asset_detail.html:98 -msgid "Asset type" -msgstr "系统类型" +#: assets/templates/assets/_asset_import_modal.html:4 +#, fuzzy +msgid "Import asset" +msgstr "导入资产" -#: assets/models.py:319 assets/templates/assets/asset_detail.html:102 -msgid "Asset environment" -msgstr "资产环境" +#: assets/templates/assets/_asset_import_modal.html:6 +#: users/templates/users/_user_import_modal.html:6 +msgid "Download template or use export excel format" +msgstr "下载模板" -#: assets/models.py:321 assets/templates/assets/asset_detail.html:106 -msgid "Serial number" -msgstr "序列号" +#: assets/templates/assets/_asset_import_modal.html:10 +#: users/templates/users/_user_import_modal.html:10 +msgid "Template" +msgstr "模板" -#: assets/models.py:323 assets/templates/assets/asset_detail.html:94 -msgid "Is active" -msgstr "是否激活" +#: assets/templates/assets/_asset_import_modal.html:11 +#: users/templates/users/_user_import_modal.html:11 +msgid "Download" +msgstr "下载" -#: assets/templates/assets/admin_user_create_update.html:16 -#: assets/templates/assets/admin_user_list.html:5 +#: assets/templates/assets/_asset_import_modal.html:14 #, fuzzy -#| msgid "Create user" -msgid "Create admin user" -msgstr "创建用户" +#| msgid "Asset group list" +msgid "Asset excel file" +msgstr "资产组列表" -#: assets/templates/assets/admin_user_create_update.html:35 -#: assets/templates/assets/system_user_create_update.html:36 +#: assets/templates/assets/_system_user.html:16 +#: assets/templates/assets/system_user_list.html:9 assets/views.py:485 #, fuzzy -#| msgid "Auto update pass/key" -msgid "Auto generate key" -msgstr "自动更新密码/密钥" - -#: assets/templates/assets/admin_user_create_update.html:53 -#: assets/templates/assets/admin_user_detail.html:144 -#: assets/templates/assets/asset_create.html:33 -#: assets/templates/assets/asset_update.html:61 -#: assets/templates/assets/system_user_create_update.html:71 -#: assets/templates/assets/system_user_detail.html:144 -#: perms/templates/perms/asset_permission_create_update.html:67 -#: users/templates/users/_user.html:70 -#: users/templates/users/user_detail.html:151 -#: users/templates/users/user_detail.html:159 -msgid "Reset" -msgstr "重置" - -#: assets/templates/assets/admin_user_create_update.html:54 -#: assets/templates/assets/asset_create.html:34 -#: assets/templates/assets/asset_group_list.html:51 -#: assets/templates/assets/asset_list.html:105 -#: assets/templates/assets/asset_tags_list.html:50 -#: assets/templates/assets/asset_update.html:62 -#: assets/templates/assets/system_user_create_update.html:72 -#: ops/templates/cron/list.html:47 ops/templates/sudo/list.html:47 -#: perms/templates/perms/asset_permission_create_update.html:68 -#: perms/templates/perms/asset_permission_list.html:65 -#: users/templates/users/_user.html:71 -#: users/templates/users/forgot_password.html:44 -#: users/templates/users/user_asset_permission.html:144 -#: users/templates/users/user_group_list.html:40 -#: users/templates/users/user_list.html:47 -msgid "Submit" -msgstr "提交" +msgid "Create system user" +msgstr "创建系统用户" -#: assets/templates/assets/admin_user_detail.html:19 -#: assets/templates/assets/asset_group_detail.html:18 -#: assets/templates/assets/asset_tag_detail.html:18 -#: assets/templates/assets/system_user_asset.html:19 -#: assets/templates/assets/system_user_asset_group.html:19 -#: assets/templates/assets/system_user_detail.html:19 -#: perms/templates/perms/asset_permission_asset.html:20 -#: perms/templates/perms/asset_permission_detail.html:20 -#: perms/templates/perms/asset_permission_user.html:20 -msgid "Detail" -msgstr "" +#: assets/templates/assets/_system_user.html:42 +#: assets/templates/assets/asset_create.html:14 +#: assets/templates/assets/asset_update.html:19 +msgid "Basic" +msgstr "基本" -#: assets/templates/assets/admin_user_detail.html:54 -#: assets/templates/assets/asset_group_detail.html:50 -#: assets/templates/assets/asset_tag_detail.html:53 -#: assets/templates/assets/system_user_detail.html:97 perms/models.py:30 -#: perms/templates/perms/asset_permission_detail.html:84 -#, fuzzy -#| msgid "Date added" -msgid "Date created" -msgstr "加入日期" +#: assets/templates/assets/_system_user.html:46 +msgid "Auth" +msgstr "认证" -#: assets/templates/assets/admin_user_detail.html:72 -#: assets/templates/assets/asset_group_detail.html:68 -#: assets/templates/assets/asset_tag_detail.html:64 -#: assets/templates/assets/system_user_asset_group.html:34 -#: perms/templates/perms/asset_permission_asset.html:47 +#: assets/templates/assets/_system_user.html:54 #, fuzzy -#| msgid "Asset group list" -msgid "Asset list of " -msgstr "资产组列表" +msgid "Auto generate key" +msgstr "自动生成秘钥" -#: assets/templates/assets/admin_user_detail.html:94 -#: assets/templates/assets/asset_group_detail.html:90 -#: assets/templates/assets/asset_tag_detail.html:86 -#, fuzzy -msgid "Alive" -msgstr "激活" +#: assets/templates/assets/admin_user_create_update.html:16 +#: assets/templates/assets/admin_user_list.html:7 +msgid "Create admin user" +msgstr "创建管理用户" + +#: assets/templates/assets/admin_user_detail.html:17 +#: assets/templates/assets/asset_group_detail.html:16 +#: assets/templates/assets/asset_tag_detail.html:16 +#: assets/templates/assets/idc_assets.html:20 +#: assets/templates/assets/idc_detail.html:17 +#: assets/templates/assets/system_user_asset.html:17 +#: assets/templates/assets/system_user_asset_group.html:17 +#: assets/templates/assets/system_user_detail.html:17 +#: perms/templates/perms/asset_permission_asset.html:18 +#: perms/templates/perms/asset_permission_detail.html:18 +#: perms/templates/perms/asset_permission_user.html:18 +msgid "Detail" +msgstr "详情" + +#: assets/templates/assets/admin_user_detail.html:78 +#: assets/templates/assets/asset_group_detail.html:26 +#: assets/templates/assets/asset_tag_detail.html:62 +#: assets/templates/assets/system_user_asset_group.html:32 +#: perms/templates/perms/asset_permission_asset.html:45 +msgid "Asset list of " +msgstr "资产列表" -#: assets/templates/assets/admin_user_detail.html:117 -#: assets/templates/assets/system_user_detail.html:117 -#: perms/templates/perms/asset_permission_detail.html:104 +#: assets/templates/assets/admin_user_detail.html:124 +#: assets/templates/assets/system_user_detail.html:118 +#: perms/templates/perms/asset_permission_detail.html:110 msgid "Quick update" -msgstr "" +msgstr "快速更新" -#: assets/templates/assets/admin_user_detail.html:123 +#: assets/templates/assets/admin_user_detail.html:130 msgid "Get install script" -msgstr "" +msgstr "获得安装脚本" -#: assets/templates/assets/admin_user_detail.html:126 -#: assets/templates/assets/system_user_detail.html:126 +#: assets/templates/assets/admin_user_detail.html:133 +#: assets/templates/assets/system_user_detail.html:127 msgid "Get" msgstr "" -#: assets/templates/assets/admin_user_detail.html:132 -#: assets/templates/assets/system_user_detail.html:132 -#: perms/templates/perms/asset_permission_detail.html:124 +#: assets/templates/assets/admin_user_detail.html:139 +#: assets/templates/assets/system_user_detail.html:133 +#: perms/templates/perms/asset_permission_detail.html:130 msgid "Retest asset connectivity" -msgstr "" +msgstr "重置资产连接性" -#: assets/templates/assets/admin_user_detail.html:135 -#: assets/templates/assets/system_user_detail.html:135 -#: perms/templates/perms/asset_permission_detail.html:127 +#: assets/templates/assets/admin_user_detail.html:142 +#: assets/templates/assets/system_user_detail.html:136 +#: perms/templates/perms/asset_permission_detail.html:133 msgid "Start" -msgstr "" +msgstr "开始" -#: assets/templates/assets/admin_user_detail.html:141 -#: assets/templates/assets/system_user_detail.html:141 -#, fuzzy -#| msgid "ssh private key" +#: assets/templates/assets/admin_user_detail.html:148 +#: assets/templates/assets/system_user_detail.html:142 msgid "Reset private key" -msgstr "ssh密钥" +msgstr "重置密钥" -#: assets/templates/assets/admin_user_detail.html:155 +#: assets/templates/assets/admin_user_detail.html:162 msgid "Replace asset admin user with this" -msgstr "" +msgstr "替换资产管理用户" -#: assets/templates/assets/admin_user_detail.html:163 -#: assets/templates/assets/system_user_asset.html:89 -#, fuzzy -#| msgid "Select assets" +#: assets/templates/assets/admin_user_detail.html:170 +#: assets/templates/assets/asset_tag_detail.html:106 +#: assets/templates/assets/idc_assets.html:92 +#: assets/templates/assets/system_user_asset.html:87 msgid "Select asset" msgstr "选择资产" -#: assets/templates/assets/admin_user_detail.html:172 -#: assets/templates/assets/admin_user_detail.html:200 +#: assets/templates/assets/admin_user_detail.html:179 +#: assets/templates/assets/admin_user_detail.html:207 msgid "Replace" -msgstr "" +msgstr "替换" -#: assets/templates/assets/admin_user_detail.html:183 +#: assets/templates/assets/admin_user_detail.html:190 msgid "Replace asset admin user with this admin user" -msgstr "" +msgstr "替换资产管理用户" -#: assets/templates/assets/admin_user_list.html:9 -#: assets/templates/assets/system_user_list.html:9 -#, fuzzy -#| msgid "IDC" -msgid "ID" -msgstr "机房" +#: assets/templates/assets/admin_user_detail.html:306 +#: assets/templates/assets/asset_group_detail.html:301 +msgid "Remove" +msgstr "移除" -#: assets/templates/assets/admin_user_list.html:12 -#: assets/templates/assets/asset_group_list.html:13 -#: assets/templates/assets/asset_tags_list.html:13 -#: assets/templates/assets/idc_list.html:13 -#: assets/templates/assets/system_user_asset_group.html:54 -#: assets/templates/assets/system_user_list.html:12 -#: ops/templates/cron/list.html:30 ops/templates/sudo/list.html:30 +#: assets/templates/assets/admin_user_list.html:17 +#: assets/templates/assets/asset_tags_list.html:64 +#: assets/templates/assets/idc_list.html:19 +#: assets/templates/assets/system_user_asset_group.html:52 #: users/templates/users/_select_user_modal.html:17 -#: users/templates/users/user_list.html:30 msgid "Asset num" msgstr "资产数量" -#: assets/templates/assets/admin_user_list.html:13 +#: assets/templates/assets/admin_user_list.html:18 msgid "Lost connection" -msgstr "" +msgstr "丢失连接" -#: assets/templates/assets/admin_user_list.html:33 -#: assets/templates/assets/system_user_list.html:35 -msgid "Script" -msgstr "" +#: assets/templates/assets/admin_user_list.html:29 +#: assets/templates/assets/asset_group_list.html:27 +#: assets/templates/assets/asset_list.html:71 +#: assets/templates/assets/asset_tags_list.html:74 +#: assets/templates/assets/idc_assets.html:68 +#: assets/templates/assets/idc_list.html:32 +#: assets/templates/assets/system_user_list.html:31 +#: users/templates/users/user_group_list.html:22 +#: users/templates/users/user_list.html:39 +msgid "Delete selected" +msgstr "批量删除" -#: assets/templates/assets/admin_user_list.html:35 -#: assets/templates/assets/asset_detail.html:156 -#: assets/templates/assets/system_user_list.html:37 -msgid "Refresh" -msgstr "" +#: assets/templates/assets/admin_user_list.html:96 +#: assets/templates/assets/asset_group_list.html:95 +#: assets/templates/assets/asset_list.html:223 +#: assets/templates/assets/idc_assets.html:259 +#: assets/templates/assets/idc_list.html:93 +#: assets/templates/assets/system_user_list.html:97 +#: users/templates/users/user_detail.html:332 +#: users/templates/users/user_detail.html:357 +#: users/templates/users/user_group_list.html:86 +#: users/templates/users/user_list.html:166 +msgid "Are you sure?" +msgstr "确认吗?" + +#: assets/templates/assets/admin_user_list.html:97 +msgid "This will delete the selected Admin Users !!!" +msgstr "这将删除选择的管理用户" + +#: assets/templates/assets/admin_user_list.html:101 +#: assets/templates/assets/asset_group_list.html:100 +#: assets/templates/assets/asset_list.html:228 +#: assets/templates/assets/idc_assets.html:264 +#: assets/templates/assets/idc_list.html:98 +#: assets/templates/assets/system_user_list.html:102 templates/_modal.html:16 +#: users/templates/users/user_detail.html:337 +#: users/templates/users/user_detail.html:362 +#: users/templates/users/user_detail.html:385 +#: users/templates/users/user_group_list.html:91 +#: users/templates/users/user_list.html:171 +#: users/templates/users/user_profile.html:138 +#, fuzzy +#| msgid "Confirm delete" +msgid "Confirm" +msgstr "确认删除" -#: assets/templates/assets/admin_user_list.html:36 -#: assets/templates/assets/asset_group_list.html:32 -#: assets/templates/assets/asset_list.html:83 -#: assets/templates/assets/asset_tags_list.html:31 -#: assets/templates/assets/idc_list.html:32 -#: assets/templates/assets/system_user_list.html:38 -#: ops/templates/cron/list.html:79 ops/templates/sudo/list.html:79 -#: perms/templates/perms/asset_permission_list.html:46 -#: users/templates/users/user_detail.html:167 -#: users/templates/users/user_group_list.html:64 -#: users/templates/users/user_list.html:79 -msgid "Update" -msgstr "更新" +# msgid "Deleted!" +# msgstr "删除" +#: assets/templates/assets/admin_user_list.html:105 +msgid "Admin Users Deleted." +msgstr "已被删除" -#: assets/templates/assets/admin_user_list.html:37 -#: assets/templates/assets/asset_group_list.html:33 -#: assets/templates/assets/asset_list.html:84 -#: assets/templates/assets/asset_tags_list.html:32 -#: assets/templates/assets/idc_list.html:33 -#: assets/templates/assets/system_user_list.html:39 -#: ops/templates/cron/list.html:80 ops/templates/sudo/list.html:80 -#: perms/templates/perms/asset_permission_list.html:47 -#: users/templates/users/user_group_detail.html:129 -#: users/templates/users/user_group_detail.html:132 -#: users/templates/users/user_group_list.html:65 -#: users/templates/users/user_list.html:80 -msgid "Delete" +#: assets/templates/assets/admin_user_list.html:106 +#: assets/templates/assets/admin_user_list.html:111 +msgid "Admin Users Delete" msgstr "删除" -#: assets/templates/assets/asset_create.html:9 -#: assets/templates/assets/asset_update.html:14 -msgid "Basic" -msgstr "" +#: assets/templates/assets/admin_user_list.html:110 +#, fuzzy +msgid "Admin Users Deleting failed." +msgstr "用户删除失败" -#: assets/templates/assets/asset_create.html:16 -#: assets/templates/assets/asset_update.html:21 +#: assets/templates/assets/asset_create.html:22 +#: assets/templates/assets/asset_update.html:27 msgid "Group" -msgstr "" +msgstr "组" -#: assets/templates/assets/asset_create.html:21 -#: assets/templates/assets/asset_update.html:26 -#, fuzzy -#| msgid "Asset number" +#: assets/templates/assets/asset_create.html:27 +#: assets/templates/assets/asset_update.html:32 msgid "Asset user" -msgstr "资产编号" +msgstr "资产用户" -#: assets/templates/assets/asset_create.html:26 -#: assets/templates/assets/asset_update.html:52 -#: perms/templates/perms/asset_permission_create_update.html:45 +#: assets/templates/assets/asset_detail.html:19 assets/views.py:346 #, fuzzy -#| msgid "Other IP" -msgid "Other" +msgid "Asset detail" +msgstr "资产详情" + +#: assets/templates/assets/asset_detail.html:65 +msgid "Other IP" msgstr "其它IP" -#: assets/templates/assets/asset_detail.html:20 -#, fuzzy -#| msgid "Asset group list" -msgid "Asset detail" -msgstr "资产组列表" +#: assets/templates/assets/asset_detail.html:69 +msgid "Remote card IP" +msgstr "远控卡IP" -#: assets/templates/assets/asset_detail.html:23 -#, fuzzy -#| msgid "Asset group list" -msgid "Asset login log" -msgstr "资产组列表" +#: assets/templates/assets/asset_detail.html:77 +msgid "Mac address" +msgstr "Mac地址" -#: assets/templates/assets/asset_detail.html:118 -#: users/templates/users/user_detail.html:94 +#: assets/templates/assets/asset_detail.html:81 +msgid "CPU" +msgstr "CPU" + +#: assets/templates/assets/asset_detail.html:89 +msgid "Disk" +msgstr "硬盘" + +#: assets/templates/assets/asset_detail.html:125 +#: users/templates/users/user_detail.html:101 msgid "Date joined" msgstr "创建日期" -#: assets/templates/assets/asset_detail.html:133 -#: users/templates/users/user_detail.html:113 -#: users/templates/users/user_group_detail.html:115 +#: assets/templates/assets/asset_detail.html:140 +#: users/templates/users/user_detail.html:120 msgid "Quick modify" msgstr "快速修改" -#: assets/templates/assets/asset_detail.html:139 -#: ops/templates/cron/list.html:31 ops/templates/sudo/list.html:31 -#: perms/models.py:27 -#: perms/templates/perms/asset_permission_create_update.html:47 -#: users/templates/users/_select_user_modal.html:18 -#: users/templates/users/user_detail.html:119 -#: users/templates/users/user_list.html:31 -#, fuzzy -msgid "Active" -msgstr "激活" - -#: assets/templates/assets/asset_detail.html:153 +#: assets/templates/assets/asset_detail.html:160 msgid "Rrefresh hardware" -msgstr "" +msgstr "更新硬件信息" -#: assets/templates/assets/asset_detail.html:161 -#, fuzzy -#| msgid "Create user" +#: assets/templates/assets/asset_detail.html:163 +msgid "Refresh" +msgstr "刷新" + +#: assets/templates/assets/asset_detail.html:168 msgid "Test admin user" -msgstr "创建用户" +msgstr "测试管理用户" -#: assets/templates/assets/asset_detail.html:164 -#: assets/templates/assets/asset_detail.html:172 -#, fuzzy +#: assets/templates/assets/asset_detail.html:171 +#: assets/templates/assets/asset_detail.html:179 msgid "Test" -msgstr "设置" +msgstr "测试" -#: assets/templates/assets/asset_detail.html:169 -#, fuzzy -#| msgid "System user" -msgid "Test system users" -msgstr "系统" +#: assets/templates/assets/asset_detail.html:176 +msgid "Test system ping" +msgstr "测试系统用户" -#: assets/templates/assets/asset_detail.html:192 -#, fuzzy -#| msgid "Join user groups" +#: assets/templates/assets/asset_detail.html:199 msgid "Join asset groups" -msgstr "添加到用户组" +msgstr "添加到资产组" -#: assets/templates/assets/asset_detail.html:201 -#: perms/templates/perms/asset_permission_asset.html:148 -#: perms/templates/perms/asset_permission_detail.html:164 -#: perms/templates/perms/asset_permission_user.html:148 -#: users/templates/users/user_detail.html:195 +#: assets/templates/assets/asset_detail.html:208 +#: perms/templates/perms/asset_permission_asset.html:146 +#: perms/templates/perms/asset_permission_detail.html:170 +#: users/templates/users/user_detail.html:194 msgid "Join" msgstr "加入" -#: assets/templates/assets/asset_group_detail.html:20 -#, fuzzy -#| msgid "Asset group" -msgid "Asset group perm" -msgstr "资产组" +#: assets/templates/assets/asset_detail.html:309 +#: users/templates/users/user_detail.html:271 +#: users/templates/users/user_detail.html:284 +msgid "Update Successfully!" +msgstr "更新成功" -#: assets/templates/assets/asset_group_detail.html:113 -#: assets/templates/assets/asset_tag_detail.html:109 -#, fuzzy -#| msgid "System user" -msgid "Associate system user" -msgstr "系统" +#: assets/templates/assets/asset_group_detail.html:78 +msgid "Add asset to this group" +msgstr "添加资产到该组" -#: assets/templates/assets/asset_group_detail.html:119 +#: assets/templates/assets/asset_group_detail.html:95 #: assets/templates/assets/asset_tag_detail.html:115 -#, fuzzy -#| msgid "System user" -msgid "repush system user" -msgstr "系统" +#: assets/templates/assets/system_user_asset_group.html:94 +#: perms/templates/perms/asset_permission_asset.html:118 +#: perms/templates/perms/asset_permission_user.html:118 +#: perms/templates/perms/asset_permission_user.html:146 +#: users/templates/users/user_group_detail.html:98 +msgid "Add" +msgstr "添加" -#: assets/templates/assets/asset_group_detail.html:129 -#: assets/templates/assets/asset_tag_detail.html:125 +#: assets/templates/assets/asset_group_detail.html:106 #, fuzzy -#| msgid "System user" +msgid "Associate system user" +msgstr "关联系统用户" + +#: assets/templates/assets/asset_group_detail.html:114 msgid "Select system user" -msgstr "系统" +msgstr "选择系统用户" -#: assets/templates/assets/asset_group_detail.html:138 -#: assets/templates/assets/asset_tag_detail.html:134 +#: assets/templates/assets/asset_group_detail.html:123 msgid "Associate" -msgstr "" - -#: assets/templates/assets/asset_group_detail.html:157 -#: assets/templates/assets/asset_tag_detail.html:153 -#, fuzzy -#| msgid "Asset group" -msgid "Add asset to this group" -msgstr "资产组" - -#: assets/templates/assets/asset_group_detail.html:165 -#: assets/templates/assets/asset_tag_detail.html:161 -#, fuzzy -#| msgid "Select assets" -msgid "Select asset user" -msgstr "选择资产" - -#: assets/templates/assets/asset_group_detail.html:174 -#: assets/templates/assets/asset_tag_detail.html:170 -#: assets/templates/assets/system_user_asset_group.html:96 -#: perms/templates/perms/asset_permission_asset.html:120 -#: perms/templates/perms/asset_permission_user.html:120 -#: users/templates/users/user_group_detail.html:124 -#, fuzzy -#| msgid "Address" -msgid "Add" -msgstr "地址" +msgstr "关联" -#: assets/templates/assets/asset_group_list.html:5 assets/views.py:157 -#: assets/views.py:234 +#: assets/templates/assets/asset_group_list.html:7 assets/views.py:192 +#: assets/views.py:260 msgid "Create asset group" msgstr "创建资产组" -#: assets/templates/assets/asset_group_list.html:43 -#: assets/templates/assets/asset_list.html:98 -#: assets/templates/assets/asset_tags_list.html:42 -#: ops/templates/cron/list.html:41 ops/templates/sudo/list.html:41 -#: perms/templates/perms/asset_permission_list.html:57 -#: users/templates/users/user_group_list.html:36 -#: users/templates/users/user_list.html:41 -msgid "Delete selected" -msgstr "批量删除" - -#: assets/templates/assets/asset_group_list.html:44 -#: assets/templates/assets/asset_list.html:99 -#: assets/templates/assets/asset_tags_list.html:43 -#: ops/templates/cron/list.html:42 ops/templates/sudo/list.html:42 -#: perms/templates/perms/asset_permission_list.html:58 -#: users/templates/users/user_list.html:42 +#: assets/templates/assets/asset_group_list.html:28 +#: assets/templates/assets/asset_list.html:72 +#: assets/templates/assets/asset_tags_list.html:75 +#: assets/templates/assets/system_user_list.html:32 +#: users/templates/users/user_list.html:40 msgid "Update selected" msgstr "批量更新" -#: assets/templates/assets/asset_group_list.html:45 -#: assets/templates/assets/asset_list.html:100 -#: assets/templates/assets/asset_tags_list.html:44 -#: ops/templates/cron/list.html:43 ops/templates/sudo/list.html:43 -#: perms/templates/perms/asset_permission_list.html:59 -#: users/templates/users/user_list.html:43 -msgid "Deactive selected" -msgstr "禁用所选" +#: assets/templates/assets/asset_group_list.html:96 +#: users/templates/users/user_group_list.html:87 +msgid "This will delete the selected groups !!!" +msgstr "删除选择组" + +#: assets/templates/assets/asset_group_list.html:104 +msgid "Group Deleted." +msgstr "组已被删除" + +#: assets/templates/assets/asset_group_list.html:105 +#: assets/templates/assets/asset_group_list.html:110 +msgid "Group Delete" +msgstr "删除" -#: assets/templates/assets/asset_group_list.html:46 -#: assets/templates/assets/asset_list.html:101 -#: assets/templates/assets/asset_tags_list.html:45 -#: perms/templates/perms/asset_permission_list.html:60 -msgid "Export selected" -msgstr "批量导出" +#: assets/templates/assets/asset_group_list.html:109 +msgid "Group Deleting failed." +msgstr "删除失败" + +#: assets/templates/assets/asset_group_list.html:172 +msgid "The selected asset groups has been updated successfully." +msgstr "更新成功" + +#: assets/templates/assets/asset_group_list.html:173 +msgid "AssetGroup Updated" +msgstr "资产组更新" #: assets/templates/assets/asset_list.html:21 +#: users/templates/users/user_list.html:7 +msgid "Import" +msgstr "导入用户" + +#: assets/templates/assets/asset_list.html:24 +#: users/templates/users/user_list.html:10 +msgid "Export" +msgstr "导出" + +#: assets/templates/assets/asset_list.html:49 msgid "Create asset" msgstr "创建资产" -#: assets/templates/assets/asset_list.html:60 -msgid "Type" -msgstr "" +#: assets/templates/assets/asset_list.html:58 +msgid "Env" +msgstr "环境" -#: assets/templates/assets/asset_list.html:61 -#: assets/templates/assets/asset_update.html:31 +#: assets/templates/assets/asset_list.html:59 msgid "Hardware" -msgstr "" +msgstr "硬件" -#: assets/templates/assets/asset_list.html:62 +#: assets/templates/assets/asset_list.html:60 +#: assets/templates/assets/asset_tag_detail.html:85 +#: assets/templates/assets/idc_assets.html:58 +#: users/templates/users/user_asset_permission.html:58 +#: users/templates/users/user_granted_asset.html:56 +#: users/templates/users/user_group_asset_permission.html:58 +#: users/templates/users/user_group_granted_asset.html:56 msgid "Valid" -msgstr "" +msgstr "可用" -#: assets/templates/assets/asset_tag_detail.html:45 -#: assets/templates/assets/asset_tags_list.html:12 -#, fuzzy -#| msgid "Name" +#: assets/templates/assets/asset_list.html:73 +#: users/templates/users/user_list.html:41 +msgid "Deactive selected" +msgstr "禁用所选" + +#: assets/templates/assets/asset_list.html:224 +#: assets/templates/assets/idc_assets.html:260 +msgid "This will delete the selected assets !!!" +msgstr "删除选择资产" + +# msgid "Deleted!" +# msgstr "删除" +#: assets/templates/assets/asset_list.html:232 +#: assets/templates/assets/idc_assets.html:268 +msgid "Asset Deleted." +msgstr "已被删除" + +#: assets/templates/assets/asset_list.html:233 +#: assets/templates/assets/asset_list.html:238 +#: assets/templates/assets/idc_assets.html:269 +#: assets/templates/assets/idc_assets.html:274 +msgid "Asset Delete" +msgstr "删除" + +#: assets/templates/assets/asset_list.html:237 +#: assets/templates/assets/idc_assets.html:273 +msgid "Asset Deleting failed." +msgstr "删除失败" + +#: assets/templates/assets/asset_list.html:315 +#: assets/templates/assets/idc_assets.html:351 +msgid "The selected assets has been updated successfully." +msgstr "选择资产更新成功" + +#: assets/templates/assets/asset_list.html:316 +#: assets/templates/assets/idc_assets.html:352 +msgid "Asset Updated" +msgstr "更新" + +#: assets/templates/assets/asset_tag_detail.html:43 msgid "Tag Name" msgstr "名称" -#: assets/templates/assets/asset_tags_list.html:5 +#: assets/templates/assets/asset_tag_detail.html:98 +msgid "Add asset to this tag" +msgstr "添加标签" + +#: assets/templates/assets/asset_tags_list.html:57 #, fuzzy #| msgid "Create asset" -msgid "Create tag" -msgstr "创建资产" +msgid "Create Tag" +msgstr "创建标签" + +#: assets/templates/assets/asset_tags_list.html:63 +msgid "TagName" +msgstr "名称" -#: assets/templates/assets/asset_update.html:40 +#: assets/templates/assets/asset_update.html:36 #, fuzzy #| msgid "Confirm delete" msgid "Configuration" -msgstr "确认删除" +msgstr "配置" -#: assets/templates/assets/asset_update.html:47 +#: assets/templates/assets/asset_update.html:41 #, fuzzy msgid "Location" -msgstr "激活" +msgstr "位置" #: assets/templates/assets/delete_confirm.html:6 #: perms/templates/perms/delete_confirm.html:6 @@ -875,478 +1199,511 @@ msgstr "激活" msgid "Confirm delete" msgstr "确认删除" -#: assets/templates/assets/idc_list.html:5 assets/views.py:287 +#: assets/templates/assets/delete_confirm.html:11 +msgid "Are you sure delete" +msgstr "确定删除" + +#: assets/templates/assets/idc_assets.html:23 +#: assets/templates/assets/idc_assets.html:31 +#: assets/templates/assets/idc_detail.html:21 +#, fuzzy +#| msgid "Assets" +msgid "IDC assets" +msgstr "IDC资产" + +#: assets/templates/assets/idc_assets.html:84 +#, fuzzy +#| msgid "User assets" +msgid "Attach assets to IDC " +msgstr "添加资产到IDC" + +#: assets/templates/assets/idc_assets.html:101 +#, fuzzy +#| msgid "User assets" +msgid "Attach Assets" +msgstr "添加资产" + +#: assets/templates/assets/idc_list.html:10 assets/views.py:297 #, fuzzy #| msgid "Created by" msgid "Create IDC" msgstr "创建者" -#: assets/templates/assets/idc_list.html:16 +#: assets/templates/assets/idc_list.html:94 +msgid "This will delete the selected idc !!!" +msgstr "删除选择IDC" + +# msgid "Deleted!" +# msgstr "删除" +#: assets/templates/assets/idc_list.html:102 #, fuzzy -#| msgid "Operator" -msgid "operation" -msgstr "运营商" +#| msgid "has been deleted." +msgid "IDC Deleted." +msgstr "已被删除" -#: assets/templates/assets/system_user_asset.html:22 -#: assets/templates/assets/system_user_detail.html:23 +#: assets/templates/assets/idc_list.html:103 +#: assets/templates/assets/idc_list.html:108 #, fuzzy -#| msgid "Create asset group" +#| msgid "Delete" +msgid "IDC Delete" +msgstr "删除" + +#: assets/templates/assets/idc_list.html:107 +#, fuzzy +#| msgid "User detail" +msgid "IDC Deleting failed." +msgstr "IDC删除失败" + +#: assets/templates/assets/system_user_asset.html:20 +#: assets/templates/assets/system_user_detail.html:21 msgid "Associate assets and asset groups" -msgstr "创建资产组" +msgstr "关联资产和资产组" -#: assets/templates/assets/system_user_asset.html:30 +#: assets/templates/assets/system_user_asset.html:28 #, fuzzy #| msgid "Asset group list" msgid "Assets attached of " -msgstr "资产组列表" +msgstr "关联资产" -#: assets/templates/assets/system_user_asset.html:52 +#: assets/templates/assets/system_user_asset.html:50 msgid "Reachable" -msgstr "" +msgstr "可连接" -#: assets/templates/assets/system_user_asset.html:81 +#: assets/templates/assets/system_user_asset.html:79 #, fuzzy #| msgid "User assets" msgid "Attach to assets " -msgstr "用户资产" +msgstr "关联资产" -#: assets/templates/assets/system_user_asset.html:98 -#: assets/templates/assets/system_user_asset.html:126 -msgid "Attach" -msgstr "" +#: assets/templates/assets/system_user_asset.html:96 +msgid "Attach Asset" +msgstr "关联资产" -#: assets/templates/assets/system_user_asset.html:109 +#: assets/templates/assets/system_user_asset.html:107 #, fuzzy #| msgid "Select asset groups" msgid "Attach to asset groups" -msgstr "添加到资产组" +msgstr "关联资产组" -#: assets/templates/assets/system_user_asset.html:117 -#, fuzzy -#| msgid "Asset group" +#: assets/templates/assets/system_user_asset.html:115 msgid "Add asset group" msgstr "资产组" -#: assets/templates/assets/system_user_asset_group.html:22 +#: assets/templates/assets/system_user_asset.html:124 +#, fuzzy +#| msgid "Select asset groups" +msgid "Attach AssetGroup" +msgstr "添加到资产组" + +#: assets/templates/assets/system_user_asset_group.html:20 #, fuzzy #| msgid "User assets" msgid "Associate assets" msgstr "用户资产" -#: assets/templates/assets/system_user_asset_group.html:26 +#: assets/templates/assets/system_user_asset_group.html:24 #, fuzzy #| msgid "Create asset group" msgid "Associate asset groups" msgstr "创建资产组" -#: assets/templates/assets/system_user_asset_group.html:55 +#: assets/templates/assets/system_user_asset_group.html:53 msgid "Unavailable num" -msgstr "" +msgstr "不可连接数量" -#: assets/templates/assets/system_user_asset_group.html:79 +#: assets/templates/assets/system_user_asset_group.html:77 #, fuzzy #| msgid "Asset group list" msgid "Add asset group to this system user" msgstr "资产组列表" -#: assets/templates/assets/system_user_asset_group.html:87 +#: assets/templates/assets/system_user_asset_group.html:85 #, fuzzy #| msgid "Select asset groups" msgid "Select asset group" msgstr "添加到资产组" -#: assets/templates/assets/system_user_create_update.html:16 -#: assets/templates/assets/system_user_list.html:5 assets/views.py:469 -#, fuzzy -#| msgid "Create user" -msgid "Create system user" -msgstr "创建用户" - -#: assets/templates/assets/system_user_create_update.html:56 -#: assets/templates/assets/system_user_detail.html:67 +#: assets/templates/assets/system_user_detail.html:68 #, fuzzy #| msgid "Auto update pass/key" msgid "Auto update" msgstr "自动更新密码/密钥" -#: assets/templates/assets/system_user_detail.html:123 +#: assets/templates/assets/system_user_detail.html:72 +msgid "As default" +msgstr "默认使用" + +#: assets/templates/assets/system_user_detail.html:87 +#: templates/_header_bar.html:41 templates/_nav.html:4 +msgid "Home" +msgstr "仪表盘" + +#: assets/templates/assets/system_user_detail.html:93 +msgid "Uid" +msgstr "Uid" + +#: assets/templates/assets/system_user_detail.html:124 msgid "Get mannual install script" -msgstr "" +msgstr "获得手动安装脚本" + +#: assets/templates/assets/system_user_list.html:20 +msgid "Unreachable" +msgstr "不可达" + +#: assets/templates/assets/system_user_list.html:98 +msgid "This will delete the selected System Users !!!" +msgstr "删除选择系统用户" -#: assets/templates/assets/system_user_list.html:13 +# msgid "Deleted!" +# msgstr "删除" +#: assets/templates/assets/system_user_list.html:106 #, fuzzy -#| msgid "Asset group" -msgid "Asset group num" -msgstr "资产组" +#| msgid "has been deleted." +msgid "System Users Deleted." +msgstr "已被删除" -#: assets/templates/assets/system_user_list.html:14 ops/models.py:69 -msgid "Unreachable" -msgstr "" +#: assets/templates/assets/system_user_list.html:107 +#: assets/templates/assets/system_user_list.html:112 +#, fuzzy +#| msgid "System user" +msgid "System Users Delete" +msgstr "系统" -#: assets/views.py:156 assets/views.py:182 assets/views.py:214 -#: assets/views.py:233 assets/views.py:257 assets/views.py:339 -#: assets/views.py:438 assets/views.py:468 assets/views.py:491 -#: assets/views.py:509 templates/_nav.html:18 -msgid "Assets" -msgstr "资产管理" +#: assets/templates/assets/system_user_list.html:111 +#, fuzzy +#| msgid "User detail" +msgid "System Users Deleting failed." +msgstr "用户详情" -#: assets/views.py:183 +#: assets/views.py:215 msgid "Asset group list" msgstr "资产组列表" -#: assets/views.py:215 +#: assets/views.py:235 #, fuzzy #| msgid "Asset group list" msgid "Asset group detail" msgstr "资产组列表" -#: assets/views.py:258 +#: assets/views.py:281 msgid "IDC list" -msgstr "" +msgstr "IDC列表" -#: assets/views.py:286 assets/views.py:313 +#: assets/views.py:296 assets/views.py:323 #, fuzzy #| msgid "Assets" msgid "assets" msgstr "资产管理" -#: assets/views.py:314 +#: assets/views.py:324 #, fuzzy #| msgid "Update" msgid "Update IDC" msgstr "更新" -#: assets/views.py:340 +#: assets/views.py:369 #, fuzzy #| msgid "Admin user" msgid "Admin user list" -msgstr "管理用户" +msgstr "管理用户列表" -#: assets/views.py:376 +#: assets/views.py:393 #, fuzzy, python-format #| msgid "Create user %s success." msgid "Create admin user %s successfully." -msgstr "创建用户 %s 成功" +msgstr "创建管理用户 %s 成功" -#: assets/views.py:439 +#: assets/views.py:466 #, fuzzy #| msgid "System user" msgid "System user list" -msgstr "系统" +msgstr "系统用户列表" -#: assets/views.py:475 +#: assets/views.py:495 #, fuzzy, python-format #| msgid "Create user %s success." msgid "Create system user %s successfully." -msgstr "创建用户 %s 成功" +msgstr "创建系统用户 %s 成功" -#: assets/views.py:492 +#: assets/views.py:512 #, fuzzy #| msgid "Update user" msgid "Update system user" msgstr "编辑用户" -#: assets/views.py:510 +#: assets/views.py:530 #, fuzzy #| msgid "System user" msgid "System user detail" -msgstr "系统" +msgstr "系统用户详情" -#: assets/views.py:601 assets/views.py:619 assets/views.py:648 -#: assets/views.py:667 -msgid "Tag" -msgstr "" - -#: assets/views.py:602 assets/views.py:620 +#: audits/models.py:20 audits/models.py:45 #, fuzzy -#| msgid "Asset group list" -msgid "Asset Tags list" -msgstr "资产组列表" +#| msgid "Login" +msgid "Login type" +msgstr "登录方式" -#: assets/views.py:649 assets/views.py:668 +#: audits/models.py:21 #, fuzzy -#| msgid "Asset group list" -msgid "Asset Tags detail" -msgstr "资产组列表" +#| msgid "Login" +msgid "Login ip" +msgstr "登录IP" -#: common/mixins.py:28 -msgid "is discard" -msgstr "" +#: audits/models.py:23 +#, fuzzy +#| msgid "Login" +msgid "Login city" +msgstr "登录城市" -#: common/mixins.py:29 -msgid "discard time" -msgstr "" +#: audits/models.py:25 +#, fuzzy +#| msgid "User assets" +msgid "User agent" +msgstr "Agent" -#: ops/api/exc.py:10 -msgid "Service temporarily unavailable, try again later." -msgstr "" +#: audits/models.py:27 +#, fuzzy +#| msgid "Last login" +msgid "Date login" +msgstr "登录日期" + +#: audits/models.py:40 audits/templates/audits/command_log_list.html:27 +#: audits/templates/audits/proxy_log_offline_list.html:26 +#: audits/templates/audits/proxy_log_offline_list.html:64 +#: audits/templates/audits/proxy_log_online_list.html:26 +#: audits/templates/audits/proxy_log_online_list.html:64 +#: perms/templates/perms/asset_permission_create_update.html:36 +#: perms/templates/perms/asset_permission_list.html:12 templates/_nav.html:12 +#: templates/_user_profile.html:14 users/models/user.py:27 +#: users/templates/users/_user_bulk_update_modal.html:14 +#: users/templates/users/user_group_detail.html:81 +msgid "User" +msgstr "用户" -#: ops/api/exc.py:15 -msgid "This service maybe implemented in the future, but now not implemented!" -msgstr "" +#: audits/models.py:42 audits/templates/audits/command_log_list.html:43 +#: audits/templates/audits/proxy_log_offline_list.html:42 +#: audits/templates/audits/proxy_log_offline_list.html:66 +#: audits/templates/audits/proxy_log_online_list.html:42 +#: audits/templates/audits/proxy_log_online_list.html:66 +#: perms/templates/perms/asset_permission_detail.html:153 +#: perms/templates/perms/asset_permission_list.html:16 templates/_nav.html:25 +#: users/templates/users/user_asset_permission.html:57 +#: users/templates/users/user_granted_asset.html:55 +#: users/templates/users/user_group_asset_permission.html:57 +#: users/templates/users/user_group_granted_asset.html:55 +msgid "System user" +msgstr "系统用户" -#: ops/models.py:17 ops/models.py:35 ops/models.py:47 -msgid "UUID" -msgstr "" +#: audits/models.py:49 +msgid "Did connect failed" +msgstr "连接失败" -#: ops/models.py:19 -msgid "Start Time" -msgstr "" +#: audits/models.py:51 ops/models.py:23 ops/templates/ops/task_detail.html:66 +msgid "Is finished" +msgstr "结束" -#: ops/models.py:20 -msgid "End Time" -msgstr "" +#: audits/models.py:53 audits/templates/audits/proxy_log_offline_list.html:72 +#: audits/templates/audits/proxy_log_online_list.html:72 +#: ops/templates/ops/task_detail.html:54 ops/templates/ops/task_list.html:43 +#, fuzzy +#| msgid "Date added" +msgid "Date start" +msgstr "开始日期" -#: ops/models.py:21 -msgid "Exit Code" -msgstr "" +#: audits/models.py:55 ops/templates/ops/task_detail.html:58 +#, fuzzy +#| msgid "Date joined" +msgid "Date finished" +msgstr "结束日期" -#: ops/models.py:22 -msgid "Is Completed" -msgstr "" +#: audits/models.py:87 +msgid "Output" +msgstr "输出" -#: ops/models.py:23 +#: audits/templates/audits/login_log_list.html:27 +#: perms/templates/perms/asset_permission_user.html:109 #, fuzzy -#| msgid "Hostname" -msgid "Hosts" -msgstr "主机名" +#| msgid "Select assets" +msgid "Select user" +msgstr "选择用户" -#: ops/models.py:66 -msgid "Success" -msgstr "" +#: audits/templates/audits/login_log_list.html:47 +#: audits/templates/audits/proxy_log_offline_list.html:63 +#: audits/templates/audits/proxy_log_online_list.html:63 +#: perms/templates/perms/asset_permission_list.html:10 +#, fuzzy +#| msgid "IDC" +msgid "ID" +msgstr "ID" -#: ops/models.py:67 -msgid "Skipped" -msgstr "" +#: audits/templates/audits/login_log_list.html:51 +msgid "UA" +msgstr "Agent" -#: ops/models.py:68 -msgid "Failed" -msgstr "" +#: audits/templates/audits/login_log_list.html:53 +msgid "City" +msgstr "城市" -#: ops/models.py:70 -msgid "NoHost" -msgstr "" +#: audits/templates/audits/login_log_list.html:54 +msgid "Date" +msgstr "日期" -#: ops/models.py:217 -msgid "Host_Alias" -msgstr "" +#: audits/templates/audits/proxy_log_detail.html:17 +msgid "Proxy log detail" +msgstr "Proxy log详情" -#: ops/models.py:218 ops/models.py:226 ops/models.py:234 ops/models.py:242 -msgid "Host_Items" -msgstr "" +#: audits/templates/audits/proxy_log_detail.html:25 audits/views.py:210 +msgid "Command log list" +msgstr "命令记录列表" -#: ops/models.py:225 +#: audits/templates/audits/proxy_log_offline_list.html:68 +#: audits/templates/audits/proxy_log_online_list.html:68 #, fuzzy -#| msgid "User list" -msgid "User_Alias" -msgstr "用户列表" +#| msgid "Comment" +msgid "Command" +msgstr "命令" -#: ops/models.py:233 -msgid "Command_Alias" -msgstr "" +#: audits/templates/audits/proxy_log_offline_list.html:69 +#: audits/templates/audits/proxy_log_online_list.html:69 +#: ops/templates/ops/task_list.html:41 +msgid "Success" +msgstr "成功" -#: ops/models.py:241 -msgid "Runas_Alias" -msgstr "" +#: audits/templates/audits/proxy_log_offline_list.html:70 +#: audits/templates/audits/proxy_log_online_list.html:70 +#: ops/templates/ops/task_list.html:42 +msgid "Finished" +msgstr "完成" + +#: audits/templates/audits/proxy_log_offline_list.html:71 +msgid "Play" +msgstr "播放" + +#: audits/templates/audits/proxy_log_offline_list.html:73 +#: audits/templates/audits/proxy_log_online_list.html:73 ops/models.py:22 +#: ops/templates/ops/task_list.html:44 +msgid "Time" +msgstr "时间" -#: ops/models.py:253 +#: audits/templates/audits/proxy_log_online_list.html:71 +msgid "Monitor" +msgstr "监控" + +#: audits/templates/audits/proxy_log_online_list.html:120 #, fuzzy -#| msgid "Password" -msgid "Is_NoPassword" -msgstr "密码" +#| msgid "Deactive selected" +msgid "Terminate selected" +msgstr "终止所选" -#: ops/models.py:267 -msgid "Extra_Item" -msgstr "" +#: audits/views.py:72 audits/views.py:209 audits/views.py:263 +#: templates/_nav.html:56 +msgid "Audits" +msgstr "审计" -#: ops/models.py:398 -msgid "Description of a crontab entry" -msgstr "" +#: audits/views.py:73 audits/views.py:264 +msgid "Proxy log list" +msgstr "Session列表" -#: ops/models.py:399 -msgid "Month" -msgstr "" +#: audits/views.py:101 +msgid "Proxy log offline list" +msgstr "离线session列表" -#: ops/models.py:400 -msgid "Month of the year the job should run ( 1-12, *, */2, etc )" -msgstr "" +#: audits/views.py:117 +msgid "Proxy log online list" +msgstr "在线session列表" -#: ops/models.py:401 -msgid "WeekDay" +#: common/mixins.py:28 +msgid "is discard" msgstr "" -#: ops/models.py:402 -msgid "" -"Day of the week that the job should run ( 0-6 for Sunday-Saturday, *, etc )" +#: common/mixins.py:29 +msgid "discard time" msgstr "" -#: ops/models.py:404 -msgid "Day" +#: ops/models.py:18 ops/templates/ops/task_detail.html:46 +msgid "UUID" msgstr "" -#: ops/models.py:405 -msgid "Day of the month the job should run ( 1-31, *, */2, etc )" -msgstr "" +#: ops/models.py:20 +msgid "Start time" +msgstr "开始时间" -#: ops/models.py:406 -msgid "Hour" -msgstr "" +#: ops/models.py:21 +msgid "End time" +msgstr "完成时间" -#: ops/models.py:407 -msgid "Hour when the job should run ( 0-23, *, */2, etc )" -msgstr "" +#: ops/models.py:24 +#, fuzzy +#| msgid "Logout success" +msgid "Is success" +msgstr "是否成功" -#: ops/models.py:408 -msgid "Minute" -msgstr "" +#: ops/models.py:25 +#, fuzzy +#| msgid "Asset group list" +msgid "Assets for id" +msgstr "资产组列表" -#: ops/models.py:409 -msgid "Minute when the job should run ( 0-59, *, */2, etc )" +#: ops/models.py:26 +msgid "Task module and args json format" msgstr "" -#: ops/models.py:410 -msgid "Job" +#: ops/models.py:27 +msgid "Task run pattern" msgstr "" -#: ops/models.py:411 -msgid "" -"The command to execute or, if env is set, the value of environment variable. " -"Required if state=present." +#: ops/models.py:28 +msgid "Task raw result" msgstr "" -#: ops/models.py:413 -#: perms/templates/perms/asset_permission_create_update.html:36 -#: templates/_nav.html:12 templates/_user_profile.html:14 users/models.py:71 -#: users/templates/users/_user_bulk_update_modal.html:14 -msgid "User" -msgstr "用户" - -#: ops/models.py:414 -msgid "The specific user whose crontab should be modified." +#: ops/models.py:29 +msgid "Task summary" msgstr "" -#: ops/templates/cron/list.html:18 ops/templates/sudo/list.html:18 -#: users/templates/users/user_list.html:18 -#, fuzzy -#| msgid "Create user" -msgid "Import user" -msgstr "创建用户" - -#: ops/templates/cron/list.html:19 ops/templates/sudo/list.html:19 -#: users/templates/users/_user.html:17 users/templates/users/user_create.html:4 -#: users/templates/users/user_list.html:19 users/views.py:102 -msgid "Create user" -msgstr "创建用户" - -#: ops/templates/cron/list.html:28 ops/templates/sudo/list.html:28 -#: users/models.py:78 users/templates/users/_select_user_modal.html:15 -#: users/templates/users/_user_bulk_update_modal.html:9 -#: users/templates/users/user_detail.html:82 -#: users/templates/users/user_list.html:28 -msgid "Role" -msgstr "角色" - -#: ops/templates/cron/list.html:29 ops/templates/sudo/list.html:29 -#: templates/_nav.html:13 users/models.py:77 -#: users/templates/users/_select_user_modal.html:16 -#: users/templates/users/user_detail.html:178 -#: users/templates/users/user_list.html:29 -msgid "User group" -msgstr "用户组" - -#: ops/templates/cron/list.html:32 ops/templates/sudo/list.html:32 -#: users/templates/users/user_group_list.html:29 -#: users/templates/users/user_list.html:32 +#: ops/templates/ops/task_detail.html:19 #, fuzzy -msgid "Action" -msgstr "激活" - -#: ops/templates/cron/list.html:116 ops/templates/cron/list.html:178 -#: ops/templates/sudo/list.html:116 ops/templates/sudo/list.html:178 -#: users/templates/users/user_detail.html:329 -#: users/templates/users/user_detail.html:354 -#: users/templates/users/user_group_detail.html:169 -#: users/templates/users/user_group_list.html:102 -#: users/templates/users/user_group_list.html:125 -#: users/templates/users/user_list.html:116 -#: users/templates/users/user_list.html:178 -msgid "Are you sure?" -msgstr "" +#| msgid "User detail" +msgid "Task record detail" +msgstr "用户详情" -#: ops/templates/cron/list.html:117 ops/templates/sudo/list.html:117 -#: users/templates/users/user_list.html:117 -msgid "This will delete the selected users !!!" +#: ops/templates/ops/task_detail.html:62 +msgid "Time delta" msgstr "" -#: ops/templates/cron/list.html:121 ops/templates/cron/list.html:183 -#: ops/templates/sudo/list.html:121 ops/templates/sudo/list.html:183 -#: templates/_modal.html:16 users/templates/users/user_detail.html:334 -#: users/templates/users/user_detail.html:359 -#: users/templates/users/user_detail.html:383 -#: users/templates/users/user_group_detail.html:174 -#: users/templates/users/user_group_list.html:107 -#: users/templates/users/user_group_list.html:130 -#: users/templates/users/user_list.html:121 -#: users/templates/users/user_list.html:183 +#: ops/templates/ops/task_detail.html:70 #, fuzzy -#| msgid "Confirm delete" -msgid "Confirm" -msgstr "确认删除" +#| msgid "Logout success" +msgid "Is success " +msgstr "退出登录成功" -# msgid "Deleted!" -# msgstr "删除" -#: ops/templates/cron/list.html:125 ops/templates/cron/list.html:161 -#: ops/templates/sudo/list.html:125 ops/templates/sudo/list.html:161 -#: users/templates/users/user_list.html:125 -#: users/templates/users/user_list.html:161 +#: ops/templates/ops/task_detail.html:84 #, fuzzy -#| msgid "has been deleted." -msgid "User Deleted." -msgstr "已被删除" +#| msgid "Assets" +msgid "Assets " +msgstr "资产管理" -#: ops/templates/cron/list.html:126 ops/templates/cron/list.html:131 -#: ops/templates/cron/list.html:162 ops/templates/cron/list.html:167 -#: ops/templates/sudo/list.html:126 ops/templates/sudo/list.html:131 -#: ops/templates/sudo/list.html:162 ops/templates/sudo/list.html:167 -#: users/templates/users/user_list.html:126 -#: users/templates/users/user_list.html:131 -#: users/templates/users/user_list.html:162 -#: users/templates/users/user_list.html:167 +#: ops/templates/ops/task_detail.html:126 #, fuzzy -#| msgid "Delete" -msgid "User Delete" -msgstr "删除" +#| msgid "Select assets" +msgid "Failed assets" +msgstr "选择资产" -#: ops/templates/cron/list.html:130 ops/templates/cron/list.html:166 -#: ops/templates/sudo/list.html:130 ops/templates/sudo/list.html:166 -#: users/templates/users/user_list.html:130 -#: users/templates/users/user_list.html:166 +#: ops/templates/ops/task_detail.html:142 +#: ops/templates/ops/task_detail.html:167 #, fuzzy -#| msgid "User detail" -msgid "User Deleting failed." -msgstr "用户详情" - -#: ops/templates/cron/list.html:179 ops/templates/sudo/list.html:179 -#: users/templates/users/user_list.html:179 -msgid "This will delete the selected user." -msgstr "" - -#: ops/templates/cron/list.html:215 ops/templates/sudo/list.html:215 -#: users/templates/users/user_list.html:215 -msgid "The selected users has been updated successfully." -msgstr "" +#| msgid "Assets" +msgid "No assets" +msgstr "资产管理" -#: ops/templates/cron/list.html:216 ops/templates/sudo/list.html:216 -#: users/templates/users/user_list.html:216 +#: ops/templates/ops/task_detail.html:152 #, fuzzy -#| msgid "Update" -msgid "User Updated" -msgstr "更新" +#| msgid "Select assets" +msgid "Success assets" +msgstr "选择资产" -#: ops/templates/cron/list.html:232 ops/templates/sudo/list.html:232 -#: users/templates/users/user_list.html:232 -msgid "Import User Success." -msgstr "" +#: ops/templates/ops/task_list.html:71 +msgid "Run again" +msgstr "再次执行" #: perms/forms.py:21 #, fuzzy @@ -1354,67 +1711,59 @@ msgstr "" msgid "Select users" msgstr "选择资产" -#: perms/forms.py:23 perms/templates/perms/asset_permission_user.html:139 +#: perms/forms.py:24 perms/templates/perms/asset_permission_user.html:137 #, fuzzy #| msgid "Select asset groups" msgid "Select user groups" msgstr "添加到资产组" -#: perms/forms.py:29 perms/templates/perms/asset_permission_detail.html:155 -#: users/forms.py:126 +#: perms/forms.py:33 perms/templates/perms/asset_permission_detail.html:161 +#: users/forms.py:105 users/forms.py:132 #, fuzzy #| msgid "System user" msgid "Select system users" msgstr "系统" -#: perms/models.py:26 -#, fuzzy -#| msgid "SSH private key" -msgid "Private for" -msgstr "ssh密钥" - -#: perms/models.py:28 perms/templates/perms/asset_permission_detail.html:80 -#: users/models.py:89 users/templates/users/user_detail.html:86 +#: perms/models.py:35 perms/templates/perms/asset_permission_detail.html:86 +#: users/models/user.py:46 users/templates/users/user_detail.html:93 msgid "Date expired" msgstr "失效日期" -#: perms/templates/perms/asset_permission_asset.html:24 -#: perms/templates/perms/asset_permission_detail.html:24 -#: perms/templates/perms/asset_permission_user.html:24 +#: perms/templates/perms/asset_permission_asset.html:22 +#: perms/templates/perms/asset_permission_detail.html:22 +#: perms/templates/perms/asset_permission_user.html:22 #, fuzzy #| msgid "Join user groups" msgid "Users and user groups" msgstr "添加到用户组" -#: perms/templates/perms/asset_permission_asset.html:29 -#: perms/templates/perms/asset_permission_detail.html:29 -#: perms/templates/perms/asset_permission_user.html:29 +#: perms/templates/perms/asset_permission_asset.html:27 +#: perms/templates/perms/asset_permission_detail.html:27 +#: perms/templates/perms/asset_permission_user.html:27 #, fuzzy #| msgid "Select asset groups" msgid "Assets and asset groups" msgstr "添加到资产组" -#: perms/templates/perms/asset_permission_asset.html:69 -#: perms/templates/perms/asset_permission_list.html:18 -#: perms/templates/perms/asset_permission_user.html:69 -#: users/templates/users/user_asset_permission.html:73 -#: users/templates/users/user_granted_asset.html:71 +#: perms/templates/perms/asset_permission_asset.html:67 +#: perms/templates/perms/asset_permission_list.html:17 +#: perms/templates/perms/asset_permission_user.html:67 msgid "Is valid" msgstr "" -#: perms/templates/perms/asset_permission_asset.html:103 +#: perms/templates/perms/asset_permission_asset.html:101 msgid "Add asset to this permission" -msgstr "" +msgstr "添加资产" -#: perms/templates/perms/asset_permission_asset.html:111 +#: perms/templates/perms/asset_permission_asset.html:109 #, fuzzy #| msgid "Select assets" msgid "Select asset " msgstr "选择资产" -#: perms/templates/perms/asset_permission_asset.html:131 +#: perms/templates/perms/asset_permission_asset.html:129 msgid "Add asset group to this permission" -msgstr "" +msgstr "添加资产组" #: perms/templates/perms/asset_permission_create_update.html:17 #, fuzzy @@ -1422,57 +1771,45 @@ msgstr "" msgid "Create asset permission " msgstr "创建资产组" -#: perms/templates/perms/asset_permission_detail.html:60 -#: perms/templates/perms/asset_permission_list.html:13 +#: perms/templates/perms/asset_permission_detail.html:66 #, fuzzy #| msgid "User group" msgid "User count" msgstr "用户组" -#: perms/templates/perms/asset_permission_detail.html:64 -#: perms/templates/perms/asset_permission_list.html:14 +#: perms/templates/perms/asset_permission_detail.html:70 #, fuzzy #| msgid "User group list" msgid "User group count" msgstr "用户组列表" -#: perms/templates/perms/asset_permission_detail.html:68 -#: perms/templates/perms/asset_permission_list.html:15 -#: users/templates/users/user_granted_asset.html:130 +#: perms/templates/perms/asset_permission_detail.html:74 #, fuzzy #| msgid "Asset group" msgid "Asset count" msgstr "资产组" -#: perms/templates/perms/asset_permission_detail.html:72 -#: perms/templates/perms/asset_permission_list.html:16 +#: perms/templates/perms/asset_permission_detail.html:78 #, fuzzy #| msgid "Asset group list" msgid "Asset group count" msgstr "资产组列表" -#: perms/templates/perms/asset_permission_detail.html:76 -#: perms/templates/perms/asset_permission_list.html:17 +#: perms/templates/perms/asset_permission_detail.html:82 #, fuzzy #| msgid "System user" msgid "System user count" -msgstr "系统" +msgstr "系统用户" -#: perms/templates/perms/asset_permission_detail.html:133 +#: perms/templates/perms/asset_permission_detail.html:139 #, fuzzy #| msgid "System user" msgid "Repush system user" -msgstr "系统" +msgstr "重新推送系统" -#: perms/templates/perms/asset_permission_detail.html:136 +#: perms/templates/perms/asset_permission_detail.html:142 msgid "Push" -msgstr "" - -#: perms/templates/perms/asset_permission_detail.html:147 -#: templates/_nav.html:25 users/templates/users/user_granted_asset.html:69 -#: users/templates/users/user_granted_asset.html:131 -msgid "System user" -msgstr "系统" +msgstr "推送" #: perms/templates/perms/asset_permission_list.html:5 #, fuzzy @@ -1480,83 +1817,79 @@ msgstr "系统" msgid "Create permission" msgstr "创建权限" -#: perms/templates/perms/asset_permission_user.html:47 +#: perms/templates/perms/asset_permission_list.html:13 templates/_nav.html:13 +#: users/models/user.py:34 users/templates/users/_select_user_modal.html:16 +#: users/templates/users/user_detail.html:177 +#: users/templates/users/user_list.html:28 +msgid "User group" +msgstr "用户组" + +#: perms/templates/perms/asset_permission_list.html:15 templates/_nav.html:22 +#: users/templates/users/user_asset_permission.html:56 +#: users/templates/users/user_group_asset_permission.html:56 +msgid "Asset group" +msgstr "资产组" + +#: perms/templates/perms/asset_permission_user.html:45 #, fuzzy #| msgid "User list" msgid "User list of " msgstr "用户列表" -#: perms/templates/perms/asset_permission_user.html:68 users/models.py:76 -#: users/templates/users/user_detail.html:66 +#: perms/templates/perms/asset_permission_user.html:66 users/models/user.py:33 +#: users/templates/users/user_detail.html:73 msgid "Email" msgstr "邮件" -#: perms/templates/perms/asset_permission_user.html:103 +#: perms/templates/perms/asset_permission_user.html:101 msgid "Add user to asset permission" msgstr "" -#: perms/templates/perms/asset_permission_user.html:111 -#, fuzzy -#| msgid "Select assets" -msgid "Select user" -msgstr "选择资产" - -#: perms/templates/perms/asset_permission_user.html:131 +#: perms/templates/perms/asset_permission_user.html:129 #, fuzzy #| msgid "Asset group list" msgid "Add user group to asset permission" msgstr "资产组列表" -#: perms/views.py:29 perms/views.py:66 perms/views.py:89 perms/views.py:107 -#: perms/views.py:146 perms/views.py:181 templates/_nav.html:30 +#: perms/views.py:33 perms/views.py:76 perms/views.py:110 perms/views.py:136 +#: perms/views.py:180 perms/views.py:222 templates/_nav.html:29 msgid "Perms" msgstr "权限管理" -#: perms/views.py:30 +#: perms/views.py:34 #, fuzzy -#| msgid "Asset group list" msgid "Asset permission list" -msgstr "资产组列表" +msgstr "资产授权列表" -#: perms/views.py:67 -#, fuzzy -#| msgid "Create asset group" +#: perms/views.py:77 msgid "Create asset permission" -msgstr "创建资产组" +msgstr "创建资产权限" -#: perms/views.py:73 -#, fuzzy, python-format -#| msgid "Create user %s success." +#: perms/views.py:84 msgid "Create asset permission %s successfully." -msgstr "创建用户 %s 成功" +msgstr "创建授权 %s 成功" -#: perms/views.py:85 -#, fuzzy, python-format -#| msgid "Create user %s success." +#: perms/views.py:105 msgid "Update asset permission %s successfully." -msgstr "创建用户 %s 成功" +msgstr "更新授权 %s 成功" -#: perms/views.py:90 +#: perms/views.py:111 msgid "Update asset permission" -msgstr "" +msgstr "更新资产授权" -#: perms/views.py:108 +#: perms/views.py:137 #, fuzzy #| msgid "Asset environment" msgid "Asset permission detail" -msgstr "资产环境" +msgstr "资产权限详情" -#: perms/views.py:147 -#, fuzzy -#| msgid "Asset group list" +#: perms/views.py:181 msgid "Asset permission user list" -msgstr "资产组列表" +msgstr "资产授权包含用户" -#: perms/views.py:182 -#, fuzzy -#| msgid "Asset group list" +#: perms/views.py:223 msgid "Asset permission asset list" -msgstr "资产组列表" +msgstr "资产组授权包含资产" #: templates/_header_bar.html:8 msgid "Search" @@ -1581,77 +1914,67 @@ msgstr "登录" #: templates/_modal.html:15 msgid "Close" -msgstr "" +msgstr "关闭" -#: templates/_nav.html:9 users/templates/users/user_group_create.html:24 -#: users/templates/users/user_group_detail.html:102 users/views.py:89 -#: users/views.py:102 users/views.py:138 users/views.py:149 users/views.py:159 -#: users/views.py:172 users/views.py:197 users/views.py:219 users/views.py:320 +#: templates/_nav.html:9 users/templates/users/user_group_create_update.html:28 +#: users/views/group.py:30 users/views/group.py:43 users/views/group.py:70 +#: users/views/group.py:95 users/views/login.py:180 users/views/user.py:50 +#: users/views/user.py:66 users/views/user.py:102 users/views/user.py:114 msgid "Users" msgstr "用户管理" -#: templates/_nav.html:26 -msgid "Label" -msgstr "标签" - -#: templates/_nav.html:33 users/templates/users/user_asset_permission.html:23 -#: users/templates/users/user_detail.html:24 -#: users/templates/users/user_granted_asset.html:23 -#, fuzzy -#| msgid "Asset type" +#: templates/_nav.html:32 users/templates/users/user_asset_permission.html:21 +#: users/templates/users/user_detail.html:22 +#: users/templates/users/user_granted_asset.html:21 +#: users/templates/users/user_group_asset_permission.html:21 +#: users/templates/users/user_group_detail.html:25 +#: users/templates/users/user_group_granted_asset.html:21 msgid "Asset permission" -msgstr "系统类型" +msgstr "资产授权" -#: templates/_nav.html:43 +#: templates/_nav.html:48 msgid "Job Center" msgstr "作业中心" -#: templates/_nav.html:47 -msgid "Cron" -msgstr "Cron" - -#: templates/_nav.html:53 -msgid "Audits" -msgstr "审计" - -#: templates/_nav.html:58 -msgid "File" -msgstr "文件" - -#: templates/_nav.html:61 -msgid "File upload" -msgstr "文件上传" +#: templates/_nav.html:51 +msgid "Task" +msgstr "任务" #: templates/_nav.html:62 -msgid "File download" -msgstr "文件下载" +msgid "Session history" +msgstr "Session历史" -#: templates/_nav.html:67 -msgid "Settings" -msgstr "设置" +#: templates/_nav.html:65 +msgid "Command log" +msgstr "命令记录" -#: templates/_nav.html:72 +#: templates/_nav.html:68 +msgid "Login log" +msgstr "登录日志" + +#: templates/_nav.html:92 msgid "Visit us" msgstr "访问官网" -#: templates/_user_profile.html:19 users/templates/users/_user.html:63 +#: templates/_user_profile.html:19 users/templates/users/_user.html:42 msgid "Profile" msgstr "个人信息" -#: templates/base.html:27 +#: templates/base.html:28 #, python-format msgid "" "\n" " Your information was incomplete. Please click this link to complete your information.\n" +"\"%(first_login_url)s\"> this link to complete your information.\n" " " msgstr "" -#: templates/base.html:36 +#: templates/base.html:38 +#, python-format msgid "" "\n" " Your ssh-public-key has been expired. Please click this link to update your ssh-public-key.\n" +"\"%(profile_url)s\"> this link to update your ssh-public-key.\n" " " msgstr "" @@ -1668,86 +1991,155 @@ msgstr "验证码" msgid "Filters" msgstr "过滤" -#: users/forms.py:33 users/forms.py:58 -#: users/templates/users/user_detail.html:186 +#: users/authentication.py:57 +msgid "Invalid signature header. No credentials provided." +msgstr "" + +#: users/authentication.py:60 +msgid "Invalid signature header. Signature string should not contain spaces." +msgstr "" + +#: users/authentication.py:67 +msgid "Invalid signature header. Format like AccessKeyId:Signature" +msgstr "" + +#: users/authentication.py:71 +msgid "" +"Invalid signature header. Signature string should not contain invalid " +"characters." +msgstr "" + +#: users/authentication.py:90 users/authentication.py:106 +msgid "Invalid signature." +msgstr "" + +#: users/authentication.py:97 +msgid "HTTP header: Date not provide or not %a, %d %b %Y %H:%M:%S GMT" +msgstr "" + +#: users/authentication.py:102 +msgid "Expired, more than 15 minutes" +msgstr "" + +#: users/authentication.py:109 +#, fuzzy +#| msgid "Update" +msgid "User disabled." +msgstr "更新" + +#: users/authentication.py:124 +msgid "Invalid token header. No credentials provided." +msgstr "" + +#: users/authentication.py:127 +msgid "Invalid token header. Sign string should not contain spaces." +msgstr "" + +#: users/authentication.py:134 +msgid "" +"Invalid token header. Sign string should not contain invalid characters." +msgstr "" + +#: users/authentication.py:145 +msgid "Invalid token or cache refreshed." +msgstr "" + +#: users/forms.py:36 users/templates/users/user_detail.html:185 msgid "Join user groups" msgstr "添加到用户组" -#: users/forms.py:75 +#: users/forms.py:58 #, fuzzy #| msgid "Name" msgid "name" msgstr "名称" -#: users/forms.py:76 +#: users/forms.py:59 #, fuzzy #| msgid "Avatar" msgid "avatar" msgstr "头像" -#: users/forms.py:77 +#: users/forms.py:60 #, fuzzy #| msgid "Wechat" msgid "wechat" msgstr "微信" -#: users/forms.py:78 +#: users/forms.py:61 #, fuzzy #| msgid "Phone" msgid "phone" msgstr "手机" -#: users/forms.py:79 +#: users/forms.py:62 #, fuzzy #| msgid "Enable OTP" msgid "enable otp" msgstr "二次验证" -#: users/forms.py:84 users/models.py:85 +#: users/forms.py:67 users/models/user.py:42 msgid "ssh public key" msgstr "ssh公钥" -#: users/forms.py:85 +#: users/forms.py:68 msgid "ssh-rsa AAAA..." msgstr "" -#: users/forms.py:86 -msgid "Paste your id_ras.pub here." +#: users/forms.py:69 +msgid "Paste your id_rsa.pub here." msgstr "" -#: users/forms.py:91 +#: users/forms.py:74 msgid "Public key should not be the same as your old one." msgstr "" -#: users/forms.py:99 users/forms.py:102 users/serializers.py:32 -#: users/serializers.py:35 +#: users/forms.py:78 users/serializers.py:41 #, fuzzy #| msgid "ssh private key" msgid "Not a valid ssh public key" msgstr "ssh密钥" -#: users/models.py:70 users/models.py:220 +#: users/models/authentication.py:38 +#, fuzzy +#| msgid "SSH private key" +msgid "Private Token" +msgstr "ssh密钥" + +#: users/models/user.py:26 users/models/user.py:238 msgid "Administrator" msgstr "管理员" -#: users/models.py:79 +#: users/models/user.py:28 +#, fuzzy +msgid "Application" +msgstr "激活" + +#: users/models/user.py:35 users/templates/users/_select_user_modal.html:15 +#: users/templates/users/_user_bulk_update_modal.html:9 +#: users/templates/users/user_detail.html:89 +#: users/templates/users/user_list.html:27 +msgid "Role" +msgstr "角色" + +#: users/models/user.py:36 msgid "Avatar" msgstr "头像" -#: users/models.py:80 users/templates/users/user_detail.html:77 +#: users/models/user.py:37 users/templates/users/user_detail.html:84 msgid "Wechat" msgstr "微信" -#: users/models.py:82 users/templates/users/_user.html:57 -#: users/templates/users/user_detail.html:133 +#: users/models/user.py:39 users/templates/users/_user.html:36 +#: users/templates/users/user_detail.html:140 msgid "Enable OTP" msgstr "二次验证" -#: users/models.py:84 +#: users/models/user.py:41 msgid "ssh private key" msgstr "ssh密钥" -#: users/models.py:223 +#: users/models/user.py:241 msgid "Administrator is the super user of system" msgstr "Administrator是初始的超级管理员" @@ -1757,11 +2149,11 @@ msgstr "Administrator是初始的超级管理员" msgid "Please Select User" msgstr "选择资产" -#: users/templates/users/_user.html:33 +#: users/templates/users/_user.html:13 msgid "Account" msgstr "账户" -#: users/templates/users/_user.html:43 +#: users/templates/users/_user.html:23 msgid "Security and Role" msgstr "角色安全" @@ -1771,10 +2163,6 @@ msgstr "角色安全" msgid "Update User" msgstr "编辑用户" -#: users/templates/users/_user_bulk_update_modal.html:6 -msgid "Hint: only change the field you want to update." -msgstr "" - #: users/templates/users/_user_bulk_update_modal.html:13 #, fuzzy #| msgid "Admin user" @@ -1785,39 +2173,17 @@ msgstr "管理用户" msgid "Groups" msgstr "" -#: users/templates/users/_user_bulk_update_modal.html:21 +#: users/templates/users/_user_import_modal.html:4 #, fuzzy -#| msgid "Select asset groups" -msgid "Select Group" -msgstr "添加到资产组" +#| msgid "Create user" +msgid "Import user" +msgstr "创建用户" -#: users/templates/users/_user_bulk_update_modal.html:31 +#: users/templates/users/_user_import_modal.html:14 #, fuzzy -#| msgid "Enable OTP" -msgid "Enable-OTP" -msgstr "二次验证" - -#: users/templates/users/_user_import_modal.html:4 -msgid "Import User" -msgstr "" - -#: users/templates/users/_user_import_modal.html:6 -msgid "Hint: your excel should organized in the following format." -msgstr "" - -#: users/templates/users/_user_import_modal.html:7 -msgid "* You should have a very worksheet named `users`." -msgstr "" - -#: users/templates/users/_user_import_modal.html:8 -msgid "" -"* Rows in this worksheet: username, email, enable_opt(0, 1), role(one of " -"['Admin', 'User'])" -msgstr "" - -#: users/templates/users/_user_import_modal.html:12 -msgid "Excel" -msgstr "" +#| msgid "User detail" +msgid "Users excel file" +msgstr "用户详情" #: users/templates/users/_user_update_pk_modal.html:4 #, fuzzy @@ -1825,7 +2191,7 @@ msgstr "" msgid "Update User SSH Public Key" msgstr "ssh密钥" -#: users/templates/users/first_login.html:18 users/views.py:320 +#: users/templates/users/first_login.html:18 users/views/login.py:180 #, fuzzy #| msgid "Last login" msgid "First Login" @@ -1865,7 +2231,7 @@ msgid "Captcha invalid" msgstr "验证码错误" #: users/templates/users/reset_password.html:45 -#: users/templates/users/user_detail.html:148 users/utils.py:99 +#: users/templates/users/user_detail.html:155 users/utils.py:71 msgid "Reset password" msgstr "重置密码" @@ -1878,276 +2244,255 @@ msgstr "再次输入密码" msgid "Setting" msgstr "设置" -#: users/templates/users/user_asset_permission.html:20 -#: users/templates/users/user_detail.html:21 -#: users/templates/users/user_granted_asset.html:20 users/views.py:149 +#: users/templates/users/user_asset_permission.html:18 +#: users/templates/users/user_detail.html:19 +#: users/templates/users/user_granted_asset.html:18 +#: users/templates/users/user_group_asset_permission.html:18 +#: users/templates/users/user_group_granted_asset.html:18 +#: users/views/user.py:115 msgid "User detail" msgstr "用户详情" -#: users/templates/users/user_asset_permission.html:26 -#: users/templates/users/user_detail.html:26 -#: users/templates/users/user_granted_asset.html:26 +#: users/templates/users/user_asset_permission.html:24 +#: users/templates/users/user_detail.html:25 +#: users/templates/users/user_granted_asset.html:24 +#: users/templates/users/user_group_asset_permission.html:24 +#: users/templates/users/user_group_detail.html:28 +#: users/templates/users/user_group_granted_asset.html:24 #, fuzzy #| msgid "Asset type" msgid "Asset granted" msgstr "系统类型" -#: users/templates/users/user_asset_permission.html:29 -#: users/templates/users/user_detail.html:27 -#: users/templates/users/user_granted_asset.html:29 -msgid "Login history" -msgstr "" - -#: users/templates/users/user_asset_permission.html:47 +#: users/templates/users/user_asset_permission.html:32 +#: users/templates/users/user_group_asset_permission.html:32 #, fuzzy #| msgid "Asset type" msgid "Asset permission of " msgstr "系统类型" -#: users/templates/users/user_asset_permission.html:67 -#, fuzzy -#| msgid "User" -msgid "User " -msgstr "用户" - -#: users/templates/users/user_asset_permission.html:68 -#, fuzzy -#| msgid "User group" -msgid "User group " -msgstr "用户组" - -#: users/templates/users/user_asset_permission.html:69 -#, fuzzy -#| msgid "Asset" -msgid "Asset " -msgstr "资产" - -#: users/templates/users/user_asset_permission.html:70 -#, fuzzy -#| msgid "Asset group" -msgid "Asset group " -msgstr "资产组" - #: users/templates/users/user_asset_permission.html:71 #, fuzzy -#| msgid "System user" -msgid "System user " -msgstr "系统" - -#: users/templates/users/user_asset_permission.html:115 -#, fuzzy #| msgid "Create perm" msgid "Quick create permission for user" msgstr "创建权限" +#: users/templates/users/user_asset_permission.html:178 +#: users/templates/users/user_group_asset_permission.html:174 +#, fuzzy +#| msgid "Create account successfully" +msgid "Revoke Successfully!" +msgstr "创建账户成功" + +#: users/templates/users/user_create.html:4 +#: users/templates/users/user_list.html:16 users/views/user.py:66 +msgid "Create user" +msgstr "创建用户" + #: users/templates/users/user_create.html:13 msgid "Reset link will be generated and sent to the user. " msgstr "生成重置密码连接,通过邮件发送给用户" -#: users/templates/users/user_detail.html:98 +#: users/templates/users/user_detail.html:105 msgid "Last login" msgstr "最后登录" -#: users/templates/users/user_detail.html:156 +#: users/templates/users/user_detail.html:163 msgid "Reset ssh key" msgstr "重置密钥" -#: users/templates/users/user_detail.html:164 -#, fuzzy -#| msgid "Update user" -msgid "Update ssh key" -msgstr "编辑用户" - -#: users/templates/users/user_detail.html:246 -msgid "UserGroup Update Success!" -msgstr "" - -#: users/templates/users/user_detail.html:270 -#: users/templates/users/user_detail.html:282 -#, fuzzy -#| msgid "Create account successfully" -msgid "Update Successfully!" -msgstr "创建账户成功" - -#: users/templates/users/user_detail.html:319 -msgid "E-mail sent successfully. An e-mail has been sent to the user\\" +#: users/templates/users/user_detail.html:322 +msgid "An e-mail has been sent to the user\\'s mailbox." msgstr "" -#: users/templates/users/user_detail.html:320 +#: users/templates/users/user_detail.html:323 #, fuzzy #| msgid "Password" msgid "Password-Reset" msgstr "密码" -#: users/templates/users/user_detail.html:330 -#: users/templates/users/user_detail.html:355 +#: users/templates/users/user_detail.html:333 +#: users/templates/users/user_detail.html:358 msgid "This will reset the user\\" msgstr "" -#: users/templates/users/user_detail.html:344 +#: users/templates/users/user_detail.html:347 msgid "" "The reset-ssh-public-key E-mail has been sent successfully. Please inform " "the user to update his new ssh public key." msgstr "" -#: users/templates/users/user_detail.html:345 +#: users/templates/users/user_detail.html:348 #, fuzzy #| msgid "SSH private key" msgid "SSH-Public-Key Reset" msgstr "ssh密钥" -#: users/templates/users/user_detail.html:372 +#: users/templates/users/user_detail.html:375 +#: users/templates/users/user_profile.html:127 msgid "Successfully updated the SSH public key." msgstr "" -#: users/templates/users/user_detail.html:373 -#: users/templates/users/user_detail.html:378 +#: users/templates/users/user_detail.html:376 +#: users/templates/users/user_detail.html:380 +#: users/templates/users/user_profile.html:128 +#: users/templates/users/user_profile.html:133 #, fuzzy #| msgid "SSH private key" msgid "User SSH Public Key Update" msgstr "ssh密钥" -#: users/templates/users/user_detail.html:376 -msgid "Failed to update the user\\" -msgstr "" - -#: users/templates/users/user_granted_asset.html:47 +#: users/templates/users/user_granted_asset.html:32 +#: users/templates/users/user_group_granted_asset.html:32 #, fuzzy -#| msgid "Create asset group" -msgid "Granted assets of " -msgstr "创建资产组" +#| msgid "Asset group list" +msgid "Assets granted of " +msgstr "资产组列表" -#: users/templates/users/user_granted_asset.html:110 +#: users/templates/users/user_granted_asset.html:68 +#: users/templates/users/user_group_granted_asset.html:68 #, fuzzy #| msgid "Asset group list" msgid "Asset groups granted of " msgstr "资产组列表" -#: users/templates/users/user_group_create.html:26 +#: users/templates/users/user_group_asset_permission.html:71 +#, fuzzy +#| msgid "Create perm" +msgid "Quick create permission for user group" +msgstr "创建权限" + +#: users/templates/users/user_group_create_update.html:30 #, fuzzy #| msgid "Select assets" msgid "Select User" msgstr "选择资产" -#: users/templates/users/user_group_create.html:38 +#: users/templates/users/user_group_create_update.html:44 msgid "Cancel" msgstr "" -#: users/templates/users/user_group_create.html:39 +#: users/templates/users/user_group_create_update.html:45 #, fuzzy #| msgid "Confirm delete" msgid "confirm" msgstr "确认删除" -#: users/templates/users/user_group_detail.html:70 users/views.py:219 +#: users/templates/users/user_group_detail.html:22 users/views/group.py:96 #, fuzzy #| msgid "Asset group list" msgid "User Group Detail" msgstr "资产组列表" -#: users/templates/users/user_group_detail.html:98 +#: users/templates/users/user_group_detail.html:62 #, fuzzy -#| msgid "Create asset" -msgid "Created at" -msgstr "创建资产" +#| msgid "Created by" +msgid "Create by" +msgstr "创建者" -#: users/templates/users/user_group_detail.html:121 +#: users/templates/users/user_group_detail.html:89 #, fuzzy #| msgid "User" -msgid "Add User" +msgid "Add user" msgstr "用户" -#: users/templates/users/user_group_detail.html:170 -msgid "This will delete the current group, but will not delete any user of it." -msgstr "" - -#: users/templates/users/user_group_detail.html:223 -msgid "The selected users has been added to current group." -msgstr "" - -#: users/templates/users/user_group_list.html:18 +#: users/templates/users/user_group_list.html:5 #, fuzzy #| msgid "Asset group" msgid "Add User Group" msgstr "资产组" -#: users/templates/users/user_group_list.html:26 +#: users/templates/users/user_group_list.html:13 #, fuzzy #| msgid "User group" msgid "User Amount" msgstr "用户组" -#: users/templates/users/user_group_list.html:27 +#: users/templates/users/user_group_list.html:95 #, fuzzy -#| msgid "Asset group" -msgid "Asset Amount" -msgstr "资产组" +#| msgid "User group list" +msgid "UserGroups Deleted." +msgstr "用户组列表" -#: users/templates/users/user_group_list.html:85 +#: users/templates/users/user_group_list.html:96 +#: users/templates/users/user_group_list.html:101 #, fuzzy -#| msgid "Delete" -msgid "Group Deleted." -msgstr "删除" +#| msgid "User group list" +msgid "UserGroups Delete" +msgstr "用户组列表" -#: users/templates/users/user_group_list.html:86 -#: users/templates/users/user_group_list.html:91 +#: users/templates/users/user_group_list.html:100 +msgid "UserGroup Deleting failed." +msgstr "" + +#: users/templates/users/user_list.html:42 +#, fuzzy +#| msgid "Deactive selected" +msgid "Active selected" +msgstr "禁用所选" + +#: users/templates/users/user_list.html:167 +msgid "This will delete the selected users !!!" +msgstr "" + +# msgid "Deleted!" +# msgstr "删除" +#: users/templates/users/user_list.html:175 +#, fuzzy +#| msgid "has been deleted." +msgid "User Deleted." +msgstr "已被删除" + +#: users/templates/users/user_list.html:176 +#: users/templates/users/user_list.html:181 #, fuzzy #| msgid "Delete" -msgid "Group Delete" +msgid "User Delete" msgstr "删除" -#: users/templates/users/user_group_list.html:90 -msgid "Group Deleting failed." -msgstr "" +#: users/templates/users/user_list.html:180 +#, fuzzy +#| msgid "User detail" +msgid "User Deleting failed." +msgstr "用户详情" -#: users/templates/users/user_group_list.html:103 -msgid "" -"This will delete the selected group, but will not remove any user in this " -"group." +#: users/templates/users/user_list.html:240 +msgid "The selected users has been updated successfully." msgstr "" -#: users/templates/users/user_group_list.html:126 -msgid "This will delete the selected groups !!!" -msgstr "" +#: users/templates/users/user_list.html:241 +#, fuzzy +#| msgid "Update" +msgid "User Updated" +msgstr "更新" -#: users/templates/users/user_group_list.html:134 +#: users/templates/users/user_profile.html:98 #, fuzzy -#| msgid "User group list" -msgid "UserGroups Deleted." -msgstr "用户组列表" +#| msgid "SSH private key" +msgid "Update Public Key" +msgstr "ssh密钥" -#: users/templates/users/user_group_list.html:135 -#: users/templates/users/user_group_list.html:140 +#: users/templates/users/user_profile.html:109 #, fuzzy -#| msgid "User group list" -msgid "UserGroups Delete" -msgstr "用户组列表" +#| msgid "SSH private key" +msgid "Paste your SSH Public Key here" +msgstr "ssh密钥" -#: users/templates/users/user_group_list.html:139 -msgid "UserGroup Deleting failed." -msgstr "" +#: users/templates/users/user_profile.html:131 +#, fuzzy +#| msgid "SSH private key" +msgid "Failed to update SSH public key." +msgstr "ssh密钥" -#: users/templates/users/user_update.html:3 users/views.py:138 +#: users/templates/users/user_update.html:3 users/views/user.py:102 msgid "Update user" msgstr "编辑用户" -#: users/utils.py:48 -msgid "Begin to generate ssh private key ..." -msgstr "开始生成ssh密钥" - -#: users/utils.py:60 -msgid "Finish to generate ssh private key ..." -msgstr "生成ssh密钥成功" - -#: users/utils.py:64 -msgid "These is error when generate ssh key." -msgstr "创建密钥失败" - -#: users/utils.py:68 +#: users/utils.py:40 msgid "Create account successfully" msgstr "创建账户成功" -#: users/utils.py:70 +#: users/utils.py:42 #, python-format msgid "" "\n" @@ -2188,8 +2533,29 @@ msgstr "" "
\n" " " -#: users/utils.py:101 -#, python-format +#: users/utils.py:73 +#, fuzzy, python-format +#| msgid "" +#| "\n" +#| " Hello %(name)s:\n" +#| "
\n" +#| " Please click the link below to reset your password, if not your " +#| "request, concern your account security\n" +#| "
\n" +#| " Click " +#| "here reset password\n" +#| "
\n" +#| " This link is valid for 1 hour. After it expires, request new one<\n" +#| "\n" +#| "
\n" +#| " ---\n" +#| "\n" +#| "
\n" +#| " Login direct\n" +#| "\n" +#| "
\n" +#| " " msgid "" "\n" " Hello %(name)s:\n" @@ -2201,7 +2567,7 @@ msgid "" "here reset password\n" "
\n" " This link is valid for 1 hour. After it expires, request new one<\n" +"\"%(forget_password_url)s?email=%(email)s\">request new one\n" "\n" "
\n" " ---\n" @@ -2232,13 +2598,13 @@ msgstr "" "
\n" " " -#: users/utils.py:132 +#: users/utils.py:104 #, fuzzy #| msgid "SSH private key" msgid "SSH Key Reset" msgstr "ssh密钥" -#: users/utils.py:134 +#: users/utils.py:106 #, python-format msgid "" "\n" @@ -2253,76 +2619,249 @@ msgid "" " " msgstr "" -#: users/views.py:75 -msgid "Logout success" -msgstr "退出登录成功" - -#: users/views.py:76 -msgid "Logout success, return login page" -msgstr "退出登录成功,返回到登录页面" - -#: users/views.py:89 -msgid "User list" +#: users/utils.py:139 +#, fuzzy +#| msgid "User list" +msgid "User not exist" msgstr "用户列表" -#: users/views.py:98 -#, fuzzy, python-format -#| msgid "Create user %s success." -msgid "Create user %s successfully." -msgstr "创建用户 %s 成功" +#: users/utils.py:141 +#, fuzzy +#| msgid "Date expired" +msgid "Disabled or expired" +msgstr "失效日期" -#: users/views.py:159 +#: users/utils.py:154 +msgid "Password or SSH public key invalid" +msgstr "" + +#: users/views/group.py:30 msgid "User group list" msgstr "用户组列表" -#: users/views.py:172 +#: users/views/group.py:43 msgid "Create user group" msgstr "创建用户组" -#: users/views.py:198 +#: users/views/group.py:71 #, fuzzy #| msgid "Update user" msgid "Update User Group" msgstr "编辑用户" -#: users/views.py:235 -msgid "Email address invalid, input again" +#: users/views/login.py:74 +msgid "Logout success" +msgstr "退出登录成功" + +#: users/views/login.py:75 +msgid "Logout success, return login page" +msgstr "退出登录成功,返回到登录页面" + +#: users/views/login.py:90 +#, fuzzy +#| msgid "Email address invalid, input again" +msgid "Email address invalid, please input again" msgstr "邮箱地址错误,重新输入" -#: users/views.py:246 +#: users/views/login.py:103 msgid "Send reset password message" msgstr "发送重置密码邮件" -#: users/views.py:247 +#: users/views/login.py:104 msgid "Send reset password mail success, login your mail box and follow it " msgstr "" "发送重置邮件成功, 请登录邮箱查看, 按照提示操作 (如果没收到,请等待3-5分钟)" -#: users/views.py:259 +#: users/views/login.py:118 msgid "Reset password success" msgstr "重置密码成功" -#: users/views.py:260 +#: users/views/login.py:119 msgid "Reset password success, return to login page" msgstr "重置密码成功,返回到登录页面" -#: users/views.py:276 users/views.py:289 +#: users/views/login.py:136 users/views/login.py:149 msgid "Token invalid or expired" msgstr "Token错误或失效" -#: users/views.py:285 +#: users/views/login.py:145 msgid "Password not same" msgstr "密码不一致" -#: users/views.py:447 +#: users/views/user.py:51 +msgid "User list" +msgstr "用户列表" + +#: users/views/user.py:62 +#, fuzzy, python-format +#| msgid "Create user %s success." +msgid "Create user %s successfully." +msgstr "创建用户 %s 成功" + +#: users/views/user.py:171 msgid "Invalid file." msgstr "" -#: users/views.py:461 #, fuzzy -#| msgid "ssh private key" -msgid "Not a valid Excel file." -msgstr "ssh密钥" +#~| msgid "Select assets" +#~ msgid "Select asset tags" +#~ msgstr "选择资产" + +#, fuzzy +#~| msgid "System user" +#~ msgid "Select asset system users" +#~ msgstr "系统" + +#~ msgid "KEY" +#~ msgstr "KEY" + +#~ msgid "VALUE" +#~ msgstr "VALUE" + +#~ msgid "status" +#~ msgstr "状态" + +#, fuzzy +#~ msgid "Testing" +#~ msgstr "设置" + +#~ msgid "Auto update pass/key" +#~ msgstr "自动更新密码/密钥" + +#~ msgid "Brand" +#~ msgstr "品牌" + +#, fuzzy +#~| msgid "Asset group list" +#~ msgid "Asset login log" +#~ msgstr "资产组列表" + +#, fuzzy +#~| msgid "Asset group" +#~ msgid "Asset group perm" +#~ msgstr "资产组" + +#, fuzzy +#~| msgid "System user" +#~ msgid "repush system user" +#~ msgstr "系统" + +#, fuzzy +#~| msgid "Select assets" +#~ msgid "Select asset user" +#~ msgstr "选择资产" + +#~ msgid "Export selected" +#~ msgstr "批量导出" + +#, fuzzy +#~| msgid "Operator" +#~ msgid "operation" +#~ msgstr "运营商" + +#, fuzzy +#~| msgid "Asset group" +#~ msgid "Asset group num" +#~ msgstr "资产组" + +#, fuzzy +#~| msgid "Asset group list" +#~ msgid "Asset Tags list" +#~ msgstr "资产组列表" + +#, fuzzy +#~| msgid "Asset group list" +#~ msgid "Asset Tags detail" +#~ msgstr "资产组列表" + +#, fuzzy +#~| msgid "Hostname" +#~ msgid "Hosts" +#~ msgstr "主机名" + +#, fuzzy +#~| msgid "User list" +#~ msgid "User_Alias" +#~ msgstr "用户列表" + +#, fuzzy +#~| msgid "Password" +#~ msgid "Is_NoPassword" +#~ msgstr "密码" + +#~ msgid "Label" +#~ msgstr "标签" + +#~ msgid "Cron" +#~ msgstr "Cron" + +#~ msgid "File" +#~ msgstr "文件" + +#~ msgid "File upload" +#~ msgstr "文件上传" + +#~ msgid "Settings" +#~ msgstr "设置" + +#, fuzzy +#~| msgid "User" +#~ msgid "User " +#~ msgstr "用户" + +#, fuzzy +#~| msgid "User group" +#~ msgid "User group " +#~ msgstr "用户组" + +#, fuzzy +#~| msgid "Asset" +#~ msgid "Asset " +#~ msgstr "资产" + +#, fuzzy +#~| msgid "Asset group" +#~ msgid "Asset group " +#~ msgstr "资产组" + +#, fuzzy +#~| msgid "System user" +#~ msgid "System user " +#~ msgstr "系统" + +#, fuzzy +#~| msgid "Update user" +#~ msgid "Update ssh key" +#~ msgstr "编辑用户" + +#, fuzzy +#~| msgid "Create asset group" +#~ msgid "Granted assets of " +#~ msgstr "创建资产组" + +#, fuzzy +#~| msgid "Create asset" +#~ msgid "Created at" +#~ msgstr "创建资产" + +#, fuzzy +#~| msgid "Asset group" +#~ msgid "Asset Amount" +#~ msgstr "资产组" + +#~ msgid "Begin to generate ssh private key ..." +#~ msgstr "开始生成ssh密钥" + +#~ msgid "Finish to generate ssh private key ..." +#~ msgstr "生成ssh密钥成功" + +#~ msgid "These is error when generate ssh key." +#~ msgstr "创建密钥失败" + +#, fuzzy +#~| msgid "ssh private key" +#~ msgid "Not a valid Excel file." +#~ msgstr "ssh密钥" #~ msgid "Network" #~ msgstr "网络" @@ -2353,9 +2892,6 @@ msgstr "ssh密钥" #~ msgid "Create perm" #~ msgstr "创建权限" -#~ msgid "User assets" -#~ msgstr "用户资产" - #~ msgid "User log" #~ msgstr "登录日志"