Skip to content

Commit

Permalink
L10N patch.
Browse files Browse the repository at this point in the history
  • Loading branch information
Maikuolan committed Jul 17, 2024
1 parent 89941b7 commit 60bc993
Show file tree
Hide file tree
Showing 3 changed files with 52 additions and 37 deletions.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
},
"require": {
"php": ">=7.2.0",
"phpmussel/core": "^3.4.2",
"phpmussel/core": "^3.5.2",
"ext-pcre": "*"
},
"autoload": {
Expand Down
11 changes: 4 additions & 7 deletions l10n/en.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
# License: GNU/GPLv2
# @see LICENSE.txt
#
# This file: English language data (last modified: 2024.07.01).
# This file: English language data (last modified: 2024.07.16).
##/

PrivacyPolicy: "Privacy Policy"
Expand All @@ -16,8 +16,7 @@ config:
web_custom_footer: "Inserted as HTML at the very bottom of all "upload denied" pages. This could be useful in case you want to include a legal notice, contact link, business information, or similar at all such pages."
web_custom_header:
en-AU: "Inserted as HTML at the very beginning of all "upload denied" pages. This could be useful in case you want to include a website logo, personalised header, scripts, or similar at all such pages."
en-CA: &cp "Inserted as HTML at the very beginning of all "upload denied" pages. This could be useful in case you want to include a website logo, personalized header, scripts, or similar at all such pages."
en-US: *cp
[en-CA, en-US]: "Inserted as HTML at the very beginning of all "upload denied" pages. This could be useful in case you want to include a website logo, personalized header, scripts, or similar at all such pages."
web_forbid_on_block: "Should phpMussel send 403 headers with the file upload blocked message, or stick with the usual 200 OK? False = No (200); True = Yes (403) [Default]."
web_ignore_upload_errors:
en-AU: "This directive should generally be disabled unless it's required for correct functionality of phpMussel on your specific system. Normally, when disabled, when phpMussel detects the presence of elements in the <code>$_FILES</code> array(), it'll attempt to initiate a scan of the files that those elements represent, and, if those elements are blank or empty, phpMussel will return an error message. This is proper behaviour for phpMussel. However, for some CMS, empty elements in <code>$_FILES</code> can occur as a result of the natural behaviour of those CMS, or errors may be reported when there aren't any, in which case, the normal behaviour for phpMussel will be interfering with the normal behaviour of those CMS. If such a situation occurs for you, enabling this option will instruct phpMussel to not attempt to initiate scans for such empty elements, ignore them when found and to not return any related error messages, thus allowing continuation of the page request. False = OFF; True = ON."
Expand All @@ -37,12 +36,10 @@ notifications_message: |
notifications_subject: "Blocked upload notification"
scan_unauthorised_upload:
en-AU: "Unauthorised file upload manipulation detected!"
en-CA: &cp "Unauthorized file upload manipulation detected!"
en-US: *cp
[en-CA, en-US]: "Unauthorized file upload manipulation detected!"
scan_unauthorised_upload_or_misconfig:
en-AU: "Unauthorised file upload manipulation or misconfiguration detected!"
en-CA: &cp "Unauthorized file upload manipulation or misconfiguration detected!"
en-US: *cp
[en-CA, en-US]: "Unauthorized file upload manipulation or misconfiguration detected!"
upload_error_1: "Filesize exceeds the upload_max_filesize directive."
upload_error_2: "Filesize exceeds form-specified filesize limit."
upload_error_34: "Upload failure! Please contact the hostmaster for assistance!"
Expand Down
Loading

0 comments on commit 60bc993

Please sign in to comment.