Skip to content

Commit

Permalink
Merge pull request #20 from TitanHaxz/main
Browse files Browse the repository at this point in the history
Created tr.lua and translatecap added to main.lua
  • Loading branch information
Gellipapa authored Feb 29, 2024
2 parents 54e337b + ada75e1 commit 55bf07b
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 2 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'
}
15 changes: 15 additions & 0 deletions locales/tr.lua
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
Locales['tr'] = {
['valid_this_purchase'] = 'Değişiklikleri onaylıyor musun?',
['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~ 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 55bf07b

Please sign in to comment.