wx363880556 发表于 2024-8-19 15:09:41

翻译成中文,保留原有代码


--- Casino

    ["casino_redchip"]               = {["name"] = "casino_redchip",             ["label"] = "Casino Chip",             ["weight"] = 0,         ["type"] = "item",      ["image"] = "casino_redchip.png",               ["unique"] = false,   ["useable"] = false,    ["shouldClose"] = false,   ["combinable"] = nil,   ["description"] = "Diamond Casino Inside Track Chip"},
    ["casino_whitechip"]             = {["name"] = "casino_whitechip",         ["label"] = "Casino Chip",             ["weight"] = 0,         ["type"] = "item",      ["image"] = "casino_whitechip.png",             ["unique"] = false,   ["useable"] = false,    ["shouldClose"] = false,   ["combinable"] = nil,   ["description"] = "Diamond Casino Slot Machine Chip"},
    ["casino_bluechip"]            = {["name"] = "casino_bluechip",            ["label"] = "Casino Chip",             ["weight"] = 0,         ["type"] = "item",      ["image"] = "casino_bluechip.png",            ["unique"] = false,   ["useable"] = false,    ["shouldClose"] = false,   ["combinable"] = nil,   ["description"] = "Diamond Casino Roulette Chip"},
    ["casino_blackchip"]             = {["name"] = "casino_blackchip",         ["label"] = "Casino Chip",             ["weight"] = 0,         ["type"] = "item",      ["image"] = "casino_blackchip.png",             ["unique"] = false,   ["useable"] = false,    ["shouldClose"] = false,   ["combinable"] = nil,   ["description"] = "Diamond Casino Blackjack Chip"},
    ["casino_goldchip"]            = {["name"] = "casino_goldchip",            ["label"] = "Casino Chip",             ["weight"] = 0,         ["type"] = "item",      ["image"] = "casino_goldchip.png",            ["unique"] = false,   ["useable"] = false,    ["shouldClose"] = false,   ["combinable"] = nil,   ["description"] = "Diamond Casino Chip"},
    ["casino_member"]                = {["name"] = "casino_member",            ["label"] = "Casino Membership",       ["weight"] = 500,       ["type"] = "item",      ["image"] = "casino_member.png",                ["unique"] = true,      ["useable"] = false,    ["shouldClose"] = false,   ["combinable"] = nil,   ["description"] = "Diamond Casino Member Card"},
    ["casino_vip"]                   = {["name"] = "casino_vip",               ["label"] = "V.I.P Membership",      ["weight"] = 500,       ["type"] = "item",      ["image"] = "casino_vip.png",                   ["unique"] = true,      ["useable"] = false,    ["shouldClose"] = false,   ["combinable"] = nil,   ["description"] = "Diamond Casino V.I.P Card"},

    ["burger-bleeder"]               = {["name"] = "burger-bleeder",                ["label"] = "Bleeder",                  ["weight"] = 250,       ["type"] = "item",      ["image"] = "bs_the-bleeder.png",         ["unique"] = false,   ["useable"] = true,   ["shouldClose"] = true,    ["combinable"] = nil,   ["description"] = "Sates Hunger."},
    ["burger-moneyshot"]             = {["name"] = "burger-moneyshot",            ["label"] = "Moneyshot",                ["weight"] = 300,       ["type"] = "item",      ["image"] = "bs_money-shot.png",            ["unique"] = false,   ["useable"] = true,   ["shouldClose"] = true,    ["combinable"] = nil,   ["description"] = "Sates Hunger."},
    ["burger-torpedo"]               = {["name"] = "burger-torpedo",                ["label"] = "Torpedo",                  ["weight"] = 310,       ["type"] = "item",      ["image"] = "bs_torpedo.png",               ["unique"] = false,   ["useable"] = true,   ["shouldClose"] = true,    ["combinable"] = nil,   ["description"] = "Sates Hunger."},
    ["burger-heartstopper"]          = {["name"] = "burger-heartstopper",         ["label"] = "Heartstopper",             ["weight"] = 2500,      ["type"] = "item",      ["image"] = "bs_the-heart-stopper.png",   ["unique"] = false,   ["useable"] = true,   ["shouldClose"] = true,    ["combinable"] = nil,   ["description"] = "Sates Hunger."},
    ["burger-meatfree"]            = {["name"] = "burger-meatfree",               ["label"] = "MeatFree",               ["weight"] = 125,       ["type"] = "item",      ["image"] = "bs_meat-free.png",             ["unique"] = false,   ["useable"] = true,   ["shouldClose"] = true,    ["combinable"] = nil,   ["description"] = "Sates Hunger."},
    ["burger-fries"]               = {["name"] = "burger-fries",                  ["label"] = "Fries",                  ["weight"] = 125,       ["type"] = "item",      ["image"] = "bs_fries.png",               ["unique"] = false,   ["useable"] = true,   ["shouldClose"] = true,    ["combinable"] = nil,   ["description"] = "Sates Hunger."},
