PageRenderTime 2436ms CodeModel.GetById 17ms RepoModel.GetById 1ms app.codeStats 0ms

/core/i18n/en_US.php

http://rapyd-framework.googlecode.com/
PHP | 76 lines | 56 code | 13 blank | 7 comment | 0 complexity | 8bf67b7e96df3280e8e39140ded15834 MD5 | raw file
  1. <?php
  2. $lang = array
  3. (
  4. //dataedit
  5. 'de.inserted'=> 'New record created.',
  6. 'de.updated'=> 'The record has been updated.',
  7. 'de.deleted'=> 'The record has been deleted.',
  8. 'de.err_read' => 'Error reading record.',
  9. 'de.err_insert' => 'Error creating record.',
  10. 'de.err_update' => 'Error updating record.',
  11. 'de.err_delete' => 'Error deleting record.',
  12. 'de.err_unknown'=> 'Error, no record selected',
  13. 'de.err_dup_pk' => 'Error, duplicated primary key',
  14. 'de.err_no_model'=> 'Error, missed datamodel, use $edit->source("tablename")',
  15. 'de.err_no_backurl'=> 'Error, you must set "back_url" property',
  16. 'de.confirm_delete'=> 'Do you want to eliminate the record?',
  17. 'de.inserted'=> 'Error, primary key not unique.',
  18. //field text
  19. 'fld.delete'=> 'Erase',
  20. 'fld.browse'=> 'Select the file:',
  21. 'fld.modify'=> 'Modify',
  22. //buttons
  23. 'btn.add' => 'Add',
  24. 'btn.reset' => 'Reset',
  25. 'btn.search'=> 'Search',
  26. 'btn.modify'=> 'Modify',
  27. 'btn.delete'=> 'Delete',
  28. 'btn.do_delete' => 'Delete',
  29. 'btn.save' => 'Save',
  30. 'btn.undo' => 'Undo',
  31. 'btn.back' => 'Back to the list',
  32. 'btn.back_edit' => 'Show',
  33. 'btn.back_error'=> 'Back',
  34. // validations
  35. 'val.required' => 'The %s field is required.',
  36. 'val.isset' => 'The %s field is required.',
  37. 'val.min_length' => 'The %s field must be at least %d characters long.',
  38. 'val.max_length' => 'The %s field must be %d characters or fewer.',
  39. 'val.exact_length' => 'The %s field must be exactly %d characters.',
  40. 'val.matches' => 'The %s field must match the %s field.',
  41. 'val.valid_email' => 'The %s field must contain a valid email address.',
  42. 'val.in_range' => 'The %s field must be between %s and %s .',
  43. 'val.regex' => 'The %s field does not match accepted input.',
  44. 'val.unique' => 'The %s field must be unique, there is another field with this value.',
  45. 'val.captcha' => 'The %s field does not match the captcha image, retry with the new one',
  46. 'val.approve' => 'You must approve %s .',
  47. 'val.valid_type' => 'The %s field can contain %s chars',
  48. // field types
  49. 'val.alpha' => 'alphabetical',
  50. 'val.alpha_dash' => 'alphabetical, dash, and underscore',
  51. 'val.numeric' => 'numeric',
  52. // upload errors
  53. 'val.user_aborted' => 'The %s file was aborted during upload.',
  54. 'val.invalid_type' => 'The %s file is not an allowed file type.',
  55. 'val.max_size' => 'The %s file you uploaded was too large. The maximum size allowed is %s.',
  56. 'val.max_width' => 'The %s file you uploaded was too big. The maximum allowed width is %spx.',
  57. 'val.max_height' => 'The %s file you uploaded was too big. The maximum allowed height is %spx.',
  58. 'val.min_width' => 'The %s file you uploaded was too small. The minimum allowed width is %spx.',
  59. 'val.min_height' => 'The %s file you uploaded was too small. The minimum allowed height is %spx.',
  60. // pagination
  61. 'pag.first' => 'First',
  62. 'pag.last' => 'Last',
  63. );