2015-11-18 17:02:35 +00:00
|
|
|
{
|
|
|
|
|
"missingAuthHeaders": "Missing authentication headers.",
|
|
|
|
|
"missingUsernameEmail": "Missing username or email.",
|
2015-11-19 20:09:39 +00:00
|
|
|
"missingEmail": "Missing email.",
|
|
|
|
|
"missingUsername": "Missing username.",
|
2015-11-18 17:02:35 +00:00
|
|
|
"missingPassword": "Missing password.",
|
2015-11-23 11:47:15 +00:00
|
|
|
"notAnEmail": "Invalid email address.",
|
2015-11-19 11:13:54 +00:00
|
|
|
"emailTaken": "Email already taken.",
|
|
|
|
|
"usernameTaken": "Username already taken.",
|
|
|
|
|
"passwordConfirmationMatch": "Password confirmation doesn't match password.",
|
2015-11-18 17:02:35 +00:00
|
|
|
"invalidLoginCredentials": "Incorrect username / email and / or password.",
|
|
|
|
|
"invalidCredentials": "User not found with given auth credentials.",
|
2015-11-21 11:03:08 +00:00
|
|
|
"accountSuspended": "Account has been suspended, please contact leslie@habitica.com with your UUID \"<%= userId %>\" for assistance.",
|
|
|
|
|
"onlyFbSupported": "Only Facebook supported currently.",
|
2015-11-23 11:47:15 +00:00
|
|
|
"cantDetachFb": "Account lacks another authentication method, can't detach Facebook.",
|
|
|
|
|
"onlySocialAttachLocal": "Local auth can only be added to a social account.",
|
2015-11-28 16:47:32 +00:00
|
|
|
"invalidReqParams": "Invalid request parameters.",
|
|
|
|
|
"taskIdRequired": "\"taskId\" must be a valid UUID",
|
|
|
|
|
"taskNotFound": "Task not found.",
|
2015-11-29 18:05:24 +00:00
|
|
|
"invalidTaskType": "Task type must be one of \"habit\", \"daily\", \"todo\", \"reward\".",
|
2015-11-30 16:25:40 +00:00
|
|
|
"cantDeleteChallengeTasks": "A task belonging to a challenge can't be deleted.",
|
|
|
|
|
"checklistOnlyDailyTodo": "Checklists are supported only on dailies and todos",
|
2015-12-03 18:19:53 +00:00
|
|
|
"checklistItemNotFound": "No checklist item was found with given id.",
|
|
|
|
|
"itemIdRequired": "\"itemId\" must be a valid UUID.",
|
|
|
|
|
"tagNotFound": "No tag item was found with given id.",
|
|
|
|
|
"tagIdRequired": "\"tagId\" must be a valid UUID corresponding to a tag belonging to the user.",
|
2015-11-30 19:22:22 +00:00
|
|
|
"positionRequired": "\"position\" is required and must be a number.",
|
2015-12-02 10:22:53 +00:00
|
|
|
"cantMoveCompletedTodo": "Can't move a completed todo.",
|
2015-12-03 18:19:53 +00:00
|
|
|
"directionUpDown": "\"direction\" is required and must be 'up' or 'down'",
|
2015-12-16 22:29:20 +00:00
|
|
|
"alreadyTagged": "The task is already tagged with given tag.",
|
|
|
|
|
"groupIdRequired": "\"groupId\" must be a valid UUID",
|
2015-12-18 16:26:49 +00:00
|
|
|
"groupNotFound": "Group not found.",
|
2015-12-21 10:53:47 +00:00
|
|
|
"groupTypesRequired": "You must supply a valid \"type\" query string.",
|
|
|
|
|
"questLeaderCannotLeaveGroup": "You cannot leave your party when you have started a quest. Abort the quest first.",
|
|
|
|
|
"cannotLeaveWhileActiveQuest": "You cannot leave party during an active quest. Please leave the quest first.",
|
|
|
|
|
"onlyLeaderCanRemoveMember": "Only group leader can remove a member!",
|
|
|
|
|
"memberCannotRemoveYourself": "You cannot remove yourself!",
|
|
|
|
|
"groupMemberNotFound": "User not found among group's members",
|
|
|
|
|
"keepOrRemoveAll": "req.query.keep must be either \"keep-all\" or \"remove-all\""
|
2015-11-18 17:02:35 +00:00
|
|
|
}
|