CrazyGhost 发表于 2024-10-22 06:53:34

汉化label内容保留原代码


Config.Items = {
-- Servicing Items
["engine_oil"] = {
    label = "Engine Oil",
    weight = 1000,
},
["tyre_replacement"] = {
    label = "Tyre Replacement",
    weight = 1000,
},
["clutch_replacement"] = {
    label = "Clutch Replacement",
    weight = 1000,
},
["air_filter"] = {
    label = "Air Filter",
    weight = 100,
},
["spark_plug"] = {
    label = "Spark Plug",
    weight = 1000,
},
["brakepad_replacement"] = {
    label = "Brakepad Replacement",
    weight = 1000,
},
["suspension_parts"] = {
    label = "Suspension Parts",
    weight = 1000,
},
-- Engine Items
["i4_engine"] = {
    label = "I4 Engine",
    weight = 1000,
},
["v6_engine"] = {
    label = "V6 Engine",
    weight = 1000,
},
["v8_engine"] = {
    label = "V8 Engine",
    weight = 1000,
},
["v12_engine"] = {
    label = "V12 Engine",
    weight = 1000,
},
["turbocharger"] = {
    label = "Turbocharger",
    weight = 1000,
},
-- Electric Engines
["ev_motor"] = {
    label = "EV Motor",
    weight = 1000,
},
["ev_battery"] = {
    label = "EV Battery",
    weight = 1000,
},
["ev_coolant"] = {
    label = "EV Coolant",
    weight = 1000,
},
-- Drivetrain Items
["awd_drivetrain"] = {
    label = "AWD Drivetrain",
    weight = 1000,
},
["rwd_drivetrain"] = {
    label = "RWD Drivetrain",
    weight = 1000,
},
["fwd_drivetrain"] = {
    label = "FWD Drivetrain",
    weight = 1000,
},
-- Tuning Items
["slick_tyres"] = {
    label = "Slick Tyres",
    weight = 1000,
},
["semi_slick_tyres"] = {
    label = "Semi Slick Tyres",
    weight = 1000,
},
["offroad_tyres"] = {
    label = "Offroad Tyres",
    weight = 1000,
},
["drift_tuning_kit"] = {
    label = "Drift Tuning Kit",
    weight = 1000,
},
["ceramic_brakes"] = {
    label = "Ceramic Brakes",
    weight = 1000,
},
-- Cosmetic Items
["lighting_controller"] = {
    label = "Lighting Controller",
    weight = 100,
    client = {
      event = "jg-mechanic:client:show-lighting-controller",
    }
},
["stancing_kit"] = {
    label = "Stancer Kit",
    weight = 100,
    client = {
      event = "jg-mechanic:client:show-stancer-kit",
    }
},
["cosmetic_part"] = {
    label = "Cosmetic Parts",
    weight = 100,
},
["respray_kit"] = {
    label = "Respray Kit",
    weight = 1000,
},
["vehicle_wheels"] = {
    label = "Vehicle Wheels Set",
    weight = 1000,
},
["tyre_smoke_kit"] = {
    label = "Tyre Smoke Kit",
    weight = 1000,
},
["bulletproof_tyres"] = {
    label = "Bulletproof Tyres",
    weight = 1000,
},
["extras_kit"] = {
    label = "Extras Kit",
    weight = 1000,
},
-- Nitrous & Cleaning Items
["nitrous_bottle"] = {
    label = "Nitrous Bottle",
    weight = 1000,
    client = {
      event = "jg-mechanic:client:use-nitrous-bottle",
    }
},
["empty_nitrous_bottle"] = {
    label = "Empty Nitrous Bottle",
    weight = 1000,
},
["nitrous_install_kit"] = {
    label = "Nitrous Install Kit",
    weight = 1000,
},
["cleaning_kit"] = {
    label = "Cleaning Kit",
    weight = 1000,
    client = {
      event = "jg-mechanic:client:clean-vehicle",
    }
},
["repair_kit"] = {
    label = "Repair Kit",
    weight = 1000,
    client = {
      event = "jg-mechanic:client:repair-vehicle",
    }
},
["duct_tape"] = {
    label = "Duct Tape",
    weight = 1000,
    client = {
      event = "jg-mechanic:client:use-duct-tape",
    }
},
-- Performance Item
["performance_part"] = {
    label = "Performance Parts",
    weight = 1000,
},
-- Mechanic Tablet Item
["mechanic_tablet"] = {
    label = "Mechanic Tablet",
    weight = 1000,
    client = {
      event = "jg-mechanic:client:use-tablet",
    }
}
}


