feat: Authentication localization
This commit is contained in:
@@ -1,4 +1,22 @@
|
||||
{
|
||||
"loginrequired": "Login required",
|
||||
"loginusing": "Log in using...",
|
||||
"loginusingalt": "Or, log in using...",
|
||||
"fields": {
|
||||
"emailuser": "Email / Username",
|
||||
"password": "Password"
|
||||
},
|
||||
"actions": {
|
||||
"login": "Log In"
|
||||
},
|
||||
"errors": {
|
||||
"invalidlogin": "Invalid Login",
|
||||
"invalidloginmsg": "The email or password is invalid.",
|
||||
"loginerror": "Login error",
|
||||
"toomanyattempts": "Too many attempts!",
|
||||
"toomanyattemptsmsg": "You've made too many failed attempts in a short period of time, please try again {{time}}.",
|
||||
"usernotfound": "User not found"
|
||||
},
|
||||
"providers": {
|
||||
"local": "Local",
|
||||
"windowslive": "Microsoft Account",
|
||||
@@ -9,4 +27,4 @@
|
||||
"slack": "Slack",
|
||||
"ldap": "LDAP / Active Directory"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
19
server/locales/en/errors.json
Normal file
19
server/locales/en/errors.json
Normal file
@@ -0,0 +1,19 @@
|
||||
{
|
||||
"generic": "Oops, something went wrong",
|
||||
"notexistdetail": "Would you like to create this entry?",
|
||||
"forbidden": "Forbidden",
|
||||
"forbiddendetail": "Sorry, you don't have the necessary permissions to access this page.",
|
||||
"unauthorized": "Unauthorized",
|
||||
"debugmsg": "Detailed debug trail",
|
||||
"invalidaction": "Invalid Action.",
|
||||
"invalidpath": "Invalid page path.",
|
||||
"invaliduserid": "Invalid User Id",
|
||||
"reservedname": "You cannot create a document with this name as it is reserved by the system.",
|
||||
"alreadyexists": "This entry already exists!",
|
||||
"starterfailed": "Could not load starter content!",
|
||||
"actions": {
|
||||
"create": "Create",
|
||||
"gohome": "Go Home",
|
||||
"loginas": "Login as..."
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user