// (C) Copyright 2020 Hewlett-Packard Enterprise Company, L.P.
define([], function() {"use strict";
    return {
        menu : "用户和组",
        usersandgroups : "用户和组",
        usersroles : "用户 – 角色",
        "master" : {
            "title" : "所有用户",
            "userNameCol" : "名称",
            "roleCol" : "角色",
            "directory" : "目录",
            "type" : "类型"
        },
        "add" : {
            "localuser" : "添加本地用户",
            "directoryorgroup" : "添加目录用户和组",
            "link" : "添加",
            "title" : "添加用户",
            "add_user" : "Add user",
            "loginname" : "登录名",
            "fullname" : "全名",
            "initialpasswd" : "初始密码",
            "confirmpasswd" : "确认密码",
            "contact" : "联系人",
            "email" : "电子邮件",
            "officephone" : "办公室电话",
            "mobilephone" : "移动电话",
            "optional" : "可选",
            "add" : "添加",
            "matchpasswd" : "密码必须匹配。",
            "success" : "已经添加用户 <b>{0}</b>。",
            "addSuccess" : "成功添加服务器 {0}。",
            "addingMsg" : "正在添加 {0} ...",
            "error" : "无法添加用户 {0}。",
            "rolesuccess" : "已经添加角色。",
            "roleerror" : "未能将角色添加到用户。",
            "specialized" : "已专门化",
            "full" : "已满",
            "connect" : "连接"
        },
        "edit" : {
            "link" : "编辑",
            "update" : "更新",
            "selflink" : "编辑我的用户配置文件",
            "title" : "编辑用户",
            "loginname" : "登录名",
            "fullname" : "全名",
            "currentpasswd" : "确认密码",
            "newpasswd" : "新密码",
            "confirmnewpasswd" : "确认新密码",
            "confirmpasswd" : "确认密码",
            "contact" : "联系人",
            "email" : "电子邮件",
            "officephone" : "办公室电话",
            "mobilephone" : "移动电话",
            "optional" : "可选",
            "ok" : "正常",
            "matchpasswd" : "密码必须匹配。",
            "success" : "已更新用户 {0}。",
            "editMsg" : "正在更新用户 {0} ...",
            "error" : "无法更新用户 {0}。",
            "rolesuccess" : "已经更新角色。",
            "roleerror" : "未能更新用户: {0} 的角色。",
            "specialized" : "已专门化",
            "full" : "已满",
            "cancel":"取消",
            "resolution" : "解决方法:{0}"
        },
        "validations" : {
            "roleValidation" : "必须选择至少一个角色。",
            "checkLength" : "密码长度应至少为 8 个字符。",
			"checkLengthDynamic" : "密码长度应至少为 {0} 个字符。",
            "passwordHint" : "必须至少为 8 个字符",
            "passwordHintDynamic" : "必须至少为 {0} 个字符",
            "usernameValidation" : "登录名应只含有字母、数字以及字符 _ 和 -",
            "usernameValidation2" : "登录名应仅以字母开头。",
            "phonenumValidation" : "电话不应包含 \" ' & = < and > 中的任意一项",
            "fullnameValidation" : "全名应只含有字母、数字以及字符 ' .- _ 和空格。",
            "matchcurrpasswd" : "当前密码是必需的。",
            "passwordValidation" : "密码不应包含 < > ; , \" ' & \\ / | + : = 和空格中的任意一项。",
            "contactInfoValidation" : "必须提供至少一个联系人信息。",
            "validLoginNameValidation" : "此登录名已被使用。",
            "fieldRequired" : "此字段为必填字段"
        },
        "show" : {
            "user" : "用户",
            "type" : "类型",
            "name" : "登录名",
            "fullname" : "全名",
            "directory" : "目录",
            "contact" : "联系人",
            "email" : "电子邮件",
            "officephone" : "办公室电话",
            "mobilephone" : "移动电话",
            "enabled" : "已启用",
            "disabled" : "已禁用",
            "error" : "未能显示用户。",
            "roleserror" : "未能显示角色。",
            "not_set" : "未设置",
            "unset" : "取消设置"
        },
        "userGroup" : {
            "title" : "添加目录用户和组",
            "authentication_service" : "身份验证服务",
            "group_name" : "组名称",
            "success" : "已添加目录组 {0}。",
            "error" : "未能添加目录组 {0}。",
            "specialized" : "已专门化",
            "readonly" : "只读",
            "full" : "已满",
            "infrastructureAdministrator" : "基础结构管理员",
            "readonlyaccess" : "对所有资源的读取访问权限",
            "fullaccess" : "此角色授予对所有项目和操作的完全管理权限" +
                "包括配置设备的能力。",
            "noDirConfigured" : "在配置目录用户或组之前，" +
                "需要配置一个或多个身份验证目录。请",
            "configAnotherDir" : "要配置另外的身份验证目录，",
            "addADir" : "请添加目录 ",
            "groupnameValidation" : "组名称应只含有字母、数字以及字符 _ 和 -",
            "groupnameValidation2" : "组名称应仅以字母开头。",
            "name" : "名称",
            "directory_name" : "目录",
            "directory_type" : "类型",
            "update_success" : "已更新目录组 {0}。",
            "remove_success" : "已删除目录组 {0}。",
            "update_error" : "未能更新目录组 {0}。",
            "remove_error" : "未能删除目录组 {0}。",
            "edit_message" : "正在更新 {0} ...",
            "add_message" : "正在添加 {0} ...",
            "loadingGroupName" : "正在连接到目录...",
            "required" : "必需",
            "directory" : "目录"
        },
        "remove" : {
            "link" : "删除",
            "remove" : "删除",
            "title" : "删除 {0}",
            "confirm" : "是，删除",
            "prompt" : "是否继续删除?",
            "success" : "已删除 {0}。",
            "fail" : "无法删除 :{0}。",
            "removingMsg" : "正在删除 {0} ..."
        },
        "common" : {
            "role" : "角色",
            "appliance_administrator" : "设备管理员",
			"backup_administrator" : "Backup administrator",
            "cloud_user" : "Cloud user",
            "server_administrator" : "服务器管理员",
            "network_administrator" : "网络管理员",
            "security_administrator" : "安全管理员",
            "facility_administrator" : "设备管理员",
            "infrastructure_administrator" : "基础结构管理员",
            "infrastructure_administrator_display" : "基础结构管理员",
            "read_only" : "只读",
            "read_only_display" : "只读",
            "loggedIn" : "此用户当前登录到另一个会话",
            "specialized" : "已专门化/",
            "fulladmin" : "完全管理员",
            "not_authorized" : "未授权您为选定的用户执行此操作。",
            "self_not_authorized" : "您当前以 {0} 身份登录，无法删除您自己的帐户。",
            "unauthorized_action" : "已取消授权操作",
            "all_roles" : "所有角色"
        },
        "credentials" : {
          "header" : "请输入有效的用户名和密码，以验证身份验证目录配置和目录服务器。这些凭证将仅用于验证，不被保存。",
          "title" : "目录: {0} 的凭证",
          "username" : "用户名",
          "password" : "密码",
          "credentials" : "凭证",
          "open" : "正在打开凭证 UI",
            "success" : "已连接用户“{0}”。请输入组名称。",
            "error" : "目录用户无效。",
            "error2" : "目录用户无效，请单击组名称以输入凭证。",
          "editgroup_title" :"凭证",
          "editgroup_message" : "(用于验证服务器连接，将不保存)",
          "addgroup_message" : "凭证用于检索目录组，不被保存。" +
               "<br> 成功连接后，输入组名称以查看匹配的组。"
        }
    };
});
