fix(esx_weaponshop) - adding missing translations

This commit is contained in:
Benzo
2022-10-02 22:13:35 +02:00
parent 8b6d169dcd
commit 5a92bba69d
14 changed files with 59 additions and 7 deletions
+5 -5
View File
@@ -10,15 +10,15 @@ function OpenBuyLicenseMenu(zone)
local Elements = {{
icon = "fa-regular fa-money-bill-alt",
unselectable = true,
title = "License Shop"
title = _U("license_shop_title")
}, {
icon = "fa-regular fa-id-card",
title = "Buy Weapon License",
title = _U("buy_license"),
description = "Price: $"..Config.LicensePrice,
value = "buylicense"
}, {
icon = "fa-solid fa-xmark",
title = "Cancel",
title = _U("menu_cancel"),
value = "cancel"
}}
@@ -43,8 +43,8 @@ function OpenShopMenu(zone)
local Elements = {{
icon = "fa-solid fa-bullseye",
unselectable = true,
description = "Buy Weapons",
title = "Weapon Shop"
description = _U("weapon_shop_menu_description"),
title = _U("weapon_shop_menu_title")
}}
for i = 1, #Config.Zones[zone].Items, 1 do
local item = Config.Zones[zone].Items[i]
@@ -1,4 +1,8 @@
Locales ['br'] = {
["license_shop_title"] = "License Shop",
["weapon_shop_menu_title"] = "Weapon Shop",
["weapon_shop_menu_description"] = "Buy Weapons",
["menu_cancel"] = "Cancel",
['buy_license'] = 'comprar licença de porte de arma?',
['yes'] = '%s',
['no'] = 'não',
@@ -1,4 +1,8 @@
Locales ['cs'] = {
["license_shop_title"] = "License Shop",
["weapon_shop_menu_title"] = "Weapon Shop",
["weapon_shop_menu_description"] = "Buy Weapons",
["menu_cancel"] = "Cancel",
['buy_license'] = 'zakoupit zbrojni prukaz?',
['yes'] = '%s',
['no'] = 'ne',
@@ -1,4 +1,8 @@
Locales ['de'] = {
["license_shop_title"] = "License Shop",
["weapon_shop_menu_title"] = "Weapon Shop",
["weapon_shop_menu_description"] = "Buy Weapons",
["menu_cancel"] = "Cancel",
['buy_license'] = 'Waffenlizenz kaufen?',
['yes'] = '%s',
['no'] = 'Nein',
+6 -2
View File
@@ -1,5 +1,9 @@
Locales ['en'] = {
['buy_license'] = 'buy weapon license?',
["license_shop_title"] = "License Shop",
["weapon_shop_menu_title"] = "Weapon Shop",
["weapon_shop_menu_description"] = "Buy Weapons",
["menu_cancel"] = "Cancel",
['buy_license'] = 'Buy weapon license?',
['yes'] = '%s',
['no'] = 'no',
['weapon_bought'] = 'purchased for $%s',
@@ -8,5 +12,5 @@ Locales ['en'] = {
['already_owned'] = 'you already own this weapon!',
['shop_menu_title'] = 'ammu-Nation',
['shop_menu_prompt'] = 'press [E] to access the Ammu-Nation.',
['map_blip'] = 'ammu-Nation',
['map_blip'] = 'Ammu-Nation',
}
@@ -1,4 +1,8 @@
Locales ['es'] = {
["license_shop_title"] = "License Shop",
["weapon_shop_menu_title"] = "Weapon Shop",
["weapon_shop_menu_description"] = "Buy Weapons",
["menu_cancel"] = "Cancel",
['buy_license'] = '¿comprar la licencia de armas?',
['yes'] = '%s',
['no'] = 'no',
@@ -1,4 +1,8 @@
Locales ['fi'] = {
["license_shop_title"] = "License Shop",
["weapon_shop_menu_title"] = "Weapon Shop",
["weapon_shop_menu_description"] = "Buy Weapons",
["menu_cancel"] = "Cancel",
['buy_license'] = 'osta lisenssi?',
['yes'] = '%s',
['no'] = 'ei',
@@ -1,4 +1,8 @@
Locales ['fr'] = {
["license_shop_title"] = "License Shop",
["weapon_shop_menu_title"] = "Weapon Shop",
["weapon_shop_menu_description"] = "Buy Weapons",
["menu_cancel"] = "Cancel",
['buy_license'] = 'acheter une license?',
['yes'] = '%s',
['no'] = 'non',
@@ -1,4 +1,8 @@
Locales ['hu'] = {
["license_shop_title"] = "License Shop",
["weapon_shop_menu_title"] = "Weapon Shop",
["weapon_shop_menu_description"] = "Buy Weapons",
["menu_cancel"] = "Cancel",
['buy_license'] = 'Veszel fegyver engedélyt?',
['yes'] = '%s',
['no'] = 'Igen',
@@ -1,4 +1,8 @@
Locales ['it'] = {
["license_shop_title"] = "License Shop",
["weapon_shop_menu_title"] = "Weapon Shop",
["weapon_shop_menu_description"] = "Buy Weapons",
["menu_cancel"] = "Cancel",
['buy_license'] = 'acquistare porto il d\'armi?',
['yes'] = '%si',
['no'] = 'no',
@@ -1,4 +1,8 @@
Locales ['nl'] = {
["license_shop_title"] = "License Shop",
["weapon_shop_menu_title"] = "Weapon Shop",
["weapon_shop_menu_description"] = "Buy Weapons",
["menu_cancel"] = "Cancel",
['buy_license'] = 'Koop een wapen vergunning?',
['yes'] = '%s',
['no'] = 'Nee',
@@ -1,4 +1,8 @@
Locales ['pl'] = {
["license_shop_title"] = "License Shop",
["weapon_shop_menu_title"] = "Weapon Shop",
["weapon_shop_menu_description"] = "Buy Weapons",
["menu_cancel"] = "Cancel",
['buy_license'] = 'czy chcesz kupić licencję?',
['yes'] = '%s',
['no'] = 'nie',
@@ -1,4 +1,8 @@
Locales ['si'] = {
["license_shop_title"] = "License Shop",
["weapon_shop_menu_title"] = "Weapon Shop",
["weapon_shop_menu_description"] = "Buy Weapons",
["menu_cancel"] = "Cancel",
['buy_license'] = 'kupiti dovoljenje za orožje?',
['yes'] = '%s',
['no'] = 'ne',
@@ -1,4 +1,8 @@
Locales ['sv'] = {
["license_shop_title"] = "Licens Affär",
["weapon_shop_menu_title"] = "Vapen Affär",
["weapon_shop_menu_description"] = "Köp Vapen",
["menu_cancel"] = "Avbryt",
['buy_license'] = 'Köpa vapenlicens?',
['yes'] = '%s',
['no'] = 'Nej',