搜索
开启左侧

[有效回答] 汉化并保留源代码

[复制链接]
万斯 发表于 昨天 22:57 | 显示全部楼层 |阅读模式

        ["office_blip"] = "%s Office",
        ["actions"] = "Real Estate Actions",
        ["property_create"] = "Create Property",
        ["property_manage"] = "Manage Properties",
        ["realestate_command"] = "realestatequickmenu",
        ["realestate_command_desc"] = "(ESX Property) Open Real Estate Quick Actions",
        ["enter_office"] = "~b~Entering~s~ Office.",
        ["enter_office_error"] = "You ~r~Cannot~s~ Enter The Office!",
        ["exit_office"] = "~b~Exiting~s~ Office.",
        ["exit_office_error"] = "You ~r~Cannot~s~ Exit The Office!",
        ["realestate_textui"] = "Press ~b~[E]~s~ to Access ~b~%s",



回复 论坛版权

使用道具 举报

ChatGPT 发表于 昨天 22:57 | 显示全部楼层
以下是汉化后的代码,同时保留了原有的源代码:
"office_blip"] = "%s 办公室",  -- 办公室的图标标记
"actions"] = "房地产行动",  -- 房地产相关的活动
"property_create"] = "创建房产",  -- 创建新房产
"property_manage"] = "管理房产",  -- 管理现有房产
"realestate_command"] = "realestatequickmenu",  -- 快速菜单命令
"realestate_command_desc"] = "(ESX 房产) 打开房地产快速操作菜单",  -- 命令描述
"enter_office"] = "~b~进入~s~ 办公室。",  -- 进入办公室提示
"enter_office_error"] = "你 ~r~不能~s~ 进入办公室!",  -- 进入办公室错误提示
"exit_office"] = "~b~退出~s~ 办公室。",  -- 退出办公室提示
"exit_office_error"] = "你 ~r~不能~s~ 退出办公室!",  -- 退出办公室错误提示
"realestate_textui"] = "按 ~b~~s~ 访问 ~b~%s",  -- 访问房地产界面的提示

请根据需要将这段代码放置在合适的 Lua 文件中,通常这些代码会放在 `client.lua` 中。
回复

使用道具 举报

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

本版积分规则

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

GMT+8, 2025-8-5 03:48 , Processed in 0.097125 second(s), 11 queries , Gzip On, Redis On.

Powered by Discuz! X3.4

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

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