R/language.R

Defines functions get_labels set_labels use_language

Documented in get_labels set_labels use_language

pkgEnv <- new.env()

pkgEnv$label_cn = list(
  "Please authenticate" = "\u8bf7\u9a8c\u8bc1",
  "Username:" = "\u7528\u6237\u540d\uff1a",
  "Password:" = "\u5bc6\u7801\uff1a",
  "Login" = "\u767b\u5f55",
  "Username or password are incorrect" = "\u7528\u6237\u540d\u6216\u5bc6\u7801\u9519\u8bef",
  "Your account has expired" = "\u60a8\u7684\u8d26\u6237\u5df2\u8fc7\u671f",
  "Your account is locked" = "\u60a8\u7684\u8d26\u6237\u5df2\u9501\u5b9a",
  "Please change your password" = "\u8bf7\u66f4\u6539\u60a8\u7684\u5bc6\u7801",
  "New password cannot be the same as old" = "\u65b0\u5bc6\u7801\u4e0d\u80fd\u4e0e\u65e7\u5bc6\u7801\u76f8\u540c",
  "New password:" = "\u65b0\u5bc6\u7801\uff1a",
  "Confirm password:" = "\u786e\u8ba4\u5bc6\u7801\uff1a",
  "Update new password" = "\u66f4\u65b0\u65b0\u5bc6\u7801",
  "Password successfully updated! Please re-login" = "\u5bc6\u7801\u66f4\u65b0\u6210\u529f\uff01\u8bf7\u91cd\u65b0\u767b\u5f55",
  "The two passwords are different" = "\u4e24\u4e2a\u5bc6\u7801\u4e0d\u540c",
  "Failed to update password" = "\u5bc6\u7801\u66f4\u65b0\u5931\u8d25",
  "Logout" = "\u6ce8\u9500",
  "Go to application" = "\u8fdb\u5165\u5e94\u7528",
  "Administrator mode" = "\u7ba1\u7406\u5458\u6a21\u5f0f",
  "Add a user" = "\u6dfb\u52a0\u7528\u6237",
  "Too many users" = "\u7528\u6237\u8fc7\u591a",
  "Maximum number of users : %s" = "\u6700\u5927\u7528\u6237\u6570 : %s",
  "Failed to update user" = "\u7528\u6237\u66f4\u65b0\u5931\u8d25",
  "User successfully updated" = "\u7528\u6237\u66f4\u65b0\u6210\u529f",
  "Cancel" = "\u53d6\u6d88",
  "Confirm new user" = "\u786e\u8ba4\u65b0\u7528\u6237",
  "Confirm change" = "\u786e\u8ba4\u66f4\u6539",
  "Are you sure to remove user(s): %s from the database ?" = "\u60a8\u786e\u5b9a\u8981\u4ece\u6570\u636e\u5e93\u4e2d\u5220\u9664\u7528\u6237 %s \u5417\uff1f",
  "Delete user(s)" = "\u5220\u9664\u7528\u6237",
  "Delete user" = "\u5220\u9664\u7528\u6237",
  "Edit user" = "\u7f16\u8f91\u7528\u6237",
  "User already exist!" = "\u7528\u6237\u5df2\u5b58\u5728\uff01",
  "Dismiss" = "\u5ffd\u7565",
  "New user %s succesfully created!" = "\u65b0\u7528\u6237 %s \u521b\u5efa\u6210\u529f\uff01",
  "Ask to change password" = "\u8981\u6c42\u66f4\u6539\u5bc6\u7801",
  "Confirm" = "\u786e\u8ba4",
  "Ask %s to change password on next connection?" = "\u8981\u6c42 %s \u5728\u4e0b\u6b21\u8fde\u63a5\u65f6\u66f4\u6539\u5bc6\u7801\uff1f",
  "Change saved!" = "\u66f4\u6539\u5df2\u4fdd\u5b58\uff01",
  "Failed to update the database" = "\u6570\u636e\u5e93\u66f4\u65b0\u5931\u8d25",
  "Password does not respect safety requirements" = "\u5bc6\u7801\u4e0d\u7b26\u5408\u5b89\u5168\u8981\u6c42",
  "Password must contain at least one number, one lowercase, one uppercase and must be at least length 6." = "\u5bc6\u7801\u5fc5\u987b\u5305\u542b\u81f3\u5c11\u4e00\u4e2a\u6570\u5b57\u3001\u4e00\u4e2a\u5c0f\u5199\u5b57\u6bcd\u3001\u4e00\u4e2a\u5927\u5199\u5b57\u6bcd\uff0c\u5e76\u4e14\u957f\u5ea6\u81f3\u5c11\u4e3a\u0020\u0036\u3002",
  "Number of connections per user" = "\u6bcf\u4e2a\u7528\u6237\u7684\u8fde\u63a5\u6570",
  "Number of connections per day" = "\u6bcf\u5929\u7684\u8fde\u63a5\u6570",
  "Total number of connection" = "\u8fde\u63a5\u603b\u6570",
  "You can\'t remove yourself!" = "\u60a8\u4e0d\u80fd\u5220\u9664\u81ea\u5df1\uff01",
  "User:" = "\u7528\u6237\uff1a",
  "Period:" = "\u65f6\u671f\uff1a",
  "Last week" = "\u4e0a\u5468",
  "Last month" = "\u4e0a\u4e2a\u6708",
  "All period" = "\u6240\u6709\u65f6\u671f",
  "Home" = "\u4e3b\u9875",
  "Select all shown users" = "\u9009\u62e9\u6240\u6709\u663e\u793a\u7684\u7528\u6237",
  "Remove selected users" = "\u5220\u9664\u9009\u5b9a\u7684\u7528\u6237",
  "Edit selected users" = "\u7f16\u8f91\u9009\u5b9a\u7684\u7528\u6237",
  "Force selected users to change password" = "\u5f3a\u5236\u9009\u5b9a\u7684\u7528\u6237\u66f4\u6539\u5bc6\u7801",
  "Users" = "\u7528\u6237",
  "Passwords" = "\u5bc6\u7801",
  "Download logs database" = "\u4e0b\u8f7d\u65e5\u5fd7\u6570\u636e\u5e93",
  "Download SQL database" = "\u4e0b\u8f7d SQL \u6570\u636e\u5e93",
  "Download Users file" = "\u4e0b\u8f7d\u7528\u6237\u6587\u4ef6",
  "Reset password for %s?" = "\u91cd\u7f6e %s \u7684\u5bc6\u7801\uff1f",
  "Reset password" = "\u91cd\u7f6e\u5bc6\u7801",
  "Temporary password:" = "\u4e34\u65f6\u5bc6\u7801\uff1a",
  "Password succesfully reset!" = "\u5bc6\u7801\u91cd\u7f6e\u6210\u529f\uff01",
  "You are not authorized for this application" = "\u60a8\u672a\u88ab\u6388\u6743\u4f7f\u7528\u6b64\u5e94\u7528\u7a0b\u5e8f",
  "Language"  = "\u8bed\u8a00",
  "Yes" = "\u662f",
  "No" = "\u5426",
  "Password" = "\u5bc6\u7801",
  "start" = "\u5f00\u59cb\u65f6\u95f4",
  "expire" = "\u5230\u671f\u65f6\u95f4",
  "admin" = "\u7ba1\u7406\u5458\u6743\u9650",
  "user" = "\u7528\u6237",
  "Edit" = "\u7f16\u8f91",
  "Remove" = "\u5220\u9664",
  "must_change" = "\u5fc5\u987b\u66f4\u6539",
  "have_changed" = "\u5df2\u66f4\u6539",
  "date_change" = "\u65e5\u671f",
  "Change password" = "\u66f4\u6539\u5bc6\u7801",
  "Select" = "\u9009\u62e9",
  "Logs" = "\u65e5\u5fd7",
  "All users" = "\u6240\u6709\u7528\u6237",
  "Nb logged" = "Nb\u65e5\u5fd7",
  "Allowed null values" = "\u5141\u8bb8\u7a7a\u503c"
)

pkgEnv$label_en = list(
  "Please authenticate" = "Please authenticate",
  "Username:" = "Username :",
  "Password:" = "Password :",
  "Login" = "Login",
  "Username or password are incorrect" = "Username or password are incorrect",
  "Your account has expired" = "Your account has expired",
  "Your account is locked" = "Your account is locked",
  "Please change your password" = "Please change your password",
  "New password cannot be the same as old" = "New password cannot be the same as old",
  "New password:" = "New password :",
  "Confirm password:" = "Confirm password :",
  "Update new password" = "Update new password",
  "Password successfully updated! Please re-login" = "Password successfully updated! Please re-login",
  "The two passwords are different" = "The two passwords are different",
  "Failed to update password" = "Failed to update password",
  "Logout" = "Logout",
  "Go to application" = "Go to application",
  "Administrator mode" = "Administrator mode",
  "Add a user" = "Add a user",
  "Too many users" = "Too many users",
  "Maximum number of users : %s" = "Maximum number of users : %s",
  "Failed to update user" = "Failed to update user",
  "User successfully updated" = "User successfully updated",
  "Cancel" = "Cancel",
  "Confirm new user" = "Confirm new user",
  "Confirm change" = "Confirm change",
  "Are you sure to remove user(s): %s from the database ?" = "Are you sure to remove user(s): %s from the database ?",
  "Delete user(s)" = "Delete user(s)",
  "Delete user" = "Delete user",
  "Edit user" = "Edit user",
  "User already exist!" = "User already exist!",
  "Dismiss" = "Dismiss",
  "New user %s succesfully created!" = "New user %s succesfully created!",
  "Ask to change password" = "Ask to change password",
  "Confirm" = "Confirm",
  "Ask %s to change password on next connection?" = "Ask %s to change password on next connection?",
  "Change saved!" = "Change saved!",
  "Failed to update the database" = "Failed to update the database",
  "Password does not respect safety requirements" = "Password does not respect safety requirements",
  "Password must contain at least one number, one lowercase, one uppercase and must be at least length 6." = "Password must contain at least one number, one lowercase, one uppercase and must be at least length 6.",
  "Number of connections per user" = "Number of connections per user",
  "Number of connections per day" = "Number of connections per day",
  "Total number of connection" = "Total number of connection",
  "You can\'t remove yourself!" = "You can\'t remove yourself!",
  "User:" = "User :",
  "Period:" = "Period :",
  "Last week" = "Last week",
  "Last month" = "Last month",
  "All period" = "All period",
  "Home" = "Home",
  "Select all shown users" = "Select all shown users",
  "Remove selected users" = "Remove selected users",
  "Edit selected users" = "Edit selected users",
  "Force selected users to change password" = "Force selected users to change password",
  "Users" = "Users",
  "Passwords" = "Passwords",
  "Download logs database" = "Download logs database",
  "Download SQL database" = "Download SQL database",
  "Download Users file" = "Download Users file",
  "Reset password for %s?" = "Reset password for %s?",
  "Reset password" = "Reset password",
  "Temporary password:" = "Temporary password:",
  "Password succesfully reset!" = "Password succesfully reset!",
  "You are not authorized for this application" = "You are not authorized for this application",
  "Language"  = "Language",
  "Yes" = "Yes",
  "No" = "No",
  "Password" = "Password",
  "start" = "start",
  "expire" = "expire",
  "admin" = "Admin",
  "user" = "User",
  "Edit" = "Edit",
  "Remove" = "Remove",
  "must_change" = "Must Change",
  "have_changed" = "Have Changed",
  "date_change" = "Date",
  "Change password" = "Change password",
  "Select" = "Select",
  "Logs" = "Logs",
  "All users" = "All users",
  "Nb logged" = "Nb logged",
  "Allowed null values" = "Allowed null values"
)

