Files
qb-core-qbcore-fivem/locale/en.lua
T
Ethan Johnson 15e37a0c34 Performance, notification, and localization updates to server/commands.lua (#638)
* 🐎 Update ace permissions loop from pairs() to for-i

* Add success notification to `openserver` and `closeserver`

* 🌐 Add missing localization strings for commands

* Add missing comma at end of line

Co-authored-by: Kakarot <57848836+GhzGarage@users.noreply.github.com>
Co-authored-by: BerkieBb <82737367+BerkieBb@users.noreply.github.com>
2022-08-15 08:37:32 +02:00

37 lines
1.5 KiB
Lua

local Translations = {
error = {
not_online = 'Player not online',
wrong_format = 'Incorrect format',
missing_args = 'Not every argument has been entered (x, y, z)',
missing_args2 = 'All arguments must be filled out!',
no_access = 'No access to this command',
company_too_poor = 'Your employer is broke',
item_not_exist = 'Item does not exist',
too_heavy = 'Inventory too full',
duplicate_license = 'Duplicate Rockstar License Found',
no_valid_license = 'No Valid Rockstar License Found',
not_whitelisted = 'You\'re not whitelisted for this server',
server_already_open = 'The server is already open',
server_already_closed = 'The server is already closed'
},
success = {
server_opened = 'The server has been opened',
server_closed = 'The server has been closed'
},
info = {
received_paycheck = 'You received your paycheck of $%{value}',
job_info = 'Job: %{value} | Grade: %{value2} | Duty: %{value3}',
gang_info = 'Gang: %{value} | Grade: %{value2}',
on_duty = 'You are now on duty!',
off_duty = 'You are now off duty!',
checking_ban = 'Hello %s. We are checking if you are banned.',
join_server = 'Welcome %s to {Server Name}.',
checking_whitelisted = 'Hello %s. We are checking your allowance.'
}
}
Lang = Locale:new({
phrases = Translations,
warnOnMissing = true
})