Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Created tr.lua and translatecap added to main.lua #20

Merged
merged 2 commits into from
Feb 29, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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'
}
Loading