Skip to content

Commit

Permalink
Merge pull request #99 from ggfto/main
Browse files Browse the repository at this point in the history
add pt-br language support
  • Loading branch information
GhzGarage authored May 19, 2023
2 parents 468e41a + 689087e commit 756c9b8
Showing 1 changed file with 39 additions and 0 deletions.
39 changes: 39 additions & 0 deletions locales/pt-br.lua
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
local Translations = {
success = {
success_message = "Sucesso",
fuses_are_blown = "Os fusíveis foram queimados",
door_has_opened = "A porta se abriu"
},
error = {
cancel_message = "Cancelado",
safe_too_strong = "Parece que a fechadura do cofre é muito forte...",
missing_item = "Está faltando um item...",
bank_already_open = "O banco já está aberto...",
minimum_police_required = "Minimo de %{policia} policiais necessário",
security_lock_active = "A trava de segurança está ativa, não é possível abrir a porta no momento",
wrong_type = "%{receiver} não recebeu o tipo certo para o argumento '%{argument}'\ntipo recebido: %{receivedType}\nvalor recebido: %{receivedValue}\ntipo esperado: %{expected}",
fuses_already_blown = "Os fusíveis já estão queimados...",
event_trigger_wrong = "%{event}%{extraInfo} foi acionado quando algumas condições não foram atendidas, fonte: %{fonte}",
missing_ignition_source = "Está faltando uma fonte de ignição"
},
general = {
breaking_open_safe = "Abrindo o cofre...",
connecting_hacking_device = "Conectando o dispositivo de hacking...",
fleeca_robbery_alert = "Tentativa de assalto a banco Fleeca",
paleto_robbery_alert = "Tentativa de assalto a banco Blaine County Savings",
pacific_robbery_alert = "tentativa de assalto ao Pacific Standard Bank",
break_safe_open_option_target = "Abrir cofre",
break_safe_open_option_drawtext = "[E] Abre o cofre",
validating_bankcard = "Validando cartão...",
thermite_detonating_in_seconds = "Thermite está apagando em %{tempo} segundo(s)",
bank_robbery_police_call = "10-90: Assalto a banco"
}
}

if GetConvar('qb_locale', 'en') == 'pt-br' then
Lang = Locale:new({
phrases = Translations,
warnOnMissing = true,
fallbackLang = Lang,
})
end

0 comments on commit 756c9b8

Please sign in to comment.