forked from qualitance/ldir-web
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathAPI_codes.json
58 lines (58 loc) · 2.97 KB
/
API_codes.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
{
"activity_1": "User must be either volunteer or supervisor",
"authority_1": "Could not validate authority",
"authority_2": "No authority found with id {{authority_id}}",
"city_1": "No city or county found with this siruta!",
"pile_1": "Invalid filter",
"pile_2": "Invalid sort",
"pile_3": "Missing siruta code",
"pile_4": "Pile size must be between 1-5",
"pile_5": "Missing param: due_date",
"pile_6": "Due date must be at least {{min_reported_days}} day past current date",
"pile_7": "Error parsing due_date.",
"pile_8": "Missing param: authority_id",
"pile_9": "Missing param: pile_id",
"pile_10": "Pile not found",
"pile_11": "Invalid params",
"pile_12": "Missing user id",
"pile_13": "No county id",
"pile_14": "Could not find authority",
"contact_1": "Email sent",
"contact_2": "Error sending email",
"county_1": "No county",
"improve_1": "Invalid date start / date end",
"improve_2": "Validation error",
"user_1": "Removed {{wRes}} users",
"user_2": "No user",
"user_3": "Not allowed",
"user_4": "Missing token / password",
"user_5": "Activation mail resent",
"user_6": "Password changed",
"user_7": "That e-mail address isn't registered",
"user_8": "Not allowed to change password for non activated account",
"user_9": "email sent to {{addr}}",
"user_10": "User not found",
"user_11": "Missing device type / device token",
"auth_service_1": "Something went wrong, please try again.",
"geoJsonMiddleware_1": "Missing location",
"geoJsonMiddleware_2": "Pile must be located in Romania",
"mailer_1": "No user found",
"mailer_2": "Newsletter option disabled by user",
"auth_local_1": "Invalid e-mail/password combination.",
"auth_local_2": "Account not yet activated.",
"auth_local_3": "Account deactivated, please contact the admin by sending an e-mail to {{admin}}.",
"auth_local_4": "Account deactivated, please contact the admin by e-mail.",
"auth_mobile_1": "Facebook Id or Access Token missing",
"auth_mobile_2": "E-mail address is mandatory in order to create an account.",
"auth_mobile_3": "Cannot create user from received token.",
"auth_mobile_5": "Cannot login with facebook. User already has an account with same email",
"auth_mobile_6": "Cannot login with Facebook. User account is not activated",
"auth_mobile_7": "Cannot login with Facebook. Account was inactivated by the admin",
"image_1": "resize - invalid image type",
"image_2": "Could not get image size",
"image_3": "Filesize limit exceeded",
"image_4": "Missing param: referenceID",
"image_5": "Invalid param: imageType",
"image_6": "Missing params: file and/or imageType",
"statistics_1": "You must filter at least by one of: (county_id) || (date_start && date_end)"
}