pkgEnv$label_fr = list(
  "Please authenticate" = "Veuillez vous authentifier",
  "Username:" = "Nom d\'utilisateur :",
  "Password:" = "Mot de passe :",
  "Login" = "Se connecter",
  "Username or password are incorrect" = "Nom d\'utilisateur ou mot de passe incorrect",
  "Your account has expired" = "Votre compte a expir\u00e9",
  "Your account is locked" = "Votre compte est bloqu\u00e9",
  "Please change your password" = "Veuillez changer votre mot de passe",
  "New password cannot be the same as old" = "Le nouveau mot de passe est identique \u00e0 l\'actuel",
  "New password:" = "Nouveau mot de passe :",
  "Confirm password:" = "Confirmez le mot de passe :",
  "Update new password" = "Mettre \u00e0 jour",
  "Password successfully updated! Please re-login" = "Mot de passe modifi\u00e9! Veuillez vous reconnecter",
  "The two passwords are different" = "Les deux mots de passe sont diff\u00e9rents",
  "Failed to update password" = "Echec de la mise \u00e0 jour du mot de passe",
  "Logout" = "Se d\u00e9connecter",
  "Go to application" = "Aller \u00e0 l\'application",
  "Administrator mode" = "Mode administrateur",
  "Add a user" = "Ajouter un utilisateur",
  "Too many users" = "Trops d\'utilisateur",
  "Maximum number of users : %s" = "Nombre maximum : %s",
  "Failed to update user" = "Echec de la mise \u00e0 jour de l\'utilisateur",
  "User successfully updated" = "Mise \u00e0 jour r\u00e9ussie",
  "Cancel" = "Annuler",
  "Confirm new user" = "Valider l\'ajout",
  "Confirm change" = "Valider les modifications",
  "Are you sure to remove user(s): %s from the database ?" = "Etes-vous s\u00fbr de vouloir supprimer %s de la base de donn\u00e9es ?",
  "Delete user(s)" = "Supprimer l\'/les utilisateur(s)",
  "Delete user" = "Supprimer l\'utilisateur",
  "Edit user" = "Modifier l\'utilisateur",
  "User already exist!" = "L\'utilisateur existe d\u00e9j\u00e0",
  "Dismiss" = "Fermer",
  "New user %s succesfully created!" = "Nouvel utilisateur %s cr\u00e9\u00e9 avec succ\u00e8s !",
  "Ask to change password" = "Demander \u00e0 changer le mot de passe",
  "Confirm" = "Confirmer",
  "Ask %s to change password on next connection?" = "Demander \u00e0 %s de changer son mot de passe \u00e0 la prochaine connexion ?",
  "Change saved!" = "Changements sauvegard\u00e9s !",
  "Failed to update the database" = "Une erreur s\'est produite",
  "Password does not respect safety requirements" = "Le mot de passe ne respecte les r\u00e8gles de s\u00e9curit\u00e9",
  "Password must contain at least one number, one lowercase, one uppercase and must be at least length 6." = "Le mot de passe doit contenir au minimum un chiffre, une lettre majuscule, une lettre minuscule et doit \u00eatre au moins de longueur 6.",
  "Number of connections per user" = "Nombre de connexions par utilisateur",
  "Number of connections per day" = "Nombre de connexions par jour",
  "Total number of connection" = "Nombre total de connexions",
  "You can\'t remove yourself!" = "Vous ne pouvez pas supprimer votre propre compte!",
  "User:" = "Utilisateur :",
  "Period:" = "P\u00e9riode :",
  "Last week" = "Semaine derni\u00e8re",
  "Last month" = "Mois dernier",
  "All period" = "P\u00e9riode enti\u00e8re",
  "Home" = "Accueil",
  "Select all shown users" = "S\u00e9lectionner tous les utilisateurs affich\u00e9s",
  "Remove selected users" = "Supprimer les utilisateurs s\u00e9lectionn\u00e9s",
  "Edit selected users" = "Editer les utilisateurs s\u00e9lectionn\u00e9s",
  "Force selected users to change password" = "Forcer les utilisateurs s\u00e9l\u00e9ctionn\u00e9s \u00e0 changer de mot de passe",
  "Users" = "Utilisateurs",
  "Passwords" = "Mots de passe",
  "Download logs database" = "T\u00e9l\u00e9charger les logs",
  "Download SQL database" = "T\u00e9l\u00e9charger la base SQL",
  "Download Users file" = "T\u00e9l\u00e9charger la table des utilisateurs",
  "Reset password for %s?" = "R\u00e9initialiser le mot de passe de %s ?",
  "Reset password" = "R\u00e9initialiser le mot de passe",
  "Temporary password:" = "Mot de passe temporaire",
  "Password succesfully reset!" = "Mot de passe r\u00e9initialis\u00e9",
  "You are not authorized for this application" = "Vous n\'\u00eates pas habilit\u00e9 pour cette application",
  "Language"  = "Langue",
  "Yes" = "Oui",
  "No" = "Non",
  "Password" = "Mot de passe",
  "start" = "D\u00e9but",
  "expire" = "Fin",
  "admin" = "Administrateur",
  "user" = "utilisateur",
  "Edit" = "Modifier",
  "Remove" = "Supprimer",
  "must_change" = "\u00c0 r\u00e9initialis\u00e9r",
  "have_changed" = "R\u00e9initialis\u00e9",
  "date_change" = "Date",
  "Change password" = "Changer le mot de passe",
  "Select" = "S\u00e9lectionner",
  "Logs" = "Logs",
  "All users" = "Tous les utilisateurs",
  "Nb logged" = "Connexions",
  "Allowed null values" = "Valeurs nulles autoris\u00e9es"
)

pkgEnv$label_ptbr = list(
  "Please authenticate" = "Autentica\u00e7\u00e3o",
  "Username:" = "Usu\u00e1rio :",
  "Password:" = "Senha :",
  "Login" = "Conectar",
  "Username or password are incorrect" = "Usu\u00e1rio ou senha incorreto",
  "Your account has expired" = "Sua conta expirou",
  "Your account is locked" = "Sua conta for bloqueadad",
  "Please change your password" = "Por favor, mude sua senha",
  "New password cannot be the same as old" = "As nova senha n\u00e3o podem ser as mesmas que as anteriore",
  "New password:" = "Nova senha :",
  "Confirm password:" = "Confirmar nova senha:",
  "Update new password" = "Atualizar nova senha",
  "Password successfully updated! Please re-login" = "Senha alterada com sucesso! Por favor, autentique-se novamente",
  "The two passwords are different" = "As duas senhas s\u00e3o diferentes",
  "Failed to update password" = "Falha em atualizar a senha",
  "Logout" = "Desconectar",
  "Go to application" = "Ir \u00e0 aplica\u00e7\u00e3o",
  "Administrator mode" = "Modo administrador",
  "Add a user" = "Adicionar usu\u00e1rio",
  "Too many users" = "Muitos usu\u00e1rios",
  "Maximum number of users : %s" = "N\u00f9mero m\u00e1ximo : %s",
  "Failed to update user" = "Falha em atualizar usu\u00e1rio",
  "User successfully updated" = "Usu\u00e1rio atualizado com sucesso",
  "Cancel" = "Cancelas",
  "Confirm new user" = "Confirmar novo usu\u00e1rio",
  "Confirm change" = "Confirmar mudan\u00e7a",
  "Are you sure to remove user(s): %s from the database ?" = "Tem certeza que deseja remover o(s) usu\u00e1rio(s) %s do banco de dados?",
  "Delete user(s)" = "Deletar usu\u00e1rio(s)",
  "Delete user" = "Deletar usu\u00e1rio",
  "Edit user" = "Modificar usu\u00e1rio",
  "User already exist!" = "O usu\u00e1rio j\u00e1 existe!",
  "Dismiss" = "Fechar",
  "New user %s succesfully created!" = "Novo usu\u00e1rio %s criado com sucesso!",
  "Ask to change password" = "Pedir para alterar a senha",
  "Confirm" = "Confirmar",
  "Ask %s to change password on next connection?" = "Pedir a %s para alterar a senha na pr\u00f3xima conex\u00e3o?",
  "Change saved!" = "Mudan\u00e7as salvas!",
  "Failed to update the database" = "Erro em atualizar o banco de dados",
  "Password does not respect safety requirements" = "Senha n\u00e3o conforme com as exig\u00eancias de seguran\u00e7a",
  "Password must contain at least one number, one lowercase, one uppercase and must be at least length 6." = "A senha deve conter pelo menos um n\u00famero, uma letra min\u00fascula, uma letra mai\u00fascula e deve ter pelo menos 6 caracteres",
  "Number of connections per user" = "N\u00famero de conex\u00f5es por usu\u00e1rio",
  "Number of connections per day" = "N\u00famero de conex\u00f5es por dia",
  "Total number of connection" = "N\u00famero total de conex\u00f5es",
  "You can\'t remove yourself!" = "Voc\u00ea n\u00e3o pode se remover!",
  "User:" = "Usu\u00e1rio :",
  "Period:" = "Per\u00edodo :",
  "Last week" = "Semana passada",
  "Last month" = "M\u00eas passado",
  "All period" = "Todo per\u00edodo",
  "Home" = "In\u00edcio",
  "Select all shown users" = "Selecionar todos os usu\u00e1rios mostrados",
  "Remove selected users" = "Remover usu\u00e1rios selecionados",
  "Edit selected users" = "Modificar usu\u00e1rios selecionados",
  "Force selected users to change password" = "For\u00e7ar usu\u00e1rio selecionado a mudar a senha",
  "Users" = "Usu\u00e1rios",
  "Passwords" = "Senhas",
  "Download logs database" = "Fazer download dos logs do banco de dados",
  "Download SQL database" = "Fazer download do banco de dados SQL",
  "Download Users file" = "Fazer download dos utilizadores do banco de dados",
  "Reset password for %s?" = "Resetar a senha de %s?",
  "Reset password" = "Resetar a senha",
  "Temporary password:" = "Senha tempor\u00e1ria",
  "Password succesfully reset!" = "Senha resetada com sucesso!",
  "You are not authorized for this application" = "Voc\u00ea n\u00e3o est\u00e1 autorizado a utilizar esse aplicativo",
  "Language"  = "L\u00edngua",
  "Yes" = "Sim",
  "No" = "N\u00e3o",
  "Password" = "Senha",
  "start" = "In\u00edcio",
  "expire" = "Fim",
  "admin" = "Administrador",
  "user" = "usu\u00e1rio",
  "Edit" = "Modificar",
  "Remove" = "Deletar",
  "must_change" = "Deve mudar",
  "have_changed" = "Mudaram",
  "date_change" = "Data",
  "Change password" = "Alterar a senha",
  "Select" = "Selecionar",
  "Logs" = "Conex\u00f5es",
  "All users" = "All usu\u00e1rio",
  "Nb logged" = "Conex\u00f5es",
  "Allowed null values" = "Valores nulos autorizados"
)

pkgEnv$label_es = list(
  "Please authenticate" = "Favor de autenticarse",
  "Username:" = "Usuario:",
  "Password:" = "Contrase\u00f1a:",
  "Login" = "Iniciar sesi\u00f3n",
  "Username or password are incorrect" = "Usuario o contrase\u00f1a incorrecto",
  "Your account has expired" = "Su cuenta ha expirado",
  "Your account is locked" = "Your account  est\u00e1 bloqueada",
  "Please change your password" = "Por favor, cambie su contrase\u00f1a",
  "New password cannot be the same as old" = "La nueva contrase\u00f1a no puede ser la misma que la anterior",
  "New password:" = "Nueva contrase\u00f1a:",
  "Confirm password:" = "Confirme contrase\u00f1a:",
  "Update new password" = "Actualizar nueva contrase\u00f1a",
  "Password successfully updated! Please re-login" = "\u00a1Cambio de contrase\u00f1a exitoso! Por favor, vuelva a iniciar sesi\u00f3n",
  "The two passwords are different" = "Las dos contrase\u00f1as son diferentes",
  "Failed to update password" = "Fall\u00f3 la actualizaci\u00f3n de la contrase\u00f1a",
  "Logout" = "Cerrar sesi\u00f3n",
  "Go to application" = "Ir a aplicaci\u00f3n",
  "Administrator mode" = "Modo administraci\u00f3n",
  "Add a user" = "Agregar usuario",
  "Too many users" = "Demasiado usuario",
  "Maximum number of users : %s" = "N\u00famero m\u00e1ximo de usuarios : %s",
  "Failed to update user" = "Fall\u00f3 la actualizaci\u00f3n del usuario",
  "User successfully updated" = "Usuario actualizado correctamente",
  "Cancel" = "Cancelar",
  "Confirm new user" = "Confirmar nuevo usuario",
  "Confirm change" = "Confirmar cambio",
  "Are you sure to remove user(s): %s from the database ?" = "\u00bfEst\u00e1 seguro de remover el(los) usuario(s): %s de la base de datos?",
  "Delete user(s)" = "Borrar usuario(s)",
  "Delete user" = "Borrar usuario",
  "Edit user" = "Editar usuario",
  "User already exist!" = "\u00a1Usuario ya existente!",
  "Dismiss" = "Descartar",
  "New user %s succesfully created!" = "\u00a1Nuevo usuario %s creado satisfactoriamente!",
  "Ask to change password" = "Pedir que cambie la contrase\u00f1a",
  "Confirm" = "Confirmar",
  "Ask %s to change password on next connection?" = "\u00bfDesea pedir a %s que cambie la contrase\u00f1a en su siguiente connexi\u00f3n?",
  "Change saved!" = "\u00a1Cambio guardado!",
  "Failed to update the database" = "Fall\u00f3 la actualizaci\u00f3n de la base de datos",
  "Password does not respect safety requirements" = "La contrase\u00f1a no contiene los requerimientos de seguridad",
  "Password must contain at least one number, one lowercase, one uppercase and must be at least length 6." = "La contrase\u00f1a debe contener al menos un n\u00famero, una m\u00ednuscula, una may\u00fascula y debe ser de almenos seis caracteres.",
  "Number of connections per user" = "N\u00famero de conexiones por usuario",
  "Number of connections per day" = "N\u00famero de conexiones por d\u00eda",
  "Total number of connection" = "Total de conexiones",
  "You can\'t remove yourself!" = "No puede eliminarse usted mismo",
  "User:" = "Usuario:",
  "Period:" = "Periodo:",
  "Last week" = "Semana pasada",
  "Last month" = "Mes pasado",
  "All period" = "Todo el periodo",
  "Home" = "Inicio",
  "Select all shown users" = "Seleccionar todos los usuarios mostrados",
  "Remove selected users" = "Remover los usuarios seleccionados",
  "Edit selected users" = "Editar los usuarios seleccionados",
  "Force selected users to change password" = "Forzar a los usuarios seleccionados que cambien la contrase\u00f1a",
  "Users" = "Usuarios",
  "Passwords" = "Contrase\u00f1as",
  "Download logs database" = "Descargar la base de datos de registros",
  "Download SQL database" = "Descargar la base de datos SQL",
  "Download Users file" = "Descargar la base de datos de los usuarios",
  "Reset password for %s?" = "\u00bfReiniciar contrase\u00f1a para %s?",
  "Reset password" = "Reiniciar",
  "Temporary password:" = "Contrase\u00f1a temporal:",
  "Password succesfully reset!" = "\u00a1Contrase\u00f1a reiniciada satisfactoriamente!",
  "You are not authorized for this application" = "No est\u00e1s autorizado para esta aplicaci\u00f3n",
  "Language" = "Lenguaje",
  "Yes" = "S\u00ed",
  "No" = "No",
  "Password" = "Contrase\u00f1a",
  "start" = "empieza",
  "expire" = "expira",
  "admin" = "administrador",
  "user" = "usuario",
  "Edit" = "Editar",
  "Remove" = "Eliminar",
  "must_change" = "Cambiar\u00e1 contrase\u00f1a",
  "have_changed" = "Cambi\u00f3 contrase\u00f1a",
  "date_change" = "Fecha de cambio",
  "Change password" = "Cambiar",
  "Select" = "Seleccionar",
  "Logs" = "Registros",
  "All users" = "Todos los usuarios",
  "Nb logged" = "Conexiones",
  "Allowed null values" = "Valores nulos permitidos"
)