-- Drinks
   
    ["burger-softdrink"]             = {["name"] = "burger-softdrink",            ["label"] = "Soft Drink",               ["weight"] = 125,       ["type"] = "item",      ["image"] = "bs_softdrink.png",             ["unique"] = false,   ["useable"] = true,   ["shouldClose"] = true,    ["combinable"] = nil,   ["description"] = "An Ice Cold Drink."},
    ["burger-mshake"]                = {["name"] = "burger-mshake",               ["label"] = "Milkshake",                ["weight"] = 125,       ["type"] = "item",      ["image"] = "bs_milkshake.png",             ["unique"] = false,   ["useable"] = true,   ["shouldClose"] = true,    ["combinable"] = nil,   ["description"] = "Hand-scooped for you!"},
   
--Ingredients
    ["burger-bun"]                   = {["name"] = "burger-bun",                  ["label"] = "Bun",                      ["weight"] = 125,       ["type"] = "item",      ["image"] = "bs_bun.png",                   ["unique"] = false,   ["useable"] = false,    ["shouldClose"] = true,    ["combinable"] = nil,   ["description"] = "An Ingredient"},
    ["burger-meat"]                  = {["name"] = "burger-meat",                   ["label"] = "Cooked Patty",             ["weight"] = 125,       ["type"] = "item",      ["image"] = "bs_patty.png",               ["unique"] = false,   ["useable"] = false,    ["shouldClose"] = true,    ["combinable"] = nil,   ["description"] = "An Ingredient"},
    ["burger-lettuce"]               = {["name"] = "burger-lettuce",                ["label"] = "Lettuce",                  ["weight"] = 125,       ["type"] = "item",      ["image"] = "bs_lettuce.png",               ["unique"] = false,   ["useable"] = false,    ["shouldClose"] = true,    ["combinable"] = nil,   ["description"] = "An Ingredient"},
    ["burger-tomato"]                = {["name"] = "burger-tomato",               ["label"] = "Tomato",                   ["weight"] = 125,       ["type"] = "item",      ["image"] = "bs_tomato.png",                ["unique"] = false,   ["useable"] = false,    ["shouldClose"] = true,    ["combinable"] = nil,   ["description"] = "An Ingredient"},
    ["burger-raw"]                   = {["name"] = "burger-raw",                  ["label"] = "Raw Patty",                ["weight"] = 125,       ["type"] = "item",      ["image"] = "bs_patty_raw.png",             ["unique"] = false,   ["useable"] = false,    ["shouldClose"] = true,    ["combinable"] = nil,   ["description"] = "An Ingredient"},
    ["burger-potato"]                = {["name"] = "burger-potato",               ["label"] = "Bag of Potatoes",          ["weight"] = 1500,      ["type"] = "item",      ["image"] = "bs_potato.png",                ["unique"] = false,   ["useable"] = false,    ["shouldClose"] = true,    ["combinable"] = nil,   ["description"] = "An Ingredient"},
    ["burger-mshakeformula"]         = {["name"] = "burger-mshakeformula",          ["label"] = "Milkshake Formula",      ["weight"] = 125,       ["type"] = "item",      ["image"] = "bs_ingredients_icecream.png",["unique"] = false,   ["useable"] = false,    ["shouldClose"] = true,    ["combinable"] = nil,   ["description"] = "An Ingredient"},
    ["burger-sodasyrup"]             = {["name"] = "burger-sodasyrup",            ["label"] = "Soda Syrup",               ["weight"] = 125,       ["type"] = "item",      ["image"] = "bs_ingredients_hfcs.png",      ["unique"] = false,   ["useable"] = false,    ["shouldClose"] = true,    ["combinable"] = nil,   ["description"] = "An Ingredient"},

    ["burger-toy1"]                  = {["name"] = "burger-toy1",                   ["label"] = "Action Figure",            ["weight"] = 50,      ["type"] = "item",      ["image"] = "action-figure.png",            ["unique"] = true,      ["useable"] = false,    ["shouldClose"] = false,    ["combinable"] = nil,   ["description"] = "An Action Figure From the late 90's"},
    ["burger-toy2"]                  = {["name"] = "burger-toy2",                   ["label"] = "Pink Teddy",               ["weight"] = 50,      ["type"] = "item",      ["image"] = "beaniebaby.png",               ["unique"] = true,      ["useable"] = false,    ["shouldClose"] = false,    ["combinable"] = nil,   ["description"] = "A Fluffy Pink Teddy from the Atic"},
    ["burger-murdermeal"]            = {["name"] = "burger-murdermeal",             ["label"] = "Murder Meal",            ["weight"] = 125,       ["type"] = "item",      ["image"] = "burger-box.png",               ["unique"] = false,   ["useable"] = true,   ["shouldClose"] = true,    ["combinable"] = nil,   ["description"] = "An Amazing Murder Meal with a chance of a toy."},
    ["c4"] = {["name"] = "c4", ["label"] = "c4", ["weight"] = 10, ["type"] = "item", ["image"] = "np_c4.png", ["unique"] = false, ["useable"] = false, ["shouldClose"] = true, ["combinable"] = nil, ["description"] = "Illegal Explosive"},


