Code Coverage
 
Lines
Functions and Methods
Classes and Traits
Total
0.00% covered (danger)
0.00%
0 / 134
n/a
0 / 0
CRAP
n/a
0 / 0
1<?php
2
3/*
4{{name}} - Dymamic markers which are replaced at run time by the relevant index.
5*/
6
7$lang = array();
8
9// Site Content
10$lang = array_merge($lang, [
11    "REGISTER_WELCOME" => "Registration is fast and simple.",
12    "MENU_USERS" => "Users",
13    "MENU_CONFIGURATION" => "Configuration",
14    "MENU_SITE_SETTINGS" => "Site Settings",
15    "MENU_GROUPS" => "Groups",
16    "HEADER_MESSAGE_ROOT" => "YOU ARE SIGNED IN AS THE ROOT USER"
17]);
18
19// Installer
20$lang = array_merge($lang,array(
21    "INSTALLER_INCOMPLETE" => "You cannot register the root account until the installer has been successfully completed!",
22    "MASTER_ACCOUNT_EXISTS" => "The master account already exists!",
23    "MASTER_ACCOUNT_NOT_EXISTS" => "You cannot register an account until the master account has been created!",
24    "CONFIG_TOKEN_MISMATCH" => "Sorry, that configuration token is not correct."
25));
26
27// Account
28$lang = array_merge($lang,array(
29    "ACCOUNT_SPECIFY_USERNAME" => "Please enter your user name.",
30    "ACCOUNT_SPECIFY_DISPLAY_NAME" => "Please enter your display name.",
31    "ACCOUNT_SPECIFY_PASSWORD" => "Please enter your password.",
32    "ACCOUNT_SPECIFY_EMAIL" => "Please enter your email address.",
33    "ACCOUNT_SPECIFY_CAPTCHA" => "Please enter the captcha code.",
34    "ACCOUNT_SPECIFY_LOCALE" => "Please specify a valid locale.",
35    "ACCOUNT_INVALID_EMAIL" => "Invalid email address",
36    "ACCOUNT_INVALID_USERNAME" => "Invalid username",
37    "ACCOUNT_INVALID_USER_ID" => "The requested user id does not exist.",
38    "ACCOUNT_USER_OR_EMAIL_INVALID" => "Username or email address is invalid.",
39    "ACCOUNT_USER_OR_PASS_INVALID" => "Username or password is invalid.",
40    "ACCOUNT_ALREADY_ACTIVE" => "Your account is already activated.",
41    "ACCOUNT_REGISTRATION_DISABLED" => "We're sorry, account registration has been disabled.",
42    "ACCOUNT_REGISTRATION_LOGOUT" => "I'm sorry, you cannot register for an account while logged in. Please log out first.",
43    "ACCOUNT_INACTIVE" => "Your account is in-active. Check your emails / spam folder for account activation instructions.",
44    "ACCOUNT_DISABLED" => "This account has been disabled. Please contact us for more information.",
45    "ACCOUNT_USER_CHAR_LIMIT" => "Your username must be between {{min}} and {{max}} characters in length.",
46    "ACCOUNT_DISPLAY_CHAR_LIMIT" => "Your display name must be between {{min}} and {{max}} characters in length.",
47    "ACCOUNT_PASS_CHAR_LIMIT" => "Your password must be between {{min}} and {{max}} characters in length.",
48    "ACCOUNT_EMAIL_CHAR_LIMIT" => "Email must be between {{min}} and {{max}} characters in length.",
49    "ACCOUNT_TITLE_CHAR_LIMIT" => "Titles must be between {{min}} and {{max}} characters in length.",
50    "ACCOUNT_PASS_MISMATCH" => "Your password and confirmation password must match",
51    "ACCOUNT_DISPLAY_INVALID_CHARACTERS" => "Display name can only include alpha-numeric characters",
52    "ACCOUNT_USERNAME_IN_USE" => "Username '{{user_name}}' is already in use",
53    "ACCOUNT_DISPLAYNAME_IN_USE" => "Display name '{{display_name}}' is already in use",
54    "ACCOUNT_EMAIL_IN_USE" => "Email '{{email}}' is already in use",
55    "ACCOUNT_LINK_ALREADY_SENT" => "An activation email has already been sent to this email address in the last {{resend_activation_threshold}} second(s). Please try again later.",
56    "ACCOUNT_NEW_ACTIVATION_SENT" => "We have emailed you a new activation link, please check your email",
57    "ACCOUNT_SPECIFY_NEW_PASSWORD" => "Please enter your new password",
58    "ACCOUNT_SPECIFY_CONFIRM_PASSWORD" => "Please confirm your new password",
59    "ACCOUNT_NEW_PASSWORD_LENGTH" => "New password must be between {{min}} and {{max}} characters in length",
60    "ACCOUNT_PASSWORD_INVALID" => "Current password doesn't match the one we have on record",
61    "ACCOUNT_DETAILS_UPDATED" => "Account details updated for user '{{user_name}}'",
62    "ACCOUNT_CREATION_COMPLETE" => "Account for new user '{{user_name}}' has been created.",
63    "ACCOUNT_ACTIVATION_COMPLETE" => "You have successfully activated your account. You can now login.",
64    "ACCOUNT_REGISTRATION_COMPLETE_TYPE1" => "You have successfully registered. You can now login.",
65    "ACCOUNT_REGISTRATION_COMPLETE_TYPE2" => "You have successfully registered. You will soon receive an activation email. You must activate your account before logging in.",
66    "ACCOUNT_PASSWORD_NOTHING_TO_UPDATE" => "You cannot update with the same password",
67    "ACCOUNT_PASSWORD_CONFIRM_CURRENT" => "Please confirm your current password",
68    "ACCOUNT_SETTINGS_UPDATED" => "Account settings updated",
69    "ACCOUNT_PASSWORD_UPDATED" => "Account password updated",
70    "ACCOUNT_EMAIL_UPDATED" => "Account email updated",
71    "ACCOUNT_TOKEN_NOT_FOUND" => "Token does not exist / Account is already activated",
72    "ACCOUNT_USER_INVALID_CHARACTERS" => "Username can only include alpha-numeric characters",
73    "ACCOUNT_DELETE_MASTER" => "You cannot delete the master account!",
74    "ACCOUNT_DISABLE_MASTER" => "You cannot disable the master account!",
75    "ACCOUNT_DISABLE_SUCCESSFUL" => "Account for user '{{user_name}}' has been successfully disabled.",
76    "ACCOUNT_ENABLE_SUCCESSFUL" => "Account for user '{{user_name}}' has been successfully enabled.",
77    "ACCOUNT_DELETION_SUCCESSFUL" => "User '{{user_name}}' has been successfully deleted.",
78    "ACCOUNT_MANUALLY_ACTIVATED" => "{{user_name}}'s account has been manually activated",
79    "ACCOUNT_DISPLAYNAME_UPDATED" => "{{user_name}}'s display name changed to '{{display_name}}'",
80    "ACCOUNT_TITLE_UPDATED" => "{{user_name}}'s title changed to '{{title}}'",
81    "ACCOUNT_GROUP_ADDED" => "Added user to group '{{name}}'.",
82    "ACCOUNT_GROUP_REMOVED" => "Removed user from group '{{name}}'.",
83    "ACCOUNT_GROUP_NOT_MEMBER" => "User is not a member of group '{{name}}'.",
84    "ACCOUNT_GROUP_ALREADY_MEMBER" => "User is already a member of group '{{name}}'.",
85    "ACCOUNT_PRIMARY_GROUP_SET" => "Successfully set primary group for '{{user_name}}'.",
86    "ACCOUNT_WELCOME" => "Welcome back, {{display_name}}"
87));
88
89// Generic validation
90$lang = array_merge($lang, array(
91    "VALIDATE_REQUIRED" => "The field '{{self}}' must be specified.",
92    "VALIDATE_BOOLEAN" => "The value for '{{self}}' must be either '0' or '1'.",
93    "VALIDATE_INTEGER" => "The value for '{{self}}' must be an integer.",
94    "VALIDATE_ARRAY" => "The values for '{{self}}' must be in an array."
95));
96
97// Configuration
98$lang = array_merge($lang,array(
99    "CONFIG_PLUGIN_INVALID" => "You are trying to update settings for plugin '{{plugin}}', but there is no plugin by that name.",
100    "CONFIG_SETTING_INVALID" => "You are trying to update the setting '{{name}}' for plugin '{{plugin}}', but it does not exist.",
101    "CONFIG_NAME_CHAR_LIMIT" => "Site name must be between {{min}} and {{max}} characters in length",
102    "CONFIG_URL_CHAR_LIMIT" => "Site url must be between {{min}} and {{max}} characters in length",
103    "CONFIG_EMAIL_CHAR_LIMIT" => "Site email must be between {{min}} and {{max}} characters in length",
104    "CONFIG_TITLE_CHAR_LIMIT" => "New user title must be between {{min}} and {{max}} characters in length",
105    "CONFIG_ACTIVATION_TRUE_FALSE" => "Email activation must be either `true` or `false`",
106    "CONFIG_REGISTRATION_TRUE_FALSE" => "User registration must be either `true` or `false`",
107    "CONFIG_ACTIVATION_RESEND_RANGE" => "Activation Threshold must be between {{min}} and {{max}} hours",
108    "CONFIG_EMAIL_INVALID" => "The email you have entered is not valid",
109    "CONFIG_UPDATE_SUCCESSFUL" => "Your site's configuration has been updated. You may need to load a new page for all the settings to take effect",
110    "MINIFICATION_SUCCESS" => "Successfully minified and concatenated CSS and JS for all page groups."
111));
112
113// Forgot Password
114$lang = array_merge($lang,array(
115    "FORGOTPASS_INVALID_TOKEN" => "Your activation token is not valid",
116    "FORGOTPASS_OLD_TOKEN" => "Token past expiration time",
117    "FORGOTPASS_COULD_NOT_UPDATE" => "Couldn't update password",
118    "FORGOTPASS_NEW_PASS_EMAIL" => "We have emailed you a new password",
119    "FORGOTPASS_REQUEST_CANNED" => "Lost password request cancelled",
120    "FORGOTPASS_REQUEST_EXISTS" => "There is already an outstanding lost password request on this account",
121    "FORGOTPASS_REQUEST_SUCCESS" => "We have emailed you instructions on how to regain access to your account"
122));
123
124// Mail
125$lang = array_merge($lang,array(
126    "MAIL_ERROR" => "Fatal error attempting mail, contact your server administrator",
127));
128
129// Miscellaneous
130$lang = array_merge($lang,array(
131    "PASSWORD_HASH_FAILED" => "Password hashing failed. Please contact a site administrator.",
132    "NO_DATA" => "No data/bad data sent",
133    "CAPTCHA_FAIL" => "Failed security question",
134    "CONFIRM" => "Confirm",
135    "DENY" => "Deny",
136    "SUCCESS" => "Success",
137    "ERROR" => "Error",
138    "SERVER_ERROR" => "Oops, looks like our server might have goofed. If you're an admin, please check the PHP error logs.",
139    "NOTHING_TO_UPDATE" => "Nothing to update",
140    "SQL_ERROR" => "Fatal SQL error",
141    "FEATURE_DISABLED" => "This feature is currently disabled",
142    "ACCESS_DENIED" => "Hmm, looks like you don't have permission to do that.",
143    "LOGIN_REQUIRED" => "Sorry, you must be logged in to access this resource.",
144    "LOGIN_ALREADY_COMPLETE" => "You are already logged in!"
145));
146
147// Permissions
148$lang = array_merge($lang,array(
149    "GROUP_INVALID_ID" => "The requested group id does not exist",
150    "GROUP_NAME_CHAR_LIMIT" => "Group names must be between {{min}} and {{max}} characters in length",
151    "GROUP_NAME_IN_USE" => "Group name '{{name}}' is already in use",
152    "GROUP_DELETION_SUCCESSFUL" => "Successfully deleted group '{{name}}'",
153    "GROUP_CREATION_SUCCESSFUL" => "Successfully created group '{{name}}'",
154    "GROUP_UPDATE" => "Details for group '{{name}}' successfully updated.",
155    "CANNOT_DELETE_GROUP" => "The group '{{name}}' cannot be deleted",
156    "GROUP_CANNOT_DELETE_DEFAULT_PRIMARY" => "The group '{{name}}' cannot be deleted because it is set as the default primary group for new users. Please first select a different default primary group."
157));
158
159return $lang;