Skip to content

Commit 1bcd6ee

Browse files
committed
Refactor L10N data.
1 parent a6e0b90 commit 1bcd6ee

39 files changed

+261
-224
lines changed

Changelog.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -129,3 +129,5 @@ __*Why "v3.0.0" instead of "v1.0.0?"*__ Prior to phpMussel v3, the "phpMussel Co
129129
[2023.09.03; Maikuolan]: Added L10N for Afrikaans and Romanian.
130130

131131
[2023.09.04; Maikuolan]: Added colouration to phpMussel's CLI mode (some code has been added to the core to facilitate this). The atHit method has been migrated from the Loader class to the Scanner class.
132+
133+
[2023.09.16~18; Maikuolan]: Significantly refactored all L10N data.

assets/config.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
# License: GNU/GPLv2
88
# @see LICENSE.txt
99
#
10-
# This file: Configuration defaults file (last modified: 2023.09.05).
10+
# This file: Configuration defaults file (last modified: 2023.09.18).
1111
##/
1212

1313
core:
@@ -33,8 +33,8 @@ core:
3333
type: "string"
3434
default: "Delete"
3535
choices:
36-
Delete: "field_log_rotation_delete"
37-
Archive: "field_log_rotation_archive"
36+
Delete: "field.log_rotation_delete"
37+
Archive: "field.log_rotation_archive"
3838
style: "radio"
3939
timezone:
4040
type: "timezone"
@@ -120,7 +120,7 @@ core:
120120
"{yy}년 {m}월 {d}일": "{yy}년 {m}월 {d}일"
121121
"{yyyy}-{mm}-{dd}T{hh}:{ii}:{ss}{t:z}": "{yyyy}-{mm}-{dd}T{hh}:{ii}:{ss}{t:z}"
122122
"{d}. {m}. {yyyy}": "{d}. {m}. {yyyy}"
123-
ipaddr:
123+
IP address:
124124
type: "string"
125125
default: "REMOTE_ADDR"
126126
preview: "allow_other"
@@ -132,7 +132,7 @@ core:
132132
HTTP_X_FORWARDED_FOR: "HTTP_X_FORWARDED_FOR (Cloudbric)"
133133
X-Forwarded-For: "X-Forwarded-For (Squid)"
134134
Forwarded: "Forwarded"
135-
REMOTE_ADDR: "REMOTE_ADDR ({label_default})"
135+
REMOTE_ADDR: "REMOTE_ADDR ({label.Default})"
136136
See also:
137137
"NGINX Reverse Proxy": "https://docs.nginx.com/nginx/admin-guide/web-server/reverse-proxy/"
138138
"Squid configuration directive forwarded_for": "http://www.squid-cache.org/Doc/config/forwarded_for/"
@@ -404,9 +404,9 @@ virustotal:
404404
type: "int"
405405
default: 1
406406
choices:
407-
0: "field_vt_suspicion_level_heuristic_only"
408-
1: "field_vt_suspicion_level_executable"
409-
2: "field_vt_suspicion_level_all"
407+
0: "field.vt_suspicion_level_heuristic_only"
408+
1: "field.vt_suspicion_level_executable"
409+
2: "field.vt_suspicion_level_all"
410410
style: "radio"
411411
vt_weighting:
412412
type: "int"

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
},
1313
"require": {
1414
"php": ">=7.2.0",
15-
"maikuolan/common": "^2.9.6",
15+
"maikuolan/common": "^2.10",
1616
"ext-pcre": "*"
1717
},
1818
"suggest": {

l10n/af.yml

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
# License: GNU/GPLv2
88
# @see LICENSE.txt
99
#
10-
# This file: Afrikaans language data (last modified: 2023.09.04).
10+
# This file: Afrikaans language data (last modified: 2023.09.16).
1111
#
1212
# Regarding translations: My native language is English. Because this is a free
1313
# and open-source hobby project which generates zero income, and translatable
@@ -36,11 +36,12 @@ detected_control_characters: "Kontrole karakters is bespeur"
3636
encrypted_archive: "Geënkripteerde argief is bespeur; Geënkripteerde argiewe word nie toegelaat nie"
3737
error_log_header: "As enige van die volgende foute voortduur, om dit aan te rapporteer, of om ondersteuning te soek, skep asseblief 'n nuwe kwessie by die phpMussel-kwessiesbladsy by GitHub wanneer jy 'n vrye oomblik het, met die betrokke foute saam met enige ander pertinente inligting aangeheg. Dankie."
3838
failed_to_access: "Kon nie toegang tot "%s" kry nie!"
39-
field_date: "Datum"
40-
field_header_hash_reconstruction: "Hash-handtekeninge rekonstruksie"
41-
field_header_pe_reconstruction: "PE afdeling handtekeninge rekonstruksie"
42-
field_header_scan_results_why_flagged: "Skandeerresultate (waarom gevlag)"
43-
field_ip_address: "IP adres"
39+
field:
40+
Date: "Datum"
41+
Hash signatures reconstruction: "Hash-handtekeninge rekonstruksie"
42+
IP address: "IP adres"
43+
PE sectional signatures reconstruction: "PE afdeling handtekeninge rekonstruksie"
44+
Scan results (why flagged): "Skandeerresultate (waarom gevlag)"
4445
filesize_limit_exceeded: "Lêergroottelimiet is oorskry"
4546
filetype_blacklisted: "Lêertipe is op die swartlys"
4647
finished: "Klaar"

l10n/ar.yml

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
# License: GNU/GPLv2
88
# @see LICENSE.txt
99
#
10-
# This file: Arabic language data (last modified: 2023.09.04).
10+
# This file: Arabic language data (last modified: 2023.09.16).
1111
#
1212
# Regarding translations: My native language is English. Because this is a free
1313
# and open-source hobby project which generates zero income, and translatable
@@ -36,11 +36,12 @@ detected_control_characters: "الكشف أحرف التحكم"
3636
encrypted_archive: "كشف أرشيف المشفرة؛ أرشيف المشفرة غير مسموح"
3737
error_log_header: "إذا استمرت أي من الأخطاء التالية، من أجل الإبلاغ عنها، أو لطلب الدعم, قم بالاتصال في صفحة قضايا phpMussel في GitHub. قم بتضمين الأخطاء المعنية بالإضافة إلى أي معلومات أخرى ذات صلة. شكر."
3838
failed_to_access: "فشل في الوصول إلى "%s"!"
39-
field_date: "التاريخ"
40-
field_header_hash_reconstruction: "إعادة بناء التواقيع التجزئة"
41-
field_header_pe_reconstruction: "إعادة بناء التوقيعات القطاعية PE"
42-
field_header_scan_results_why_flagged: "نتائج المسح (لماذا تم الإبلاغ عنها)"
43-
field_ip_address: "عنوان IP"
39+
field:
40+
Date: "التاريخ"
41+
Hash signatures reconstruction: "إعادة بناء التواقيع التجزئة"
42+
IP address: "عنوان IP"
43+
PE sectional signatures reconstruction: "إعادة بناء التوقيعات القطاعية PE"
44+
Scan results (why flagged): "نتائج المسح (لماذا تم الإبلاغ عنها)"
4445
filesize_limit_exceeded: "تجاوز حد حجم ملف"
4546
filetype_blacklisted: "نوع الملف في القائمة السوداء"
4647
finished: "انتهى"

l10n/bg.yml

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
# License: GNU/GPLv2
88
# @see LICENSE.txt
99
#
10-
# This file: Bulgarian language data (last modified: 2023.09.04).
10+
# This file: Bulgarian language data (last modified: 2023.09.16).
1111
#
1212
# Regarding translations: My native language is English. Because this is a free
1313
# and open-source hobby project which generates zero income, and translatable
@@ -36,11 +36,12 @@ detected_control_characters: "Открити контролни знаци"
3636
encrypted_archive: "Открит криптиран архив; Не са разрешени криптирани архиви"
3737
error_log_header: "Ако някоя от следните грешки продължава, за да ги докладвате или да потърсите поддръжка, моля, създайте нов issue на страницата за issues с phpMussel в GitHub, когато имате свободен момент. Включват въпросните грешки заедно с всякаква друга уместна информация. Благодаря."
3838
failed_to_access: "Неуспешен достъп до „%s“!"
39-
field_date: "Дата"
40-
field_header_hash_reconstruction: "Реконструкция на хеш сигнатури"
41-
field_header_pe_reconstruction: "Реконструкция на секционни сигнатури на PE"
42-
field_header_scan_results_why_flagged: "Резултати от сканиране (защо маркирани)"
43-
field_ip_address: "IP адрес"
39+
field:
40+
Date: "Дата"
41+
Hash signatures reconstruction: "Реконструкция на хеш сигнатури"
42+
IP address: "IP адрес"
43+
PE sectional signatures reconstruction: "Реконструкция на секционни сигнатури на PE"
44+
Scan results (why flagged): "Резултати от сканиране (защо маркирани)"
4445
filesize_limit_exceeded: "Ограничението за размер на файла е надвишено"
4546
filetype_blacklisted: "Тип файл в черен списък"
4647
finished: "Готово"

l10n/bn.yml

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
# License: GNU/GPLv2
88
# @see LICENSE.txt
99
#
10-
# This file: Bangla language data (last modified: 2023.09.04).
10+
# This file: Bangla language data (last modified: 2023.09.16).
1111
#
1212
# Regarding translations: My native language is English. Because this is a free
1313
# and open-source hobby project which generates zero income, and translatable
@@ -36,11 +36,12 @@ detected_control_characters: "নিয়ন্ত্রণ অক্ষর স
3636
encrypted_archive: "এনক্রিপ্ট আর্কাইভ সনাক্ত হয়েছে; এনক্রিপ্ট আর্কাইভ অনুমতি নেই"
3737
error_log_header: "যদি নিম্নলিখিত ত্রুটিগুলির কোনওটি অব্যাহত থাকে, তাদের রিপোর্ট করতে, বা সহায়তা চাইতে, দয়া করে যখন একটি অতিরিক্ত মুহুর্ত পেলেন তখন GitHubএ phpMussel issues পৃষ্ঠাতে একটি নতুন issue তৈরি করুন, এবং অন্য কোনও প্রাসঙ্গিক তথ্যের সাথে প্রশ্নে ত্রুটিগুলি অন্তর্ভুক্ত করুন। ধন্যবাদ।"
3838
failed_to_access: ""%s" অ্যাক্সেস করতে ব্যর্থ হয়েছে!"
39-
field_date: "তারিখ"
40-
field_header_hash_reconstruction: "হাশ স্বাক্ষর পুনর্গঠন"
41-
field_header_pe_reconstruction: "PE বিভাগীয় স্বাক্ষর পুনর্গঠন"
42-
field_header_scan_results_why_flagged: "স্ক্যান ফলাফল (কেন পতাকাঙ্কিত)"
43-
field_ip_address: "আইপি ঠিকানা"
39+
field:
40+
Date: "তারিখ"
41+
Hash signatures reconstruction: "হাশ স্বাক্ষর পুনর্গঠন"
42+
IP address: "আইপি ঠিকানা"
43+
PE sectional signatures reconstruction: "PE বিভাগীয় স্বাক্ষর পুনর্গঠন"
44+
Scan results (why flagged): "স্ক্যান ফলাফল (কেন পতাকাঙ্কিত)"
4445
filesize_limit_exceeded: "ফাইলের আকার সীমা অতিক্রম করেছে"
4546
filetype_blacklisted: "ফাইলের ধরন কালো তালিকাতে রয়েছে।"
4647
finished: "শেষ হয়েছে"

l10n/cs.yml

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
# License: GNU/GPLv2
88
# @see LICENSE.txt
99
#
10-
# This file: Czech language data (last modified: 2023.09.04).
10+
# This file: Czech language data (last modified: 2023.09.16).
1111
#
1212
# Regarding translations: My native language is English. Because this is a free
1313
# and open-source hobby project which generates zero income, and translatable
@@ -36,11 +36,12 @@ detected_control_characters: "Zjištěno řídicí znaky"
3636
encrypted_archive: "Zjištěn šifrovaný archiv; Šifrované archivy nejsou povoleny"
3737
error_log_header: "Pokud některá z následujících chyb přetrvává, chcete-li ji nahlásit nebo požádat o podporu, vytvořte nový issue na stránce issues s phpMussel na GitHubu, až budete mít volnou chvíli, s příslušnými chybami a dalšími souvisejícími informacemi v příloze. Dík."
3838
failed_to_access: "Nepodařilo se získat přístup k „%s“!"
39-
field_date: "Datum"
40-
field_header_hash_reconstruction: "Rekonstrukce podpisů hash"
41-
field_header_pe_reconstruction: "Rekonstrukce podpisů oddílů PE"
42-
field_header_scan_results_why_flagged: "Výsledky skenování (proč označeno)"
43-
field_ip_address: "IP adresa"
39+
field:
40+
Date: "Datum"
41+
Hash signatures reconstruction: "Rekonstrukce podpisů hash"
42+
IP address: "IP adresa"
43+
PE sectional signatures reconstruction: "Rekonstrukce podpisů oddílů PE"
44+
Scan results (why flagged): "Výsledky skenování (proč označeno)"
4445
filesize_limit_exceeded: "Překročen limit velikosti souboru"
4546
filetype_blacklisted: "Typ souboru na černé listině"
4647
finished: "Hotovo"

l10n/de.yml

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
# License: GNU/GPLv2
88
# @see LICENSE.txt
99
#
10-
# This file: German language data (last modified: 2023.09.04).
10+
# This file: German language data (last modified: 2023.09.16).
1111
#
1212
# Regarding translations: My native language is English. Because this is a free
1313
# and open-source hobby project which generates zero income, and translatable
@@ -36,11 +36,12 @@ detected_control_characters: "Steuerzeichen erkannt"
3636
encrypted_archive: "Verschlüsseltes Archiv entdeckt; Verschlüsselte Archive sind nicht erlaubt"
3737
error_log_header: "Wenn einer der folgenden Fehler weiterhin auftritt, um sie zu melden oder Unterstützung zu suchen, erstellen Sie bitte eine neue Issue auf der phpMussel Issue-seite von GitHub, wenn Sie einen freien Moment haben. Fügen Sie die fraglichen Fehler zusammen mit anderen relevanten Informationen hinzu. Danke."
3838
failed_to_access: "Fehler beim Zugriff auf „%s“!"
39-
field_date: "Datum"
40-
field_header_hash_reconstruction: "Rekonstruktion der Hash-Signaturen"
41-
field_header_pe_reconstruction: "Rekonstruktion der PE-Sektional-Signaturen"
42-
field_header_scan_results_why_flagged: "Scan-Ergebnisse (warum gekennzeichnet)"
43-
field_ip_address: "IP Adresse"
39+
field:
40+
Date: "Datum"
41+
Hash signatures reconstruction: "Rekonstruktion der Hash-Signaturen"
42+
IP address: "IP Adresse"
43+
PE sectional signatures reconstruction: "Rekonstruktion der PE-Sektional-Signaturen"
44+
Scan results (why flagged): "Scan-Ergebnisse (warum gekennzeichnet)"
4445
filesize_limit_exceeded: "Dateigröße überschritten"
4546
filetype_blacklisted: "Dateityp auf Blacklist"
4647
finished: "Fertig"

l10n/en.yml

Lines changed: 7 additions & 6 deletions
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.09.04).
10+
# This file: English language data (last modified: 2023.09.16).
1111
##/
1212

