From 27d8c3c5f00f719ad5661eb930cd428c3d249430 Mon Sep 17 00:00:00 2001 From: bitpredator <67551273+bitpredator@users.noreply.github.com> Date: Thu, 25 Jan 2024 11:43:53 +0100 Subject: [PATCH] fix: locales lint error --- .../[esx]/esx_society/locales/de.lua | 21 +--------------- .../[esx]/esx_society/locales/sr.lua | 24 +++--------------- .../[esx]/esx_society/locales/zh-cn.lua | 25 +++---------------- 3 files changed, 7 insertions(+), 63 deletions(-) diff --git a/server-data/resources/[esx]/esx_society/locales/de.lua b/server-data/resources/[esx]/esx_society/locales/de.lua index 7f2417de1..ffb26e889 100644 --- a/server-data/resources/[esx]/esx_society/locales/de.lua +++ b/server-data/resources/[esx]/esx_society/locales/de.lua @@ -38,24 +38,5 @@ Locales['de'] = { ['you_have_fired'] = 'Du wurdest gefeuert %s', ['you_have_been_fired'] = 'Du wurdest gefeuert von %s', ['you_have_promoted'] = 'Du wurdest befördert %s zu als %s', - ['you_have_been_promoted'] = 'Du wurdest ~b~befördert~s~!', - -- new not translated ↓ - ['withdraw_description'] = 'Withdraw money from the society account', - ['deposit_description'] = 'Deposit some money into the society account', - ['wash_money_description'] = 'Deposit some money into the money wash', - ['amount_title'] = 'Amount', - ['withdraw_amount_placeholder'] = 'Amount to withdraw..', - ['deposit_amount_placeholder'] = 'Amount to deposit..', - ['money_wash_amount_placeholder'] = 'Amount to wash..', - ['confirm'] = 'Confirm', - ['return'] = 'Return', - ['change_salary_description'] = 'Change a grade salary amount', - ['change_salary_placeholder'] = 'Amount to change grade salary..', - ['change_label_title'] = 'Label', - ['change_label_placeholder'] = 'Label to change job grade label..', - ['change_label_description'] = 'Change a grade label', - ['money_remove_reason'] = 'Society Deposit', - ['money_add_reason'] = 'Society Withdraw', - ['name_not_found'] = 'Name not found.', - ['employees_title'] = 'Employees', + ['you_have_been_promoted'] = 'Du wurdest ~b~befördert~s~!' } diff --git a/server-data/resources/[esx]/esx_society/locales/sr.lua b/server-data/resources/[esx]/esx_society/locales/sr.lua index 9f0b709f4..2c037708a 100644 --- a/server-data/resources/[esx]/esx_society/locales/sr.lua +++ b/server-data/resources/[esx]/esx_society/locales/sr.lua @@ -15,7 +15,7 @@ Locales['sr'] = { ['check_balance'] = 'Balans: ~g~$%s', ['invalid_amount'] = 'Nevažeći iznos', ['invalid_amount_max'] = 'Tolika plata nije dozvoljena', - ['invalid_value'] = 'Nevažeći iznos', + ['invalid_value'] = 'Nevažeći iznos', ['invalid_value_nochanges']= 'Nevažeći iznos, izmene nisu sacuvane', ['no'] = 'Ne', ['promote'] = 'Unapredi', @@ -39,23 +39,5 @@ Locales['sr'] = { ['you_have_fired'] = 'Otpustili ste %s', ['you_have_been_fired'] = 'Otpušteni ste od strane %s', ['you_have_promoted'] = 'Unapredili ste %s na %s', - ['you_have_been_promoted'] = 'Vi ste unapređeni!', - ['withdraw_description'] = 'Withdraw money from the society account', - ['deposit_description'] = 'Deposit some money into the society account', - ['wash_money_description'] = 'Deposit some money into the money wash', - ['amount_title'] = 'Amount', - ['withdraw_amount_placeholder'] = 'Amount to withdraw..', - ['deposit_amount_placeholder'] = 'Amount to deposit..', - ['money_wash_amount_placeholder'] = 'Amount to wash..', - ['confirm'] = 'Confirm', - ['return'] = 'Return', - ['change_salary_description'] = 'Change a grade salary amount', - ['change_salary_placeholder'] = 'Amount to change grade salary..', - ['change_label_title'] = 'Label', - ['change_label_placeholder'] = 'Label to change job grade label..', - ['change_label_description'] = 'Change a grade label', - ['money_remove_reason'] = 'Society Deposit', - ['money_add_reason'] = 'Society Withdraw', - ['name_not_found'] = 'Name not found.', - ['employees_title'] = 'Employees' -} + ['you_have_been_promoted'] = 'Vi ste unapređeni!' +} \ No newline at end of file diff --git a/server-data/resources/[esx]/esx_society/locales/zh-cn.lua b/server-data/resources/[esx]/esx_society/locales/zh-cn.lua index 5d4183583..ba0b57734 100644 --- a/server-data/resources/[esx]/esx_society/locales/zh-cn.lua +++ b/server-data/resources/[esx]/esx_society/locales/zh-cn.lua @@ -15,7 +15,7 @@ Locales['zh-cn'] = { ['check_balance'] = '当前余额: ~g~$%s', ['invalid_amount'] = '无效的金额输入!请重新检查', ['invalid_amount_max'] = '此次的薪资水平设置失败!请重新设置', - ['invalid_value'] = '输入为无效值', + ['invalid_value'] = '输入为无效值', ['invalid_value_nochanges']= '无效值,未应用任何更改', ['no'] = '取消', ['promote'] = '提升职称', @@ -39,24 +39,5 @@ Locales['zh-cn'] = { ['you_have_fired'] = '成功开除:%s', ['you_have_been_fired'] = '您已被 %s 开除!', ['you_have_promoted'] = '您已将 %s 提拔至:%s', - ['you_have_been_promoted'] = '您获得新职位!', - -- new not translated ↓ - ['withdraw_description'] = 'Withdraw money from the society account', - ['deposit_description'] = 'Deposit some money into the society account', - ['wash_money_description'] = 'Deposit some money into the money wash', - ['amount_title'] = 'Amount', - ['withdraw_amount_placeholder'] = 'Amount to withdraw..', - ['deposit_amount_placeholder'] = 'Amount to deposit..', - ['money_wash_amount_placeholder'] = 'Amount to wash..', - ['confirm'] = 'Confirm', - ['return'] = 'Return', - ['change_salary_description'] = 'Change a grade salary amount', - ['change_salary_placeholder'] = 'Amount to change grade salary..', - ['change_label_title'] = 'Label', - ['change_label_placeholder'] = 'Label to change job grade label..', - ['change_label_description'] = 'Change a grade label', - ['money_remove_reason'] = 'Society Deposit', - ['money_add_reason'] = 'Society Withdraw', - ['name_not_found'] = 'Name not found.', - ['employees_title'] = 'Employees', -} + ['you_have_been_promoted'] = '您获得新职位!' +} \ No newline at end of file