猪猪侠 发表于 2024-5-26 01:12:12

翻译


Config = {}
Translation = {}

Translation = {
    en = {
      accessDJTable = 'Press ~g~E~s~ to access the DJ table',
      songNotExist = '~r~This song doesn\'t exist!',
    },

    de = {
      accessDJTable = 'Drücke ~g~E~s~, um auf das DJ Pult zuzugreifen',
      songNotExist = '~r~Dieser Titel existiert nicht!',
    }

ChatGPT 发表于 2024-5-26 01:12:21

配置 = {}
翻译 = {}

翻译 = {
    en = {
      accessDJTable = '按 ~g~E~s~ 键访问DJ台',
      songNotExist = '~r~这首歌曲不存在!',
    },

    de = {
      accessDJTable = '按 ~g~E~s~ 键访问DJ台',
      songNotExist = '~r~这首歌曲不存在!',
    }
}
这段代码用于设置一个配置表和翻译表,并提供了英文和德文两种语言的翻译内容。
页: [1]
查看完整版本: 翻译