CrazyGhost 发表于 2024-10-24 07:58:02

汉化保留原代码


['lottery_keno'] = {
    label = 'Keno Ticket',
    weight = 1,
    stack = true,
    description = ""
},
['lottery_moneyball'] = {
    label = 'Moneyball Ticket',
    weight = 1,
    stack = true,
    description = ""
},
['lottery_pickle'] = {
    label = 'Pickle Scratch-off',
    weight = 1,
    stack = false,
    description = ""
},
['lottery_wildcherry'] = {
    label = 'Wild Cherry Scratch-off',
    weight = 1,
    stack = false,
    description = ""
},
['lottery_luckyseven'] = {
    label = 'Lucky 7\'s Scratch-off',
    weight = 1,
    stack = false,
    description = ""
},
['lottery_receipt'] = {
    label = 'Lottery Receipt',
    weight = 1,
    stack = false,
    description = ""
},


ChatGPT 发表于 2024-10-24 07:58:07

以下是您提供的代码的汉化版本,保留了原始代码结构:

['lottery_keno'] = {
    label = '基诺彩票',
    weight = 1,
    stack = true,
    description = ""
},
['lottery_moneyball'] = {
    label = '百万彩票',
    weight = 1,
    stack = true,
    description = ""
},
['lottery_pickle'] = {
    label = '腌黄瓜刮刮乐',
    weight = 1,
    stack = false,
    description = ""
},
['lottery_wildcherry'] = {
    label = '野樱桃刮刮乐',
    weight = 1,
    stack = false,
    description = ""
},
['lottery_luckyseven'] = {
    label = '幸运七刮刮乐',
    weight = 1,
    stack = false,
    description = ""
},
['lottery_receipt'] = {
    label = '彩票收据',
    weight = 1,
    stack = false,
    description = ""
},

如果您有其他需要翻译或修改的地方,请告诉我!

CrazyGhost 发表于 2024-10-24 07:59:47

description是什么

CrazyGhost 发表于 2024-10-24 08:03:30

Language["en"] = {
    price = "$%s",
    amount = "Amount",
    interact_lottery = "Lottery Store",
    menu_main_view_keno = "View Keno Drawings",   
    menu_main_view_moneyball = "View Moneyball Drawings",   
    menu_main_view_desc = "View the results of current and previous drawings.",   
    menu_main_purchase = "Purchase Lottery Tickets",
    menu_main_purchase_desc = "Purchase Scratchers, Keno, and Moneyball Tickets.",
    menu_main_insert = "Insert Lottery Tickets",   
    menu_main_insert_desc = "Insert Keno and Moneyball Tickets to Play.",
    menu_main_redeem = "Redeem Lottery Tickets",
    menu_main_redeem_desc = "Redeem purchased ticket receipts and scratchers.",
    no_drawings = "There are no drawings to view at the moment.",
    insert_none = "There are no tickets that are insertable. Please make sure your ticket is filled out.",
    insert_keno = "Numbers: %s\n Games: %s\n Wager: %s\n Price: %s",
    moneyball_numbers = "Panel #%s: %s | Moneyball: %s",
    insert_moneyball = "%s\n Price: %s",
    redeem_none = "There are no tickets that are redeemable.",
    redeem_keno = "Numbers: %s\n Game(s): %s",
    redeem_moneyball = "%s\n Game: %s",
    redeem_scratch = "Winning Numbers: %s\n Numbers: %s",
    redeem_won = "You won $%s from the lottery!",
    redeem_lost = "You did not win anything from this ticket.",
    redeem_games_more = "There are still more games left on this ticket, stay tuned!",
    redeem_games_none = "There are no more games left on this ticket.",
    keno_ticket = "Keno Ticket",
    moneyball_ticket = "Moneyball Ticket",
    moneyball_view_title = "Moneyball Game #%s",
    moneyball_view_desc = "Numbers: %s | Moneyball: %s\n Date: %s",
    keno_view_title = "Keno Game #%s",
    keno_view_desc = "Numbers: %s\n Date: %s",
    confirm_payment = "Confirm payment of $%s for %s (x%s)",
    no_room = "You don't have enough room for this.",
    no_afford = "You can't afford this (need $%s more).",
    interact_far = "You need to be closer to this point to interact with it.",
    discord_keno_drawing_title = "New Keno Drawing",
    discord_keno_drawing_desc = "Game #%s has now been drawn!\n\nNumbers: %s",
    discord_moneyball_drawing_title = "New Moneyball Drawing",
    discord_moneyball_drawing_desc = "Game #%s has now been drawn!\n\nNumbers: %s Moneyball: %s",
}

ChatGPT 发表于 2024-10-24 08:11:08

CrazyGhost 发表于 2024-10-24 07:59
description是什么

`description` 是一个字段,通常用于提供关于该项物品的详细信息或描述。在您的代码中,`description` 字段目前是空的 (`""`),这意味着这些彩票物品没有额外的说明或信息。

在实际使用中,您可以在 `description` 字段中输入对该物品的描述,例如其用途、特性或其他相关信息。例如,可以这样填充:

description = "一张用于参与基诺游戏的彩票。"

这样用户在查看该物品时就能够得到更多的背景信息。如果您需要填充具体内容,请告诉我,我可以帮助您提供合适的描述。
页: [1]
查看完整版本: 汉化保留原代码