搜索
开启左侧

翻译并保留源代码

[复制链接]
xiaozhou 发表于 昨天 17:03 | 显示全部楼层 |阅读模式

Locales["en"] = {
    ["show_active_character"] = "Show Active Character",
    ["active_character"] = "Active Character: %s",
    ["error_active_character"] = "There was an error obtaining your data.",
    ["delete_character"] = "Delete Your Current Character.",
    ["deleted_character"] = "Character Deleted",
    ["error_delete_character"] = "There was a problem deleting your character.",
    ["thank_you_for_registering"] = "Registration Successful. Enjoy!",
    ["debug_xPlayer_get_first_name"] = "Returns Your First Name",
    ["debug_xPlayer_get_last_name"] = "Returns Your Last Name",
    ["debug_xPlayer_get_full_name"] = "Returns Your Full Name",
    ["debug_xPlayer_get_sex"] = "Returns Your Sex",
    ["debug_xPlayer_get_dob"] = "Returns Your DOB",
    ["debug_xPlayer_get_height"] = "Returns Your Height",
    ["error_debug_xPlayer_get_first_name"] = "There was an issue while obtaining your first name.",
    ["error_debug_xPlayer_get_last_name"] = "There was an issue while obtaining your last name.",
    ["error_debug_xPlayer_get_full_name"] = "There was an issue while obtaining your full name.",
    ["error_debug_xPlayer_get_sex"] = "There was an issue while obtaining your sex.",
    ["error_debug_xPlayer_get_dob"] = "There was an issue while obtaining your date of birth.",
    ["error_debug_xPlayer_get_height"] = "There was an issue while obtaining your height.",
    ["return_debug_xPlayer_get_first_name"] = "First Name: %s",
    ["return_debug_xPlayer_get_last_name"] = "Last Name: %s",
    ["return_debug_xPlayer_get_full_name"] = "Name: %s",
    ["return_debug_xPlayer_get_sex"] = "Sex: %s",
    ["return_debug_xPlayer_get_dob"] = "DOB: %s",
    ["return_debug_xPlayer_get_height"] = "Height: %s Inches",
    ["data_incorrect"] = "Invalid Data, Please try again.",
    ["invalid_format"] = "Invalid Data Format, Please try again.",
    ["no_identifier"] = "[ESX Identity]\nThere was an issue while loading your character!\nError Code: identifier-missing\n\nThis is caused by your identifier being missing. Please come back later or report this problem to the Server Owner.",
    ["missing_identity"] = "[ESX Identity]\nThere was an issue loading your character!\nError Code: identity-missing\n\nIt seems like your identity is missing, try connecting again.",
    ["deleted_identity"] = "Character deleted. Please rejoin to create a new character.",
    ["already_registered"] = "You have already registered.",
    ["invalid_firstname_format"] = "Invalid Format (First Name): Please try again.",
    ["invalid_lastname_format"] = "Invalid Format (Last Name): Please try again.",
    ["invalid_dob_format"] = "Invalid Format (DOB): Please try again.",
    ["invalid_sex_format"] = "Invalid Format (Sex): Please try again.",
    ["invalid_height_format"] = "Invalid Format (Height): Please try again.",
}



回复 论坛版权

使用道具 举报

ChatGPT 发表于 昨天 17:03 | 显示全部楼层
Locales["en"] = {
    -- 显示当前角色
    ["show_active_character"] = "Show Active Character",
    -- 当前角色信息
    ["active_character"] = "Active Character: %s",
    -- 获取数据错误
    ["error_active_character"] = "There was an error obtaining your data.",
    -- 删除当前角色
    ["delete_character"] = "Delete Your Current Character.",
    -- 角色删除成功
    ["deleted_character"] = "Character Deleted",
    -- 删除角色错误
    ["error_delete_character"] = "There was a problem deleting your character.",
    -- 注册成功
    ["thank_you_for_registering"] = "Registration Successful. Enjoy!",
    -- 调试获取名
    ["debug_xPlayer_get_first_name"] = "Returns Your First Name",
    -- 调试获取姓
    ["debug_xPlayer_get_last_name"] = "Returns Your Last Name",
    -- 调试获取全名
    ["debug_xPlayer_get_full_name"] = "Returns Your Full Name",
    -- 调试获取性别
    ["debug_xPlayer_get_sex"] = "Returns Your Sex",
    -- 调试获取出生日期
    ["debug_xPlayer_get_dob"] = "Returns Your DOB",
    -- 调试获取身高
    ["debug_xPlayer_get_height"] = "Returns Your Height",
    -- 获取名字时的错误
    ["error_debug_xPlayer_get_first_name"] = "There was an issue while obtaining your first name.",
    -- 获取姓氏时的错误
    ["error_debug_xPlayer_get_last_name"] = "There was an issue while obtaining your last name.",
    -- 获取全名时的错误
    ["error_debug_xPlayer_get_full_name"] = "There was an issue while obtaining your full name.",
    -- 获取性别时的错误
    ["error_debug_xPlayer_get_sex"] = "There was an issue while obtaining your sex.",
    -- 获取出生日期时的错误
    ["error_debug_xPlayer_get_dob"] = "There was an issue while obtaining your date of birth.",
    -- 获取身高时的错误
    ["error_debug_xPlayer_get_height"] = "There was an issue while obtaining your height.",
    -- 返回名字
    ["return_debug_xPlayer_get_first_name"] = "First Name: %s",
    -- 返回姓氏
    ["return_debug_xPlayer_get_last_name"] = "Last Name: %s",
    -- 返回全名
    ["return_debug_xPlayer_get_full_name"] = "Name: %s",
    -- 返回性别
    ["return_debug_xPlayer_get_sex"] = "Sex: %s",
    -- 返回出生日期
    ["return_debug_xPlayer_get_dob"] = "DOB: %s",
    -- 数据错误
    ["data_incorrect"] = "Invalid Data, Please try again.",
    -- 数据格式错误
    ["invalid_format"] = "Invalid Data Format, Please try again.",
    -- 身份识别缺失错误
    ["no_identifier"] = "\nThere was an issue while loading your character!\nError Code: identifier-missing\n\nThis is caused by your identifier being missing. Please come back later or report this problem to the Server Owner.",
    -- 身份缺失错误
    ["missing_identity"] = "\nThere was an issue loading your character!\nError Code: identity-missing\n\nIt seems like your identity is missing, try connecting again.",
    -- 角色已删除提示
    ["deleted_identity"] = "Character deleted. Please rejoin to create a new character.",
    -- 已注册提示
    ["already_registered"] = "You have already registered.",
    -- 名字格式错误提示
    ["invalid_firstname_format"] = "Invalid Format (First Name): Please try again.",
    -- 姓氏格式错误提示
    ["invalid_lastname_format"] = "Invalid Format (Last Name): Please try again.",
    -- 出生日期格式错误提示
    ["invalid_dob_format"] = "Invalid Format (DOB): Please try again.",
    -- 性别格式错误提示
    ["invalid_sex_format"] = "Invalid Format (Sex): Please try again.",
    -- 身高格式错误提示
    ["invalid_height_format"] = "Invalid Format (Height): Please try again.",
}
回复

使用道具 举报

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

本版积分规则

QQ|Archiver|手机版|小黑屋|FiveM技术教程分享 ( 冀ICP备2021005225号-1 ) |网站地图

GMT+8, 2025-9-18 02:15 , Processed in 0.043572 second(s), 8 queries , Gzip On, Redis On.

Powered by Discuz! X3.4

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

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