PageRenderTime 82ms CodeModel.GetById 18ms RepoModel.GetById 2ms app.codeStats 0ms

/trunk/english/language/lang_english/lang_main_attach.php

https://github.com/TheSteffen/icy_phoenix_langs
PHP | 146 lines | 90 code | 21 blank | 35 comment | 3 complexity | c57be4ad8588ac294a1e2023c10b4ecb MD5 | raw file
  1. <?php
  2. /**
  3. *
  4. * @package Icy Phoenix
  5. * @version $Id$
  6. * @copyright (c) 2008 Icy Phoenix
  7. * @license http://opensource.org/licenses/gpl-license.php GNU Public License
  8. *
  9. */
  10. /**
  11. *
  12. * @Extra credits for this file
  13. * (c) 2002 Meik Sievertsen (Acyd Burn)
  14. * Lopalong
  15. *
  16. */
  17. if (!defined('IN_ICYPHOENIX'))
  18. {
  19. exit;
  20. }
  21. if (empty($lang) || !is_array($lang))
  22. {
  23. $lang = array();
  24. }
  25. $lang = array_merge($lang, array(
  26. // Auth Related Entries
  27. /*
  28. 'Rules_attach_can' => 'You <b>can</b> attach files in this forum',
  29. 'Rules_attach_cannot' => 'You <b>cannot</b> attach files in this forum',
  30. 'Rules_download_can' => 'You <b>can</b> download files in this forum',
  31. 'Rules_download_cannot' => 'You <b>cannot</b> download files in this forum',
  32. */
  33. 'Rules_attach_can' => 'You <b>can</b> attach files',
  34. 'Rules_attach_cannot' => 'You <b>cannot</b> attach files',
  35. 'Rules_download_can' => 'You <b>can</b> download files',
  36. 'Rules_download_cannot' => 'You <b>cannot</b> download files',
  37. 'Sorry_auth_view_attach' => 'Sorry but you are not authorized to view or download this Attachment',
  38. // Viewtopic -> Display of Attachments
  39. 'Description' => 'Description', // used in Administration Panel too...
  40. 'Downloaded' => 'Downloaded',
  41. 'Download' => 'Download', // this Language Variable is defined in lang_admin.php too, but we are unable to access it from the main Language File
  42. 'Filesize' => 'Filesize',
  43. 'Viewed' => 'Viewed',
  44. 'Download_number' => '%d Time(s)', // replace %d with count
  45. 'Extension_disabled_after_posting' => 'The Extension \'%s\' was deactivated by a board admin, therefore this Attachment is not displayed.', // used in Posts and PM's, replace %s with mime type
  46. // Posting/PM -> Initial Display
  47. 'Attach_posting_cp' => 'Attachment Posting Control Panel',
  48. 'Attach_posting_cp_explain' => 'If you click on \'Add an Attachment\', you will see the box for adding Attachments.<br />If you click on \'Posted Attachments\', you will see a list of already attached Files and you are able to edit them.<br />If you want to Replace (Upload new Version) an Attachment, you have to click both links. Add the Attachment as you normally would do, thereafter don\'t click on Add Attachment, rather click on Upload New Version at the Attachment Entry you intend to update.',
  49. // Posting/PM -> Posting Attachments
  50. 'Add_attachment' => 'Add Attachment',
  51. 'Add_attachment_title' => 'Add an Attachment',
  52. 'Add_attachment_explain' => 'If you do not want to add an Attachment to your Post, please leave the Fields blank',
  53. 'File_name' => 'Filename',
  54. 'File_comment' => 'File Comment',
  55. // Posting/PM -> Posted Attachments
  56. 'Posted_attachments' => 'Posted Attachments',
  57. 'Options' => 'Options',
  58. 'Update_comment' => 'Update Comment',
  59. 'Delete_attachments' => 'Delete Attachments',
  60. 'Delete_attachment' => 'Delete Attachment',
  61. 'Delete_thumbnail' => 'Delete Thumbnail',
  62. 'Upload_new_version' => 'Upload New Version',
  63. // Errors -> Posting Attachments
  64. 'Invalid_filename' => '%s is an invalid filename', // replace %s with given filename
  65. 'Attachment_php_size_na' => 'The Attachment is too big.<br />Couldn\'t get the maximum Size defined in PHP.<br />The Attachment Mod is unable to determine the maximum Upload Size defined in the php.ini.',
  66. 'Attachment_php_size_overrun' => 'The Attachment is too big.<br />Maximum Upload Size: %d MB.<br />Please note that this Size is defined in php.ini, this means it\'s set by PHP and the Attachment Mod cannot override this value.', // replace %d with ini_get('upload_max_filesize')
  67. 'FileType_Mismatch' => 'File type mismatch',
  68. 'Disallowed_extension' => 'The Extension %s is not allowed', // replace %s with extension (e.g. .php)
  69. 'Disallowed_extension_within_forum' => 'You are not allowed to post Files with the Extension %s within this Forum', // replace %s with the Extension
  70. 'Attachment_too_big' => 'The Attachment is too big.<br />Max Size: %d %s', // replace %d with maximum file size, %s with size var
  71. 'Attach_quota_reached' => 'Sorry, but the maximum filesize for all Attachments has been reached. Please contact the Board Administrator if you have questions.',
  72. 'Too_many_attachments' => 'Attachment cannot be added, since the max. number of %d Attachments in this post has been reached', // replace %d with maximum number of attachments
  73. 'Error_imagesize' => 'The Attachment/Image must be less than %d pixels wide and %d pixels high',
  74. 'General_upload_error' => 'Upload Error: Could not upload Attachment to %s.', // replace %s with local path
  75. 'Error_empty_add_attachbox' => 'You have to enter values in the \'Add an Attachment\' Box',
  76. 'Error_missing_old_entry' => 'Unable to Update Attachment, could not find old Attachment Entry',
  77. // Errors -> PM Related
  78. 'Attach_quota_sender_pm_reached' => 'Sorry, but the maximum filesize for all Attachments in your Private Message Folder has been reached. Please delete some of your received/sent Attachments.',
  79. 'Attach_quota_receiver_pm_reached' => 'Sorry, but the maximum filesize for all Attachments in the Private Message Folder of \'%s\' has been reached. Please let him/her know, or wait until he/she has deleted some of his/her Attachments.',
  80. // Errors -> Download
  81. 'No_attachment_selected' => 'You haven\'t selected an attachment to download or view.',
  82. 'Error_no_attachment' => 'The selected Attachment no longer exists',
  83. // Delete Attachments
  84. 'Confirm_delete_attachments' => 'Are you sure you want to delete the selected Attachments?',
  85. 'Deleted_attachments' => 'The selected Attachments have been deleted.',
  86. 'Error_deleted_attachments' => 'Could not delete Attachments.',
  87. 'Confirm_delete_pm_attachments' => 'Are you sure you want to delete all Attachments posted in this PM?',
  88. // General Error Messages
  89. 'Attachment_feature_disabled' => 'The Attachment Feature is disabled.',
  90. 'Directory_does_not_exist' => 'The Directory \'%s\' does not exist or couldn\'t be found.', // replace %s with directory
  91. 'Directory_is_not_a_dir' => 'Please check if \'%s\' is a directory.', // replace %s with directory
  92. 'Directory_not_writeable' => 'Directory \'%s\' is not writable. You\'ll have to create the upload path and chmod it to 777 (or change the owner to you httpd-servers owner) to upload files.<br />If you have only plain ftp-access change the \'Attribute\' of the directory to rwxrwxrwx.', // replace %s with directory
  93. 'Ftp_error_connect' => 'Could not connect to FTP Server: \'%s\'. Please check your FTP-Settings.',
  94. 'Ftp_error_login' => 'Could not login to FTP Server. The Username \'%s\' or the Password is wrong. Please check your FTP-Settings.',
  95. 'Ftp_error_path' => 'Could not access ftp directory: \'%s\'. Please check your FTP Settings.',
  96. 'Ftp_error_upload' => 'Could not upload files to ftp directory: \'%s\'. Please check your FTP Settings.',
  97. 'Ftp_error_delete' => 'Could not delete files in ftp directory: \'%s\'. Please check your FTP Settings.<br />Another reason for this error could be the non-existence of the Attachment, please check this first in Shadow Attachments.',
  98. 'Ftp_error_pasv_mode' => 'Unable to enable/disable FTP Passive Mode',
  99. // Attach Rules Window
  100. 'Rules_page' => 'Attachment Rules',
  101. 'Attach_rules_title' => 'Allowed Extension Groups and their Sizes',
  102. 'Group_rule_header' => '%s -> Maximum Upload Size: %s', // Replace first %s with Extension Group, second one with the Size STRING
  103. 'Allowed_extensions_and_sizes' => 'Allowed Extensions and Sizes',
  104. 'Note_user_empty_group_permissions' => 'NOTE:<br />You are normally allowed to attach files within this Forum, <br />but since no Extension Group is allowed to be attached here, <br />you are unable to attach anything. If you try, <br />you will receive an Error Message.<br />',
  105. // Quota Variables
  106. 'Upload_quota' => 'Upload Quota',
  107. 'Pm_quota' => 'PM Quota',
  108. 'User_upload_quota_reached' => 'Sorry, you have reached your maximum Upload Quota Limit of %d %s', // replace %d with Size, %s with Size Lang (MB for example)
  109. // User Attachment Control Panel
  110. 'User_acp_title' => 'User ACP',
  111. 'UACP' => 'User Attachment Control Panel',
  112. 'User_uploaded_profile' => 'Uploaded: %s',
  113. 'User_quota_profile' => 'Quota: %s',
  114. 'Upload_percent_profile' => '%d%% of total',
  115. // Common Variables
  116. 'Attach_search_query' => 'Search Attachments',
  117. 'Test_settings' => 'Test Settings',
  118. 'Not_assigned' => 'Not Assigned',
  119. 'No_file_comment_available' => 'No File Comment available',
  120. 'Attachbox_limit' => 'Attachbox [%d%% full]',
  121. 'No_quota_limit' => 'No Quota Limit',
  122. 'Unlimited' => 'Unlimited',
  123. )
  124. );
  125. ?>