汉化label,和description字段
["newoil"] = {["name"] = "newoil", ["label"] = "Car Oil", ["weight"] = 0, ["type"] = "item",["image"] = "caroil.png", ["unique"] = false, ["useable"] = false,["shouldClose"] = false,["description"] = ""},["sparkplugs"]= {["name"] = "sparkplugs", ["label"] = "Spark Plugs", ["weight"] = 0, ["type"] = "item",["image"] = "sparkplugs.png", ["unique"] = false, ["useable"] = false,["shouldClose"] = false,["description"] = ""},
["carbattery"]= {["name"] = "carbattery", ["label"] = "Car Battery", ["weight"] = 0, ["type"] = "item",["image"] = "carbattery.png", ["unique"] = false, ["useable"] = false,["shouldClose"] = false,["description"] = ""},
["axleparts"]= {["name"] = "axleparts", ["label"] = "Axle Parts", ["weight"] = 0, ["type"] = "item",["image"] = "axleparts.png", ["unique"] = false, ["useable"] = false,["shouldClose"] = false,["description"] = ""},
["sparetire"]= {["name"] = "sparetire", ["label"] = "Spare Tire", ["weight"] = 0, ["type"] = "item",["image"] = "sparetire.png", ["unique"] = true,["useable"] = false,["shouldClose"] = false,["description"] = ""},
当然可以,以下是汉化后的`label`和`description`字段:
= { = "newoil", = "车用油", = 0,= "item", = "caroil.png", = false,= false, = false, = ""},
= { = "sparkplugs", = "火花塞", = 0,= "item", = "sparkplugs.png", = false,= false, = false, = ""},
= { = "carbattery", = "汽车电池", = 0,= "item", = "carbattery.png", = false,= false, = false, = ""},
= { = "axleparts", = "轴承零件", = 0,= "item", = "axleparts.png", = false,= false, = false, = ""},
= { = "sparetire", = "备用轮胎", = 0,= "item", = "sparetire.png", = true, = false, = false, = ""},
在这个代码段中,我将`label`从英文翻译成了中文。这里的每一行都代表一个物品,其`label`是物品名称。这些名称用于游戏界面显示,用户可以通过这些名称识别所需的物品。 保留源代码,只汉化语言的字段 随缘 发表于 2025-03-12 23:45
保留源代码,只汉化语言的字段
好的,以下是保留源代码并仅汉化语言字段的版本:
= { = "newoil", = "车用油", = 0,= "item", = "caroil.png", = false,= false, = false, = ""},
= { = "sparkplugs", = "火花塞", = 0,= "item", = "sparkplugs.png", = false,= false, = false, = ""},
= { = "carbattery", = "汽车电池", = 0,= "item", = "carbattery.png", = false,= false, = false, = ""},
= { = "axleparts", = "轴承零件", = 0,= "item", = "axleparts.png", = false,= false, = false, = ""},
= { = "sparetire", = "备用轮胎", = 0,= "item", = "sparetire.png", = true, = false, = false, = ""},
在这个版本中,保留了原有的代码格式,只对 `label` 字段进行了汉化。其他字段保持不变。
页:
[1]