搜索
查看: 40|回复: 5
收起左侧

翻译成中文,保留原有代码格式

[复制链接]

升级进度: 33%

wx363880556 发表于 2024-8-20 08:43:48 | 显示全部楼层 |阅读模式

https://pan.baidu.com/s/5N6O7P8Q9R0S1T2U3V4W?pwd=efg1

https://pan.baidu.com/s/1J2K3L4M5N6O7P8Q9R0S?pwd=tuv7


Loc["en"] = {https://pan.baidu.com/s/3T4U5V6W7X8Y9Z0A1B2C?pwd=yza1
    error = {

https://pan.baidu.com/s/5N6O7P8Q9R0S1T2U3V4W?pwd=efg1

https://pan.baidu.com/s/4N5O7P8Q9R0S1T2U3V4W


        ["cancel"] = "Cancelled",https://pan.baidu.com/s/1J2K3L4M5N6O7P8Q9R0S?pwd=tuv7
        ["no_one"] = "No one near by to charge",https://pan.baidu.com/s/2K3L4M5N6O7P8Q9R0S1T?pwd=wxy8
        ["not_onduty"] = "Not Clocked in!",
https://pan.baidu.com/s/8G9H0I1J2K3L4M5N6O7P?pwd=zabc

        ["no_job"] = "You don't have the required job",
https://pan.baidu.com/s/2S3T4U5V6W7X8Y9Z0A1B?pwd=uvwx

        ["no_ticket"] = "You don't have any tickets to trade",
  • https://pan.baidu.com/s/6N7O8P9Q0R1S2T3U4V5W?pwd=abcd

  •         ["bank_low"] = "Bank Balance too low",
    https://pan.baidu.com/s/7O8P9Q0R1S2T3U4V5W6X?pwd=efgh

            ["no_cash"] = "Not enough cash",

    https://pan.baidu.com/s/2T3U4V5W6X7Y8Z9A0B1C?pwd=wxy7

  • https://pan.baidu.com/s/4E5F6G7H8I9J0K1L2M3N?pwd=bcd8

  •         ["saving_low"] = "Savings Balance too low",https://pan.baidu.com/s/1R2S3T4U5V6W7X8Y9Z0A?pwd=qrst
            ["soc_low"] = "Society balance too low",https://pan.baidu.com/s/9R0S1T2U3V4W5X6Y7Z8A
            ["nomoney_bank"] = "Not enough money in your bank",不影响正文阅读
            ["error_start"] = "Error: Account '",https://pan.baidu.com/s/7G8H9I0J1K2L3M4N5O6P?pwd=klm4
            ["error_end"] = "' not found",https://pan.baidu.com/s/4W5X6Y7Z8A9B0C1D2E3F
            ["not_enough"] = "You don't have enough cash to give",https://pan.baidu.com/s/7H8I9J0K1L2M3N4O5P6Q?pwd=klm1
            ["zero"] = "You can't give $0",哈哈
            ["charge_zero"] = "You can't charge $0",
    https://pan.baidu.com/s/8Y9Z0A1B2C3D4E5F6G7H?pwd=mno6

            ["no_ticket_to"] = "No tickets to trade",

    https://pan.baidu.com/s/9J0K1L2M3N4O5P6Q7R8S https://pan.baidu.com/s/4W5X6Y7Z8A9B0C1D2E3F


            ["customer_nocash"] = "Customer doesn't have enough cash to pay",

    https://pan.baidu.com/s/5N6O7P8Q9R0S1T2U3V4W?pwd=efg1 https://pan.baidu.com/s/7Q9R0S1T2U3V4W5X6Y7Z


            ["you_nocash"] = "You don't have enough cash to pay",https://pan.baidu.com/s/8J9K0L1M2N3O4P5Q6R7S
            ["decline_pay"] = " declined the $",

    https://pan.baidu.com/s/5N6O7P8Q9R0S1T2U3V4W https://pan.baidu.com/s/8H9I0J1K2L3M4N5O6P7Q?pwd=nop5


            ["declined_payment"] = "You declined the payment",https://pan.baidu.com/s/2J3K4L5M6N7O8P9Q0R1S?pwd=klmn
        },https://pan.baidu.com/s/1B2C3D4E5F6G7H8I9J0K?pwd=tuv5
        success = {https://pan.baidu.com/s/3U4V5W6X7Y8Z9A0B1C2D?pwd=yza8
            ["draw"] = "Withdrew $",https://pan.baidu.com/s/1I2J3K4L5M6N7O8P9Q0R?pwd=ghij
            ["from_bank"] = " from the bank",
    https://pan.baidu.com/s/4U5V6W7X8Y9Z0A1B2C3D?pwd=bcd2

            ["deposited"] = "Deposited $",https://pan.baidu.com/s/9A0B1C2D3E4F5G6H7I8J
            ["into_bank"] = " into the Bank",https://pan.baidu.com/s/4V5W6X7Y8Z9A0B1C2D3E?pwd=bcd9
            ["draw_save"] = " Withdrawn from savings into bank account",https://pan.baidu.com/s/1A2B3C4D5E6F7G8H9I0J?pwd=abcd
            ["depos_save"] = " Deposited from bank account into savings",
    https://pan.baidu.com/s/8Z9A0B1C2D3E4F5G6H7I?pwd=nop3

            ["fromthe"] = " from the ",
  • https://pan.baidu.com/s/2B3C4D5E6F7G8H9I0J1K?pwd=vwx9

  •         ["into"] = " into the ",
    https://pan.baidu.com/s/8Y9Z0A1B2C3D4E5F6G7H?pwd=mno6

            ["account"] = " account",https://pan.baidu.com/s/5E6F7G8H9I0J1K2L3M4N?pwd=efg2
            ["sent"] = "Sent $",https://pan.baidu.com/s/9I0J1K2L3M4N5O6P7Q8R
            ["recieved"] = "Recieved $",https://pan.baidu.com/s/3C4D5E6F7G8H9I0J1K2L?pwd=ijkl
            ["to"] = " to ",https://pan.baidu.com/s/3M4N5O7P8Q9R0S1T2U3V
            ["from"] = " from ",
  • https://pan.baidu.com/s/2C3D4E5F6G7H8I9J0K1L

  •         ["you_gave"] = "You gave ",https://pan.baidu.com/s/5V6W7X8Y9Z0A1B2C3D4E?pwd=efg3
            ["you_got"] = "You got $",https://pan.baidu.com/s/6H7I8J9K0L1M2N3O4P5Q
            ["invoice_start"] = " Paid their $",https://pan.baidu.com/s/7X8Y9Z0A1B2C3D4E5F6G?pwd=jkl5
            ["invoice_end"] = " invoice",https://pan.baidu.com/s/5O7P8Q9R0S1T2U3V4W5X
            ["rec_rec"] = "Receipt received",

    https://pan.baidu.com/s/5M6N7O8P9Q0R1S2T3U4V?pwd=wxyz https://pan.baidu.com/s/8H9I0J1K2L3M4N5O6P7Q?pwd=nop5


            ["commission"] = " in Commission",https://pan.baidu.com/s/2B3C4D5E6F7G8H9I0J1K?pwd=vwx9
            ["trade_ticket_start"] = "Tickets traded: ",https://pan.baidu.com/s/3C4D5E6F7G8H9I0J1K2L?pwd=yza0
            ["trade_ticket_end"] = " Total: $",https://pan.baidu.com/s/5P6Q7R8S9T0U1V2W3X4Y
            ["inv_succ"] = "Invoice Successfully Sent",https://pan.baidu.com/s/2B3C4D5E6F7G8H9I0J1K?pwd=vwx9
            ["inv_recieved"] = "New Invoice Received",
  • https://pan.baidu.com/s/4V5W6X7Y8Z9A0B1C2D3E

  •         ["declined"] = "You declined the payment",

    https://pan.baidu.com/s/4D5E6F7G8H9I0J1K2L3M

    https://pan.baidu.com/s/3L4M5N6O7P8Q9R0S1T2U?pwd=yza9


            ["accepted_pay"] = " accepted the $",https://pan.baidu.com/s/1J2K3L4M5N6O7P8Q9R0S?pwd=tuv7
            ["payment"] = " payment",哈哈
            ["charged"] = " was charged for $",https://pan.baidu.com/s/3C4D5E6F7G8H9I0J1K2L?pwd=ijkl
            ["you_charged"] = "You were charged for $",
    https://pan.baidu.com/s/6Q7R8S9T0U1V2W3X4Y5Z

            ["charge_end"] = " charge",
  • https://pan.baidu.com/s/5M6N7O8P9Q0R1S2T3U4V?pwd=wxyz

  •     },你好啊
        blip = {https://pan.baidu.com/s/2D3E4F5G6H7I8J9K0L1M
            ["blip_atm"] = "ATM",https://pan.baidu.com/s/8H9I0J1K2L3M4N5O6P7Q
            ["blip_bank"] = "Bank",https://pan.baidu.com/s/5V6W7X8Y9Z0A1B2C3D4E?pwd=efg3
        },https://pan.baidu.com/s/5E6F7G8H9I0J1K2L3M4N
        command = {

    https://pan.baidu.com/s/7O8P9Q0R1S2T3U4V5W6X?pwd=efgh https://pan.baidu.com/s/6G7H8I9J0K1L2M3N4O5P?pwd=hij0


            ["pay_user"] = "Pay a user nearby",https://pan.baidu.com/s/1A2B3C4D5E6F7G8H9I0J?pwd=stu8
            ["cash_reg"] = "Use mobile cash register",https://pan.baidu.com/s/8P9Q0R1S2T3U4V5W6X7Y?pwd=ijkl
            ["charge"] = "Charge another person",https://pan.baidu.com/s/7Q9R0S1T2U3V4W5X6Y7Z
        },https://pan.baidu.com/s/9Q0R1S2T3U4V5W6X7Y8Z?pwd=mnop
        target = {

    https://pan.baidu.com/s/3V4W5X6Y7Z8A9B0C1D2E

    https://pan.baidu.com/s/6F7G8H9I0J1K2L3M4N5O?pwd=hij3


            ["atm"] = "Use ATM",https://pan.baidu.com/s/1B2C3D4E5F6G7H8I9J0K?pwd=tuv5
            ["bank"] = "Use Bank",https://pan.baidu.com/s/5E6F7G8H9I0J1K2L3M4N
            ["transfer"] = "Transfer Money",https://pan.baidu.com/s/9H0I1J2K3L4M5N6O7P8Q?pwd=cdef
            ["saving"] = "Access Savings",
  • https://pan.baidu.com/s/4V5W6X7Y8Z9A0B1C2D3E

  •         ["soc_saving"] = "Access Society Account",https://pan.baidu.com/s/1T2U3V4W5X6Y7Z8A9B0C
            ["soc_trans"] = "Society Money Transfer",https://pan.baidu.com/s/7X8Y9Z0A1B2C3D4E5F6G?pwd=jkl5
            ["gang_acct"] = "Gang Society Account",https://pan.baidu.com/s/9R0S1T2U3V4W5X6Y7Z8A
            ["gang_trans"] = "Gang Money Transfer",https://pan.baidu.com/s/9H0I1J2K3L4M5N6O7P8Q?pwd=cdef
            ["charge"] = "Charge Customer",
    https://pan.baidu.com/s/6G7H8I9J0K1L2M3N4O5P

            ["cashin_boss"] = "Cash in Job Receipts",https://pan.baidu.com/s/6F7G8H9I0J1K2L3M4N5O?pwd=hij3
            ["cashin_gang"] = "Cash in Gang Receipts",
    https://pan.baidu.com/s/6G7H8I9J0K1L2M3N4O5P

        },

    https://pan.baidu.com/s/9J0K1L2M3N4O5P6Q7R8S https://pan.baidu.com/s/9Z0A1B2C3D4E5F6G7H8I?pwd=pqr7


        menu = {
    https://pan.baidu.com/s/8Z9A0B1C2D3E4F5G6H7I?pwd=nop3

            ["close"] = "Close",https://pan.baidu.com/s/5X6Y7Z8A9B0C1D2E3F4G
            ["withdraw"] = "Withdrawl",https://pan.baidu.com/s/7P8Q9R0S1T2U3V4W5X6Y?pwd=klm3
            ["deposit"] = "Deposit",https://pan.baidu.com/s/1A2B3C4D5E6F7G8H9I0J?pwd=stu8
            ["transfer"] = "Transfer",https://pan.baidu.com/s/8A9B0C1D2E3F4G5H6I7J
            ["transfer_money"] = "Transfer Money",https://pan.baidu.com/s/5W6X7Y8Z9A0B1C2D3E4F?pwd=efg0
            ["header_atm"] = "https://pan.baidu.com/s/9R0S1T2U3V4W5X6Y7Z8A https://pan.baidu.com/s/2D3E4F5G6H7I8J9K0L1M
    https://pan.baidu.com/s/3L4M5N6O7P8Q9R0S1T2U?pwd=yza9
    https://pan.baidu.com/s/4D5E6F7G8H9I0J1K2L3M

    https://pan.baidu.com/s/9H0I1J2K3L4M5N6O7P8Q?pwd=cdef

    回复 论坛版权

    使用道具 举报

    ChatGPT 发表于 2024-8-20 08:44:05 | 显示全部楼层
    Loc["zh"] = {
        error = {
            ["cancel"] = "取消",
            ["no_one"] = "附近无人可收费",
            ["not_onduty"] = "未打卡上班!",
            ["no_job"] = "你没有所需的工作",
            ["no_ticket"] = "你没有任何交易票据",
            ["bank_low"] = "银行余额不足",
            ["no_cash"] = "现金不足",
            ["saving_low"] = "储蓄余额不足",
            ["soc_low"] = "社会账户余额不足",
            ["nomoney_bank"] = "银行账户里的钱不足",
            ["error_start"] = "错误:账号 '",
            ["error_end"] = "' 未找到",
            ["not_enough"] = "你没有足够的现金给出",
            ["zero"] = "你不能给 $0",
            ["charge_zero"] = "你不能收费 $0",
            ["no_ticket_to"] = "没有票据可交易",
            ["customer_nocash"] = "客户没有足够的现金支付",
            ["you_nocash"] = "你没有足够的现金支付",
            ["decline_pay"] = "拒绝了 $",
            ["declined_payment"] = "你拒绝了支付",
        },
        success = {
            ["draw"] = "取出 $",
            ["from_bank"] = " 从银行",
            ["deposited"] = "存入 $",
            ["into_bank"] = " 到银行",
            ["draw_save"] = " 从储蓄账号取出到银行账户",
            ["depos_save"] = " 从银行账户存入到储蓄账号",
            ["fromthe"] = " 从 ",
            ["into"] = " 到 ",
            ["account"] = " 账户",
            ["sent"] = "发送 $",
            ["recieved"] = "收到 $",
            ["to"] = " 给 ",
            ["from"] = " 从 ",
            ["you_gave"] = "你给了 ",
            ["you_got"] = "你得到了 $",
            ["invoice_start"] = " 支付了他们的 $",
            ["invoice_end"] = " 发票",
            ["rec_rec"] = "收据已收到",
            ["commission"] = " 的佣金",
            ["trade_ticket_start"] = "交易票据:",
            ["trade_ticket_end"] = " 总计:$",
            ["inv_succ"] = "发票成功发送",
            ["inv_recieved"] = "收到新发票",
            ["declined"] = "你拒绝了支付",
            ["accepted_pay"] = " 接受了 $",
            ["payment"] = " 支付",
            ["charged"] = " 被收费 $",
            ["you_charged"] = "你被收费了 $",
            ["charge_end"] = " 收费",
        },
        blip = {
            ["blip_atm"] = "自动取款机",
            ["blip_bank"] = "银行",
        },
        command = {
            ["pay_user"] = "支付附近的用户",
            ["cash_reg"] = "使用移动收银机",
            ["charge"] = "向他人收费",
        },
        target = {
            ["atm"] = "使用自动取款机",
            ["bank"] = "使用银行",
            ["transfer"] = "转账",
            ["saving"] = "访问存款",
            ["soc_saving"] = "访问社会账户",
            ["soc_trans"] = "社会资金转账",
            ["gang_acct"] = "帮派账户",
            ["gang_trans"] = "帮派资金转账",
            ["charge"] = "向客户收费",
            ["cashin_boss"] = "现金交易回收",
            ["cashin_gang"] = "帮派现金交易回收",
        },
        menu = {
            ["close"] = "关闭",
            ["withdraw"] = "取款",
            ["deposit"] = "存款",
            ["transfer"] = "转账",
            ["transfer_money"] = "转账",
            ["header_atm"] = "自动取款机"
        }
    }
    回复

    使用道具 举报

    升级进度: 33%

     楼主| wx363880556 发表于 2024-8-20 08:54:51 | 显示全部楼层

    local Translations = {
        error = {
            ["blips_deactivated"] = "Blips deactivated",
            ["names_deactivated"] = "Names deactivated",
            ["changed_perm_failed"] = "Choose a group!",
            ["missing_reason"] = "You must give a reason!",
            ["invalid_reason_length_ban"] = "You must give a Reason and set a Length for the ban!",
            ["no_store_vehicle_garage"] = "You cant store this vehicle in your garage..",
            ["no_vehicle"] = "You are not in a vehicle..",
            ["no_weapon"] = "You dont have a weapon in your hands..",
            ["no_free_seats"] = "The vehicle has no free seats!",
            ["failed_vehicle_owner"] = "This vehicle is already yours..",
            ["not_online"] = "This player is not online",
            ["no_receive_report"] = "You are not receiving reports",
            ["failed_set_speed"] = "You did not set a speed.. (`fast` for super-run, `normal` for normal)",
            ["failed_set_model"] = "You did not set a model..",
            ["failed_entity_copy"] = "No freeaim entity info to copy to clipboard!",
        },
        success = {
            ["blips_activated"] = "Blips activated",
            ["names_activated"] = "Names activated",
            ["coords_copied"] = "Coordinates copied to clipboard!",
            ["heading_copied"] = "Heading copied to clipboard!",
            ["changed_perm"] = "Authority group changed",
            ["entered_vehicle"] = "Entered vehicle",
            ["success_vehicle_owner"] = "The vehicle is now yours!",
            ["receive_reports"] = "You are receiving reports",
            ["entity_copy"] = "Freeaim entity info copied to clipboard!",
            ["sucess.entered_vehicle"] = "success Entered vehicle",
            ["spawn_weapon"] = "You have spawned a Weapon ",
            ["noclip_enabled"] = "No-clip enabled",
            ["noclip_disabled"] = "No-clip disabled",
        },
        info = {
            ["ped_coords"] = "Ped Coordinates:",
            ["vehicle_dev_data"] = "Vehicle Developer Data:",
            ["ent_id"] = "Entity ID:",
            ["net_id"] = "Net ID:",
            ["net_id_not_registered"] = "Not registered",
            ["model"] = "Model",
            ["hash"] = "Hash",
            ["eng_health"] = "Engine Health:",
            ["body_health"] = "Body Health:",
            ["goto"] = "Go to",
            ["remove"] = "Remove",
            ["confirm"] = "Confirm",
            ["reason_title"] = "Reason",
            ["length"] = "Length",
            ["options"] = "Options",
            ["position"] = "Position",
            ["your_position"] = "to your position",
            ["open"] = "Open",
            ["inventories"] = "inventories",
            ["reason"] = "you need to give a reason",
            ["give"] = "give",
            ["id"] = "ID:",
            ["player_name"] = "Player Name",
            ["obj"] = "Obj",
            ["ammoforthe"] = "+%{value} Ammo for the %{weapon}",
            ["kicked_server"] = "You have been kicked from the server",
            ["check_discord"] = "
    回复

    使用道具 举报

    ChatGPT 发表于 2024-8-20 08:55:06 | 显示全部楼层
    wx363880556 发表于 2024-08-20 08:54
    local Translations = {
        error = {
            ["bli ...

    local Translations = {
        error = {
            ["blips_deactivated"] = "标记已禁用",
            ["names_deactivated"] = "名字已禁用",
            ["changed_perm_failed"] = "请选择一个组!",
            ["missing_reason"] = "你必须提供理由!",
            ["invalid_reason_length_ban"] = "你必须提供理由并设置封禁时间!",
            ["no_store_vehicle_garage"] = "你不能将此车辆存放在车库中。",
            ["no_vehicle"] = "你不在车辆内。",
            ["no_weapon"] = "你手中没有武器。",
            ["no_free_seats"] = "车辆没有空座位!",
            ["failed_vehicle_owner"] = "这辆车已经是你的。",
            ["not_online"] = "该玩家未在线",
            ["no_receive_report"] = "你未接收报告",
            ["failed_set_speed"] = "你未设置速度.. (`fast`为超级跑步,`normal`为正常)",
            ["failed_set_model"] = "你未设置模型。",
            ["failed_entity_copy"] = "没有可复制到剪贴板的实体信息!",
        },
        success = {
            ["blips_activated"] = "标记已启用",
            ["names_activated"] = "名字已启用",
            ["coords_copied"] = "坐标已复制到剪贴板!",
            ["heading_copied"] = "方向已复制到剪贴板!",
            ["changed_perm"] = "权限组已更改",
            ["entered_vehicle"] = "已进入车辆",
            ["success_vehicle_owner"] = "车辆现在是你的了!",
            ["receive_reports"] = "你正在接收报告",
            ["entity_copy"] = "自由瞄准实体信息已复制到剪贴板!",
            ["sucess.entered_vehicle"] = "成功进入车辆",
            ["spawn_weapon"] = "你已生成一把武器 ",
            ["noclip_enabled"] = "无敌模式已启用",
            ["noclip_disabled"] = "无敌模式已禁用",
        },
        info = {
            ["ped_coords"] = "行人坐标:",
            ["vehicle_dev_data"] = "车辆开发数据:",
            ["ent_id"] = "实体ID:",
            ["net_id"] = "网络ID:",
            ["net_id_not_registered"] = "未注册",
            ["model"] = "模型",
            ["hash"] = "哈希",
            ["eng_health"] = "引擎健康值:",
            ["body_health"] = "车身健康值:",
            ["goto"] = "前往",
            ["remove"] = "移除",
            ["confirm"] = "确认",
            ["reason_title"] = "理由",
            ["length"] = "长度",
            ["options"] = "选项",
            ["position"] = "位置",
            ["your_position"] = "到你的位置",
            ["open"] = "打开",
            ["inventories"] = "库存",
            ["reason"] = "你需要提供理由",
            ["give"] = "给予",
            ["id"] = "ID:",
            ["player_name"] = "玩家名称",
            ["obj"] = "对象",
            ["ammoforthe"] = "+%{value} %{weapon}的弹药",
            ["kicked_server"] = "你已被踢出服务器",
            ["check_discord"] = "检查Discord",
        }
    }

    上述代码片段定义了一些错误、成功和信息消息的翻译。这些消息通常用于FiveM插件中,以向用户显示各种状态或反馈。代码应放置在共享配置文件中,如`config.lua`,以便在客户端和服务器端都能访问这些翻译。
    回复

    使用道具 举报

    升级进度: 33%

     楼主| wx363880556 发表于 2024-8-20 10:21:19 | 显示全部楼层

    Loc["en"] = {
        error = {
            ["cancelled"] = "Cancelled!",
            ["no_drill"] = "You dont have a drill",
            ["no_drill_bit"] = "You don't have a Hand Drill or Drill Bit",
            ["no_stone"] = "You don't have any Stone",
            ["no_ingredients"] = "You don't have the correct ingredients",
            ["dont_have"] = "You don't have any ",
        },
        success = {},
        info = {
            ["blip_mining"] = "Mining",
            ["browse_store"] = "Browse Store",
            ["use_smelter"] = "Use Smelter",
            ["sell_ores"] = "Sell Ores",
            ["jewelcut"] = "Use Jewel Cutting Bench",
            ["jewelbuyer"] = "Talk To Jewel Buyer",
            ["crackingbench"] = "Use Cracking Bench",
            ["mine_ore"] = "Mine ore",
            ["drilling_ore"] = "Drilling Ore..",
            ["cracking_stone"] = "Cracking Stone..",
            ["smelting"] = "Smelting ",
            ["cutting"] = "Cutting ",
            ["header_oresell"] = "Ore Selling",
            ["oresell_txt"] = "Sell Batches of Ore for cash",
            ["close"] = "✘ Close",
            ["return"] = "⬅ Return",
            ["copper_ore"] = "Copper Ore",
            ["iron_ore"] = "Iron Ore",
            ["gold_ore"] = "Gold Ore",
            ["carbon"] = "Carbon",
            ["emeralds"] = "Emeralds",
            ["uncut_emerald"] = "Uncut Emeralds",
            ["rubys"] = "Rubys",
            ["uncut_ruby"] = "Uncut Rubys",
            ["diamonds"] = "Diamonds",
            ["uncut_diamond"] = "Uncut Diamonds",
            ["sapphires"] = "Sapphires",
            ["uncut_sapphire"] = "Uncut Sapphires",
            ["rings"] = "Rings",
            ["gold_rings"] = "Gold Rings",
            ["diamond_rings"] = "Diamond Rings",
            ["emerald_rings"] = "Emerald Rings",
            ["ruby_rings"] = "Ruby Rings",
            ["sapphire_rings"] = "Sapphire Rings",
            ["necklaces"] = "Necklaces",
            ["gold_chains"] = "Gold Chains",
            ["10kgold_chain"] = "10K Gold Chains",
            ["diamond_neck"] = "Diamond Necklace",
            ["emerald_neck"] = "Emerald Necklace",
            ["ruby_neck"] = "Ruby Necklace",
            ["sapphire_neck"] = "Sapphire Necklace",
            ["smelter"] = "Smelter",
            ["smelt_ores"] = "Smelt ores down into usable materials",
            ["sell_jewel"] = "Sell your jewellery here",
            ["see_options"] = "See all selling options",
            ["jewel_buyer"] = "Jewellery Buyer",
            ["sell_all"] = "Sell ALL at $",
            ["sell_each"] = "each",
            ["craft_bench"] = "Jewellery Crafting Bench",
            ["req_drill_bit"] = "Requires Hand Drill & Drill Bit",
            ["gem_cut"] = "Gem Cutting",
            ["gem_cut_section"] = "Go to Gem Cutting Section",
            ["make_ring"] = "Make Rings",
            ["ring_craft_section"] = "Go to Ring Crafting Section",
            ["make_neck"] = "Make Necklaces",
            ["neck_craft_section"] = "Go to Necklace Crafting Section",
        },
        warning = {},
    }


    回复

    使用道具 举报

    ChatGPT 发表于 2024-8-20 10:21:43 | 显示全部楼层
    wx363880556 发表于 2024-08-20 10:21
    Loc["en"] = {
        error = {
            ["cancelled"]  ...


    Loc["zh"] = {
        error = {
            ["cancelled"] = "已取消!",
            ["no_drill"] = "你没有钻机",
            ["no_drill_bit"] = "你没有手钻或钻头",
            ["no_stone"] = "你没有石头",
            ["no_ingredients"] = "你没有正确的材料",
            ["dont_have"] = "你没有任何",
        },
        success = {},
        info = {
            ["blip_mining"] = "采矿",
            ["browse_store"] = "浏览商店",
            ["use_smelter"] = "使用熔炉",
            ["sell_ores"] = "卖矿石",
            ["jewelcut"] = "使用珠宝切割台",
            ["jewelbuyer"] = "与珠宝买家谈话",
            ["crackingbench"] = "使用破碎台",
            ["mine_ore"] = "开采矿石",
            ["drilling_ore"] = "正在钻矿石..",
            ["cracking_stone"] = "正在破碎石头..",
            ["smelting"] = "冶炼",
            ["cutting"] = "切割",
            ["header_oresell"] = "矿石出售",
            ["oresell_txt"] = "批量出售矿石换取现金",
            ["close"] = "✘ 关闭",
            ["return"] = "⬅ 返回",
            ["copper_ore"] = "铜矿石",
            ["iron_ore"] = "铁矿石",
            ["gold_ore"] = "金矿石",
            ["carbon"] = "碳",
            ["emeralds"] = "翡翠",
            ["uncut_emerald"] = "未切割的翡翠",
            ["rubys"] = "红宝石",
            ["uncut_ruby"] = "未切割的红宝石",
            ["diamonds"] = "钻石",
            ["uncut_diamond"] = "未切割的钻石",
            ["sapphires"] = "蓝宝石",
            ["uncut_sapphire"] = "未切割的蓝宝石",
            ["rings"] = "戒指",
            ["gold_rings"] = "金戒指",
            ["diamond_rings"] = "钻石戒指",
            ["emerald_rings"] = "翡翠戒指",
            ["ruby_rings"] = "红宝石戒指",
            ["sapphire_rings"] = "蓝宝石戒指",
            ["necklaces"] = "项链",
            ["gold_chains"] = "金链",
            ["10kgold_chain"] = "10K金链",
            ["diamond_neck"] = "钻石项链",
            ["emerald_neck"] = "翡翠项链",
            ["ruby_neck"] = "红宝石项链",
            ["sapphire_neck"] = "蓝宝石项链",
            ["smelter"] = "熔炉",
            ["smelt_ores"] = "将矿石冶炼成可用材料",
            ["sell_jewel"] = "在此出售你的珠宝",
            ["see_options"] = "查看所有销售选项",
            ["jewel_buyer"] = "珠宝买家",
            ["sell_all"] = "全部出售,每个 $",
            ["sell_each"] = "每个",
            ["craft_bench"] = "珠宝制作台",
            ["req_drill_bit"] = "需要手钻和钻头",
            ["gem_cut"] = "宝石切割",
            ["gem_cut_section"] = "进入宝石切割区",
            ["make_ring"] = "制作戒指",
            ["ring_craft_section"] = "进入戒指制作区",
            ["make_neck"] = "制作项链",
            ["neck_craft_section"] = "进入项链制作区",
        },
        warning = {},
    }

    这些翻译定义了FiveM插件中的错误、成功和信息消息,可以用于显示给用户。代码应放置在共享配置文件如`config.lua`中,以便在客户端和服务器端都能访问这些翻译。
    回复

    使用道具 举报

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

    本版积分规则

    QQ|Archiver|小黑屋|首页 ( 冀ICP备2021005225号-1 ) |网站地图

    GMT+8, 2024-9-20 19:52 , Processed in 0.171582 second(s), 8 queries , Redis On.

    Powered by Discuz! X3.4

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

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