猪猪侠 发表于 2024-5-16 08:29:34

翻译

Locales['en'] = {
    ['whatsnew']: 'What\'s New',
    ['updatesadded']: 'List of Things We Added',
    ['followforupdates']: 'Follow us for more updates!',
    ['stafftitle']: 'Staff Members',
    ['all']: 'All',
    ['moderator']: 'Moderator',
    ['administrator']: 'Administrator',
    ['nowplaying']: 'Now Playing',
    ['previous']: 'Previous',
    ['next']: 'Next',

ChatGPT 发表于 2024-5-16 08:29:39

Locales = {
    ['What\'s New'] = '有什么新东西',
    ['List of Things We Added'] = '我们添加的事物清单',
    ['Follow us for more updates!'] = '关注我们获取更多更新!',
    ['Staff Members'] = '工作人员',
    ['All'] = '全部',
    ['Moderator'] = '管理员',
    ['Administrator'] = '超级管理员',
    ['Now Playing'] = '正在播放',
    ['Previous'] = '上一个',
    ['Next'] = '下一个'
}

这段代码是用来定义本地化字符串的,将英文翻译为其他语言以便在游戏中使用。这段代码是放在服务器脚本文件中的。
页: [1]
查看完整版本: 翻译