/*
 * This file is part of KubeSphere Console.
 * Copyright (C) 2019 The KubeSphere Console Authors.
 *
 * KubeSphere Console is free software: you can redistribute it and/or modify
 * it under the terms of the GNU Affero General Public License as published by
 * the Free Software Foundation, either version 3 of the License, or
 * (at your option) any later version.
 *
 * KubeSphere Console is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU Affero General Public License for more details.
 *
 * You should have received a copy of the GNU Affero General Public License
 * along with KubeSphere Console.  If not, see <https://www.gnu.org/licenses/>.
 */
module.exports = {
  // Banner
  USER_DESC: 'Manage users and their roles.',
  USER_PL: 'Users',
  // List
  NOT_LOGIN_YET: 'Not logged in yet',
  USER_EMPTY_DESC: 'Please create a user.',
  USER_ACTIVE: 'Active',
  USER_AUTHLIMITEXCEEDED: 'Login restricted',
  USER_PENDING: 'Pending',
  USER_DISABLED: 'Disabled',
  LAST_LOGIN: 'Last Login',
  // List > Create
  USERNAME_DESC: 'The username can contain only lowercase letters, numbers, hyphens (-), and dots (.), and must start and end with a lowercase letter or number. The maximum length is 32 characters.',
  PASSWORD_DESC: 'The password must contain at least one number, one lowercase letter, and one uppercase letter. The length must be 8 to 64 characters.',
  PASSWORD_INVALID_DESC: 'Invalid password. The password must contain at least one number, one lowercase letter, and one uppercase letter. The length must be 8 to 64 characters.',
  PLATFORM_ROLE_DESC: 'Set the role of the user on the KubeSphere platform.',
  USER_SETTING_EMAIL_DESC: 'The email address can be used to log in to the KubeSphere web console.',
  USERNAME_EXISTS: 'The username already exists. Please enter another username.',
  USERNAME_EMPTY_DESC: 'Please enter a username.',
  PLATFORM_ROLE: 'Platform Role',
  CREATE_USER: 'Create User',
  EMAIL: 'Email',
  EMAIL_EXISTS: 'The email address already exists. Please enter another email address.',
  USERNAME_INVALID: 'Invalid username. {message}',
  USERNAME: 'Username',
  PASSWORD: 'Password',
  // List > Edit
  EDIT_USER: 'Edit User',
  // List > Delete
  USER_LOW: 'user',
  DELETING_CURRENT_USER_NOT_ALLOWED: 'The current user cannot be deleted.'
};