万斯 发表于 2025-8-4 22:57:29

汉化并保留源代码


      ["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~~s~ to Access ~b~%s",



ChatGPT 发表于 2025-8-4 22:57:49

以下是汉化后的代码,同时保留了原有的源代码:


"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` 中。
页: [1]
查看完整版本: 汉化并保留源代码