ChatGPT 发表于 2024-8-19 15:10:59

翻译代码注释并保留原有代码如下:

--- 赌场物品
["casino_redchip"] = {["name"] = "casino_redchip", ["label"] = "赌场筹码", ["weight"] = 0, ["type"] = "item", ["image"] = "casino_redchip.png", ["unique"] = false, ["useable"] = false, ["shouldClose"] = false, ["combinable"] = nil, ["description"] = "Diamond Casino 内轨道筹码"},
["casino_whitechip"] = {["name"] = "casino_whitechip", ["label"] = "赌场筹码", ["weight"] = 0, ["type"] = "item", ["image"] = "casino_whitechip.png", ["unique"] = false, ["useable"] = false, ["shouldClose"] = false, ["combinable"] = nil, ["description"] = "Diamond Casino 老虎机筹码"},
["casino_bluechip"] = {["name"] = "casino_bluechip", ["label"] = "赌场筹码", ["weight"] = 0, ["type"] = "item", ["image"] = "casino_bluechip.png", ["unique"] = false, ["useable"] = false, ["shouldClose"] = false, ["combinable"] = nil, ["description"] = "Diamond Casino 轮盘筹码"},
["casino_blackchip"] = {["name"] = "casino_blackchip", ["label"] = "赌场筹码", ["weight"] = 0, ["type"] = "item", ["image"] = "casino_blackchip.png", ["unique"] = false, ["useable"] = false, ["shouldClose"] = false, ["combinable"] = nil, ["description"] = "Diamond Casino 二十一点筹码"},
["casino_goldchip"] = {["name"] = "casino_goldchip", ["label"] = "赌场筹码", ["weight"] = 0, ["type"] = "item", ["image"] = "casino_goldchip.png", ["unique"] = false, ["useable"] = false, ["shouldClose"] = false, ["combinable"] = nil, ["description"] = "Diamond Casino 筹码"},
["casino_member"] = {["name"] = "casino_member", ["label"] = "赌场会员卡", ["weight"] = 500, ["type"] = "item", ["image"] = "casino_member.png", ["unique"] = true, ["useable"] = false, ["shouldClose"] = false, ["combinable"] = nil, ["description"] = "Diamond Casino 会员卡"},
["casino_vip"] = {["name"] = "casino_vip", ["label"] = "VIP 会员卡", ["weight"] = 500, ["type"] = "item", ["image"] = "casino_vip.png", ["unique"] = true, ["useable"] = false, ["shouldClose"] = false, ["combinable"] = nil, ["description"] = "Diamond Casino VIP 卡"},