pkgEnv$label_de = list(
  "Please authenticate" = "Bitte anmelden",
  "Username:" = "Benutzername :",
  "Password:" = "Passwort :",
  "Login" = "Anmelden",
  "Username or password are incorrect" = "Benutzername oder Passwort falsch",
  "Your account has expired" = "Account ist abgelaufen",
  "Your account is locked" = "Account ist gesperrt",
  "Please change your password" = "Bitte Passwort \u00e4ndern",
  "New password cannot be the same as old" = "Das neue Passwort kann nicht dasselbe sein wie das vorherige",
  "New password:" = "Neues Passwort :",
  "Confirm password:" = "Passwort best\u00e4tigen :",
  "Update new password" = "Passwort aktualisieren",
  "Password successfully updated! Please re-login" = "Passwort erfolgreich aktualisiert! Bitte neu anmelden.",
  "The two passwords are different" = "Passw\u00f6rter nicht gleich",
  "Failed to update password" = "Passwortaktualisierung fehlgeschlagen",
  "Logout" = "Abmelden",
  "Go to application" = "Starte Anwendung",
  "Administrator mode" = "Administrator Modus",
  "Add a user" = "Benutzer hinzuf\u00fcgen",
  "Too many users" = "zu viele Benutzer",
  "Maximum number of users : %s" = "Maximale Benutzeranzahl : %s",
  "Failed to update user" = "Benutzeraktualisierung fehlgeschlagen",
  "User successfully updated" = "Benutzer erfolgreich aktualisiert",
  "Cancel" = "Abbruch",
  "Confirm new user" = "Benutzer best\u00e4tigen",
  "Confirm change" = "\u00c4nderung best\u00e4tigen",
  "Are you sure to remove user(s): %s from the database ?" = "Wirklich Benutzer: %s aus der Datenbank l\u00f6schen?",
  "Delete user(s)" = "Benutzer l\u00f6schen",
  "Delete user" = "Benutzer l\u00f6schen",
  "Edit user" = "Benutzer bearbeiten",
  "User already exist!" = "Benutzer existiert bereits!",
  "Dismiss" = "Schliessen",
  "New user %s succesfully created!" = "Neuer Benutzer %s erfolgreich erstellt!",
  "Ask to change password" = "Aufforderung zur Passwort\u00e4nderung",
  "Confirm" = "Best\u00e4tigen",
  "Ask %s to change password on next connection?" = "Aufforderung zur Passwort\u00e4nderung f\u00fcr Benutzer: %s bei n\u00e4chster Anmeldung?",
  "Change saved!" = "\u00c4nderungen gespeichert!",
  "Failed to update the database" = "Datenbankaktualisierung fehlgeschlagen",
  "Password does not respect safety requirements" = "Passwort entspricht nicht den Sicherheitsanforderungen",
  "Password must contain at least one number, one lowercase, one uppercase and must be at least length 6." = "Das Passwort muss mindestens eine Zahl, einen Kleinbuchstaben und einen Grossbuchstaben enthalten und mindestens 6 Zeichen lang sein.",
  "Number of connections per user" = "Verbindungen pro Benutzer",
  "Number of connections per day" = "Verbindungen pro Tag",
  "Total number of connection" = "Anzahl Verbindungen",
  "You can\'t remove yourself!" = "Der eigene Account kann nicht gel\u00f6scht werden!",
  "User:" = "Benutzer :",
  "Period:" = "Zeitraum :",
  "Last week" = "Letzte Woche",
  "Last month" = "Letzter Monat",
  "All period" = "Gesamter Zeitraum",
  "Home" = "Anfang",
  "Select all shown users" = "Alle angezeigten Benutzer ausw\u00e4hlen",
  "Remove selected users" = "Ausgew\u00e4hlte Benutzer l\u00f6schen",
  "Edit selected users" = "Ausgew\u00e4hlte Benutzer bearbeiten",
  "Force selected users to change password" = "F\u00fcr ausgew\u00e4hlte Benutzer Passwort\u00e4nderung erzwingen",
  "Users" = "Benutzer",
  "Passwords" = "Passw\u00f6rter",
  "Download logs database" = "Protokolldatenbank herunterladen",
  "Download SQL database" = "SQL Datenbank herunterladen",
  "Download Users file" = "Nutzerdatenbank herunterladen",
  "Reset password for %s?" = "Passwort f\u00fcr %s zur\u00fccksetzen?",
  "Reset password" = "Passwort zur\u00fccksetzen",
  "Temporary password:" = "Tempor\u00e4res Passwort:",
  "Password succesfully reset!" = "Passwort erfolgreich zur\u00fcckgesetzt!",
  "You are not authorized for this application" = "F\u00fcr diese Anwendung nicht autorisiert",
  "Language"  = "Sprache",
  "Yes" = "Ja",
  "No" = "Nein",
  "Password" = "Passwort",
  "start" = "Start",
  "expire" = "Verf\u00e4llt",
  "admin" = "Admin",
  "user" = "Benutzer",
  "Edit" = "Bearbeiten",
  "Remove" = "Entfernen",
  "must_change" = "\u00c4nderung erzwingen",
  "have_changed" = "ge\u00e4ndert",
  "date_change" = "\u00c4nderungsdatum",
  "Change password" = "Passwort \u00e4ndern",
  "Select" = "Ausw\u00e4hlen",
  "Logs" = "Protokolle",
  "All users" = "Alle Benutzer",
  "Nb logged" = "Verbindungen",
  "Allowed null values" = "Nullwerte erlaubt"
)

pkgEnv$label_pl = list(
  "Please authenticate" = "Prosz\u0119 o uwierzytelnienie",
  "Username:" = "Nazwa u\u017cytkownika :",
  "Password:" = "Has\u0142o :",
  "Login" = "Zaloguj",
  "Username or password are incorrect" = "Nazwa u\u017cytkownika lub has\u0142o s\u0105 nieprawid\u0142owe",
  "Your account has expired" = "Twoje konto jest nieaktywne",
  "Your account is locked" = "Twoje konto jest zablokowane",
  "Please change your password" = "Prosz\u0119 zmieni\u0107 has\u0142o",
  "New password cannot be the same as old" = "Nowe has\u0142o nie mo\u017ce by\u0107 takie samo jak poprzednie",
  "New password:" = "Nowe has\u0142o :",
  "Confirm password:" = "Potwierd\u017a has\u0142o :",
  "Update new password" = "Zaktualizuj has\u0142o",
  "Password successfully updated! Please re-login" = "Has\u0142o pomy\u015blnie zaktualizowane! Prosz\u0119 o ponowne zalogowanie",
  "The two passwords are different" = "Podane has\u0142a nie s\u0105 identyczne",
  "Failed to update password" = "Akualizacja has\u0142a zako\u0144czona niepowodzeniem",
  "Logout" = "Wyloguj",
  "Go to application" = "Przejd\u017a do aplikacji",
  "Administrator mode" = "Tryb administratora",
  "Add a user" = "Dodaj u\u017cytkownika",
  "Too many users" = "Zbyt du\u017co u\u017cytkownik\u00f3w",
  "Maximum number of users : %s" = "Maksymalna liczba u\u017cytkownik\u00f3w : %s",
  "Failed to update user" = "Aktualizacja u\u017cytkownika zako\u0144czona niepowodzeniem",
  "User successfully updated" = "Pomy\u015blnie zaktualizowano u\u017cytkownika",
  "Cancel" = "Anuluj",
  "Confirm new user" = "Utw\u00f3rz nowego u\u017cytkownika",
  "Confirm change" = "Potwierd\u017a wprowadzone zmiany",
  "Are you sure to remove user(s): %s from the database ?" = "Czy na pewno usun\u0105\u0107 u\u017cytkownika/\u00f3w %s z bazy danych ?",
  "Delete user(s)" = "Usu\u0144 u\u017cytkownika/\u00f3w",
  "Delete user" = "Usu\u0144 u\u017cytkownika",
  "Edit user" = "Edytuj u\u017cytkownika",
  "User already exist!" = "U\u017cytkownik ju\u017c istnieje !",
  "Dismiss" = "Zamknij",
  "New user %s succesfully created!" = "Nowy u\u017cytkownik: %s pomy\u015blnie utworzony !",
  "Ask to change password" = "Popro\u015b o zmian\u0119 has\u0142a",
  "Confirm" = "Potwierd\u017a",
  "Ask %s to change password on next connection?" = "Popro\u015b %s o zmian\u0119 has\u0142a przy ponownym po\u0142\u0105czeniu ?",
  "Change saved!" = "Zmiana zapisana !",
  "Failed to update the database" = "B\u0142\u0105d przy pr\u00f3bie aktualizacji bazy danych",
  "Password does not respect safety requirements" = "Has\u0142o nie spe\u0142nia wymog\u00f3w bezpiecze\u0144stwa",
  "Password must contain at least one number, one lowercase, one uppercase and must be at least length 6." = "Has\u0142o musi zawiera\u0107 co najmniej jedn\u0105 liczb\u0119, jedn\u0105 ma\u0142\u0105 oraz jedn\u0105 wielk\u0105 liter\u0119 i musi sk\u0142ada\u0107 si\u0119 z co najmniej 6 znak\u00f3w.",
  "Number of connections per user" = "Liczba po\u0142\u0105cze\u0144 na u\u017cytkownika",
  "Number of connections per day" = "Liczba po\u0142\u0105cze\u0144 dziennie",
  "Total number of connection" = "Ca\u0142kowita liczba po\u0142\u0105cze\u0144",
  "You can\'t remove yourself!" = "Nie mo\u017cesz usun\u0105\u0107 siebie!",
  "User:" = "U\u017cytkownik :",
  "Period:" = "Okres :",
  "Last week" = "Ostatni tydzie\u0144",
  "Last month" = "Ostatni miesi\u0105c",
  "All period" = "Pe\u0142ny okres",
  "Home" = "G\u0142\u00f3wny panel",
  "Select all shown users" = "Wybierz wszystkich widocznych u\u017cytkownik\u00f3w",
  "Remove selected users" = "Usu\u0144 wybranych u\u017cytkownik\u00f3w",
  "Edit selected users" = "Edytuj wybranych u\u017cytkownik\u00f3w",
  "Force selected users to change password" = "Wymu\u015b zmian\u0119 has\u0142a przez wybranych u\u017cytkownik\u00f3w",
  "Users" = "U\u017cytkownicy",
  "Passwords" = "Has\u0142a",
  "Download logs database" = "Pobierz baz\u0119 log\u00f3w",
  "Download SQL database" = "Pobierz baz\u0119 SQL",
  "Download Users file" = "Pobierz baz\u0119 u\u017cytkownik\u00f3w",
  "Reset password for %s?" = "Resetuj has\u0142o dla %s ?",
  "Reset password" = "Resetuj has\u0142o",
  "Temporary password:" = "Has\u0142o tymczasowe",
  "Password succesfully reset!" = "Reset has\u0142a zako\u0144czony powodzeniem!",
  "You are not authorized for this application" = "Nie masz autoryzacji dla tej aplikacji",
  "Language"  = "J\u0119zyk",
  "Yes" = "Tak",
  "No" = "Nie",
  "Password" = "Has\u0142o",
  "start" = "Data aktywacji",
  "expire" = "Termin wa\u017Cno\u015Bci",
  "admin" = "Administrator",
  "user" = "U\u017cytkownik",
  "Edit" = "Edytuj",
  "Remove" = "Usu\u0144",
  "must_change" = "Wym\u00f3g zmiany has\u0142a",
  "have_changed" = "Zmieniono",
  "date_change" = "Data",
  "Change password" = "Zmie\u0144 has\u0142o",
  "Select" = "Wybierz",
  "Logs" = "Logi",
  "All users" = "Wszyscy u\u017cytkownicy",
  "Nb logged" = "Liczba logowa\u0144",
  "Allowed null values" = "Dozwolone warto\u015bci zerowe"
)

