From 40277d8f4d1dfc01f52ba944c1d394fe105575ab Mon Sep 17 00:00:00 2001 From: Swellington Soares Date: Mon, 25 Sep 2023 01:15:16 -0300 Subject: [PATCH] Added pt-br language file --- locales/pt-br.lua | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 locales/pt-br.lua diff --git a/locales/pt-br.lua b/locales/pt-br.lua new file mode 100644 index 0000000..ae55d80 --- /dev/null +++ b/locales/pt-br.lua @@ -0,0 +1,30 @@ +local Translations = { + success = { + you_have_been_clocked_in = "Você foi registrado na entrada", + }, + text = { + point_enter_warehouse = "[E] Entrar no Armazém", + enter_warehouse = "Entrar no Armazém", + exit_warehouse = "Sair do Armazém", + point_exit_warehouse = "[E] Sair do Armazém", + clock_out = "[E] Registrar Saída", + clock_in = "[E] Registrar Entrada", + hand_in_package = "Entregar Pacote", + point_hand_in_package = "[E] Entregar Pacote", + get_package = "Pegar Pacote", + point_get_package = "[E] Pegar Pacote", + picking_up_the_package = "Pegando o pacote", + unpacking_the_package = "Desembalando o pacote", + }, + error = { + you_have_clocked_out = "Você registrou sua saída", + }, +} + +if GetConvar('qb_locale', 'en') == 'pt-br' then + Lang = Locale:new({ + phrases = Translations, + warnOnMissing = true, + fallbackLang = Lang, + }) +end \ No newline at end of file