--- 汉堡店物品
["burger-bleeder"] = {["name"] = "burger-bleeder", ["label"] = "Bleeder 汉堡", ["weight"] = 250, ["type"] = "item", ["image"] = "bs_the-bleeder.png", ["unique"] = false, ["useable"] = true, ["shouldClose"] = true, ["combinable"] = nil, ["description"] = "解饥饿。"},
["burger-moneyshot"] = {["name"] = "burger-moneyshot", ["label"] = "Moneyshot 汉堡", ["weight"] = 300, ["type"] = "item", ["image"] = "bs_money-shot.png", ["unique"] = false, ["useable"] = true, ["shouldClose"] = true, ["combinable"] = nil, ["description"] = "解饥饿。"},
["burger-torpedo"] = {["name"] = "burger-torpedo", ["label"] = "Torpedo 汉堡", ["weight"] = 310, ["type"] = "item", ["image"] = "bs_torpedo.png", ["unique"] = false, ["useable"] = true, ["shouldClose"] = true, ["combinable"] = nil, ["description"] = "解饥饿。"},
["burger-heartstopper"] = {["name"] = "burger-heartstopper", ["label"] = "Heartstopper 汉堡", ["weight"] = 2500, ["type"] = "item", ["image"] = "bs_the-heart-stopper.png", ["unique"] = false, ["useable"] = true, ["shouldClose"] = true, ["combinable"] = nil, ["description"] = "解饥饿。"},
["burger-meatfree"] = {["name"] = "burger-meatfree", ["label"] = "肉类免费汉堡", ["weight"] = 125, ["type"] = "item", ["image"] = "bs_meat-free.png", ["unique"] = false, ["useable"] = true, ["shouldClose"] = true, ["combinable"] = nil, ["description"] = "解饥饿。"},
["burger-fries"] = {["name"] = "burger-fries", ["label"] = "薯条", ["weight"] = 125, ["type"] = "item", ["image"] = "bs_fries.png", ["unique"] = false, ["useable"] = true, ["shouldClose"] = true, ["combinable"] = nil, ["description"] = "解饥饿。"},

-- 饮料
["burger-softdrink"] = {["name"] = "burger-softdrink", ["label"] = "软饮料", ["weight"] = 125, ["type"] = "item", ["image"] = "bs_softdrink.png", ["unique"] = false, ["useable"] = true, ["shouldClose"] = true, ["combinable"] = nil, ["description"] = "冰凉的饮料。"},
["burger-mshake"] = {["name"] = "burger-mshake", ["label"] = "奶昔", ["weight"] = 125, ["type"] = "item", ["image"] = "bs_milkshake.png", ["unique"] = false, ["useable"] = true, ["shouldClose"] = true, ["combinable"] = nil, ["description"] = "为你手工打制的奶昔!"},