pkgEnv$label_ja = list(
  "Please authenticate" = "\u8a8d\u8a3c\u3057\u3066\u304f\u3060\u3055\u3044",
  "Username:" = "\u30e6\u30fc\u30b6\u30fc\u540d :",
  "Password:" = "\u30d1\u30b9\u30ef\u30fc\u30c9 :",
  "Login" = "\u30ed\u30b0\u30a4\u30f3",
  "Username or password are incorrect" = "\u30e6\u30fc\u30b6\u30fc\u540d\u307e\u305f\u306f\u30d1\u30b9\u30ef\u30fc\u30c9\u304c\u6b63\u3057\u304f\u3042\u308a\u307e\u305b\u3093",
  "Your account has expired" = "\u30a2\u30ab\u30a6\u30f3\u30c8\u306e\u6709\u52b9\u671f\u9650\u304c\u5207\u308c\u3066\u3044\u307e\u3059",
  "Your account is locked" = "Your account is locked",
  "Please change your password" = "\u30d1\u30b9\u30ef\u30fc\u30c9\u3092\u5909\u66f4\u3057\u3066\u304f\u3060\u3055\u3044",
  "New password cannot be the same as old" = "\u30d1\u30b9\u30ef\u30fc\u30c9\u306e\u66f4\u65b0\u306b\u5931\u6557\u3057\u307e\u3057\u305f",
  "New password:" = "\u65b0\u3057\u3044\u30d1\u30b9\u30ef\u30fc\u30c9 :",
  "Confirm password:" = "\u30d1\u30b9\u30ef\u30fc\u30c9\u306e\u78ba\u8a8d :",
  "Update new password" = "\u30d1\u30b9\u30ef\u30fc\u30c9\u306e\u66f4\u65b0",
  "Password successfully updated! Please re-login" = "\u30d1\u30b9\u30ef\u30fc\u30c9\u306f\u66f4\u65b0\u3055\u308c\u307e\u3057\u305f\u3002\u518d\u5ea6\u30ed\u30b0\u30a4\u30f3\u3057\u3066\u304f\u3060\u3055\u3044",
  "The two passwords are different" = "\u30d1\u30b9\u30ef\u30fc\u30c9\u304c\u4e00\u81f4\u3057\u307e\u305b\u3093",
  "Failed to update password" = "\u30d1\u30b9\u30ef\u30fc\u30c9\u306e\u66f4\u65b0\u306b\u5931\u6557\u3057\u307e\u3057\u305f",
  "Logout" = "\u30ed\u30b0\u30a2\u30a6\u30c8",
  "Go to application" = "\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u3078\u623b\u308b",
  "Administrator mode" = "\u7ba1\u7406\u8005\u30e2\u30fc\u30c9",
  "Add a user" = "\u30e6\u30fc\u30b6\u30fc\u3092\u8ffd\u52a0\u3059\u308b",
  "Too many users" = "\u30e6\u30fc\u30b6\u30fc\u304c\u591a\u3059\u304e\u307e\u3059",
  "Maximum number of users : %s" = "\u30e6\u30fc\u30b6\u30fc\u306e\u6700\u5927\u6570 : %s",
  "Failed to update user" = "\u30e6\u30fc\u30b6\u30fc\u306e\u66f4\u65b0\u306b\u5931\u6557\u3057\u307e\u3057\u305f",
  "User successfully updated" = "\u30e6\u30fc\u30b6\u30fc\u306e\u66f4\u65b0\u306b\u6210\u529f\u3057\u307e\u3057\u305f",
  "Cancel" = "\u30ad\u30e3\u30f3\u30bb\u30eb",
  "Confirm new user" = "\u65b0\u898f\u30e6\u30fc\u30b6\u30fc\u306e\u78ba\u8a8d",
  "Confirm change" = "\u5909\u66f4\u306e\u78ba\u8a8d",
  "Are you sure to remove user(s): %s from the database ?" = "\u672c\u5f53\u306b\u30e6\u30fc\u30b6\u30fc: %s \u3092\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u304b\u3089\u524a\u9664\u3057\u3066\u3082\u3088\u308d\u3057\u3044\u3067\u3059\u304b\uff1f",
  "Delete user(s)" = "\u30e6\u30fc\u30b6\u30fc\u3092\u524a\u9664\u3059\u308b",
  "Delete user" = "\u30e6\u30fc\u30b6\u30fc\u306e\u524a\u9664",
  "Edit user" = "\u30e6\u30fc\u30b6\u30fc\u306e\u7de8\u96c6",
  "User already exist!" = "\u30e6\u30fc\u30b6\u30fc\u306f\u3059\u3067\u306b\u5b58\u5728\u3057\u3066\u3044\u307e\u3059",
  "Dismiss" = "\u89e3\u6563",
  "New user %s succesfully created!" = "\u65b0\u3057\u3044\u30e6\u30fc\u30b6\u30fc %s \u306e\u4f5c\u6210\u306b\u6210\u529f\u3057\u307e\u3057\u305f",
  "Ask to change password" = "\u30d1\u30b9\u30ef\u30fc\u30c9\u306e\u5909\u66f4\u3092\u8981\u6c42\u3059\u308b",
  "Confirm" = "\u78ba\u8a8d",
  "Ask %s to change password on next connection?" = "\u6b21\u306e\u63a5\u7d9a\u6642\u306b %s \u306b\u30d1\u30b9\u30ef\u30fc\u30c9\u306e\u5909\u66f4\u3092\u8981\u6c42\u3057\u307e\u3059\u304b\uff1f",
  "Change saved!" = "\u5909\u66f4\u304c\u4fdd\u5b58\u3055\u308c\u307e\u3057\u305f",
  "Failed to update the database" = "\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u306e\u66f4\u65b0\u306b\u5931\u6557\u3057\u307e\u3057\u305f",
  "Password does not respect safety requirements" = "\u30d1\u30b9\u30ef\u30fc\u30c9\u304c\u5b89\u5168\u8981\u4ef6\u3092\u6e80\u305f\u3057\u3066\u3044\u307e\u305b\u3093",
  "Password must contain at least one number, one lowercase, one uppercase and must be at least length 6." = "\u30d1\u30b9\u30ef\u30fc\u30c9\u306f\u3001\u5c11\u306a\u304f\u3068\u3082\u6570\u5b571\u3064\u3001\u5c0f\u6587\u5b571\u3064\u3001\u5927\u6587\u5b571\u3064\u3092\u542b\u307f\u3001\u9577\u3055\u306f6\u6587\u5b57\u4ee5\u4e0a\u3067\u306a\u3051\u308c\u3070\u306a\u308a\u307e\u305b\u3093\u3002",
  "Number of connections per user" = "1\u30e6\u30fc\u30b6\u30fc\u3042\u305f\u308a\u306e\u63a5\u7d9a\u6570",
  "Number of connections per day" = "1\u65e5\u3042\u305f\u308a\u306e\u63a5\u7d9a\u6570",
  "Total number of connection" = "\u7dcf\u63a5\u7d9a\u6570",
  "You can\'t remove yourself!" = "\u81ea\u5206\u81ea\u8eab\u3092\u524a\u9664\u3059\u308b\u3053\u3068\u306f\u3067\u304d\u307e\u305b\u3093",
  "User:" = "\u30e6\u30fc\u30b6\u30fc :",
  "Period:" = "\u671f\u9593 :",
  "Last week" = "\u5148\u9031",
  "Last month" = "\u5148\u6708",
  "All period" = "\u5168\u671f\u9593",
  "Home" = "\u30db\u30fc\u30e0",
  "Select all shown users" = "\u8868\u793a\u3055\u308c\u3066\u3044\u308b\u3059\u3079\u3066\u306e\u30e6\u30fc\u30b6\u30fc\u3092\u9078\u629e\u3059\u308b",
  "Remove selected users" = "\u9078\u629e\u3057\u305f\u30e6\u30fc\u30b6\u30fc\u3092\u524a\u9664\u3059\u308b",
  "Edit selected users" = "\u9078\u629e\u3057\u305f\u30e6\u30fc\u30b6\u30fc\u3092\u7de8\u96c6\u3059\u308b",
  "Force selected users to change password" = "\u9078\u629e\u3057\u305f\u30e6\u30fc\u30b6\u30fc\u306b\u30d1\u30b9\u30ef\u30fc\u30c9\u306e\u5909\u66f4\u3092\u5f37\u5236\u3059\u308b",
  "Users" = "\u30e6\u30fc\u30b6\u30fc",
  "Passwords" = "\u30d1\u30b9\u30ef\u30fc\u30c9",
  "Download logs database" = "\u30ed\u30b0\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u306e\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9",
  "Download SQL database" = "SQL\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u306e\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9",
  "Download Users file" = "\u30e6\u30fc\u30b6\u30fc\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u306e\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9",
  "Reset password for %s?" = "%s \u306e\u30d1\u30b9\u30ef\u30fc\u30c9\u3092\u30ea\u30bb\u30c3\u30c8\u3057\u307e\u3059\u304b\uff1f",
  "Reset password" = "\u30d1\u30b9\u30ef\u30fc\u30c9\u306e\u30ea\u30bb\u30c3\u30c8",
  "Temporary password:" = "\u4e00\u6642\u7684\u306a\u30d1\u30b9\u30ef\u30fc\u30c9:",
  "Password succesfully reset!" = "\u30d1\u30b9\u30ef\u30fc\u30c9\u306e\u30ea\u30bb\u30c3\u30c8\u306b\u6210\u529f\u3057\u307e\u3057\u305f",
  "You are not authorized for this application" = "\u3053\u306e\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u306e\u5229\u7528\u3092\u3042\u306a\u305f\u306f\u8a31\u53ef\u3055\u308c\u3066\u3044\u307e\u305b\u3093",
  "Language"  = "\u8a00\u8a9e",
  "Yes" = "\u306f\u3044",
  "No" = "\u3044\u3044\u3048",
  "Password" = "\u30d1\u30b9\u30ef\u30fc\u30c9",
  "start" = "\u958b\u59cb",
  "expire" = "\u671f\u9650",
  "admin" = "\u30a2\u30c9\u30df\u30f3",
  "user" = "\u30e6\u30fc\u30b6\u30fc",
  "Edit" = "\u7de8\u96c6",
  "Remove" = "\u524a\u9664\u3059\u308b",
  "must_change" = "\u5909\u66f4\u306f\u5fc5\u9808\u3067\u3059",
  "have_changed" = "\u5909\u66f4\u3055\u308c\u307e\u3057\u305f",
  "date_change" = "\u65e5\u4ed8",
  "Change password" = "\u30d1\u30b9\u30ef\u30fc\u30c9\u306e\u5909\u66f4",
  "Select" = "\u9078\u629e",
  "Logs" = "\u30ed\u30b0",
  "All users" = "\u5168\u30e6\u30fc\u30b6\u30fc",
  "Nb logged" = "Nb\u30ed\u30b0",
  "Allowed null values" = "\u30cc\u30eb\u5024\u306f\u8a31\u5bb9\u3055\u308c\u3066\u3044\u307e\u3059"
)

