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

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

[复制链接]
wx363880556 发表于 2024-8-20 08:43:48 | 显示全部楼层 |阅读模式
https://pan.baidu.com/s/3U4V5W6X7Y8Z9A0B1C2D?pwd=yza8
Loc["en"] = {https://pan.baidu.com/s/3L4M5N6O7P8Q9R0S1T2U
    error = {https://pan.baidu.com/s/9S1T2U3V4W5X6Y7Z8A9B
        ["cancel"] = "Cancelled",https://pan.baidu.com/s/5G6H7I8J9K0L1M2N3O4P
        ["no_one"] = "No one near by to charge",

https://pan.baidu.com/s/4E5F6G7H8I9J0K1L2M3N https://pan.baidu.com/s/4U5V6W7X8Y9Z0A1B2C3D?pwd=bcd2


        ["not_onduty"] = "Not Clocked in!",

https://pan.baidu.com/s/6F7G8H9I0J1K2L3M4N5O?pwd=uvwx https://pan.baidu.com/s/2L3M4N5O7P8Q9R0S1T2U


        ["no_job"] = "You don't have the required job",https://pan.baidu.com/s/7X8Y9Z0A1B2C3D4E5F6G?pwd=jkl5
        ["no_ticket"] = "You don't have any tickets to trade",
https://pan.baidu.com/s/1A2B3C4D5E6F7G8H9I0J?pwd=stu8

        ["bank_low"] = "Bank Balance too low",https://pan.baidu.com/s/7I8J9K0L1M2N3O4P5Q6R
        ["no_cash"] = "Not enough cash",https://pan.baidu.com/s/7X8Y9Z0A1B2C3D4E5F6G?pwd=jkl5
        ["saving_low"] = "Savings Balance too low",https://pan.baidu.com/s/5N6O7P8Q9R0S1T2U3V4W?pwd=efg1
        ["soc_low"] = "Society balance too low",

https://pan.baidu.com/s/3T4U5V6W7X8Y9Z0A1B2C?pwd=yza1

https://pan.baidu.com/s/3U4V5W6X7Y8Z9A0B1C2D?pwd=yza8


        ["nomoney_bank"] = "Not enough money in your bank",
  • https://pan.baidu.com/s/7G8H9I0J1K2L3M4N5O6P?pwd=klm4

  •         ["error_start"] = "Error: Account '",https://pan.baidu.com/s/6H7I8J9K0L1M2N3O4P5Q
            ["error_end"] = "' not found",https://pan.baidu.com/s/3L4M5N6O7P8Q9R0S1T2U
            ["not_enough"] = "You don't have enough cash to give",https://pan.baidu.com/s/1A2B3C4D5E6F7G8H9I0J?pwd=abcd
            ["zero"] = "You can't give $0",

    这是干扰码

    https://pan.baidu.com/s/2C3D4E5F6G7H8I9J0K1L


            ["charge_zero"] = "You can't charge $0",
    https://pan.baidu.com/s/6G7H8I9J0K1L2M3N4O5P

            ["no_ticket_to"] = "No tickets to trade",
    https://pan.baidu.com/s/1I2J3K4L5M6N7O8P9Q0R?pwd=ghij

            ["customer_nocash"] = "Customer doesn't have enough cash to pay",https://pan.baidu.com/s/4U5V6W7X8Y9Z0A1B2C3D?pwd=bcd2
            ["you_nocash"] = "You don't have enough cash to pay",https://pan.baidu.com/s/4D5E6F7G8H9I0J1K2L3M
            ["decline_pay"] = " declined the $",https://pan.baidu.com/s/6N7O8P9Q0R1S2T3U4V5W?pwd=abcd
            ["declined_payment"] = "You declined the payment",https://pan.baidu.com/s/8I9J0K1L2M3N4O5P6Q7R
        },https://pan.baidu.com/s/3V4W5X6Y7Z8A9B0C1D2E
        success = {
    https://pan.baidu.com/s/1A2B3C4D5E6F7G8H9I0J?pwd=stu8

            ["draw"] = "Withdrew $",https://pan.baidu.com/s/8H9I0J1K2L3M4N5O6P7Q?pwd=nop5
            ["from_bank"] = " from the bank",

    https://pan.baidu.com/s/2K3L4M5N6O7P8Q9R0S1T https://pan.baidu.com/s/1A2B3C4D5E6F7G8H9I0J?pwd=stu8


            ["deposited"] = "Deposited $",https://pan.baidu.com/s/7P8Q9R0S1T2U3V4W5X6Y
            ["into_bank"] = " into the Bank",https://pan.baidu.com/s/3T4U5V6W7X8Y9Z0A1B2C?pwd=yza1
            ["draw_save"] = " Withdrawn from savings into bank account",https://pan.baidu.com/s/8Q9R0S1T2U3V4W5X6Y7Z?pwd=nop4
            ["depos_save"] = " Deposited from bank account into savings",https://pan.baidu.com/s/7G8H9I0J1K2L3M4N5O6P?pwd=klm4
            ["fromthe"] = " from the ",
    https://pan.baidu.com/s/2D3E4F5G6H7I8J9K0L1M

            ["into"] = " into the ",https://pan.baidu.com/s/6N7O8P9Q0R1S2T3U4V5W?pwd=abcd
            ["account"] = " account",https://pan.baidu.com/s/6X7Y8Z9A0B1C2D3E4F5G
            ["sent"] = "Sent $",https://pan.baidu.com/s/2K3L4M5N6O7P8Q9R0S1T?pwd=wxy8
            ["recieved"] = "Recieved $",https://pan.baidu.com/s/4U5V6W7X8Y9Z0A1B2C3D?pwd=bcd2
            ["to"] = " to ",https://pan.baidu.com/s/5E6F7G8H9I0J1K2L3M4N?pwd=efg2
            ["from"] = " from ",https://pan.baidu.com/s/6F7G8H9I0J1K2L3M4N5O
            ["you_gave"] = "You gave ",https://pan.baidu.com/s/5M6N7O8P9Q0R1S2T3U4V?pwd=wxyz
            ["you_got"] = "You got $",
    https://pan.baidu.com/s/8Q9R0S1T2U3V4W5X6Y7Z

            ["invoice_start"] = " Paid their $",https://pan.baidu.com/s/5X6Y7Z8A9B0C1D2E3F4G
            ["invoice_end"] = " invoice",
    https://pan.baidu.com/s/9B0C1D2E3F4G5H6I7J8K

            ["rec_rec"] = "Receipt received",
    https://pan.baidu.com/s/2D3E4F5G6H7I8J9K0L1M

            ["commission"] = " in Commission",https://pan.baidu.com/s/8H9I0J1K2L3M4N5O6P7Q
            ["trade_ticket_start"] = "Tickets traded: ",

    https://pan.baidu.com/s/9I0J1K2L3M4N5O6P7Q8R?pwd=qrs6 https://pan.baidu.com/s/8Y9Z0A1B2C3D4E5F6G7H?pwd=mno6


            ["trade_ticket_end"] = " Total: $",https://pan.baidu.com/s/5E6F7G8H9I0J1K2L3M4N?pwd=qrst
            ["inv_succ"] = "Invoice Successfully Sent",
  • https://pan.baidu.com/s/6Q7R8S9T0U1V2W3X4Y5Z

  •         ["inv_recieved"] = "New Invoice Received",

    https://pan.baidu.com/s/4M5N6O7P8Q9R0S1T2U3V?pwd=bcd0

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


            ["declined"] = "You declined the payment",
    https://pan.baidu.com/s/4M5N6O7P8Q9R0S1T2U3V?pwd=bcd0

            ["accepted_pay"] = " accepted the $",
    https://pan.baidu.com/s/5W6X7Y8Z9A0B1C2D3E4F

            ["payment"] = " payment",https://pan.baidu.com/s/6F7G8H9I0J1K2L3M4N5O
            ["charged"] = " was charged for $",https://pan.baidu.com/s/2B3C4D5E6F7G8H9I0J1K?pwd=efgh
            ["you_charged"] = "You were charged for $",https://pan.baidu.com/s/6N7O8P9Q0R1S2T3U4V5W?pwd=abcd
            ["charge_end"] = " charge",https://pan.baidu.com/s/7P8Q9R0S1T2U3V4W5X6Y?pwd=klm3
        },https://pan.baidu.com/s/6F7G8H9I0J1K2L3M4N5O?pwd=hij3
        blip = {https://pan.baidu.com/s/6F7G8H9I0J1K2L3M4N5O?pwd=uvwx
            ["blip_atm"] = "ATM",https://pan.baidu.com/s/8P9Q0R1S2T3U4V5W6X7Y?pwd=ijkl
            ["blip_bank"] = "Bank",https://pan.baidu.com/s/2B3C4D5E6F7G8H9I0J1K?pwd=efgh
        },https://pan.baidu.com/s/3U4V5W6X7Y8Z9A0B1C2D
        command = {

    https://pan.baidu.com/s/4E5F6G7H8I9J0K1L2M3N https://pan.baidu.com/s/7G8H9I0J1K2L3M4N5O6P?pwd=yza1


            ["pay_user"] = "Pay a user nearby",https://pan.baidu.com/s/8Y9Z0A1B2C3D4E5F6G7H?pwd=mno6
            ["cash_reg"] = "Use mobile cash register",https://pan.baidu.com/s/3D4E5F6G7H8I9J0K1L2M?pwd=yza7
            ["charge"] = "Charge another person",https://pan.baidu.com/s/9I0J1K2L3M4N5O6P7Q8R
        },https://pan.baidu.com/s/3M4N5O7P8Q9R0S1T2U3V
        target = {https://pan.baidu.com/s/3C4D5E6F7G8H9I0J1K2L?pwd=yza0
            ["atm"] = "Use ATM",
    https://pan.baidu.com/s/2M3N4O5P6Q7R8S9T0U1V

            ["bank"] = "Use Bank",
  • https://pan.baidu.com/s/3N4O5P6Q7R8S9T0U1V2W

  •         ["transfer"] = "Transfer Money",https://pan.baidu.com/s/4W5X6Y7Z8A9B0C1D2E3F
            ["saving"] = "Access Savings",https://pan.baidu.com/s/8G9H0I1J2K3L4M5N6O7P?pwd=zabc
            ["soc_saving"] = "Access Society Account",你好啊
            ["soc_trans"] = "Society Money Transfer",
    https://pan.baidu.com/s/2B3C4D5E6F7G8H9I0J1K?pwd=efgh

            ["gang_acct"] = "Gang Society Account",

    https://pan.baidu.com/s/8J9K0L1M2N3O4P5Q6R7S

    https://pan.baidu.com/s/7P8Q9R0S1T2U3V4W5X6Y?pwd=klm3


            ["gang_trans"] = "Gang Money Transfer",https://pan.baidu.com/s/1C2D3E4F5G6H7I8J9K0L
            ["charge"] = "Charge Customer",https://pan.baidu.com/s/9K0L1M2N3O4P5Q6R7S8T
            ["cashin_boss"] = "Cash in Job Receipts",
    https://pan.baidu.com/s/7G8H9I0J1K2L3M4N5O6P?pwd=yza1

            ["cashin_gang"] = "Cash in Gang Receipts",https://pan.baidu.com/s/5E6F7G8H9I0J1K2L3M4N?pwd=efg2
        },https://pan.baidu.com/s/6W7X8Y9Z0A1B2C3D4E5F?pwd=ghi4
        menu = {https://pan.baidu.com/s/3U4V5W6X7Y8Z9A0B1C2D
            ["close"] = "Close",https://pan.baidu.com/s/2J3K4L5M6N7O8P9Q0R1S?pwd=klmn
            ["withdraw"] = "Withdrawl",https://pan.baidu.com/s/6Y7Z8A9B0C1D2E3F4G5H
            ["deposit"] = "Deposit",https://pan.baidu.com/s/3M4N5O7P8Q9R0S1T2U3V
            ["transfer"] = "Transfer",https://pan.baidu.com/s/8I9J0K1L2M3N4O5P6Q7R
            ["transfer_money"] = "Transfer Money",
    https://pan.baidu.com/s/8H9I0J1K2L3M4N5O6P7Q?pwd=nop5

            ["header_atm"] = "https://pan.baidu.com/s/5G6H7I8J9K0L1M2N3O4P
    https://pan.baidu.com/s/4O5P6Q7R8S9T0U1V2W3X

    https://pan.baidu.com/s/5G6H7I8J9K0L1M2N3O4P
    https://pan.baidu.com/s/6N7O8P9Q0R1S2T3U4V5W?pwd=abcd

    https://pan.baidu.com/s/4U5V6W7X8Y9Z0A1B2C3D?pwd=bcd2
    回复 论坛版权

    使用道具 举报

    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"] = "自动取款机"
        }
    }
    回复

    使用道具 举报

     楼主| 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`,以便在客户端和服务器端都能访问这些翻译。
    回复

    使用道具 举报

     楼主| 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-11-25 03:57 , Processed in 0.149074 second(s), 9 queries , Gzip On, Redis On.

    Powered by Discuz! X3.4

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

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