Skip to content

Commit 3645f62

Browse files
committed
L10N patch.
1 parent 0b42946 commit 3645f62

File tree

4 files changed

+85
-5
lines changed

4 files changed

+85
-5
lines changed

Changelog.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -117,3 +117,7 @@ __*Why "v3.0.0" instead of "v1.0.0?"*__ Prior to phpMussel v3, the "phpMussel Co
117117
[2023.03.31; Maikuolan]: Eliminated a low-risk potential performance bottleneck at the loadL10N method.
118118

119119
[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.
120+
121+
[2023.04.25; Bug-fix; Maikuolan]: Explicitly defining the region for the configured L10N where deferment may be available but the region for the corresponding listed configuration choice not included could've caused the L10N loader to simply use fallbacks instead; Fixed.
122+
123+
[2023.04.25; Maikuolan]: Split the existing L10N for Portuguese into two variants, Brazilian and European.

assets/config.yml

Lines changed: 4 additions & 4 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.04.03).
10+
# This file: Configuration defaults file (last modified: 2023.04.25).
1111
##/
1212

1313
core:
@@ -163,7 +163,8 @@ core:
163163
nl: "Nederlandse"
164164
no: "Norsk"
165165
pl: "Polski"
166-
pt: "Português"
166+
pt: "Português (Brasil)"
167+
pt-PT: "Português (Europeu)"
167168
ru: "Русский"
168169
sv: "Svenska"
169170
ta: "தமிழ்"
@@ -180,7 +181,6 @@ core:
180181
en-NZ: "en-AU"
181182
en-SG: "en-AU"
182183
en-ZA: "en-AU"
183-
pt-BR: "pt-PT"
184184
zh-HK: "zh-TW"
185185
zh-MO: "zh-TW"
186186
zh-SG: "zh-CN"
@@ -202,7 +202,7 @@ core:
202202
nl: "nl-NL"
203203
no: "no-NO"
204204
pl: "pl-PL"
205-
pt: "pt-PT"
205+
pt: "pt-BR"
206206
ru: "ru-RU"
207207
sv: "sv-SE"
208208
ta: "ta-IN"

l10n/pt-PT.yml

Lines changed: 76 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,76 @@
1+
##\
2+
# This file is a part of the phpMussel\Core package.
3+
# Homepage: https://phpmussel.github.io/
4+
#
5+
# PHPMUSSEL COPYRIGHT 2013 AND BEYOND BY THE PHPMUSSEL TEAM.
6+
#
7+
# License: GNU/GPLv2
8+
# @see LICENSE.txt
9+
#
10+
# This file: Portuguese (Europe) language data (last modified: 2023.04.25).
11+
#
12+
# Regarding translations: My native language is English. Because this is a free
13+
# and open-source hobby project which generates zero income, and translatable
14+
# content is likely to change as the features and functionality supported by
15+
# the project changes, it doesn't make sense for me to spend money for
16+
# translations. Because I'm the sole author/developer/maintainer for the
17+
# project and I'm not a ployglot, any translations I produce are very likely to
18+
# contain errors. Sorry, but realistically, that won't ever change. If you find
19+
# any such errors/typos/mistakes/etc, your assistance to correct them would be
20+
# very much appreciated. Pull requests are invited and encouraged. Otherwise,
21+
# if you find these errors too much to handle, just stick with the original
22+
# English source. If a translation is irredeemably incomprehensible, let me
23+
# know which, and I can delete it. If you're not sure how to perform pull
24+
# requests, ask. I can help.
25+
##/
26+
27+
SafeBrowseLookup_200: "URL potencialmente perigoso detectado"
28+
SafeBrowseLookup_400: "Erro de solicitação do API"
29+
SafeBrowseLookup_401: "Erro de autorização do API"
30+
SafeBrowseLookup_503: "Serviço do API está indisponível"
31+
SafeBrowseLookup_999: "Erro do API desconhecida"
32+
corrupted: "Detectado corrompido PE"
33+
data_not_available: "Dados não disponíveis."
34+
detected: "Detectado %s"
35+
detected_control_characters: "Caracteres de controle detectado"
36+
encrypted_archive: "Detectado compactado arquivo criptografado; Compactado arquivos criptografados não permitido"
37+
error_log_header: "Se algum dos seguintes erros persistir, para reportá-los ou buscar apoio, crie um novo issue na página de issues do phpMussel no GitHub quando tiver um momento livre, com os erros em questão, juntamente com outras informações pertinentes anexadas. Obrigado."
38+
failed_to_access: "Falha ao acessar "%s"!"
39+
field_date: "Data"
40+
field_header_hash_reconstruction: "Reconstrução de assinaturas hash"
41+
field_header_pe_reconstruction: "Reconstrução de assinaturas PE seccionais"
42+
field_header_scan_results_why_flagged: "Resultados da verificação (por que indicado)"
43+
field_ip_address: "Endereço IP"
44+
file: "Arquivo"
45+
filesize_limit_exceeded: "Arquivo tamanho limite excedido"
46+
filetype_blacklisted: "Tipo de arquivo está na negra lista"
47+
finished: "Terminado"
48+
generated_by: "Gerado por %s"
49+
grammar_brackets: "%s (%s)"
50+
grammar_exclamation_mark: "%s!"
51+
grammar_fullstop: "%s."
52+
grammar_spacer: " "
53+
image: "Imagem"
54+
invalid_data: "Dados inválidos!"
55+
invalid_file: "Arquivo inválido!"
56+
macros_not_permitted: "Macros não são permitidas"
57+
only_allow_images: "Somente arquivos de imagem são permitidos"
58+
quarantined_as: "Em quarentena como "%s.qfu"."
59+
recursive: "Recursão profundidade limite excedido"
60+
response_error: "Erro"
61+
scan_chameleon: "%s camaleão ataque detectado"
62+
scan_checking: "Verificando "%s"."
63+
scan_command_injection: "Comando injeção tentativa detectado"
64+
scan_complete: "Completo"
65+
scan_extensions_missing: "Fracassado (faltando extensões necessárias)!"
66+
scan_filename_manipulation_detected: "Arquivo nome manipulação detectado"
67+
scan_missing_filename: "Nome do arquivo está ausente"
68+
scan_no_problems_found: "Não problemas encontrados."
69+
scan_reading: "A ler"
70+
scan_signature_file_missing: "Assinatura arquivo faltando"
71+
scan_tampering: "Detectado potencialmente perigoso arquivo adulteração"
72+
started: "Começado"
73+
state_failed_missing: "A tarefa falhou porque um componente necessário está indisponível."
74+
too_many_files_in_archive: "Demasiados arquivos no arquivo compactado"
75+
too_many_urls: "Demasiados URLs"
76+
x_does_not_exist: "%s não existe"

l10n/pt.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
# License: GNU/GPLv2
88
# @see LICENSE.txt
99
#
10-
# This file: Portuguese language data (last modified: 2023.04.01).
10+
# This file: Portuguese (Brazil) language data (last modified: 2023.04.25).
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

0 commit comments

Comments
 (0)