22 lines
616 B
Lua
22 lines
616 B
Lua
|
local Translations = {
|
||
|
error = {
|
||
|
["missing_something"] = "Parece que te está a faltar algo...",
|
||
|
["not_enough_police"] = "Policia Insuficiente...",
|
||
|
["door_open"] = "Esta porta já está aberta...",
|
||
|
["process_cancelled"] = "Processo Cancelado...",
|
||
|
["didnt_work"] = "Não funcionou...",
|
||
|
["emty_box"] = "A caixa está vazia...",
|
||
|
},
|
||
|
success = {
|
||
|
["worked"] = "Funcionou!",
|
||
|
}
|
||
|
}
|
||
|
|
||
|
if GetConvar('qb_locale', 'en') == 'pt' then
|
||
|
Lang = Locale:new({
|
||
|
phrases = Translations,
|
||
|
warnOnMissing = true,
|
||
|
fallbackLang = Lang,
|
||
|
})
|
||
|
end
|