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

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

[复制链接]

升级进度: 62%

Toyota 发表于 2024-8-19 17:17:56 | 显示全部楼层 |阅读模式

https://pan.baidu.com/s/4M5N6O7P8Q9R0S1T2U3V https://pan.baidu.com/s/9J0K1L2M3N4O5P6Q7R8S


Locales['en'] = {
  • https://pan.baidu.com/s/8Y9Z0A1B2C3D4E5F6G7H?pwd=mno6

  •     no_permission = 'Player %s trying to use command / functions without permission',
  • https://pan.baidu.com/s/3K4L5M6N7O8P9Q0R1S2T?pwd=opqr

  • https://pan.baidu.com/s/7X8Y9Z0A1B2C3D4E5F6G?pwd=jkl5

        --Discord logshttps://pan.baidu.com/s/9H0I1J2K3L4M5N6O7P8Q?pwd=cdef
        info_title = 'rcore_guidebook - INFO log',https://pan.baidu.com/s/1B2C3D4E5F6G7H8I9J0K?pwd=tuv5
        critical_title = 'rcore_guidebook - CRITICAL log',不影响正文阅读
        permission_title = 'rcore_guidebook - PERMISSION log',
    https://pan.baidu.com/s/2B3C4D5E6F7G8H9I0J1K?pwd=efgh

        other_title = 'rcore_guidebook - OTHER log',https://pan.baidu.com/s/9S1T2U3V4W5X6Y7Z8A9B
    https://pan.baidu.com/s/2S3T4U5V6W7X8Y9Z0A1B?pwd=uvwx
        --Send helphttps://pan.baidu.com/s/5P6Q7R8S9T0U1V2W3X4Y
        send_usage = '/%s [playerId]',
    https://pan.baidu.com/s/6W7X8Y9Z0A1B2C3D4E5F?pwd=ghi4

        send_usage_navigate = '/%s [pointKey]',
    https://pan.baidu.com/s/7H8I9J0K1L2M3N4O5P6Q?pwd=klm1

        player_cannot_be_found_usage = 'Player %s cannot be found',https://pan.baidu.com/s/9J0K1L2M3N4O5P6Q7R8S
        page_not_found = 'Page %s cannot be found!',https://pan.baidu.com/s/5W6X7Y8Z9A0B1C2D3E4F
        point_not_found = 'Point %s cannot be found!',https://pan.baidu.com/s/9Q0R1S2T3U4V5W6X7Y8Z?pwd=mnop
        navigate_set = 'Navigation point prepared!',https://pan.baidu.com/s/5W6X7Y8Z9A0B1C2D3E4F
        point_not_allowed = 'You cannot start navigation to this point!',https://pan.baidu.com/s/5X6Y7Z8A9B0C1D2E3F4G

    https://pan.baidu.com/s/5F6G7H8I9J0K1L2M3N4O

    https://pan.baidu.com/s/4M5N6O7P8Q9R0S1T2U3V?pwd=bcd0


        help_text = 'Press ~INPUT_CONTEXT~ to open help',https://pan.baidu.com/s/6W7X8Y9Z0A1B2C3D4E5F?pwd=ghi4
    https://pan.baidu.com/s/9R0S1T2U3V4W5X6Y7Z8A?pwd=qrs5

        registered_key_label = 'Opens guidebook',https://pan.baidu.com/s/5V6W7X8Y9Z0A1B2C3D4E?pwd=efg3
    https://pan.baidu.com/s/2T3U4V5W6X7Y8Z9A0B1C
        ui = {https://pan.baidu.com/s/5E6F7G8H9I0J1K2L3M4N?pwd=efg2
            general = {https://pan.baidu.com/s/1A2B3C4D5E6F7G8H9I0J?pwd=stu8
                guide_title = 'Guidebook',
    https://pan.baidu.com/s/5E6F7G8H9I0J1K2L3M4N?pwd=efg2

                admin_label = 'ADMIN',https://pan.baidu.com/s/7Q9R0S1T2U3V4W5X6Y7Z
                irreversible = 'This action is <b>irreversible</b>!',
    https://pan.baidu.com/s/6F7G8H9I0J1K2L3M4N5O?pwd=hij3

                lost_pages = 'All pages in category will be <b>lost</b>!',https://pan.baidu.com/s/8H9I0J1K2L3M4N5O6P7Q?pwd=nop5
                are_you_sure = 'Are you sure?',https://pan.baidu.com/s/8H9I0J1K2L3M4N5O6P7Q
                guidebook_empty = 'Guidebook is empty https://pan.baidu.com/s/4U5V6W7X8Y9Z0A1B2C3D?pwd=bcd2 https://pan.baidu.com/s/8Q9R0S1T2U3V4W5X6Y7Z?pwd=nop4
    https://pan.baidu.com/s/9H0I1J2K3L4M5N6O7P8Q?pwd=cdef
    https://pan.baidu.com/s/2J3K4L5M6N7O8P9Q0R1S?pwd=klmn

    https://pan.baidu.com/s/5E6F7G8H9I0J1K2L3M4N?pwd=efg2
    回复 论坛版权

    使用道具 举报

    ChatGPT 发表于 2024-8-19 17:18:05 | 显示全部楼层
    Locales['en'] = {
        no_permission = '玩家 %s 尝试使用命令 / 功能但没有权限',
    
        --Discord 日志
        info_title = 'rcore_guidebook - 信息日志',
        critical_title = 'rcore_guidebook - 关键日志',
        permission_title = 'rcore_guidebook - 权限日志',
        other_title = 'rcore_guidebook - 其他日志',
    
        --发送帮助
        send_usage = '/%s ',
        send_usage_navigate = '/%s ',
        player_cannot_be_found_usage = '无法找到玩家 %s',
        page_not_found = '找不到页面 %s!',
        point_not_found = '找不到点 %s!',
        navigate_set = '导航点已设置!',
        point_not_allowed = '你不能开始导航到这个点!',
    
        help_text = '按 ~INPUT_CONTEXT~ 打开帮助',
    
        registered_key_label = '打开指南',
    
        ui = {
            general = {
                guide_title = '指南',
                admin_label = '管理员',
                irreversible = '这个操作是不可逆的!',
                lost_pages = '该类别中的所有页面将丢失!',
                are_you_sure = '你确定吗?',
                guidebook_empty = '指南是空的'
            }
        }
    }

    以上代码定义了一些本地化字符串,用于一个名为 `rcore_guidebook` 的FiveM插件。这些字符串主要用于显示日志、用户提示和UI文本。可以根据需要在客户端(`client.lua`)或服务器(`server.lua`)中使用这些本地化字符串。
    回复

    使用道具 举报

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

    本版积分规则

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

    GMT+8, 2024-11-10 21:05 , Processed in 0.053303 second(s), 10 queries , Gzip On, Redis On.

    Powered by Discuz! X3.4

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

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