Skip to content

Commit ada75e1

Browse files
committed
tr.lua fixed, translatecap added to main.lua
1 parent 59d5185 commit ada75e1

File tree

3 files changed

+9
-3
lines changed

3 files changed

+9
-3
lines changed

client/main.lua

+2-2
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,8 @@ function OpenShopMenu()
3737
if element2.value == "yes" then
3838
local elements3 = {
3939
{unselectable = true, icon = "fas fa-shirt", title = TranslateCap('name_outfit')},
40-
{title = "Outfit Name", input = true, inputType = "text", inputPlaceholder = "Outfit name in wardrobe.."},
41-
{icon = "fas fa-check-circle", title = "Confirm", value = "confirm"}
40+
{title = TranslateCap('outfit_name'), input = true, inputType = "text", inputPlaceholder = TranslateCap('outfit_placeholder')},
41+
{icon = "fas fa-check-circle", title = TranslateCap('confirm'), value = "confirm"}
4242
}
4343

4444
ESX.OpenContext("right", elements3, function(menu3,element3)

locales/en.lua

+3
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,7 @@ Locales['en'] = {
99
['save_in_dressing'] = 'do you want to save the outfit in your property?',
1010
['name_outfit'] = 'name your outfit',
1111
['saved_outfit'] = 'the outfit has been saved!',
12+
['outfit_name'] = 'Outfit Name',
13+
['outfit_placeholder'] = 'Outfit name in wardrobe..',
14+
['confirm'] = 'Confirm'
1215
}

locales/tr.lua

+4-1
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,13 @@ Locales['tr'] = {
33
['yes'] = 'Evet',
44
['no'] = 'Hayır',
55
['not_enough_money'] = 'Yeterli paran yok',
6-
['press_menu'] = 'Kıyafet Mağazasına erişmek için ~b~[E]~s~[E] tuşuna bas.',
6+
['press_menu'] = 'Kıyafet Mağazasına erişmek için ~b~[E]~s~ tuşuna bas.',
77
['clothes'] = 'Kıyafet Mağazası',
88
['you_paid'] = 'Ödeme yaptın: $%s',
99
['save_in_dressing'] = 'Kıyafeti dolabınıza kaydetmek ister misin?',
1010
['name_outfit'] = 'Kıyafete bir isim ver',
1111
['saved_outfit'] = 'Kıyafet kaydedildi!',
12+
['outfit_name'] = 'Kıyafet İsmi',
13+
['outfit_placeholder'] = 'Kıyafetine bir isim koy',
14+
['confirm'] = 'Onayla'
1215
}

0 commit comments

Comments
 (0)