PageRenderTime 41ms CodeModel.GetById 13ms RepoModel.GetById 1ms app.codeStats 0ms

/language/en_us/errors.php

https://github.com/libersoft/fengoffice-ls
PHP | 194 lines | 123 code | 38 blank | 33 comment | 0 complexity | e59b099492fae60165e5107c4bb80fcd MD5 | raw file
  1. <?php
  2. /**
  3. * Error messages
  4. *
  5. * @version 1.0
  6. * @author Ilija Studen <ilija.studen@gmail.com>
  7. */
  8. // Return langs
  9. return array(
  10. // General
  11. 'invalid email address' => 'Email address format is not valid',
  12. 'error invalid recipients' => 'Invalid email addresses found in field "{0}": {1}',
  13. // Company validation errors
  14. 'company name required' => 'Company / organization name is required',
  15. 'company homepage invalid' => 'Homepage value is not a valid URL',
  16. // User validation errors
  17. 'username value required' => 'Username value is required',
  18. 'username must be unique' => 'Sorry, but selected username is already taken',
  19. 'email value is required' => 'Email address value is required',
  20. 'email address must be unique' => 'Sorry, selected email address is already taken',
  21. 'company value required' => 'User must be part of company / organization',
  22. 'password value required' => 'Password value is required',
  23. 'passwords dont match' => 'Passwords don\'t match',
  24. 'old password required' => 'Old password value is required',
  25. 'invalid old password' => 'Old password is not valid',
  26. 'users must belong to a company' => 'Contacts must belong to a company in order to generate a user',
  27. 'contact linked to user' => 'Contact is linked to user {0}',
  28. // Password validation errors
  29. 'password invalid min length' => 'Password length must be at least {0} characters',
  30. 'password invalid numbers' => 'Password must have at least {0} numerical characters',
  31. 'password invalid uppercase' => 'Password must have at least {0} uppercase characters',
  32. 'password invalid metacharacters' => 'Password must have at least {0} metacharacters',
  33. 'password exists history' => 'Password was used on one of last ten passwords',
  34. 'password invalid difference' => 'Password must differ in at least 3 characters with last 10 passwords',
  35. 'password expired' => 'Your password has expired',
  36. 'password invalid' => 'Your password is no longer valid',
  37. // Avatar
  38. 'invalid upload type' => 'Invalid file type. Allowed types are {0}',
  39. 'invalid upload dimensions' => 'Invalid image dimensions. Max size is {0}x{1} pixels',
  40. 'invalid upload size' => 'Invalid image size. Max size is {0}',
  41. 'invalid upload failed to move' => 'Failed to move uplaoded file',
  42. // Registration form
  43. 'terms of services not accepted' => 'In order to create an account you need to read and accept our terms of services',
  44. // Init company website
  45. 'failed to load company website' => 'Failed to load website. Owner company not found',
  46. 'failed to load project' => 'Failed to load active workspace',
  47. // Login form
  48. 'username value missing' => 'Please insert your username',
  49. 'password value missing' => 'Please insert your password',
  50. 'invalid login data' => 'Failed to log you in. Please check your login data and try again',
  51. // Add project form
  52. 'project name required' => 'Workspace name value is required',
  53. 'project name unique' => 'Workspace name must be unique',
  54. // Add message form
  55. 'message title required' => 'Title value is required',
  56. 'message title unique' => 'Title value must be unique in this workspace',
  57. 'message text required' => 'Text value is required',
  58. // Add comment form
  59. 'comment text required' => 'Text of the comment is required',
  60. // Add milestone form
  61. 'milestone name required' => 'Milestone name value is required',
  62. 'milestone due date required' => 'Milestone due date value is required',
  63. // Add task list
  64. 'task list name required' => 'Task name value is required',
  65. 'task list name unique' => 'Task name must be unique in workspace',
  66. 'task title required' => 'Task title is required',
  67. // Add task
  68. 'task text required' => 'Task text is required',
  69. 'repeat x times must be a valid number between 1 and 1000' => 'Repeat X times must be a valid number between 1 and 1000.',
  70. 'repeat period must be a valid number between 1 and 1000' => 'Repeat period must be a valid number between 1 and 1000.',
  71. 'to repeat by start date you must specify task start date' => 'To repeat by start date you must specify task start date',
  72. 'to repeat by due date you must specify task due date' => 'To repeat by due date you must specify task due date',
  73. 'task cannot be instantiated more times' => 'Task cannot be instantiated more times, this is the last repetition.',
  74. // Add event
  75. 'event subject required' => 'Event subject is required',
  76. 'event description maxlength' => 'Description must be under 3000 characters',
  77. 'event subject maxlength' => 'Subject must be under 100 characters',
  78. // Add project form
  79. 'form name required' => 'Form name is required',
  80. 'form name unique' => 'Form name must be unique',
  81. 'form success message required' => 'Success note is required',
  82. 'form action required' => 'Form action is required',
  83. 'project form select message' => 'Please select note',
  84. 'project form select task lists' => 'Please select task',
  85. // Submit project form
  86. 'form content required' => 'Please insert content into text field',
  87. // Validate project folder
  88. 'folder name required' => 'Folder name is required',
  89. 'folder name unique' => 'Folder name need to be unique in this workspace',
  90. // Validate add / edit file form
  91. 'folder id required' => 'Please select folder',
  92. 'filename required' => 'Filename is required',
  93. 'weblink required' => 'Weblink url is required',
  94. // File revisions (internal)
  95. 'file revision file_id required' => 'Revision needs to be connected with a file',
  96. 'file revision filename required' => 'Filename required',
  97. 'file revision type_string required' => 'Unknown file type',
  98. 'file revision comment required' => 'Revision comment required',
  99. // Test mail settings
  100. 'test mail recipient required' => 'Recipient address is required',
  101. 'test mail recipient invalid format' => 'Invalid recipient address format',
  102. 'test mail message required' => 'Mail message is required',
  103. // Mass mailer
  104. 'massmailer subject required' => 'Message subject is required',
  105. 'massmailer message required' => 'Message body is required',
  106. 'massmailer select recepients' => 'Please select users that will receive this email',
  107. //Email module
  108. 'mail account name required' => 'Account name required',
  109. 'mail account id required' => 'Account Id required',
  110. 'mail account server required' => 'Server required',
  111. 'mail account password required' => 'Password required',
  112. 'send mail error' => 'Error while sending mail. Possibly wrong SMTP settings.',
  113. 'email address already exists' => 'That email address is already in use.',
  114. 'session expired error' => 'Session expired due to user inactivity. Please login again',
  115. 'unimplemented type' => 'Unimplemented type',
  116. 'unimplemented action' => 'Unimplemented action',
  117. 'workspace own parent error' => 'A workspace can\'t be its own parent',
  118. 'task own parent error' => 'A task can\'t be its own parent',
  119. 'task child of child error' => 'A task can\'t be child of one of its descendants',
  120. 'chart title required' => 'Chart title is required.',
  121. 'chart title unique' => 'Chart title must be unique.',
  122. 'must choose at least one workspace error' => 'You must choose at least one workspace where to put the object.',
  123. 'user has contact' => 'There is a contact already assigned to this user',
  124. 'maximum number of users reached error' => 'The maximum number of users has been reached',
  125. 'maximum number of users exceeded error' => 'The maximum number of users has been exceeded. The application will not work anymore until this issue is resolved.',
  126. 'maximum disk space reached' => 'Your disk quota is full. Please delete some object before trying to add new ones, or contact support to enable more users.',
  127. 'name must be unique' => 'Sorry, but selected name is already taken',
  128. 'not implemented' => 'Not implemented',
  129. 'return code' => 'Return code: {0}',
  130. 'task filter criteria not recognised' => 'Task filter criteria \'{0}\' not recognised',
  131. 'mail account dnx' => 'Mail account doesn\'t exist',
  132. 'error document checked out by another user' => 'The document was checked out by another user.',
  133. //Custom properties
  134. 'custom property value required' => '{0} is required',
  135. 'value must be numeric' => 'Value(s) must be numeric for {0}',
  136. 'values cannot be empty' => 'Value(s) cannot be empty for {0}',
  137. //Reports
  138. 'report name required' => 'Report name is required',
  139. 'report object type required' => 'Report object type is required',
  140. 'error assign task user dnx' => 'Trying to assign to an inexistent user',
  141. 'error assign task permissions user' => 'You don\'t have permissions to assign a task to that user',
  142. 'error assign task company dnx' => 'Trying to assign to an inexistent company',
  143. 'error assign task permissions company' => 'You don\'t have permissions to assign a task to that company',
  144. 'account already being checked' => 'Account is already being checked.',
  145. 'no files to compress' => 'No files to compress',
  146. //Subscribers
  147. 'cant modify subscribers' => 'Cannot modify subscribers',
  148. 'this object must belong to a ws to modify its subscribers' => 'This object must belong to a workspace to modify its subscribers.',
  149. 'mailAccount dnx' => 'Email account does not exist',
  150. 'error add contact from user' => 'Could not add contact from user.',
  151. 'zip not supported' => 'ZIP is not supported by the server',
  152. 'no tag specified' => 'No tag specified',
  153. 'no mailAccount error' => 'Action unavailable. You do not have an email account added.',
  154. 'content too long not loaded' => 'Previous email content is too long and was not loaded, but will be sent with this email.'
  155. ); // array
  156. ?>