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

翻译成简体中文

[复制链接]
admin 发表于 2024-3-29 11:41:28 | 显示全部楼层 |阅读模式
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:41:47 | 显示全部楼层
-- 这段代码是用于翻译的,将一些错误信息、成功提示和其他信息进行翻译。
-- 请注意,这只是一个翻译文件,并不是代码,所以无需放置在服务器的脚本文件或客户端脚本中。

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_createplan = "您无法创建贷款计划",
        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_ordered = "您已成功订购一张借记卡。",
        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
})
回复

使用道具 举报

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

本版积分规则

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

GMT+8, 2024-5-23 13:40 , Processed in 0.323408 second(s), 26 queries .

Powered by Discuz! X3.4

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

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