pkgEnv$label_el = list(
  "Please authenticate" = "\u03a0\u03b1\u03c1\u03b1\u03ba\u03b1\u03bb\u03ce \u03b5\u03c0\u03b1\u03bb\u03b7\u03b8\u03b5\u03cd\u03c3\u03c4\u03b5",
  "Username:" = "\u038c\u03bd\u03bf\u03bc\u03b1 \u03c7\u03c1\u03ae\u03c3\u03c4\u03b7 :",
  "Password:" = "\u039a\u03c9\u03b4\u03b9\u03ba\u03cc\u03c2 \u03c0\u03c1\u03cc\u03c3\u03b2\u03b1\u03c3\u03b7\u03c2 :",
  "Login" = "\u0395\u03af\u03c3\u03bf\u03b4\u03bf\u03c2",
  "Username or password are incorrect" = "\u03a4\u03bf \u03cc\u03bd\u03bf\u03bc\u03b1 \u03c7\u03c1\u03ae\u03c3\u03c4\u03b7 \u03ae \u03bf \u03ba\u03c9\u03b4\u03b9\u03ba\u03cc\u03c2 \u03c0\u03c1\u03cc\u03c3\u03b2\u03b1\u03c3\u03b7\u03c2 \u03b5\u03af\u03bd\u03b1\u03b9 \u03bb\u03ac\u03b8\u03bf\u03c2",
  "Your account has expired" = "\u039f \u03bb\u03bf\u03b3\u03b1\u03c1\u03b9\u03b1\u03c3\u03bc\u03cc\u03c2 \u03c3\u03b1\u03c2 \u03ad\u03c7\u03b5\u03b9 \u03bb\u03ae\u03be\u03b5\u03b9",
  "Your account is locked" = "\u039f \u03bb\u03bf\u03b3\u03b1\u03c1\u03b9\u03b1\u03c3\u03bc\u03cc\u03c2 \u03c3\u03b1\u03c2 \u03ad\u03c7\u03b5\u03b9 \u03ba\u03bb\u03b5\u03b9\u03b4\u03ce\u03c3\u03b5\u03b9",
  "Please change your password" = "\u03a0\u03b1\u03c1\u03b1\u03ba\u03b1\u03bb\u03ce \u03b1\u03bb\u03bb\u03ac\u03be\u03c4\u03b5 \u03c4\u03bf \u03ba\u03c9\u03b4\u03b9\u03ba\u03cc \u03c0\u03c1\u03cc\u03c3\u03b2\u03b1\u03c3\u03b7\u03c2 \u03c3\u03b1\u03c2",
  "New password cannot be the same as old" = "\u039f \u03bd\u03ad\u03bf\u03c2 \u03ba\u03c9\u03b4\u03b9\u03ba\u03cc\u03c2 \u03c0\u03c1\u03cc\u03c3\u03b2\u03b1\u03c3\u03b7\u03c2 \u03b4\u03b5\u03bd \u03bc\u03c0\u03bf\u03c1\u03b5\u03af \u03bd\u03b1 \u03b5\u03af\u03bd\u03b1\u03b9 \u03bf \u03b9\u03b4\u03b9\u03bf\u03c2 \u03bc\u03b5 \u03c4\u03bf\u03bd \u03c0\u03c1\u03bf\u03b7\u03b3\u03bf\u03cd\u03bc\u03b5\u03bd\u03bf",
  "New password:" = "\u039d\u03ad\u03bf\u03c2 \u03ba\u03c9\u03b4\u03b9\u03ba\u03cc\u03c2 \u03c0\u03c1\u03cc\u03c3\u03b2\u03b1\u03c3\u03b7\u03c2 :",
  "Confirm password:" = "\u0395\u03c0\u03b9\u03b2\u03b5\u03b2\u03b1\u03b9\u03ce\u03c3\u03c4\u03b5 \u03c4\u03bf \u03ba\u03c9\u03b4\u03b9\u03ba\u03cc \u03c0\u03c1\u03cc\u03c3\u03b2\u03b1\u03c3\u03b7\u03c2 :",
  "Update new password" = "\u0391\u03bd\u03b1\u03bd\u03b5\u03ce\u03c3\u03c4\u03b5 \u03c4\u03bf \u03ba\u03c9\u03b4\u03b9\u03ba\u03cc \u03c0\u03c1\u03cc\u03c3\u03b2\u03b1\u03c3\u03b7\u03c2",
  "Password successfully updated! Please re-login" = "\u039f \u03ba\u03c9\u03b4\u03b9\u03ba\u03cc\u03c2 \u03c0\u03c1\u03cc\u03c3\u03b2\u03b1\u03c3\u03b7\u03c2 \u03ad\u03c7\u03b5\u03b9 \u03b1\u03bd\u03b1\u03bd\u03b5\u03c9\u03b8\u03b5\u03af \u03b5\u03c0\u03b9\u03c4\u03c5\u03c7\u03ce\u03c2! \u03a0\u03b1\u03c1\u03b1\u03ba\u03b1\u03bb\u03ce \u03c0\u03c1\u03bf\u03c7\u03c9\u03c1\u03ae\u03c3\u03c4\u03b5 \u03b3\u03b9\u03b1 '\u0395\u03af\u03c3\u03bf\u03b4\u03bf'",
  "The two passwords are different" = "\u039f\u03b9 \u03b4\u03cd\u03bf \u03ba\u03c9\u03b4\u03b9\u03ba\u03bf\u03af \u03c0\u03c1\u03cc\u03c3\u03b2\u03b1\u03c3\u03b7\u03c2 \u03b4\u03b5\u03bd \u03c4\u03b1\u03b9\u03c1\u03b9\u03ac\u03b6\u03bf\u03c5\u03bd",
  "Failed to update password" = "\u0391\u03c0\u03bf\u03c4\u03c5\u03c7\u03af\u03b1 \u03b1\u03bd\u03b1\u03bd\u03ad\u03c9\u03c3\u03b7\u03c2 \u03c4\u03bf\u03c5 \u03ba\u03c9\u03b4\u03b9\u03ba\u03bf\u03cd \u03c0\u03c1\u03cc\u03c3\u03b2\u03b1\u03c3\u03b7\u03c2",
  "Logout" = "\u0388\u03be\u03bf\u03b4\u03bf\u03c2",
  "Go to application" = "\u03a0\u03c1\u03bf\u03c7\u03ce\u03c1\u03b7\u03c3\u03b5 \u03c3\u03c4\u03bf application",
  "Administrator mode" = "\u039b\u03b5\u03b9\u03c4\u03bf\u03c5\u03c1\u03b3\u03af\u03b1 \u03b4\u03b9\u03b1\u03c7\u03b5\u03b9\u03c1\u03b9\u03c3\u03c4\u03ae",
  "Add a user" = "\u03a0\u03c1\u03cc\u03c3\u03b8\u03b5\u03c3\u03b5 \u03c7\u03c1\u03ae\u03c3\u03c4\u03b7",
  "Too many users" = "\u03a0\u03ac\u03c1\u03b1 \u03c0\u03bf\u03bb\u03bb\u03bf\u03af \u03c7\u03c1\u03ae\u03c3\u03c4\u03b5\u03c2",
  "Maximum number of users : %s" = "\u039c\u03ad\u03b3\u03b9\u03c3\u03c4\u03bf\u03c2 \u03b1\u03c1\u03b9\u03b8\u03bc\u03cc\u03c2 \u03c7\u03c1\u03b7\u03c3\u03c4\u03ce\u03bd : %s",
  "Failed to update user" = "\u0391\u03c0\u03bf\u03c4\u03c5\u03c7\u03af\u03b1 \u03b1\u03bd\u03b1\u03bd\u03ad\u03c9\u03c3\u03b7\u03c2 \u03c7\u03c1\u03ae\u03c3\u03c4\u03b7",
  "User successfully updated" = "\u039f \u03c7\u03c1\u03ae\u03c3\u03c4\u03b7\u03c2 \u03b1\u03bd\u03b1\u03bd\u03b5\u03ce\u03b8\u03b7\u03ba\u03b5 \u03b5\u03c0\u03b9\u03c4\u03c5\u03c7\u03ce\u03c2",
  "Cancel" = "\u0386\u03ba\u03c5\u03c1\u03bf",
  "Confirm new user" = "\u0395\u03c0\u03b9\u03b2\u03b5\u03b2\u03b1\u03b9\u03ce\u03c3\u03c4\u03b5 \u03c4\u03bf \u03bd\u03ad\u03bf \u03c7\u03c1\u03ae\u03c3\u03c4\u03b7",
  "Confirm change" = "\u0395\u03c0\u03b9\u03b2\u03b5\u03b2\u03b1\u03b9\u03ce\u03c3\u03c4\u03b5 \u03c4\u03b7\u03bd \u03b1\u03bb\u03bb\u03b1\u03b3\u03ae",
  "Are you sure to remove user(s): %s from the database ?" = "\u0395\u03af\u03c3\u03c4\u03b5 \u03c3\u03af\u03b3\u03bf\u03c5\u03c1\u03bf\u03c2/\u03b7 \u03cc\u03c4\u03b9 \u03b8\u03ad\u03bb\u03b5\u03c4\u03b5 \u03bd\u03b1 \u03b1\u03c6\u03b1\u03b9\u03c1\u03ad\u03c3\u03c4\u03b5 \u03c4\u03bf/\u03c4\u03bf\u03c5\u03c2 \u03c7\u03c1\u03ae\u03c3\u03c4\u03b7/\u03c4\u03b5\u03c2: %s  \u03b1\u03c0\u03cc \u03c4\u03b7 \u03b2\u03ac\u03c3\u03b7 ?",
  "Delete user(s)" = "\u0394\u03b9\u03b1\u03b3\u03c1\u03b1\u03c6\u03ae \u03c7\u03c1\u03ae\u03c3\u03c4\u03b7/\u03c4\u03c9\u03bd",
  "Delete user" = "\u0394\u03b9\u03b1\u03b3\u03c1\u03b1\u03c6\u03ae \u03c7\u03c1\u03ae\u03c3\u03c4\u03b7",
  "Edit user" = "\u03a4\u03c1\u03bf\u03c0\u03bf\u03c0\u03bf\u03af\u03b7\u03c3\u03b7 \u03c7\u03c1\u03ae\u03c3\u03c4\u03b7",
  "User already exist!" = "\u039f \u03c7\u03c1\u03ae\u03c3\u03c4\u03b7\u03c2 \u03c5\u03c0\u03ac\u03c1\u03c7\u03b5\u03b9 \u03ae\u03b4\u03b7!",
  "Dismiss" = "\u0394\u03b9\u03ce\u03be\u03b5 \u03bc\u03b5",
  "New user %s succesfully created!" = "\u039f \u03bd\u03ad\u03bf\u03c2 \u03c7\u03c1\u03ae\u03c3\u03c4\u03b7\u03c2/\u03b5\u03c2 %s \u03b4\u03b7\u03bc\u03b9\u03bf\u03c5\u03c1\u03b3\u03ae\u03b8\u03b7\u03ba\u03b5 \u03bc\u03b5 \u03b5\u03c0\u03b9\u03c4\u03c5\u03c7\u03af\u03b1!",
  "Ask to change password" = "\u0396\u03ae\u03c4\u03b7\u03c3\u03b5 \u03bd\u03b1 \u03b1\u03bb\u03bb\u03ac\u03be\u03b5\u03b9 \u03c4\u03bf \u03ba\u03c9\u03b4\u03b9\u03ba\u03cc \u03c0\u03c1\u03cc\u03c3\u03b2\u03b1\u03c3\u03b7\u03c2",
  "Confirm" = "\u0395\u03c0\u03b9\u03b2\u03b5\u03b2\u03b1\u03af\u03c9\u03c3\u03b7",
  "Ask %s to change password on next connection?" = "\u039d\u03b1 \u03b6\u03b7\u03c4\u03b7\u03b8\u03b5\u03af \u03b1\u03c0\u03cc \u03c4\u03bf\u03c5\u03c2 %s \u03bd\u03b1 \u03b1\u03bb\u03bb\u03ac\u03be\u03bf\u03c5\u03bd \u03c4\u03bf \u03ba\u03c9\u03b4\u03b9\u03ba\u03cc \u03c0\u03c1\u03cc\u03c3\u03b2\u03b1\u03c3\u03b7\u03c2 \u03c4\u03bf\u03c5\u03c2 \u03ba\u03b1\u03c4\u03ac \u03c4\u03b7\u03bd \u03b5\u03c0\u03cc\u03bc\u03b5\u03bd\u03b7 \u03c3\u03cd\u03bd\u03b4\u03b5\u03c3\u03b7 \u03c4\u03bf\u03c5\u03c2?",
  "Change saved!" = "\u039f\u03b9 \u03b1\u03bb\u03bb\u03b1\u03b3\u03ad\u03c2 \u03b1\u03c0\u03bf\u03b8\u03b7\u03ba\u03b5\u03cd\u03c4\u03b7\u03ba\u03b1\u03bd!",
  "Failed to update the database" = "\u0391\u03c0\u03bf\u03c4\u03c5\u03c7\u03af\u03b1 \u03b1\u03bd\u03b1\u03bd\u03ad\u03c9\u03c3\u03b7\u03c2 \u03c4\u03b7\u03c2 \u03b2\u03ac\u03c3\u03b7\u03c2 \u03b4\u03b5\u03b4\u03bf\u03bc\u03ad\u03bd\u03c9\u03bd",
  "Password does not respect safety requirements" = "\u039f \u03ba\u03c9\u03b4\u03b9\u03ba\u03cc\u03c2 \u03c0\u03c1\u03cc\u03c3\u03b2\u03b1\u03c3\u03b7\u03c2 \u03b4\u03b5\u03bd \u03c4\u03b7\u03c1\u03b5\u03af \u03c4\u03b9\u03c2 \u03b1\u03c0\u03b1\u03b9\u03c4\u03ae\u03c3\u03b5\u03b9\u03c2 \u03b1\u03c3\u03c6\u03b1\u03bb\u03b5\u03af\u03b1\u03c2",
  "Password must contain at least one number, one lowercase, one uppercase and must be at least length 6." = "\u039f \u03ba\u03c9\u03b4\u03b9\u03ba\u03cc\u03c2 \u03c0\u03c1\u03cc\u03c3\u03b2\u03b1\u03c3\u03b7\u03c2 \u03c0\u03c1\u03ad\u03c0\u03b5\u03b9 \u03bd\u03b1 \u03c0\u03b5\u03c1\u03b9\u03ad\u03c7\u03b5\u03b9 \u03c4\u03bf\u03c5\u03bb\u03ac\u03c7\u03b9\u03c3\u03c4\u03bf\u03bd \u03ad\u03bd\u03b1\u03bd \u03b1\u03c1\u03b9\u03b8\u03bc\u03cc, \u03ad\u03bd\u03b1 \u03c0\u03b5\u03b6\u03cc, \u03ad\u03bd\u03b1 \u03ba\u03b5\u03c6\u03b1\u03bb\u03b1\u03af\u03bf \u03ba\u03b1\u03b9 \u03c0\u03c1\u03ad\u03c0\u03b5\u03b9 \u03bd\u03b1 \u03ad\u03c7\u03b5\u03b9 \u03bc\u03ae\u03ba\u03bf\u03c2 \u03c4\u03bf\u03c5\u03bb\u03ac\u03c7\u03b9\u03c3\u03c4\u03bf\u03bd 6.",
  "Number of connections per user" = "\u0391\u03c1\u03b9\u03b8\u03bc\u03cc\u03c2 \u03c3\u03c5\u03bd\u03b4\u03ad\u03c3\u03b5\u03c9\u03bd \u03b1\u03bd\u03ac \u03c7\u03c1\u03ae\u03c3\u03c4\u03b7",
  "Number of connections per day" = "\u0391\u03c1\u03b9\u03b8\u03bc\u03cc\u03c2 \u03c3\u03c5\u03bd\u03b4\u03ad\u03c3\u03b5\u03c9\u03bd \u03b1\u03bd\u03ac \u03b7\u03bc\u03ad\u03c1\u03b1",
  "Total number of connection" = "\u03a3\u03c5\u03bd\u03bf\u03bb\u03b9\u03ba\u03cc\u03c2 \u03b1\u03c1\u03b9\u03b8\u03bc\u03cc\u03c2 \u03c3\u03cd\u03bd\u03b4\u03ad\u03c3\u03b5\u03c9\u03bd",
  "You can't remove yourself!" = "\u0394\u03b5\u03bd \u03bc\u03c0\u03bf\u03c1\u03b5\u03af\u03c4\u03b5 \u03bd\u03b1 \u03b1\u03c6\u03b1\u03b9\u03c1\u03ad\u03c3\u03b5\u03c4\u03b5 \u03c4\u03bf\u03bd \u03b5\u03b1\u03c5\u03c4\u03cc \u03c3\u03b1\u03c2!",
  "User:" = "\u03a7\u03c1\u03ae\u03c3\u03c4\u03b7\u03c2 :",
  "Period:" = "\u03a0\u03b5\u03c1\u03af\u03b4\u03bf\u03c2 :",
  "Last week" = "\u03a4\u03b7\u03bd \u03c0\u03c1\u03bf\u03b7\u03b3\u03bf\u03cd\u03bc\u03b5\u03bd\u03b7 \u03b5\u03b2\u03b4\u03bf\u03bc\u03ac\u03b4\u03b1",
  "Last month" = "\u03a4\u03bf\u03bd \u03c0\u03c1\u03bf\u03b7\u03b3\u03bf\u03cd\u03bc\u03b5\u03bd\u03bf \u03bc\u03ae\u03bd\u03b1",
  "All period" = "\u038c\u03bb\u03b7 \u03b7 \u03c0\u03b5\u03c1\u03af\u03bf\u03b4\u03bf\u03c2",
  "Home" = "\u0391\u03c1\u03c7\u03b9\u03ba\u03ae",
  "Select all shown users" = "\u0395\u03c0\u03b9\u03bb\u03ad\u03be\u03c4\u03b5 \u03cc\u03bb\u03bf\u03c5\u03c2 \u03c4\u03bf\u03c5\u03c2 \u03b5\u03bc\u03c6\u03b1\u03bd\u03b9\u03b6\u03cc\u03bc\u03b5\u03bd\u03bf\u03c5\u03c2 \u03c7\u03c1\u03ae\u03c3\u03c4\u03b5\u03c2",
  "Remove selected users" = "\u039a\u03b1\u03c4\u03ac\u03c1\u03b3\u03b7\u03c3\u03b7 \u03b5\u03c0\u03b9\u03bb\u03b5\u03b3\u03bc\u03ad\u03bd\u03c9\u03bd \u03c7\u03c1\u03b7\u03c3\u03c4\u03ce\u03bd",
  "Edit selected users" = "\u0395\u03c0\u03b5\u03be\u03b5\u03c1\u03b3\u03b1\u03c3\u03af\u03b1 \u03b5\u03c0\u03b9\u03bb\u03b5\u03b3\u03bc\u03ad\u03bd\u03c9\u03bd \u03c7\u03c1\u03b7\u03c3\u03c4\u03ce\u03bd",
  "Force selected users to change password" = "\u0391\u03bd\u03b1\u03b3\u03ba\u03ac\u03c3\u03c4\u03b5 \u03c4\u03bf\u03c5\u03c2 \u03b5\u03c0\u03b9\u03bb\u03b5\u03b3\u03bc\u03ad\u03bd\u03bf\u03c5\u03c2 \u03c7\u03c1\u03ae\u03c3\u03c4\u03b5\u03c2 \u03bd\u03b1 \u03b1\u03bb\u03bb\u03ac\u03be\u03bf\u03c5\u03bd \u03ba\u03c9\u03b4\u03b9\u03ba\u03cc \u03c0\u03c1\u03cc\u03c3\u03b2\u03b1\u03c3\u03b7\u03c2",
  "Users" = "\u03a7\u03c1\u03ae\u03c3\u03c4\u03b5\u03c2",
  "Passwords" = "\u039a\u03c9\u03b4\u03b9\u03ba\u03bf\u03af \u03c0\u03c1\u03cc\u03c3\u03b2\u03b1\u03c3\u03b7\u03c2",
  "Download logs database" = "\u039b\u03ae\u03c8\u03b7 \u03b2\u03ac\u03c3\u03b7\u03c2 \u03b4\u03b5\u03b4\u03bf\u03bc\u03ad\u03bd\u03c9\u03bd \u03b1\u03c1\u03c7\u03b5\u03af\u03c9\u03bd \u03ba\u03b1\u03c4\u03b1\u03b3\u03c1\u03b1\u03c6\u03ae\u03c2 (logs)",
  "Download SQL database" = "\u039b\u03ae\u03c8\u03b7 \u03b2\u03ac\u03c3\u03b7\u03c2 \u03b4\u03b5\u03b4\u03bf\u03bc\u03ad\u03bd\u03c9\u03bd SQL",
  "Download Users file" = "\u039b\u03ae\u03c8\u03b7 \u03b1\u03c1\u03c7\u03b5\u03af\u03bf\u03c5 \u03a7\u03c1\u03ae\u03c3\u03c4\u03b5\u03c2",
  "Reset password for %s?" = "\u0395\u03c0\u03b1\u03bd\u03b1\u03c6\u03bf\u03c1\u03ac \u03ba\u03c9\u03b4\u03b9\u03ba\u03bf\u03cd \u03c0\u03c1\u03cc\u03c3\u03b2\u03b1\u03c3\u03b7\u03c2 \u03b3\u03b9\u03b1 %s?",
  "Reset password" = "\u0395\u03c0\u03b1\u03bd\u03b1\u03c6\u03bf\u03c1\u03ac \u03ba\u03c9\u03b4\u03b9\u03ba\u03bf\u03cd \u03c0\u03c1\u03cc\u03c3\u03b2\u03b1\u03c3\u03b7\u03c2",
  "Temporary password:" = "\u03a0\u03c1\u03bf\u03c3\u03c9\u03c1\u03b9\u03bd\u03cc\u03c2 \u03ba\u03c9\u03b4\u03b9\u03ba\u03cc\u03c2 \u03c0\u03c1\u03cc\u03c3\u03b2\u03b1\u03c3\u03b7\u03c2:",
  "Password succesfully reset!" = "\u039f \u03ba\u03c9\u03b4\u03b9\u03ba\u03cc\u03c2 \u03c0\u03c1\u03cc\u03c3\u03b2\u03b1\u03c3\u03b7\u03c2 \u03b5\u03c0\u03b1\u03bd\u03b1\u03c6\u03ad\u03c1\u03b8\u03b7\u03ba\u03b5 \u03bc\u03b5 \u03b5\u03c0\u03b9\u03c4\u03c5\u03c7\u03af\u03b1!",
  "You are not authorized for this application" = "\u0394\u03b5\u03bd \u03b5\u03af\u03c3\u03c4\u03b5 \u03b5\u03be\u03bf\u03c5\u03c3\u03b9\u03bf\u03b4\u03bf\u03c4\u03b7\u03bc\u03ad\u03bd\u03bf\u03b9 \u03b3\u03b9\u03b1 \u03b1\u03c5\u03c4\u03ae\u03bd \u03c4\u03b7\u03bd \u03b5\u03c6\u03b1\u03c1\u03bc\u03bf\u03b3\u03ae",
  "Language"  = "\u0393\u03bb\u03ce\u03c3\u03c3\u03b1",
  "Yes" = "\u039d\u03b1\u03b9",
  "No" = "\u038c\u03c7\u03b9",
  "Password" = "\u039a\u03c9\u03b4\u03b9\u03ba\u03cc\u03c2 \u03c0\u03c1\u03cc\u03c3\u03b2\u03b1\u03c3\u03b7\u03c2",
  "start" = "\u03b1\u03c1\u03c7\u03ae",
  "expire" = "\u03bb\u03ae\u03be\u03b7",
  "admin" = "\u0394\u03b9\u03b1\u03c7\u03b5\u03b9\u03c1\u03b9\u03c3\u03c4\u03ae\u03c2",
  "user" = "\u03a7\u03c1\u03ae\u03c3\u03c4\u03b7\u03c2",
  "Edit" = "\u03a4\u03c1\u03bf\u03c0\u03bf\u03c0\u03bf\u03af\u03b7\u03c3\u03b7",
  "Remove" = "\u0394\u03b9\u03b1\u03b3\u03c1\u03b1\u03c6\u03ae",
  "must_change" = "\u03a0\u03c1\u03ad\u03c0\u03b5\u03b9 \u03bd\u03b1 \u03b1\u03bb\u03bb\u03ac\u03be\u03b5\u03b9",
  "have_changed" = "\u0395\u03c7\u03b5\u03b9 \u03b1\u03bb\u03bb\u03ac\u03be\u03b5\u03b9",
  "date_change" = "\u0397\u03bc\u03b5\u03c1\u03bf\u03bc\u03b7\u03bd\u03af\u03b1",
  "Change password" = "\u0391\u03bb\u03bb\u03b1\u03b3\u03ae \u03ba\u03c9\u03b4\u03b9\u03ba\u03bf\u03cd \u03c0\u03c1\u03cc\u03c3\u03b2\u03b1\u03c3\u03b7\u03c2",
  "Select" = "\u0395\u03c0\u03b9\u03bb\u03ad\u03be\u03c4\u03b5",
  "Logs" = "\u0391\u03c1\u03c7\u03b5\u03af\u03b1 \u03ba\u03b1\u03c4\u03b1\u03b3\u03c1\u03b1\u03c6\u03ae\u03c2 (Logs)",
  "All users" = "\u038c\u03bb\u03bf\u03b9 \u03bf\u03b9 \u03c7\u03c1\u03ae\u03c3\u03c4\u03b5\u03c2",
  "Nb logged" = "\u03a3\u03b7\u03bc. \u03ba\u03b1\u03c4\u03b1\u03b3\u03c1\u03ac\u03c6\u03b7\u03ba\u03b5",
  "Allowed null values" = "\u0395\u03c0\u03b9\u03c4\u03c1\u03b5\u03c0\u03cc\u03bc\u03b5\u03bd\u03b5\u03c2 \u03bc\u03b7\u03b4\u03b5\u03bd\u03b9\u03ba\u03ad\u03c2 (null) \u03c4\u03b9\u03bc\u03ad\u03c2"
)


