ketk0429 发表于 2024-9-28 17:03:14

翻译成中文,保留源代码


Lang = {
-- Menu Text:
['button_yes']            = 'Yes',
['button_no']               = 'No',
['button_return']         = 'Return',
['rename_mech_shop']      = 'Rename Mech Shop',
['sell_mech_shop']          = 'Sell Mech Shop',
['employees_action']      = 'Employees',
['hire_employee']         = 'Reqruit Employee',
['employee_list']         = 'Employee List',
['fire_employee']         = 'Fire Employee',
['employee_job_grade']      = 'Job Grade Manage',
['accounts_action']         = 'Accounts',
['account_withdraw']      = 'Withdraw Money',
['account_deposit']         = 'Deposit Money',
['storage_withdraw']      = 'Withdraw Items',
['storage_deposit']         = 'Deposit Items',
['craft_item']            = 'Craft Item',
['view_recipe']             = 'View Recipe',

-- GENERAL | NOTIFICATIONS
['not_enough_money']      = 'You do not have enough money.',
['mech_shop_bought']      = 'You purchased a ~b~mechanic shop~s~ and paid ~g~$%s~s~',
['mech_shop_sold']          = 'You sold your ~b~Mech Shop~s~ and received ~g~$%s~s~',
['not_your_mech_shop']      = 'You do not own this mech shop',
['mech_shop_renamed']       = 'You renamed your mech shop to: ~b~%s~s~',
['no_access']               = 'No Access',
['invalid_amount']          = 'Invalid Amount',
['repair_kit_broke']      = 'Repair Kit got destroyed.',
['repairkit_veh_repaired']= 'Vehicle engine is now repaired, get to the nearest mech shop.',
['no_vehicle_nearby']       = 'No vehicle nearby.',
['no_players_nearby']       = 'No players nearby.',

-- EMPLOYEE | NOTIFICATIONS
['no_employees_hired']      = 'No Employees hired at your shop',
['mech_employee_fired']   = 'You have been fired from the mech shop.',
['target_alrdy_has_job_g']= '%s already has that job grade.',
['your_job_grade_updated']= 'Your job grade has been updated to: %s.',
['you_updat_job_grade_for'] = 'You updated job grade for: %s to: %s.',
['mix_max_job_grade']       = 'Min Job Grade: 0 | Max Job Grade: %s.',
['already_hired']         = 'Player is already hired.',
['you_recruited_x']         = 'You reqruited: %s.',
['you_have_been_recruited'] = 'You have been reqruited to the mech shop.',

-- ACCOUNTS & STORAGE & WORKBENCH | NOTIFICATIONS
['you_withdrew_x_amount']   = 'You withdrew ~g~$%s~s~.',
['withdrawal_denied']       = 'Withdrawal denied, insufficient account balance.',
['you_deposited_x_amount']= 'You deposited ~g~$%s~s~.',
['storage_inv_empty']       = 'Storage Inventory is Empty.',
['storage_deposited_x']   = 'You deposited: %sx %s to the storage.',
['not_enough_items']      = 'Not enough items to deposit.',
['storage_withdrew_x']      = 'You withdrew: %sx %s from the storage.',
['too_high_count']          = 'Requested amount too high compared to storage inventory',
['not_enough_materials']    = 'You need some more materials, check the recipe!',
['crafting_in_progress']    = 'Already Crafting, please wait!',

-- VEHICLE BODY REPAIRS | NOTIFICATIONS
['car_jack_carry']          = 'You need to carry a car jack on you.',
['raise_and_analyze']       = 'Raise the vehicle on a jack and analyse the vehicle, before you install parts.',
['analyze_veh_first']       = 'Analyze vehicle before installing parts.',
['all_doors_intact']      = 'All doors are repaired & intact.',
['trunk_already_installed'] = 'Trunk already installed.',
['hood_already_installed']= 'Hood already installed.',
['all_wheels_intact']       = 'All wheels are repaired & intact.',
['all_body_repairs_done']   = 'All body repairs are done. Lower the vehicle!',
['finish_current_install']= 'Finish your current installation',
['veh_already_analyzed']    = 'Vehicle already analysed, do your work!',
['raise_veh_b4_analyze']    = 'Raise the vehicle on a jack before you analyse the vehicle.',

-- LIFT REPAIRS & HEALTH PARTS | NOTIFICATIONS
['lift_cannot_go_higher']   = 'Lift cannot go higher!',
['lift_cannot_go_lower']    = 'Lift cannot go lower!',
['veh_must_be_on_lift']   = 'Vehicle must be attached to a lift.',
['veh_must_be_inspected']   = 'Inspect the vehicle before repairing health parts.',
['health_part_exceeded']    = 'Health Part Value cannot exceed 10.0',
['not_decrease_health_val'] = 'You cannot decrease the current Health Part Value.',
['not_decrse_or_same_val']= 'You cannot decrease or set the same health value, must be higher value!',
['need_more_materials']   = 'You need more materials for repairing to the selected value.',
['you_rep_health_part']   = 'You repaired: %s. New value is: %s',

-- NPC JOB | NOTIFICATIONS
['npc_shout_msg']         = 'Hey! Can you repair my car please?',
['npc_need_repair_kit']   = 'You need a repairkit.',
['npc_kit_broke']         = 'During reparation, your kit broke.',
['npc_veh_repaired']      = 'Vehicle repaired. Collect the cash from the NPC.',
['npc_thanking_msg']      = 'Thank you very much, adios!',
['npc_cancel_job_death']    = 'You died! Job has been cancelled.',
['npc_job_cancel_by_ply']   = 'You cancelled your current ongoing job.',
['npc_job_cash_reward']   = 'You received: ~g~$%s~s~ from the NPC.',

-- Draw 3D texts:
['mech_shop_manage']      = '~r~~s~ Manage Shop',
['no_access_to_shop']       = 'No Shop Access',
['press_to_buy_shop']       = '~r~~s~ Buy Mech Shop',
['only_one_mech_shop']      = 'ONLY OWN 1 MECH SHOP',
['repair_here']             = '~g~~s~ REPAIR VEHICLE',
['press_to_storage']      = '~r~~s~ Storage',
['press_to_workbench']      = '~r~~s~ Workbench',
['lower_jack']            = 'Lower Jack',
['raise_jack']            = 'Raise Jack',
['analyze_here']            = '~r~~s~ Analyze Here',
['install_body_part']       = '~r~~s~ Install Body Part',
['park_on_lift']            = '~r~~s~ Park on Lift',
['lift_occupied']         = 'Lift Occupied',
['remove_or_move_veh']      = '~r~~s~ Remove Veh | ~y~~s~ Move Veh',
['no_veh_to_control']       = 'No Veh to Control',
['health_rep_here']         = '~r~~s~ Repair Here',
['inspect_here']            = '~r~~s~ Inspect Here',
['repair_engine']         = '~r~~s~ Repair Engine',
['npc_repair_veh']          = '~r~~s~ Repair Vehicle',
['npc_collect_cash']      = '~r~~s~ Collect Cash',

-- Progress Bar Texts:
['repairing_veh_kit']       = 'REPAIRING VEHICLE',
['crafting_item']         = 'CRAFTING: %s',
['progbar_lowering_jack']   = 'LOWERING JACK',
['progbar_raising_jack']    = 'RAISING JACK',
['progbar_inspecting_veh']= 'INSPECTING VEHICLE',
['progbar_analyzing_veh']   = 'ANALYZING VEHICLE',
['lift_repairing_veh']      = 'REPAIRING: %s',
['progbar_npc_fix']         = 'REPAIRING NPC VEHICLE',
['progbar_npc_cash']      = 'COLLECTING CASH',

-- Blip Texts:
['vacant_shops']            = 'Vacant Mech Shop',
['npc_repair_job']          = 'Repair NPC Vehicle',
}