-- 原材料
["burger-bun"] = {["name"] = "burger-bun", ["label"] = "面包", ["weight"] = 125, ["type"] = "item", ["image"] = "bs_bun.png", ["unique"] = false, ["useable"] = false, ["shouldClose"] = true, ["combinable"] = nil, ["description"] = "一种原材料"},
["burger-meat"] = {["name"] = "burger-meat", ["label"] = "熟肉饼", ["weight"] = 125, ["type"] = "item", ["image"] = "bs_patty.png", ["unique"] = false, ["useable"] = false, ["shouldClose"] = true, ["combinable"] = nil, ["description"] = "一种原材料"},
["burger-lettuce"] = {["name"] = "burger-lettuce", ["label"] = "生菜", ["weight"] = 125, ["type"] = "item", ["image"] = "bs_lettuce.png", ["unique"] = false, ["useable"] = false, ["shouldClose"] = true, ["combinable"] = nil, ["description"] = "一种原材料"},
["burger-tomato"] = {["name"] = "burger-tomato", ["label"] = "番茄", ["weight"] = 125, ["type"] = "item", ["image"] = "bs_tomato.png", ["unique"] = false, ["useable"] = false, ["shouldClose"] = true, ["combinable"] = nil, ["description"] = "一种原材料"},
["burger-raw"] = {["name"] = "burger-raw", ["label"] = "生肉饼", ["weight"] = 125, ["type"] = "item", ["image"] = "bs_patty_raw.png", ["unique"] = false, ["useable"] = false, ["shouldClose"] = true, ["combinable"] = nil, ["description"] = "一种原材料"},
["burger-potato"] = {["name"] = "burger-potato", ["label"] = "一袋土豆", ["weight"] = 1500, ["type"] = "item", ["image"] = "bs_potato.png", ["unique"] = false, ["useable"] = false, ["shouldClose"] = true, ["combinable"] = nil, ["description"] = "一种原材料"},
["burger-mshakeformula"] = {["name"] = "burger-mshakeformula", ["label"] = "奶昔配方", ["weight"] = 125, ["type"] = "item", ["image"] = "bs_ingredients_icecream.png", ["unique"] = false, ["useable"] = false, ["shouldClose"] = true, ["combinable"] = nil, ["description"] = "一种原材料"},
["burger-sodasyrup"] = {["name"] = "burger-sodasyrup", ["label"] = "苏打糖浆", ["weight"] = 125, ["type"] = "item", ["image"] = "bs_ingredients_hfcs.png", ["unique"] = false, ["useable"] = false, ["shouldClose"] = true, ["combinable"] = nil, ["description"] = "一种原材料"},

--玩具
["burger-toy1"] = {["name"] = "burger-toy1", ["label"] = "动作玩偶", ["weight"] = 50, ["type"] = "item", ["image"] = "action-figure.png", ["unique"] = true, ["useable"] = false, ["shouldClose"] = false, ["combinable"] = nil, ["description"] = "90年代末的动作玩偶"},
["burger-toy2"] = {["name"] = "burger-toy2", ["label"] = "粉红泰迪熊", ["weight"] = 50, ["type"] = "item", ["image"] = "beaniebaby.png", ["unique"] = true, ["useable"] = false, ["shouldClose"] = false, ["combinable"] = nil, ["description"] = "阁楼里的一个毛茸茸的粉红泰迪熊"},
["burger-murdermeal"] = {["name"] = "burger-murdermeal", ["label"] = "谋杀套餐", ["weight"] = 125, ["type"] = "item", ["image"] = "burger-box.png", ["unique"] = false, ["useable"] = true, ["shouldClose"] = true, ["combinable"] = nil, ["description"] = "一个惊人的谋杀套餐,有机会获得玩具。"},

--炸药
["c4"] = {["name"] = "c4", ["label"] = "C4 炸药", ["weight"] = 10, ["type"] = "item", ["image"] = "np_c4.png", ["unique"] = false, ["useable"] = false, ["shouldClose"] = true, ["combinable"] = nil, ["description"] = "非法爆炸物"},

按照上述格式,已将所有物品的注释和标签翻译为中文,并保留了原有代码。
页: [1]
查看完整版本: 翻译成中文,保留原有代码