From ada75e125cbdf6e6f07545164eb390b828794c37 Mon Sep 17 00:00:00 2001 From: TitanHaxz Date: Thu, 29 Feb 2024 00:10:26 +0300 Subject: [PATCH] tr.lua fixed, translatecap added to main.lua --- client/main.lua | 4 ++-- locales/en.lua | 3 +++ locales/tr.lua | 5 ++++- 3 files changed, 9 insertions(+), 3 deletions(-) diff --git a/client/main.lua b/client/main.lua index ad4de07..40a7991 100644 --- a/client/main.lua +++ b/client/main.lua @@ -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) diff --git a/locales/en.lua b/locales/en.lua index 0e3e9d6..3527028 100644 --- a/locales/en.lua +++ b/locales/en.lua @@ -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' } \ No newline at end of file diff --git a/locales/tr.lua b/locales/tr.lua index ec78686..243bb0e 100644 --- a/locales/tr.lua +++ b/locales/tr.lua @@ -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' } \ No newline at end of file