pkgEnv$label_id = list(
  "Please authenticate" = "Masuk",
  "Username:" = "Nama akun :",
  "Password:" = "Kata sandi :",
  "Login" = "Masuk",
  "Username or password are incorrect" = "Nama akun atau kata sandi salah",
  "Your account has expired" = "Akun Anda telah kadaluarsa",
  "Your account is locked" = "Akun Anda terkunci",
  "Please change your password" = "Harap ganti kata sandi Anda",
  "New password cannot be the same as old" = "Kata sandi baru tidak boleh sama dengan kata sandi lama",
  "New password:" = "Kata sandi baru :",
  "Confirm password:" = "Konfirmasi kata sandi :",
  "Update new password" = "Perbaharui kata sandi",
  "Password successfully updated! Please re-login" = "Kata sandi telah berhasil diubah! Harap masuk kembali.",
  "The two passwords are different" = "Dua kata sandi yang diberikan tidak sama",
  "Failed to update password" = "Gagal memperbarui kata sandi",
  "Logout" = "Keluar",
  "Go to application" = "Menuju applikasi",
  "Administrator mode" = "Mode administrator",
  "Add a user" = "Tambahkan akun",
  "Too many users" = "Jumlah akun terlalu banyak",
  "Maximum number of users : %s" = "Batasan jumlah akun : %s",
  "Failed to update user" = "Gagal memperbarui akun",
  "User successfully updated" = "Akun berhasil diperbaharui",
  "Cancel" = "Batalkan",
  "Confirm new user" = "Konfirmasi akun baru",
  "Confirm change" = "Konfirmasi perubahan",
  "Are you sure to remove user(s): %s from the database ?" = "Apakah Anda yakin ingin menghapus akun: %s dari basis data ?",
  "Delete user(s)" = "Hapus akun",
  "Delete user" = "Hapus akun",
  "Edit user" = "Perbarui akun",
  "User already exist!" = "Akun sudah ada!",
  "Dismiss" = "Batalkan",
  "New user %s succesfully created!" = "Akun baru %s berhasil ditambahkan!",
  "Ask to change password" = "Minta untuk mengganti kata sandi",
  "Confirm" = "Konfirmasi",
  "Ask %s to change password on next connection?" = "Minta %s untuk mengganti kata sandi pada koneksi berikutnya?",
  "Change saved!" = "Perubahan behasil disimpan!",
  "Failed to update the database" = "Gagal memperbarui basis data",
  "Password does not respect safety requirements" = "Kata sandi yang diberikan tidak memenuhi rekomendasi keamanan",
  "Password must contain at least one number, one lowercase, one uppercase and must be at least length 6." = "Kata sandi harus mengandung minimal satu angka, satu huruf kecil, satu huruf besar, dan terdiri atas minimal 6 karakter.",
  "Number of connections per user" = "Jumlah koneksi per akun",
  "Number of connections per day" = "Jumlah koneksi per hari",
  "Total number of connection" = "Total jumlah koneksi",
  "You can\'t remove yourself!" = "Anda tidak dapat menghapus diri sendiri!",
  "User:" = "Akun :",
  "Period:" = "Periode :",
  "Last week" = "Pekan sebelumnya",
  "Last month" = "Bulan sebelumnya",
  "All period" = "Seluruh periode",
  "Home" = "Beranda",
  "Select all shown users" = "Pilih semua akun yang ditampilkan",
  "Remove selected users" = "Hapus akun terpilih",
  "Edit selected users" = "Perbarui akun terpilih",
  "Force selected users to change password" = "Paksa akun terpilih untuk mengubah kata sandi",
  "Users" = "Akun",
  "Passwords" = "Kata sandi",
  "Download logs database" = "Unduh catatan histori basis data",
  "Download SQL database" = "Unduh basis data SQL",
  "Download Users file" = "Unduh berkas akun",
  "Reset password for %s?" = "Atur ulang kata sandi untuk %s?",
  "Reset password" = "Atur ulang kata sandi",
  "Temporary password:" = "Kata sandi sementara:",
  "Password succesfully reset!" = "Kata sandi berhasil diperbarui!",
  "You are not authorized for this application" = "Anda tidak memiliki akses untuk aplikasi ini",
  "Language"  = "Bahasa",
  "Yes" = "Ya",
  "No" = "Tidak",
  "Password" = "Kata sandi",
  "start" = "mulai",
  "expire" = "berakhir",
  "admin" = "Admin",
  "user" = "Akun",
  "Edit" = "Ubah",
  "Remove" = "Hapus",
  "must_change" = "Harus Diubah",
  "have_changed" = "Telah Diubah",
  "date_change" = "Tanggal",
  "Change password" = "Ganti kata sandi",
  "Select" = "Pilih",
  "Logs" = "Catatan histori",
  "All users" = "Semua akun",
  "Nb logged" = "Jumlah akses masuk",
  "Allowed null values" = "Nilai kosong diperbolehkan"
)