ChatGPT 发表于 2024-10-22 06:53:51

以下是汉化后的`Config.Items`内容,保留了原代码结构:

Config.Items = {
-- 服务项目
["engine_oil"] = {
    label = "发动机油",
    weight = 1000,
},
["tyre_replacement"] = {
    label = "轮胎更换",
    weight = 1000,
},
["clutch_replacement"] = {
    label = "离合器更换",
    weight = 1000,
},
["air_filter"] = {
    label = "空气过滤器",
    weight = 100,
},
["spark_plug"] = {
    label = "火花塞",
    weight = 1000,
},
["brakepad_replacement"] = {
    label = "刹车片更换",
    weight = 1000,
},
["suspension_parts"] = {
    label = "悬挂部件",
    weight = 1000,
},
-- 发动机部件
["i4_engine"] = {
    label = "I4 发动机",
    weight = 1000,
},
["v6_engine"] = {
    label = "V6 发动机",
    weight = 1000,
},
["v8_engine"] = {
    label = "V8 发动机",
    weight = 1000,
},
["v12_engine"] = {
    label = "V12 发动机",
    weight = 1000,
},
["turbocharger"] = {
    label = "涡轮增压器",
    weight = 1000,
},
-- 电动机
["ev_motor"] = {
    label = "电动机",
    weight = 1000,
},
["ev_battery"] = {
    label = "电池",
    weight = 1000,
},
["ev_coolant"] = {
    label = "电动机冷却液",
    weight = 1000,
},
-- 驱动系统部件
["awd_drivetrain"] = {
    label = "全轮驱动系统",
    weight = 1000,
},
["rwd_drivetrain"] = {
    label = "后驱系统",
    weight = 1000,
},
["fwd_drivetrain"] = {
    label = "前驱系统",
    weight = 1000,
},
-- 调校部件
["slick_tyres"] = {
    label = "光滑轮胎",
    weight = 1000,
},
["semi_slick_tyres"] = {
    label = "半光滑轮胎",
    weight = 1000,
},
["offroad_tyres"] = {
    label = "越野轮胎",
    weight = 1000,
},
["drift_tuning_kit"] = {
    label = "漂移调校套件",
    weight = 1000,
},
["ceramic_brakes"] = {
    label = "陶瓷刹车",
    weight = 1000,
},
-- 外观部件
["lighting_controller"] = {
    label = "照明控制器",
    weight = 100,
    client = {
      event = "jg-mechanic:client:show-lighting-controller",
    }
},
["stancing_kit"] = {
    label = "车身高度调节套件",
    weight = 100,
    client = {
      event = "jg-mechanic:client:show-stancer-kit",
    }
},
["cosmetic_part"] = {
    label = "外观部件",
    weight = 100,
},
["respray_kit"] = {
    label = "喷漆套件",
    weight = 1000,
},
["vehicle_wheels"] = {
    label = "车辆轮胎套件",
    weight = 1000,
},
["tyre_smoke_kit"] = {
    label = "轮胎烟雾套件",
    weight = 1000,
},
["bulletproof_tyres"] = {
    label = "防弹轮胎",
    weight = 1000,
},
["extras_kit"] = {
    label = "附加设备套件",
    weight = 1000,
},
-- 氮气和清洁用品
["nitrous_bottle"] = {
    label = "氮气瓶",
    weight = 1000,
    client = {
      event = "jg-mechanic:client:use-nitrous-bottle",
    }
},
["empty_nitrous_bottle"] = {
    label = "空氮气瓶",
    weight = 1000,
},
["nitrous_install_kit"] = {
    label = "氮气安装套件",
    weight = 1000,
},
["cleaning_kit"] = {
    label = "清洁套件",
    weight = 1000,
    client = {
      event = "jg-mechanic:client:clean-vehicle",
    }
},
["repair_kit"] = {
    label = "维修工具包",
    weight = 1000,
    client = {
      event = "jg-mechanic:client:repair-vehicle",
    }
},
["duct_tape"] = {
    label = "胶带",
    weight = 1000,
    client = {
      event = "jg-mechanic:client:use-duct-tape",
    }
},
-- 性能部件
["performance_part"] = {
    label = "性能部件",
    weight = 1000,
},
-- 机械师平板电脑
["mechanic_tablet"] = {
    label = "机械师平板电脑",
    weight = 1000,
    client = {
      event = "jg-mechanic:client:use-tablet",
    }
}
}

如有任何问题,欢迎随时提问!
页: [1]
查看完整版本: 汉化label内容保留原代码