Skip to content

Commit

Permalink
tr.lua fixed, translatecap added to main.lua
Browse files Browse the repository at this point in the history
  • Loading branch information
TitanHaxz committed Feb 28, 2024
1 parent 59d5185 commit ada75e1
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 3 deletions.
4 changes: 2 additions & 2 deletions client/main.lua
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,8 @@ function OpenShopMenu()
if element2.value == "yes" then
local elements3 = {
{unselectable = true, icon = "fas fa-shirt", title = TranslateCap('name_outfit')},
{title = "Outfit Name", input = true, inputType = "text", inputPlaceholder = "Outfit name in wardrobe.."},
{icon = "fas fa-check-circle", title = "Confirm", value = "confirm"}
{title = TranslateCap('outfit_name'), input = true, inputType = "text", inputPlaceholder = TranslateCap('outfit_placeholder')},
{icon = "fas fa-check-circle", title = TranslateCap('confirm'), value = "confirm"}
}

ESX.OpenContext("right", elements3, function(menu3,element3)
Expand Down
3 changes: 3 additions & 0 deletions locales/en.lua
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,7 @@ Locales['en'] = {
['save_in_dressing'] = 'do you want to save the outfit in your property?',
['name_outfit'] = 'name your outfit',
['saved_outfit'] = 'the outfit has been saved!',
['outfit_name'] = 'Outfit Name',
['outfit_placeholder'] = 'Outfit name in wardrobe..',
['confirm'] = 'Confirm'
}
5 changes: 4 additions & 1 deletion locales/tr.lua
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,13 @@ Locales['tr'] = {
['yes'] = 'Evet',
['no'] = 'Hayır',
['not_enough_money'] = 'Yeterli paran yok',
['press_menu'] = 'Kıyafet Mağazasına erişmek için ~b~[E]~s~[E] tuşuna bas.',
['press_menu'] = 'Kıyafet Mağazasına erişmek için ~b~[E]~s~ tuşuna bas.',
['clothes'] = 'Kıyafet Mağazası',
['you_paid'] = 'Ödeme yaptın: $%s',
['save_in_dressing'] = 'Kıyafeti dolabınıza kaydetmek ister misin?',
['name_outfit'] = 'Kıyafete bir isim ver',
['saved_outfit'] = 'Kıyafet kaydedildi!',
['outfit_name'] = 'Kıyafet İsmi',
['outfit_placeholder'] = 'Kıyafetine bir isim koy',
['confirm'] = 'Onayla'
}

0 comments on commit ada75e1

Please sign in to comment.