// (C) Copyright 2020 Hewlett-Packard Enterprise Company, L.P.
define([], function() {"use strict";
    return {
        menu : "Users and Groups",
        usersandgroups : "Users and Groups",
        usersroles : "Users - Roles",
        "master" : {
            "title" : "All Users",
            "userNameCol" : "Name",
            "roleCol" : "Role",
            "directory" : "Directory",
            "type" : "Type"
        },
        "add" : {
            "localuser" : "Add Local User",
            "directoryorgroup" : "Add Directory User or Group",
            "link" : "Add",
            "title" : "Add User",
            "add_user" : "Add user",
            "loginname" : "Login name",
            "fullname" : "Full name",
            "initialpasswd" : "Initial password",
            "confirmpasswd" : "Confirm password",
            "contact" : "Contact",
            "email" : "Email",
            "officephone" : "Office phone",
            "mobilephone" : "Mobile phone",
            "optional" : "optional",
            "add" : "Add",
            "matchpasswd" : "Passwords must match.",
            "success" : "The user <b>{0}</b> was added.",
            "addSuccess" : "Successfully added {0}.",
            "addingMsg" : "Adding {0} ...",
            "error" : "Unable to add user {0}.",
            "rolesuccess" : "The roles were added.",
            "roleerror" : "Failed to add the roles to user.",
            "specialized" : "Specialized",
            "full" : "Full",
            "connect" : "Connect"
        },
        "edit" : {
            "link" : "Edit",
            "update" : "Update",
            "selflink" : "Edit My User Profile",
            "title" : "Edit User",
            "loginname" : "Login name",
            "fullname" : "Full name",
            "currentpasswd" : "Current password",
            "newpasswd" : "New password",
            "confirmnewpasswd" : "Confirm new password",
            "confirmpasswd" : "Confirm password",
            "contact" : "Contact",
            "email" : "Email",
            "officephone" : "Office phone",
            "mobilephone" : "Mobile phone",
            "optional" : "optional",
            "ok" : "OK",
            "matchpasswd" : "Passwords must match.",
            "success" : "Updated user {0}.",
            "editMsg" : "Updating user {0} ...",
            "error" : "Unable to update user {0}.",
            "rolesuccess" : "The roles were updated.",
            "roleerror" : "Failed to update the roles for user {0}.",
            "specialized" : "Specialized",
            "full" : "Full",
            "cancel":"Cancel",
            "resolution" : "Resolution : {0}"
        },
        "validations" : {
            "roleValidation" : "At least one role must be selected.",
            "checkLength" : "Password should be at least 8 characters long.",
			"checkLengthDynamic" : "Password should be at least {0} characters long.",
            "passwordHint" : "Must be at least 8 characters long",
            "passwordHintDynamic" : "Must be at least {0} characters long",
            "usernameValidation" : "Login name should contain only letters, digits and the characters _  and -",
            "usernameValidation2" : "Login name should start only with a letter.",
            "phonenumValidation" : "Phone number should not contain any of \" ' & = < and >",
            "fullnameValidation" : "Full name should contain only letters, digits and the characters ' . - _ and space.",
            "matchcurrpasswd" : "Current password is required.",
            "passwordValidation" : "Password should not contain any of < > ; , \" ' & \\ / | + : = and space.",
            "contactInfoValidation" : "Must provide at least one contact information.",
            "validLoginNameValidation" : "This login name is already in use.",
            "fieldRequired" : "This field is required"
        },
        "show" : {
            "user" : "User",
            "type" : "Type",
            "name" : "Login name",
            "fullname" : "Full name",
            "directory" : "Directory",
            "contact" : "Contact",
            "email" : "Email",
            "officephone" : "Office phone",
            "mobilephone" : "Mobile phone",
            "enabled" : "Enabled",
            "disabled" : "Disabled",
            "error" : "Failed to show user.",
            "roleserror" : "Failed to show user roles.",
            "not_set" : "not set",
            "unset" : "unset"
        },
        "userGroup" : {
            "title" : "Add Directory User or Group",
            "authentication_service" : "Authentication service",
            "group_name" : "Group name",
            "success" : "Added directory group {0}.",
            "error" : "Failed to add directory group {0}.",
            "specialized" : "Specialized",
            "readonly" : "Read only",
            "full" : "Full",
            "infrastructureAdministrator" : "Infrastructure administrator",
            "readonlyaccess" : "Read access to all resources",
            "fullaccess" : "This role grants full administrative privileges to all items and actions including the ability to configure the appliance.",
            "noDirConfigured" : "Prior to configuring a directory user or group, you need one or more authentication directories configured. Please ",
            "configAnotherDir" : "To configure another authentication directory, ",
            "addADir" : "add a directory",
            "groupnameValidation" : "Group name should contain only letters, digits and the characters _  and -",
            "groupnameValidation2" : "Group name should start only with a letter.",
            "name" : "Name",
            "directory_name" : "Directory",
            "directory_type" : "Type",
            "update_success" : "Updated directory group {0}.",
            "remove_success" : "Removed directory group {0}.",
            "update_error" : "Failed to update directory group {0}.",
            "remove_error" : "Failed to remove directory group {0}.",
            "edit_message" : "Updating {0} ...",
            "add_message" : "Adding {0} ...",
            "loadingGroupName" : "Connecting to directory ...",
            "required" : "Required",
            "directory" : "Directory"
        },
        "remove" : {
            "link" : "Remove",
            "remove" : "Remove",
            "title" : "Remove {0}",
            "confirm" : "Yes, remove",
            "prompt" : "Continue with remove?",
            "success" : "{0} removed.",
            "fail" : "Unable to remove: {0}.",
            "removingMsg" : "Removing {0} ..."
        },
        "common" : {
            "role" : "Role",
            "appliance_administrator" : "Appliance administrator",
            "backup_administrator" : "Backup administrator",
            "cloud_user" : "Cloud user",
            "server_administrator" : "Server administrator",
            "network_administrator" : "Network administrator",
            "security_administrator" : "Security administrator",
            "facility_administrator" : "Facilities administrator",
            "infrastructure_administrator" : "Infrastructure administrator",
            "infrastructure_administrator_display" : "Infrastructure administrator",
            "read_only" : "Read only",
            "read_only_display" : "Read only",
            "loggedIn" : "This user is currently logged in another session",
            "specialized" : "Specialized/",
            "fulladmin" : "Full Administrator",
            "not_authorized" : "You are not authorized to perform this action for the selected user.",
            "self_not_authorized" : "You are currently logged in as {0} and cannot remove your own account.",
            "unauthorized_action" : "Unauthorized action",
            "all_roles" : "All roles"
        },
        "credentials" : {
          "header" : "Enter a valid username and password to validate the authentication directory configuration and directory servers. These credentials will only be used for validation and will not be saved.",
          "title" : "Credentials for directory :{0}",
          "username" : "Username",
          "password" : "Password",
          "credentials" : "Credentials",
          "open" : "Opening the Credentials UI",
            "success" : "The user '{0}' is connected. Enter Group name.",
            "error" : "Invalid directory user.",
            "error2" : "Invalid directory user, click the Group name to enter the credentials.",
          "editgroup_title" :"Credentials",
          "editgroup_message" : "(used to verify server connection and will not be saved)",
          "addgroup_message" : "Credentials are used to retrieve directory groups and will not be saved. After you are successfully connected, enter a group name to see matching groups."
        }
    };
});
