Skip to content

Commit 4bd192b

Browse files
committed
L10N patch.
1 parent d975a76 commit 4bd192b

File tree

6 files changed

+259
-257
lines changed

6 files changed

+259
-257
lines changed

Changelog.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -152,4 +152,4 @@ __*Why "v3.0.0" instead of "v1.0.0?"*__ Prior to phpMussel v3, the "phpMussel Co
152152

153153
[2023.04.01; Maikuolan]: Reworked the loadL10N method, how it handles HTTP_ACCEPT_LANGUAGE, improved rule assignment, added some assumptions for supported L10N, and added the ability to defer non-supported L10N to supported L10N where sufficiently similar to be acceptable.
154154

155-
[2023.05.06~21; Maikuolan]: Added L10N for Bulgarian.
155+
[2023.05~06; Maikuolan]: Added L10N for Bulgarian and Czech.

l10n/cs.yml

+246-244
Large diffs are not rendered by default.

l10n/en-US.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -7,15 +7,15 @@
77
# License: GNU/GPLv2
88
# @see LICENSE.txt
99
#
10-
# This file: US English language data (last modified: 2023.04.03).
10+
# This file: US English language data (last modified: 2023.06.01).
1111
#
1212
# Note: Including data only where it differs from its AU/GB/NZ English
1313
# counterpart (doing otherwise isn't necessary due to the L10N handler's
1414
# fallback mechanism).
1515
##/
1616

1717
config_core_lang_override: "Localize according to HTTP_ACCEPT_LANGUAGE whenever possible? True = Yes [Default]; False = No."
18-
config_core_scan_log_serialized: "Filename of file to log all scanning results to (using a serialized format). Specify a filename, or leave blank to disable."
18+
config_core_scan_log_serialized: "The name of the file to log all scanning results to (using a serialized format). Specify a filename, or leave blank to disable."
1919
config_files_archive_file_extensions: "Recognized archive file extensions (format is CSV; should only add or remove when problems occur; unnecessarily removing may cause false positives to appear for archive files, whereas unnecessarily adding will essentially whitelist what you're adding from attack specific detection; modify with caution; also note that this has no effect on what archives can and can't be analysed at content-level). The list, as is at default, lists those formats used most commonly across the majority of systems and CMS, but intentionally isn't necessarily comprehensive."
2020
config_files_chameleon_from_exe: "Search for executable headers in files that are neither executables nor recognized archives and for executables whose headers are incorrect. False = Off; True = On."
2121
config_files_chameleon_from_php: "Search for PHP headers in files that are neither PHP files nor recognized archives. False = Off; True = On."

l10n/en.yml

+5-5
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
# License: GNU/GPLv2
88
# @see LICENSE.txt
99
#
10-
# This file: English language data (last modified: 2023.05.13).
10+
# This file: English language data (last modified: 2023.06.01).
1111
##/
1212

1313
checkbox_delete_orphaned_values: "Delete orphaned values."
@@ -25,8 +25,8 @@ config_core_log_rotation_limit: "Log rotation limits the number of log files tha
2525
config_core_maintenance_mode: "Enable maintenance mode? True = Yes; False = No [Default]. Disables everything other than the front-end. Sometimes useful for when updating your CMS, frameworks, etc."
2626
config_core_outbound_request_log: "A file for logging the results of any outbound requests. Specify a filename, or leave blank to disable."
2727
config_core_scan_cache_expiry: "For how long should phpMussel cache the results of scanning? Value is the number of seconds to cache the results of scanning for. Default is 21600 seconds (6 hours); A value of 0 will disable caching the results of scanning."
28-
config_core_scan_log: "Filename of file to log all scanning results to. Specify a filename, or leave blank to disable."
29-
config_core_scan_log_serialized: "Filename of file to log all scanning results to (using a serialised format). Specify a filename, or leave blank to disable."
28+
config_core_scan_log: "The name of the file to log all scanning results to. Specify a filename, or leave blank to disable."
29+
config_core_scan_log_serialized: "The name of the file to log all scanning results to (using a serialised format). Specify a filename, or leave blank to disable."
3030
config_core_statistics: "Track phpMussel usage statistics? True = Yes; False = No [Default]."
3131
config_core_time_format: "The date/time notation format used by phpMussel. Additional options may be added upon request."
3232
config_core_time_offset: "Timezone offset in minutes."
@@ -128,8 +128,8 @@ field_false: "False"
128128
field_file: "File"
129129
field_latest_version: "Latest version"
130130
field_log_in: "Log In"
131-
field_log_rotation_archive: "Firstly archive, and then delete the oldest logfiles, until the limit is no longer exceeded."
132-
field_log_rotation_delete: "Delete the oldest logfiles, until the limit is no longer exceeded."
131+
field_log_rotation_archive: "Firstly archive, and then delete the oldest log files, until the limit is no longer exceeded."
132+
field_log_rotation_delete: "Delete the oldest log files, until the limit is no longer exceeded."
133133
field_more_fields: "More Fields"
134134
field_ok: "OK"
135135
field_options: "Options"

l10n/pa.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -142,8 +142,8 @@ field_false: "False"
142142
field_file: "File"
143143
field_latest_version: "Latest version"
144144
field_log_in: "Log In"
145-
field_log_rotation_archive: "Firstly archive, and then delete the oldest logfiles, until the limit is no longer exceeded."
146-
field_log_rotation_delete: "Delete the oldest logfiles, until the limit is no longer exceeded."
145+
field_log_rotation_archive: "Firstly archive, and then delete the oldest log files, until the limit is no longer exceeded."
146+
field_log_rotation_delete: "Delete the oldest log files, until the limit is no longer exceeded."
147147
field_more_fields: "More Fields"
148148
field_ok: "OK"
149149
field_options: "Options"

src/FrontEnd.php

+3-3
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
* License: GNU/GPLv2
99
* @see LICENSE.txt
1010
*
11-
* This file: Front-end handler (last modified: 2023.05.21).
11+
* This file: Front-end handler (last modified: 2023.06.01).
1212
*/
1313

1414
namespace phpMussel\FrontEnd;
@@ -1979,7 +1979,7 @@ public function view(string $Page = ''): void
19791979
'<span class="txtRd">' . $this->NumberFormatter->format($FE['ProcessTime'], 3) . '</span>'
19801980
);
19811981

1982-
/** Set logfile list or no logfiles available message. */
1982+
/** Set the log files list or the no log files available message. */
19831983
$FE['LogFiles'] = $FE['LogFiles']['Out'] ?: $this->Loader->L10N->getString('logs_no_logfiles_available');
19841984

19851985
/** Send output. */
@@ -2497,7 +2497,7 @@ private function generateConfirm(string $Action, string $Form): string
24972497
}
24982498

24992499
/**
2500-
* A quicker way to add entries to the front-end logfile.
2500+
* A quicker way to add entries to the front-end log file.
25012501
*
25022502
* @param string $IPAddr The IP address triggering the log event.
25032503
* @param string $User The user triggering the log event.

0 commit comments

Comments
 (0)