v_language_registered = c("en", "fr", "pt-BR", "es", "de", "pl", "ja", "el", "id", "zh-CN")
names(v_language_registered) = c("English", "Fran\u00e7ais", "Portuguese", "Espa\u00f1ol", "Deutsch", "Polski", "\u65e5\u672c\u8a9e", "\u0395\u03bb\u03bb\u03b7\u03bd\u03b9\u03ba\u03ac", "Indonesian", "\u4e2d\u6587")


#' @importFrom R6 R6Class
#' @importFrom utils modifyList
language <- R6::R6Class(
  classname = "shinymanager_language",
  public = list(
    initialize = function() {
      invisible(self)
    },
    set_language = function(lan) {
      if (!lan %in% private$language_registered) {
        stop("Unsupported language !", call. = FALSE)
      }
      private$language <- lan
      private$labels <-   switch(lan,
                                  "en" = pkgEnv$label_en,
                                  "fr" = pkgEnv$label_fr,
                                  "pt-BR" = pkgEnv$label_ptbr,
                                  "es" = pkgEnv$label_es,
                                  "de" = pkgEnv$label_de,
                                  "pl" = pkgEnv$label_pl,
                                  "ja" = pkgEnv$label_ja,
                                  "el" = pkgEnv$label_el,
                                  "id" = pkgEnv$label_id,
                                  "zh-CN" = pkgEnv$label_cn
      )
    },
    get = function(label) {
      value <- private$labels[[label]]
      if (is.null(value)) {
        label
      } else {
        value
      }
    },
    get_all = function() {
      private$labels
    },
    get_DT = function() {
      private$DT_lan[[private$language]]
    },
    get_dateInput = function() {
      private$dateInput_lan[[private$language]]
    },
    get_language_registered = function() {
      private$language_registered
    },
    get_language = function() {
      private$language
    }
  ),
  private = list(
    language = "en",
    language_registered = v_language_registered,
    labels = pkgEnv$label_en,
    dateInput_lan = list(
      "en" = "en",
      "fr" = "fr",
      "pt-BR" = "pt-BR",
      "es" = "es",
      "de" = "de",
      "pl" = "pl",
      "ja" = "ja",
      "el" = "el", 
      "id" = "id", 
      "zh-CN" = "zh-CN"
    ),
    DT_lan = list(
      fr = list(
        sProcessing = "Traitement en cours...", sSearch = "Rechercher&nbsp;:",
        sLengthMenu = "Afficher _MENU_ &eacute;l&eacute;ments",
        sInfo = "Affichage de l\'&eacute;l&eacute;ment _START_ &agrave; _END_ sur _TOTAL_ &eacute;l&eacute;ments",
        sInfoEmpty = "Affichage de l\'&eacute;l&eacute;ment 0 &agrave; 0 sur 0 &eacute;l&eacute;ment",
        sInfoFiltered = "(filtr&eacute; de _MAX_ &eacute;l&eacute;ments au total)",
        sInfoPostFix = "", sLoadingRecords = "Chargement en cours...",
        sZeroRecords = "Aucun &eacute;l&eacute;ment &agrave; afficher",
        sEmptyTable = "Aucune donn&eacute;e disponible dans le tableau",
        oPaginate = list(
          sFirst = "Premier", sPrevious = "Pr&eacute;c&eacute;dent",
          sNext = "Suivant", sLast = "Dernier"
        ),
        oAria = list(
          sSortAscending = ": activer pour trier la colonne par ordre croissant",
          sSortDescending = ": activer pour trier la colonne par ordre d&eacute;croissant"
        )
      ),
      en = list(
        sEmptyTable = "No data available in table",
        sInfo = "Showing _START_ to _END_ of _TOTAL_ entries",
        sInfoEmpty = "Showing 0 to 0 of 0 entries",
        sInfoFiltered = "(filtered from _MAX_ total entries)",
        sInfoPostFix = "",
        sInfoThousands = ",",
        sLengthMenu = "Show _MENU_ entries",
        sLoadingRecords = "Loading...",
        sProcessing = "Processing...",
        sSearch = "Search:",
        sZeroRecords = "No matching records found",
        oPaginate = list(
          sFirst = "First",
          sLast = "Last",
          sNext = "Next",
          sPrevious = "Previous"
        ),
        oAria = list(
          sSortAscending = ": activate to sort column ascending",
          sSortDescending = ": activate to sort column descending"
        )
      ),
      `pt-BR` = list(
        sEmptyTable = "Nenhum dado dispon\u00edvel na tabela",
        sInfo = "Mostrando entrada de _START_ at\u00e9 _END_ de um total de _TOTAL_ entradas",
        sInfoEmpty = "Mostrando entrada de 0 at\u00e9 0 de um total de 0 entradas",
        sInfoFiltered = "(filtrado de um total de _MAX_ entradas)",
        sInfoPostFix = "",
        sInfoThousands = ",",
        sLengthMenu = "Mostrar _MENU_ entradas",
        sLoadingRecords = "Carregando...",
        sProcessing = "Processando...",
        sSearch = "Busca:",
        sZeroRecords = "Nenhum registro compat\u00edvel encontrado",
        oPaginate = list(
          sFirst = "Primeiro",
          sLast = "\u00daltimo",
          sNext = "Pr\u00f3ximo",
          sPrevious = "Anterior"
        ),
        oAria = list(
          sSortAscending = ": ativar para ordenar coluna de forma ascendente",
          sSortDescending = ": ativar para ordenar coluna de forma descendente"
        )
      ),
      es = list(
        sEmptyTable = "No se encontraron resultados",
        sInfo = "Mostrando registros del _START_ al _END_ de un total de _TOTAL_ registros",
        sInfoEmpty = "Mostrando registros del 0 al 0 de 0 registros",
        sInfoFiltered = "(filtrado de un total de _MAX_ registros)",
        sInfoPostFix = "",
        sInfoThousands = ",",
        sLengthMenu = "Mostrar _MENU_ registros",
        sLoadingRecords = "Cargando...",
        sProcessing = "Procesando...",
        sSearch = "Buscar:",
        sZeroRecords = "No se encontraron resultados",
        oPaginate = list(
          sFirst = "Primera",
          sLast = "\u00daltima",
          sNext = "Siguiente",
          sPrevious = "Anterior"
        ),
        oAria = list(
          sSortAscending = ": activar para ordenar la columna de forma ascendente",
          sSortDescending = ": activar para ordenar la columna de forma descendente"
        )
      ),
      de = list(
        sEmptyTable = "Keine Daten in der Tabelle vorhanden",
        sInfo = "Zeige _START_ bis _END_ von _TOTAL_ Eintr\u00e4ge",
        sInfoEmpty = "Zeige 0 bis 0 von 0 Eintr\u00e4ge",
        sInfoFiltered = "(gefiltert von _MAX_ total entries)",
        sInfoPostFix = "",
        sInfoThousands = ",",
        sLengthMenu = "Zeige _MENU_ Eintr\u00e4ge",
        sLoadingRecords = "Wird geladen...",
        sProcessing = "Wird verarbeitet...",
        sSearch = "Suche:",
        sZeroRecords = "Keine passenden Eitr\u00e4ge gefunden",
        oPaginate = list(
          sFirst = "Erste",
          sLast = "Letzte",
          sNext = "N\u00e4chste",
          sPrevious = "Zur\u00fcck"
        ),
        oAria = list(
          sSortAscending = ": aktivieren, um Spalte aufsteigend zu sortieren",
          sSortDescending = ": aktivieren, um Spalte absteigend zu sortieren"
        )
      ),
      pl = list(
        sEmptyTable = "Brak danych w tabeli",
        sInfo = "Pokazuje _START_ do _END_ z _TOTAL_ pozycji",
        sInfoEmpty = "Pokazuje 0 do 0 z 0 pozycji",
        sInfoFiltered = "(przefiltrowano z _MAX_ wszystkich pozycji)",
        sInfoPostFix = "",
        sInfoThousands = ",",
        sLengthMenu = "Poka\u017c _MENU_ pozycje",
        sLoadingRecords = "\u0141adowanie...",
        sProcessing = "Przetwarzanie...",
        sSearch = "Wyszukaj:",
        sZeroRecords = "Brak pasuj\u0105cych pozycji",
        oPaginate = list(
          sFirst = "Pierwsza",
          sLast = "Ostatnia",
          sNext = "Nast\u0119pna",
          sPrevious = "Poprzednia"
        ),
        oAria = list(
          sSortAscending = ": aktywuj aby sortowa\u0107 wzrastaj\u0105co",
          sSortDescending = ": aktywuj aby sortowa\u0107 zst\u0119puj\u0105co"
        )
      ),
      ja = list(
        sEmptyTable = "\u30c6\u30fc\u30d6\u30eb\u306b\u30c7\u30fc\u30bf\u304c\u5b58\u5728\u3057\u307e\u305b\u3093",
        sInfo = " _START_ \u304b\u3089 _END_ \u307e\u3067\u306e _TOTAL_ \u4ef6\u306e\u30a8\u30f3\u30c8\u30ea\u30fc\u3092\u8868\u793a\u3057\u3066\u3044\u307e\u3059",
        sInfoEmpty = " 0 \u304b\u3089 0 \u307e\u3067\u306e 0 \u4ef6\u306e\u30a8\u30f3\u30c8\u30ea\u30fc\u3092\u8868\u793a\u3057\u3066\u3044\u307e\u3059",
        sInfoFiltered = "(_MAX_ \u4ef6\u306e\u30a8\u30f3\u30c8\u30ea\u30fc\u304b\u3089\u62bd\u51fa\u3055\u308c\u307e\u3057\u305f)",
        sInfoPostFix = "",
        sInfoThousands = ",",
        sLengthMenu = "_MENU_ \u30a8\u30f3\u30c8\u30ea\u30fc\u3092\u8868\u793a",
        sLoadingRecords = "\u8aad\u307f\u8fbc\u307f\u4e2d...",
        sProcessing = "\u51e6\u7406\u4e2d...",
        sSearch = "\u691c\u7d22:",
        sZeroRecords = "\u7d50\u679c\u306b\u4e00\u81f4\u3059\u308b\u30ec\u30b3\u30fc\u30c9\u306f\u898b\u3064\u304b\u308a\u307e\u305b\u3093\u3067\u3057\u305f",
        oPaginate = list(
          sFirst = "\u6700\u521d",
          sLast = "\u6700\u5f8c",
          sNext = "\u6b21",
          sPrevious = "\u524d"
        ),
        oAria = list(
          sSortAscending = ": \u30a2\u30af\u30c6\u30a3\u30d6\u306b\u3057\u3066\u5217\u3092\u6607\u9806\u306b\u4e26\u3079\u308b",
          sSortDescending = ": \u30a2\u30af\u30c6\u30a3\u30d6\u306b\u3057\u3066\u5217\u3092\u964d\u9806\u306b\u4e26\u3079\u308b"
        )
      ),
      cn = list(
        sEmptyTable = "\u8868\u683c\u4e2d\u6ca1\u6709\u6709\u6548\u6570\u636e",
        sInfo = "\u663e\u793a\u7b2c _START_ \u5230\u7b2c _END_ \u9879\u7ed3\u679c\uff0c\u5171 _TOTAL_ \u9879",
        sInfoEmpty = "\u663e\u793a\u7b2c 0 \u5230\u7b2c 0 \u9879\u7ed3\u679c\uff0c\u5171 0 \u9879",
        sInfoFiltered = "(\u4ece _MAX_ \u6761\u7ed3\u679c\u4e2d\u8fc7\u6ee4)",
        sInfoPostFix = "",
        sInfoThousands = ",",
        sLengthMenu = "\u663e\u793a _MENU_ \u9879\u7ed3\u679c",
        sLoadingRecords = "\u52a0\u8f7d\u4e2d...",
        sProcessing = "\u5904\u7406\u4e2d...",
        sSearch = "\u641c\u7d22\uff1a",
        sZeroRecords = "\u6ca1\u6709\u627e\u5230\u5339\u914d\u7684\u8bb0\u5f55",
        oPaginate = list(
          sFirst = "\u9996\u9875",
          sLast = "\u672b\u9875",
          sNext = "\u4e0b\u4e00\u9875",
          sPrevious = "\u4e0a\u4e00\u9875"
        ),
        oAria = list(
          sSortAscending = "\uff1a\u5347\u5e8f\u6392\u5217",
          sSortDescending = "\uff1a\u964d\u5e8f\u6392\u5217"
        )
      ),
      el = list(
        sEmptyTable = "\u0394\u03b5\u03bd \u03c5\u03c0\u03b1\u03c1\u03c7\u03bf\u03c5\u03bd \u03b4\u03b9\u03b1\u03b8\u03ad\u03c3\u03b9\u03bc\u03b1 \u03b4\u03b5\u03b4\u03bf\u03bc\u03ad\u03bd\u03b1 \u03c3\u03c4\u03bf \u03c0\u03af\u03bd\u03b1\u03ba\u03b1",
        sInfo = "\u0395\u03bc\u03c6\u03b1\u03bd\u03af\u03b6\u03bf\u03bd\u03c4\u03b1\u03b9 _START_ \u03ad\u03c9\u03c2 _END_ \u03b1\u03c0\u03cc _TOTAL_ \u03ba\u03b1\u03c4\u03b1\u03c7\u03c9\u03c1\u03ae\u03c3\u03b5\u03b9\u03c2",
        sInfoEmpty = "\u0395\u03bc\u03c6\u03b1\u03bd\u03af\u03b6\u03bf\u03bd\u03c4\u03b9 0 \u03b1\u03c0\u03cc 0 \u03ad\u03c9\u03c2 0 \u03ba\u03b1\u03c4\u03b1\u03c7\u03c9\u03c1\u03ae\u03c3\u03b5\u03b9\u03c2",
        sInfoFiltered = "(\u03c6\u03b9\u03bb\u03c4\u03c1\u03b1\u03c1\u03af\u03c3\u03c4\u03b7\u03ba\u03b5 \u03b1\u03c0\u03cc _MAX_ \u03c3\u03c5\u03bd\u03bf\u03bb\u03b9\u03ba\u03ad\u03c2 \u03ba\u03b1\u03c4\u03b1\u03c7\u03c9\u03c1\u03ae\u03c3\u03b5\u03b9\u03c2)",
        sInfoPostFix = "",
        sInfoThousands = ",",
        sLengthMenu = "\u0395\u03bc\u03c6\u03ac\u03bd\u03b9\u03c3\u03b7 _MENU_ \u03ba\u03b1\u03c4\u03b1\u03c7\u03c9\u03c1\u03ae\u03c3\u03b5\u03c9\u03bd",
        sLoadingRecords = "\u03a6\u03cc\u03c1\u03c4\u03c9\u03c3\u03b7...",
        sProcessing = "\u0395\u03c0\u03b5\u03be\u03b5\u03c1\u03b3\u03b1\u03c3\u03af\u03b1...",
        sSearch = "\u0391\u03bd\u03b1\u03b6\u03ae\u03c4\u03b7\u03c3\u03b7:",
        sZeroRecords = "\u0394\u03b5\u03bd \u03b2\u03c1\u03ad\u03b8\u03b7\u03ba\u03b1\u03bd \u03b1\u03bd\u03c4\u03af\u03c3\u03c4\u03bf\u03b9\u03c7\u03b5\u03c2 \u03ba\u03b1\u03c4\u03b1\u03c7\u03c9\u03c1\u03ae\u03c3\u03b5\u03b9\u03c2",
        oPaginate = list(
          sFirst = "\u03a0\u03c1\u03ce\u03c4\u03b7",
          sLast = "\u03a4\u03b5\u03bb\u03b5\u03c5\u03c4\u03b1\u03af\u03b1",
          sNext = "\u0395\u03c0\u03cc\u03bc\u03b5\u03bd\u03b7",
          sPrevious = "\u03a0\u03c1\u03bf\u03b7\u03b3\u03bf\u03cd\u03bc\u03b5\u03bd\u03b7"
        ),
        oAria = list(
          sSortAscending = ": \u03b5\u03bd\u03b5\u03c1\u03b3\u03bf\u03c0\u03bf\u03af\u03b7\u03c3\u03b7 \u03b3\u03b9\u03b1 \u03b1\u03cd\u03be\u03bf\u03c5\u03c3\u03b1 \u03c4\u03b1\u03be\u03b9\u03bd\u03cc\u03bc\u03b7\u03c3\u03b7 \u03c3\u03c4\u03b7\u03bb\u03ce\u03bd",
          sSortDescending = ": \u03b5\u03bd\u03b5\u03c1\u03b3\u03bf\u03c0\u03bf\u03b9\u03ae\u03c3h \u03b3\u03b9\u03b1 \u03c6\u03b8\u03af\u03bd\u03bf\u03c5\u03c3\u03b1 \u03c4\u03b1\u03be\u03b9\u03bd\u03cc\u03bc\u03b7\u03c3\u03b7 \u03c3\u03c4\u03b7\u03bb\u03ce\u03bd"
        )
      ),
      id = list(
        sEmptyTable = "Tidak ada data tersedia pada tabel ini",
        sInfo = "Menampilkan _START_ sampai _END_ dari _TOTAL_ entri",
        sInfoEmpty = "Menampilkan 0 sampai 0 dari 0 entri",
        sInfoFiltered = "(disaring dari _MAX_ entri keseluruhan)",
        sInfoPostFix = "",
        sInfoThousands = ",",
        sLengthMenu = "Menampilkan entri _MENU_",
        sLoadingRecords = "Sedang memuat...",
        sProcessing = "Sedang memproses...",
        sSearch = "Cari:",
        sZeroRecords = "Tidak ditemukan data yang sesuai",
        oPaginate = list(
          sFirst = "Pertama",
          sLast = "Sebelumnya",
          sNext = "Selanjutnya",
          sPrevious = "Terakhir"
        ),
        oAria = list(
          sSortAscending = ": aktifkan untuk mengurutkan kolom secara naik",
          sSortDescending = ": aktifkan untuk mengurutkan kolom secara turun"
        )
      )
    ),
    length = function() base::length(private$labels)
  )
)


