赴爱 发表于 2025-5-3 22:30:58

汉化


Config = {};

Config.ImageExtensions = ['png', 'jpg', 'webp'] // This is to check if the background is an image or a video
Config.Background = 'https://r2.fivemanage.com/jA1B6ys9vVZ7NAwOGXK7M/LoadingOrigen.mp4' // The background video or image link
Config.Logo = 'https://r2.fivemanage.com/jA1B6ys9vVZ7NAwOGXK7M/images/store.png' // The logo image link

Config.Translates = {
    'welcome': 'Welcome to Your Server',
    'loading': 'Accessing the server',
    'web': 'By Origen Network',
    'mute': 'Press <p>SPACE</p> to mute',
    'unmute': 'Press <p>SPACE</p> to unmute',
}


ChatGPT 发表于 2025-5-3 22:31:15

以下是您的代码片段的汉化版本,并添加了注释:


Config = {}

-- 这个配置用于检查背景是图像还是视频,支持的图像格式有 png、jpg 和 webp
Config.ImageExtensions = {'png', 'jpg', 'webp'}

-- 背景视频或图像的链接
Config.Background = 'https://r2.fivemanage.com/jA1B6ys9vVZ7NAwOGXK7M/LoadingOrigen.mp4'

-- logo 图像的链接
Config.Logo = 'https://r2.fivemanage.com/jA1B6ys9vVZ7NAwOGXK7M/images/store.png'

-- 翻译配置
Config.Translates = {
    ['welcome'] = '欢迎来到您的服务器',
    ['loading'] = '正在访问服务器',
    ['web'] = '由 Origen 网络提供',
    ['mute'] = '按下空格键静音',
    ['unmute'] = '按下空格键取消静音',
}


注释部分说明了每个配置项的用途。如果您有任何其他问题或需要进一步的帮助,请告诉我!
页: [1]
查看完整版本: 汉化