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.",
|
2016-01-12 16:27:06 +00:00
|
|
|
"memberIdRequired": "\"member\" must be a valid UUID.",
|
2015-12-29 19:57:20 +00:00
|
|
|
"taskIdRequired": "\"taskId\" must be a valid UUID.",
|
2015-11-28 16:47:32 +00:00
|
|
|
"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",
|
2016-01-17 11:01:57 +00:00
|
|
|
"challengeMemberNotFound": "User not found among challenge's members",
|
2016-01-16 15:18:06 +00:00
|
|
|
"mustBeGroupMember": "Must be member of the group.",
|
2015-12-27 16:24:55 +00:00
|
|
|
"keepOrRemoveAll": "req.query.keep must be either \"keep-all\" or \"remove-all\"",
|
2016-01-14 18:46:43 +00:00
|
|
|
"keepOrRemove": "req.query.keep must be either \"keep\" or \"remove\"",
|
2016-01-07 18:32:59 +00:00
|
|
|
"canOnlyInviteEmailUuid": "Can only invite using uuids or emails.",
|
2015-12-28 11:14:56 +00:00
|
|
|
"inviteMissingEmail": "Missing email address in invite.",
|
|
|
|
|
"onlyGroupLeaderChal": "Only the group leader can create challenges",
|
|
|
|
|
"pubChalsMinPrize": "Prize must be at least 1 Gem for public challenges.",
|
2015-12-29 19:57:20 +00:00
|
|
|
"cantAfford": "You can't afford this prize. Purchase more gems or lower the prize amount.",
|
|
|
|
|
"challengeIdRequired": "\"challengeId\" must be a valid UUID.",
|
|
|
|
|
"winnerIdRequired": "\"winnerId\" must be a valid UUID.",
|
|
|
|
|
"challengeNotFound": "Challenge not found.",
|
|
|
|
|
"onlyLeaderDeleteChal": "Only the challenge leader can delete it.",
|
2016-01-27 11:22:24 +00:00
|
|
|
"onlyLeaderUpdateChal": "Only the challenge leader can update it.",
|
2016-01-11 18:35:46 +00:00
|
|
|
"winnerNotFound": "Winner with id \"<%= userId %>\" not found or not part of the challenge.",
|
2016-01-04 18:44:39 +00:00
|
|
|
"noCompletedTodosChallenge": "\"includeComepletedTodos\" is not supported when fetching a challenge tasks.",
|
2016-01-04 19:48:48 +00:00
|
|
|
"userTasksNoChallengeId": "When \"tasksOwner\" is \"user\" \"challengeId\" can't be passed.",
|
2016-01-04 21:03:21 +00:00
|
|
|
"onlyChalLeaderEditTasks": "Tasks belonging to a challenge can only be edited by the leader.",
|
2016-01-17 15:06:10 +00:00
|
|
|
"userAlreadyInChallenge": "User is already participating in this challenge.",
|
2016-01-14 17:25:59 +00:00
|
|
|
"invalidTasksOwner": "\"tasksOwner\" must be \"user\" or \"challenge\".",
|
2016-01-12 14:48:47 +00:00
|
|
|
"partyMustbePrivate": "Parties must be private",
|
2016-01-07 18:32:59 +00:00
|
|
|
"userAlreadyInGroup": "User already in that group.",
|
|
|
|
|
"userAlreadyInvitedToGroup": "User already invited to that group.",
|
|
|
|
|
"userAlreadyPendingInvitation": "User already pending invitation.",
|
|
|
|
|
"userAlreadyInAParty": "User already in a party.",
|
|
|
|
|
"userWithIDNotFound": "User with id \"<%= userId %>\" not found.",
|
|
|
|
|
"uuidsMustBeAnArray": "UUIDs invites must be a an Array.",
|
2016-01-12 14:33:02 +00:00
|
|
|
"emailsMustBeAnArray": "Email invites must be a an Array.",
|
2016-01-14 18:46:43 +00:00
|
|
|
"canOnlyInviteMaxInvites": "You can only invite \"<%= maxInvites %>\" at a time",
|
2016-01-21 22:31:54 +00:00
|
|
|
"cantOnlyUnlinkChalTask": "Only challenges tasks can be unlinked.",
|
2016-01-30 17:10:33 +00:00
|
|
|
"onlyCreatorOrAdminCanDeleteChat": "Not authorized to delete this message!",
|
2016-01-22 21:59:34 +00:00
|
|
|
"questInviteNotFound": "No quest invitation found.",
|
|
|
|
|
"guildQuestsNotSupported": "Guilds cannot be invited on quests.",
|
|
|
|
|
"questNotFound": "Quest \"<%= key %>\" not found.",
|
|
|
|
|
"questNotOwned": "You don't own that quest scroll.",
|
|
|
|
|
"questLevelTooHigh": "You must be Level <%= level %> to begin this quest.",
|
2016-02-10 21:27:59 +00:00
|
|
|
"questAlreadyUnderway": "Your party is already on a quest. Try again when the current quest has ended.",
|
2016-02-11 14:16:29 +00:00
|
|
|
"questAlreadyAccepted": "You already accepted the quest invitation.",
|
2016-02-11 14:32:25 +00:00
|
|
|
"noActiveQuestToAbort": "There is no active quest to abort.",
|
|
|
|
|
"onlyLeaderAbortQuest": "Only the group or quest leader can abort a quest."
|
2015-11-18 17:02:35 +00:00
|
|
|
}
|