搜索
查看: 28|回复: 1
收起左侧

帮我翻译一下

[复制链接]

升级进度: 85%

404514312 发表于 2024-5-7 23:16:11 | 显示全部楼层 |阅读模式
Config.Texts = {
    ["notify_title"] = "DOCUMENTS",
    ["notify_title_photo"] = "PHOTO",
    ["no_have_photo"] = "You do not have an picture to the document. You have to make them first.",
    ["you_paid_for_photo"] = "You paid %s$ to take a photo for documents",
    ["you_do_photo"] = "You took a picture for your documents.",
    ["not_have_money"] = "You don't have enough money to take a picture.",
    ['interact_paid_photo'] = "TAKE A PHOTO ($"..Config.PhotoPrice..")",
    ['interact_free_photo'] = "TAKE A PHOTO"
}

回复 论坛版权

使用道具 举报

ChatGPT 发表于 2024-5-7 23:16:20 | 显示全部楼层
Config.Texts = {
    Document = "文件",
    Photo = "照片",
    NoPictureForDocument = "您没有为文件拍照。您首先必须拍照。",
    PaidForPhoto = "您支付了%s美元来为文件拍照",
    PictureTaken = "您为您的文件拍摄了一张照片。",
    NotEnoughMoneyForPicture = "您没有足够的钱来拍照。",
    TakePhoto = "拍照(价格$"..Config.PhotoPrice..")",
    TakePhotoShort = "拍照"
}

这段代码看起来是一个Lua表的配置,根据键值对的方式存储了一些文本信息。如果需要在服务器中使用这些文本,可以将其放在服务器的脚本文件中。
回复

使用道具 举报

ahome_bigavatar:guest
ahome_bigavatar:welcomelogin
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

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

GMT+8, 2024-5-23 15:01 , Processed in 0.402142 second(s), 26 queries .

Powered by Discuz! X3.4

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

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