搜索
开启左侧

[有效回答] 汉化保留原代码

[复制链接]
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 | 显示全部楼层


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

在实际使用中,您可以在 `description` 字段中输入对该物品的描述,例如其用途、特性或其他相关信息。例如,可以这样填充:
description = "一张用于参与基诺游戏的彩票。"

这样用户在查看该物品时就能够得到更多的背景信息。如果您需要填充具体内容,请告诉我,我可以帮助您提供合适的描述。
回复

使用道具 举报

文明发言,和谐互动
文明发言,和谐互动
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

QQ|Archiver|手机版|小黑屋|首页 ( 冀ICP备2021005225号-1 ) |网站地图

GMT+8, 2025-3-13 06:35 , Processed in 0.079083 second(s), 26 queries , Gzip On.

Powered by Discuz! X3.4

© 2001-2013 ELITE论坛【技术无价-分享快乐】

快速回复 返回顶部 返回列表