搜索
查看: 54|回复: 1
收起左侧

帮我翻译成简体中文

[复制链接]
admin 发表于 2024-3-29 11:37:07 | 显示全部楼层 |阅读模式
local Translations = {
    error = {
        delete_failed = "Failed to delete card",
        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.",
        failed = "Failed!",
        bank_closed = "The bank is currently closed",
        cant_apply = "You cannot apply for more loans",
        no_own_transfer = "You cannot transfer to your own account",
        under_maintenance = "The Bank is Under Maintenance Please try after some time!",
        nomore_societies = "Can't create more societies",
        player_limit = "Player max societies limit reached",
        player_offline = "Player not available",
        player_already_added = "Player already added",
        owner_remove = "Cannot remove society owner",
        invalid_plan = "Invalid Plan",
        loan_rejected = "Loan application rejected",
        not_enough = "You don\'t have this amount.",
        not_own_society =  "You do not own this society",
        society_removed =  "Society Removed Successfully",
        cannot_addmember = "You cannot add members",
        cannot_removemember = "You cannot remove members",
        cannot_crateplan = "You cannot create loan plan",
        cannot_removeplan = "You cannot remove loan plan",
        bank_limit = "Bank exceeded loan application limit",
        plan_limit = "You cannot create more loan plans",
        not_manager = "You're not bank manager",
        account_creation_failed =  "Savings account creation failed",
    },
    success = {
        card_deleted = "Card has deleted.",
        society_created = "Society Created",
        member_added = "Member added",
        member_removed = "Member removed",
        plan_created = "Loan Plan Created",
        plan_deleted = "Loan Plan Deleted",
        loan_applied = "Applied for loan",
        loan_issued = "Loan issued successfully",
        loan_approved = "Your loan approved and amount $%{value} has been credited to your bank",
        loan_received = "Loan interest of amount $%{value} has been credited into your bank",
        installment_debited = "Loan installment of amount $%{value} has been debited from your bank",
        society_amount_added = "Society amount $%{value} has been credited into your account",
        loan_pay_success = "Loan Payment Successful",
        card_ordred = "You have successfully ordered a Debit Card.",
        account_created = "Savings account created",
        transaction_success = "Transaction Successful",
        manager_changed = 'You have successfully Changed Bank Manager.',
    },
    info = {
        access_bank_key = "[E] - Access Bank",
        close_bank = "Close All Bank Atms",
        open_bank = "Open All Bank Atms",
        atm_closed = "All Atms are Closed Now!",
        atm_open = "All Atms are Open Now!",
        current_savings = 'Current Account to Savings Transfer',
        savings_current = 'Savings to Current Account Transfer',
        set_manager = "Set Closest Bank Manager",
    },
}

Lang = Lang or Locale:new({
    phrases = Translations,
    warnOnMissing = true
})
回复 论坛版权

使用道具 举报

ChatGPT 发表于 2024-3-29 11:37:30 | 显示全部楼层
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
})

代码应放在服务器的脚本文件中(例如server.lua)。
回复

使用道具 举报

ahome_bigavatar:guest
ahome_bigavatar:welcomelogin
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

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

GMT+8, 2024-5-19 03:02 , Processed in 0.268063 second(s), 26 queries .

Powered by Discuz! X3.4

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

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