Skip to content

Commit

Permalink
Merge pull request #69 from Swellington-Soares/main
Browse files Browse the repository at this point in the history
added pt-br language file
  • Loading branch information
GhzGarage authored Oct 13, 2023
2 parents 1b65696 + 00ebd1f commit 35dc9a2
Showing 1 changed file with 48 additions and 0 deletions.
48 changes: 48 additions & 0 deletions locales/pt-br.lua
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
local Translations = {
error = {
finish_work = "Termine todo o seu trabalho primeiro",
vehicle_not_correct = "Este não é o veículo correto",
failed = "Você falhou",
not_towing_vehicle = "Você deve estar em seu Veículo de Reboque",
too_far_away = "Você está muito longe",
no_work_done = "Você não fez nenhum trabalho ainda",
no_deposit = "Depósito de $%{value} necessário",
},
success = {
paid_with_cash = "Depósito de $%{value} pago em dinheiro",
paid_with_bank = "Depósito de $%{value} pago da conta bancária",
refund_to_cash = "Depósito de $%{value} reembolsado em dinheiro",
you_earned = "Você ganhou $%{value}",
},
menu = {
header = "Caminhões Disponíveis",
close_menu = "⬅ Fechar Menu",
},
mission = {
delivered_vehicle = "Você entregou um veículo",
get_new_vehicle = "Um novo veículo pode ser retirado",
towing_vehicle = "Içando o veículo...",
goto_depot = "Leve o veículo para o Depósito Hayes",
vehicle_towed = "Veículo rebocado",
untowing_vehicle = "Remover o veículo",
vehicle_takenoff = "Veículo retirado",
},
info = {
tow = "Coloque um carro na parte de trás do seu caminhão de plataforma",
toggle_npc = "Alternar Trabalho de NPC",
skick = "Tentativa de abuso de exploração",
},
label = {
payslip = "Contra-Cheque",
vehicle = "Veículo",
npcz = "Zona de NPC",
}
}

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

0 comments on commit 35dc9a2

Please sign in to comment.