1313
SafeBrowseLookup_200: "Potentially harmful URL detected"
@@ -22,11 +22,12 @@ detected_control_characters: "Detected control characters"
2222
encrypted_archive: "Detected encrypted archive; Encrypted archives not permitted"
2323
error_log_header: "If any of the following errors persist, to report them, or to seek support, please create a new issue at the phpMussel issues page at GitHub when you've got a spare moment, with the errors in question along with any other pertinent information attached. Thanks."
2424
failed_to_access: "Failed to access "%s"!"
25-
field_date: "Date"
26-
field_header_hash_reconstruction: "Hash signatures reconstruction"
27-
field_header_pe_reconstruction: "PE sectional signatures reconstruction"
28-
field_header_scan_results_why_flagged: "Scan results (why flagged)"
29-
field_ip_address: "IP address"
25+
field:
26+
Date: "Date"
27+
Hash signatures reconstruction: "Hash signatures reconstruction"
28+
IP address: "IP address"
29+
PE sectional signatures reconstruction: "PE sectional signatures reconstruction"
30+
Scan results (why flagged): "Scan results (why flagged)"
3031
filesize_limit_exceeded: "Filesize limit exceeded"
3132
filetype_blacklisted: "Filetype blacklisted"
3233
finished: "Finished"

0 commit comments

Comments
 (0)