搜索
查看: 100|回复: 3
收起左侧

翻译成简体中文

[复制链接]

升级进度: 78%

waaaa 发表于 2024-3-28 23:40:19 | 显示全部楼层 |阅读模式
local Translations = {https://pan.baidu.com/s/2L3M4N5O7P8Q9R0S1T2U
    error = {https://pan.baidu.com/s/6N7O8P9Q0R1S2T3U4V5W?pwd=abcd
        delete_failed = "Failed to delete card",https://pan.baidu.com/s/9R0S1T2U3V4W5X6Y7Z8A?pwd=qrs5
        no_debitcard = "You do not have a debit card to pay with, please visit a branch to order a card. or ensure one is on your person.",https://pan.baidu.com/s/7I8J9K0L1M2N3O4P5Q6R
        failed = "Failed!",https://pan.baidu.com/s/7I8J9K0L1M2N3O4P5Q6R
        bank_closed = "The bank is currently closed",https://pan.baidu.com/s/8R0S1T2U3V4W5X6Y7Z8A
        cant_apply = "You cannot apply for more loans",
  • https://pan.baidu.com/s/7X8Y9Z0A1B2C3D4E5F6G?pwd=jkl5

  •         no_own_transfer = "You cannot transfer to your own account",https://pan.baidu.com/s/6W7X8Y9Z0A1B2C3D4E5F?pwd=ghi4
            under_maintenance = "The Bank is Under Maintenance Please try after some time!",
    https://pan.baidu.com/s/4V5W6X7Y8Z9A0B1C2D3E

            nomore_societies = "Can't create more societies",https://pan.baidu.com/s/2B3C4D5E6F7G8H9I0J1K?pwd=vwx9
            player_limit = "Player max societies limit reached",
    https://pan.baidu.com/s/4W5X6Y7Z8A9B0C1D2E3F

            player_offline = "Player not available",https://pan.baidu.com/s/5V6W7X8Y9Z0A1B2C3D4E?pwd=efg3
            player_already_added = "Player already added",https://pan.baidu.com/s/4E5F6G7H8I9J0K1L2M3N
            owner_remove = "Cannot remove society owner",https://pan.baidu.com/s/8G9H0I1J2K3L4M5N6O7P?pwd=zabc
            invalid_plan = "Invalid Plan",https://pan.baidu.com/s/2S3T4U5V6W7X8Y9Z0A1B?pwd=uvwx
            loan_rejected = "Loan application rejected",
    https://pan.baidu.com/s/5V6W7X8Y9Z0A1B2C3D4E?pwd=efg3

            not_enough = "You don\'t have this amount.",https://pan.baidu.com/s/8Y9Z0A1B2C3D4E5F6G7H?pwd=mno6
            not_own_society =  "You do not own this society",https://pan.baidu.com/s/6F7G8H9I0J1K2L3M4N5O?pwd=uvwx
            society_removed =  "Society Removed Successfully",

    https://pan.baidu.com/s/6X7Y8Z9A0B1C2D3E4F5G?pwd=hij1 https://pan.baidu.com/s/8Q9R0S1T2U3V4W5X6Y7Z?pwd=nop4


            cannot_addmember = "You cannot add members",https://pan.baidu.com/s/7H8I9J0K1L2M3N4O5P6Q
            cannot_removemember = "You cannot remove members",https://pan.baidu.com/s/8Y9Z0A1B2C3D4E5F6G7H?pwd=mno6
            cannot_crateplan = "You cannot create loan plan",
  • https://pan.baidu.com/s/1A2B3C4D5E6F7G8H9I0J?pwd=abcd

  •         cannot_removeplan = "You cannot remove loan plan",https://pan.baidu.com/s/6W7X8Y9Z0A1B2C3D4E5F?pwd=ghi4
            bank_limit = "Bank exceeded loan application limit",
  • https://pan.baidu.com/s/6H7I8J9K0L1M2N3O4P5Q

  •         plan_limit = "You cannot create more loan plans",https://pan.baidu.com/s/6F7G8H9I0J1K2L3M4N5O?pwd=uvwx
            not_manager = "You're not bank manager",
    https://pan.baidu.com/s/1B2C3D4E5F6G7H8I9J0K

            account_creation_failed =  "Savings account creation failed",https://pan.baidu.com/s/8R0S1T2U3V4W5X6Y7Z8A
        },https://pan.baidu.com/s/8Z9A0B1C2D3E4F5G6H7I?pwd=nop3
        success = {https://pan.baidu.com/s/8P9Q0R1S2T3U4V5W6X7Y?pwd=ijkl
            card_deleted = "Card has deleted.",https://pan.baidu.com/s/6W7X8Y9Z0A1B2C3D4E5F?pwd=ghi4
            society_created = "Society Created",https://pan.baidu.com/s/3C4D5E6F7G8H9I0J1K2L?pwd=ijkl
            member_added = "Member added",https://pan.baidu.com/s/5G6H7I8J9K0L1M2N3O4P
            member_removed = "Member removed",https://pan.baidu.com/s/5E6F7G8H9I0J1K2L3M4N?pwd=qrst
            plan_created = "Loan Plan Created",https://pan.baidu.com/s/8Z9A0B1C2D3E4F5G6H7I?pwd=nop3
            plan_deleted = "Loan Plan Deleted",https://pan.baidu.com/s/1A2B3C4D5E6F7G8H9I0J?pwd=abcd
            loan_applied = "Applied for loan",
  • https://pan.baidu.com/s/3T4U5V6W7X8Y9Z0A1B2C?pwd=yza1

  •         loan_issued = "Loan issued successfully",
    https://pan.baidu.com/s/9J0K1L2M3N4O5P6Q7R8S

            loan_approved = "Your loan approved and amount $%{value} has been credited to your bank",https://pan.baidu.com/s/2K3L4M5N6O7P8Q9R0S1T
            loan_received = "Loan interest of amount $%{value} has been credited into your bank",
  • https://pan.baidu.com/s/8H9I0J1K2L3M4N5O6P7Q?pwd=nop5

  •         installment_debited = "Loan installment of amount $%{value} has been debited from your bank",https://pan.baidu.com/s/4M5N6O7P8Q9R0S1T2U3V?pwd=bcd0
            society_amount_added = "Society amount $%{value} has been credited into your account",

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

  • https://pan.baidu.com/s/2M3N4O5P6Q7R8S9T0U1V

  •         loan_pay_success = "Loan Payment Successful",https://pan.baidu.com/s/9I0J1K2L3M4N5O6P7Q8R
            card_ordred = "You have successfully ordered a Debit Card.",https://pan.baidu.com/s/8Z9A0B1C2D3E4F5G6H7I?pwd=nop3
            account_created = "Savings account created",https://pan.baidu.com/s/1J2K3L4M5N6O7P8Q9R0S
            transaction_success = "Transaction Successful",https://pan.baidu.com/s/1A2B3C4D5E6F7G8H9I0J?pwd=stu8
            manager_changed = 'You have successfully Changed Bank Manager.',
    https://pan.baidu.com/s/3K4L5M6N7O8P9Q0R1S2T?pwd=opqr

        },
    https://pan.baidu.com/s/7Z8A9B0C1D2E3F4G5H6I

        info = {https://pan.baidu.com/s/4M5N6O7P8Q9R0S1T2U3V
            access_bank_key = "[E] - Access Bank",

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

  • https://pan.baidu.com/s/2M3N4O5P6Q7R8S9T0U1V

  •         close_bank = "Close All Bank Atms",https://pan.baidu.com/s/5O7P8Q9R0S1T2U3V4W5X
            open_bank = "Open All Bank Atms",https://pan.baidu.com/s/3C4D5E6F7G8H9I0J1K2L?pwd=ijkl
            atm_closed = "All Atms are Closed Now!",
  • https://pan.baidu.com/s/5M6N7O8P9Q0R1S2T3U4V?pwd=wxyz

  •         atm_open = "All Atms are Open Now!",https://pan.baidu.com/s/1T2U3V4W5X6Y7Z8A9B0C
            current_savings = 'Current Account to Savings Transfer',https://pan.baidu.com/s/3L4M5N6O7P8Q9R0S1T2U
            savings_current = 'Savings to Current Account Transfer',

    https://pan.baidu.com/s/3C4D5E6F7G8H9I0J1K2L?pwd=yza0 https://pan.baidu.com/s/9I0J1K2L3M4N5O6P7Q8R


            set_manager = "Set Closest Bank Manager",

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

  • https://pan.baidu.com/s/9R0S1T2U3V4W5X6Y7Z8A

  •     },https://pan.baidu.com/s/9I0J1K2L3M4N5O6P7Q8R?pwd=qrs6
    }https://pan.baidu.com/s/4D5E6F7G8H9I0J1K2L3M?pwd=mnop
    https://pan.baidu.com/s/3V4W5X6Y7Z8A9B0C1D2E
    Lang = Lang or Locale:new({

    https://pan.baidu.com/s/8P9Q0R1S2T3U4V5W6X7Y?pwd=ijkl https://pan.baidu.com/s/1A2B3C4D5E6F7G8H9I0J?pwd=abcd


        phrases = Translations,https://pan.baidu.com/s/6G7H8I9J0K1L2M3N4O5P?pwd=hij0
        warnOnMissing = true
    https://pan.baidu.com/s/2D3E4F5G6H7I8J9K0L1M

    })https://pan.baidu.com/s/5F6G7H8I9J0K1L2M3N4O?pwd=efg9
    https://pan.baidu.com/s/3C4D5E6F7G8H9I0J1K2L?pwd=ijkl
    https://pan.baidu.com/s/3V4W5X6Y7Z8A9B0C1D2E
    https://pan.baidu.com/s/4M5N6O7P8Q9R0S1T2U3V?pwd=bcd0
  • https://pan.baidu.com/s/4D5E6F7G8H9I0J1K2L3M

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

    https://pan.baidu.com/s/6F7G8H9I0J1K2L3M4N5O
    回复 论坛版权

    使用道具 举报

    ChatGPT 发表于 2024-3-28 23:40:24 | 显示全部楼层
    这段代码是一个用于翻译的脚本文件。它定义了一些错误、成功和信息的翻译文本。在代码中,你可以看到`Translations`对象包含了不同类型的翻译文本,例如错误信息、成功信息和信息提示。`Lang`对象使用了这些翻译文本来创建一个`Locale`实例,可以在需要的地方使用该实例来翻译相应的文本。

    该代码应该放在服务器的脚本文件中(例如server.lua),以便在服务器端使用翻译功能。
    回复

    使用道具 举报

    升级进度: 78%

     楼主| waaaa 发表于 2024-3-28 23:45:56 | 显示全部楼层
    我需要你翻译以上的文本
    回复

    使用道具 举报

    ChatGPT 发表于 2024-3-28 23:46:21 | 显示全部楼层
    waaaa 发表于 2024-03-28 23:45
    我需要你翻译以上的文本


    翻译如下:
    local Translations = {
        error = {
            delete_failed = "删除卡片失败",
            no_debitcard = "您没有借记卡进行支付,请前往银行柜台办理借记卡或确保身上携带一张借记卡。",
            failed = "操作失败!",
            bank_closed = "银行目前关闭",
            cant_apply = "您无法申请更多贷款",
            no_own_transfer = "无法转账到自己的账户",
            under_maintenance = "银行正在维护中,请稍后再试!",
            nomore_societies = "无法创建更多组织",
            player_limit = "已达到玩家最大组织数量限制",
            player_offline = "玩家当前离线",
            player_already_added = "该玩家已经添加过了",
            owner_remove = "不能移除组织所有者",
            invalid_plan = "无效的贷款计划",
            loan_rejected = "贷款申请被拒绝",
            not_enough = "您的账户余额不足。",
            not_own_society = "您不是该组织的所有者",
            society_removed = "组织已成功移除",
            cannot_addmember = "您不能添加成员",
            cannot_removemember = "您不能移除成员",
            cannot_crateplan = "您无法创建贷款计划",
            cannot_removeplan = "您无法移除贷款计划",
            bank_limit = "银行贷款申请数量已达上限",
            plan_limit = "无法创建更多贷款计划",
            not_manager = "您不是银行经理",
            account_creation_failed = "储蓄账户创建失败",
        },
        success = {
            card_deleted = "卡片已删除。",
            society_created = "组织已创建",
            member_added = "成员已添加",
            member_removed = "成员已移除",
            plan_created = "贷款计划已创建",
            plan_deleted = "贷款计划已删除",
            loan_applied = "贷款申请已提交",
            loan_issued = "贷款发放成功",
            loan_approved = "您的贷款已审核通过,金额为 %{value} 美元已存入您的银行账户",
            loan_received = "贷款利息金额 %{value} 美元已存入您的银行账户",
            installment_debited = "贷款分期付款金额 %{value} 美元已从您的银行账户中扣除",
            society_amount_added = "组织金额 %{value} 美元已存入您的账户",
            loan_pay_success = "贷款还款成功",
            card_ordred = "您已成功订购借记卡。",
            account_created = "储蓄账户已创建",
            transaction_success = "交易成功",
            manager_changed = "您已成功更改了银行经理。",
        },
        info = {
            access_bank_key = " - 访问银行",
            close_bank = "关闭所有银行ATM",
            open_bank = "开启所有银行ATM",
            atm_closed = "所有ATM现已关闭!",
            atm_open = "所有ATM现已开启!",
            current_savings = "当前账户转储蓄账户",
            savings_current = "储蓄账户转当前账户",
            set_manager = "设置最近的银行经理",
        },
    }
    
    Lang = Lang or Locale:new({
        phrases = Translations,
        warnOnMissing = true
    })
    回复

    使用道具 举报

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

    本版积分规则

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

    GMT+8, 2024-9-10 02:26 , Processed in 0.058748 second(s), 9 queries , Redis On.

    Powered by Discuz! X3.4

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

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