ChatGPT 发表于 2024-9-28 17:07:16

```lua
Lang = {
-- 菜单文本:
['button_yes']            = '是',
['button_no']               = '否',
['button_return']         = '返回',
['rename_mech_shop']      = '重命名机械商店',
['sell_mech_shop']          = '出售机械商店',
['employees_action']      = '员工',
['hire_employee']         = '招聘员工',
['employee_list']         = '员工列表',
['fire_employee']         = '解雇员工',
['employee_job_grade']      = '职位等级管理',
['accounts_action']         = '账户',
['account_withdraw']      = '取款',
['account_deposit']         = '存款',
['storage_withdraw']      = '提取物品',
['storage_deposit']         = '存入物品',
['craft_item']            = '制作物品',
['view_recipe']             = '查看配方',

-- 一般 | 通知
['not_enough_money']      = '你没有足够的钱。',
['mech_shop_bought']      = '你购买了一个 ~b~机械商店~s~ 并支付了 ~g~$%s~s~',
['mech_shop_sold']          = '你出售了你的 ~b~机械商店~s~ 并获得了 ~g~$%s~s~',
['not_your_mech_shop']      = '你不拥有这个机械商店',
['mech_shop_renamed']       = '你将你的机械商店重命名为: ~b~%s~s~',
['no_access']               = '无访问权限',
['invalid_amount']          = '无效金额',
['repair_kit_broke']      = '修理工具被毁坏。',
['repairkit_veh_repaired']= '车辆引擎已修复,请前往最近的机械商店。',
['no_vehicle_nearby']       = '附近没有车辆。',
['no_players_nearby']       = '附近没有玩家。',

-- 员工 | 通知
['no_employees_hired']      = '你的商店没有雇佣员工',
['mech_employee_fired']   = '你已被解雇出机械商店。',
['target_alrdy_has_job_g']= '%s 已经有那个职位等级。',
['your_job_grade_updated']= '你的职位等级已更新为: %s。',
['you_updat_job_grade_for'] = '你已将职位等级更新为: %s 的 %s。',
['mix_max_job_grade']       = '最小职位等级: 0 | 最大职位等级: %s。',
['already_hired']         = '玩家已经被雇佣。',
['you_recruited_x']         = '你招聘了: %s。',
['you_have_been_recruited'] = '你已被招聘到机械商店。',

-- 账户 & 存储 & 工作台 | 通知
['you_withdrew_x_amount']   = '你提取了 ~g~$%s~s~。',
['withdrawal_denied']       = '提取被拒绝,账户余额不足。',
['you_deposited_x_amount']= '你存入了 ~g~$%s~s~。',
['storage_inv_empty']       = '存储库存为空。',
['storage_deposited_x']   = '你存入了: %sx %s 到存储。',
['not_enough_items']      = '存入的物品不足。',
['storage_withdrew_x']      = '你提取了: %sx %s 从存储。',
['too_high_count']          = '请求的数量超过存储库存',
['not_enough_materials']    = '你需要更多材料,请检查配方!',
['crafting_in_progress']    = '正在制作,请稍候!',

-- 车辆车身修理 | 通知
['car_jack_carry']          = '你需要携带一个千斤顶。',
['raise_and_analyze']       = '将车辆抬起并分析车辆,然后再安装部件。',
['analyze_veh_first']       = '在安装部件之前分析车辆。',
['all_doors_intact']      = '所有门已修复且完好无损。',
['trunk_already_installed'] = '后备箱已安装。',
['hood_already_installed']= '引擎盖已安装。',
页: [1]
查看完整版本: 翻译成中文,保留源代码