#' @title Use {shinymanager} labels
#'
#' @description See all labels registered with \code{get_labels()},
#'  then set custom text with \code{set_labels()}.
#'
#' @param lan Language to use for labels, supported values are : "en", "fr", "pt-BR", "es", "de", "pl", "ja", "el", "id", "zh-CN".
#'
#' @return A language object
#' @export
#'
#'
#' @examples
#'
#' use_language(lan = "fr")
#'
use_language <- function(lan = "en") {
  lang <- language$new()
  lang$set_language(lan)
  lang
}

#' @title Modify {shinymanager} labels to use custom text
#'
#' @description See all labels registered with \code{get_labels()},
#'  then set custom text with \code{set_labels()}.
#'
#' @param language Language to use for labels, supported values are :  "en", "fr", "pt-BR", "es", "de", "pl", "ja", "el", "id", "zh-CN".
#' @param ... A named list with labels to replace.
#'
#' @return \code{get_labels()} return a named list with all labels registered.
#' @export
#'
#' @name custom-labels
#'
#' @examples
#'
#' # In global.R for example:
#' set_labels(
#'   language = "en",
#'   "Please authenticate" = "You have to login",
#'   "Username:" = "What's your name:",
#'   "Password:" = "Enter your password:"
#' )
set_labels <- function(language, ...) {
  
  if (!language %in% c("en", "fr", "pt-BR", "es", "de", "pl", "ja", "el", "id", "zh-CN")) {
    stop("Only supported language for the now are: en, fr, pt-BR, es, de, pl, ja, el, id, zh-CN", call. = FALSE)
  }
  args <- list(...)
  if (!all(nzchar(names(args)))) {
    stop("All arguments must be named!", call. = FALSE)
  }

  current_labels <- switch(language,
                   "en" = pkgEnv$label_en,
                   "fr" = pkgEnv$label_fr,
                   "pt-BR" = pkgEnv$label_ptbr,
                   "es" = pkgEnv$label_es,
                   "de" = pkgEnv$label_de,
                   "pl" = pkgEnv$label_pl,
                   "ja" = pkgEnv$label_ja,
                   "el" = pkgEnv$label_el,
                   "id" = pkgEnv$label_id,
                   "zh-CN" = pkgEnv$label_cn
  )

  update_labels <- modifyList(
    x = current_labels,
    val = lapply(args, I)
  )

  if (language %in% "en") {
    pkgEnv$label_en <- update_labels
  } else if (language %in% "fr") {
    pkgEnv$label_fr <- update_labels
  } else if (language %in% "pt-BR") {
    pkgEnv$label_ptbr <- update_labels
  } else if (language %in% "es") {
    pkgEnv$label_es <- update_labels
  } else if (language %in% "de") {
    pkgEnv$label_de <- update_labels
  } else if (language %in% "pl") {
    pkgEnv$label_pl <- update_labels
  } else if (language %in% "ja") {
    pkgEnv$label_ja <- update_labels
  } else if(language %in% "zh-CN"){
    pkgEnv$label_cn <- update_labels
  } else if (language %in% "el") {
    pkgEnv$label_el <- update_labels
  } else if (language %in% "id") {
    pkgEnv$label_id <- update_labels
  }

  invisible(TRUE)
}

#' @export
#'
#' @rdname custom-labels
get_labels <- function(language = "en") {

  if (!language %in% c("en", "fr", "pt-BR", "es", "de", "pl", "ja", "el", "id", "zh-CN")) {
    warning("Only supported language for the now are: en, fr, pt-BR, es, de, pl, ja, el, id, zh-CN", call. = FALSE)
    language <- "en"
  }

  switch(language,
          "en" = pkgEnv$label_en,
          "fr" = pkgEnv$label_fr,
          "pt-BR" = pkgEnv$label_ptbr,
          "es" = pkgEnv$label_es,
          "de" = pkgEnv$label_de,
          "pl" = pkgEnv$label_pl,
          "ja" = pkgEnv$label_ja,
          "zh-CN" = pkgEnv$label_cn,
          "el" = pkgEnv$label_el,
          "id" = pkgEnv$label_id
  )
}
datastorm-open/shinymanager documentation built on April 23, 2024, 10:14 p.m.