API & Client - update API error messages to remove i18n workarounds
This commit is contained in:
@ -1,21 +1,30 @@
|
||||
{
|
||||
"ERROR": {
|
||||
"UNKNOWN": "Error. Please try again or contact the administrator.",
|
||||
"Error, Please try again or contact the administrator": "Error. Please try again or contact the administrator.",
|
||||
"File extension not allowed": "File extension not allowed.",
|
||||
"File size is greater than the allowed size": "File size is greater than the allowed size.",
|
||||
"Invalid credentials": "Invalid credentials.",
|
||||
"Invalid payload": "Invalid data.",
|
||||
"Invalid token, Please log in again": "Invalid token. Please log in again.",
|
||||
"email: valid email must be provided": "Email: valid email must be provided.",
|
||||
"error on getting configuration": "Error on getting configuration.",
|
||||
"error when updating configuration": "Error when updating configuration",
|
||||
"error, please try again or contact the administrator": "Error, please try again or contact the administrator.",
|
||||
"error, registration is disabled": "Error, registration is disabled.",
|
||||
"file extension not allowed": "File extension not allowed.",
|
||||
"file size is greater than the allowed size": "File size is greater than the allowed size.",
|
||||
"invalid credentials": "Invalid credentials.",
|
||||
"invalid payload": "Provided data are invalid.",
|
||||
"invalid token, please log in again": "Invalid token, please log in again.",
|
||||
"invalid token, please request a new token": "Invalid token, please log in again.",
|
||||
"Network Error": "Network Error.",
|
||||
"No file part": "No file provided.",
|
||||
"No selected file": "No selected file.",
|
||||
"Provide a valid auth token": "Provide a valid auth token.",
|
||||
"Password and password confirmation don't match": "Password and password confirmation don't match.",
|
||||
"Password: 8 characters required": "Password: 8 characters required.",
|
||||
"Signature expired, Please log in again": "Signature expired. Please log in again.",
|
||||
"Username: 3 to 12 characters required": "Username: 3 to 12 characters required.",
|
||||
"Valid email must be provided": "Valid email must be provided."
|
||||
"no file part": "No file provided.",
|
||||
"no selected file": "No selected file.",
|
||||
"password: password and password confirmation do not match": "Password: password and password confirmation don't match.",
|
||||
"provide a valid auth token": "Provide a valid auth token.",
|
||||
"password: 8 characters required": "Password: 8 characters required.",
|
||||
"sorry, that user already exists": "Sorry, that user already exists.",
|
||||
"sport does not exist": "Sport does not exist.",
|
||||
"signature expired, please log in again": "Signature expired. Please log in again.",
|
||||
"successfully registered": "Successfully registered.",
|
||||
"user does not exist": "User does not exist.",
|
||||
"username: 3 to 12 characters required": "Username: 3 to 12 characters required.",
|
||||
"you do not have permissions": "You do not have permissions."
|
||||
},
|
||||
"PAGINATION": {
|
||||
"PREVIOUS": "previous",
|
||||
|
@ -27,6 +27,7 @@
|
||||
"NEXT_SEGMENT": "No next segment",
|
||||
"NEXT_WORKOUT": "Next workout",
|
||||
"NO_DATA_CLEANING": "data from gpx, without any cleaning",
|
||||
"NO_FILE_PROVIDED": "No file provided",
|
||||
"NO_FOLDER": "no folder inside",
|
||||
"NO_MAP": "No map",
|
||||
"NO_NEXT_SEGMENT": "No next segment",
|
||||
|
Reference in New Issue
Block a user