From bb4c53ba160a6f7a925e86684faba2861977b183 Mon Sep 17 00:00:00 2001 From: DyroS3 <64310374+DyroS3@users.noreply.github.com> Date: Wed, 29 Mar 2023 01:38:36 +0800 Subject: [PATCH 1/5] Added Simplified Chinese translation --- locales/sc.lua | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 locales/sc.lua diff --git a/locales/sc.lua b/locales/sc.lua new file mode 100644 index 0000000..6f2a1e0 --- /dev/null +++ b/locales/sc.lua @@ -0,0 +1,16 @@ +Locales['en'] = { + ['invalid_amount'] = '无效的金额输入!', + ['deposit_money'] = '您已存入-$%s', + ['withdraw_money'] = '你已提取-$%s', + ['pincode_money'] = '您配置了新的密码:%s', + ['transfer_money'] = '已将 $%s 转账至ID: %s', + ['receive_transfer'] = '收到转账 $%s, 转账人ID: %s', + ['press_e_banking'] = '键下 [E] 访问银行', + ['access_bank'] = '访问银行', + ['banking_blip'] = '花园银行', + ['cant_do_it'] = "错误的操作!", + ['not_enough_money'] = "暂无足够现金! 您还需要至少 %s 的现金!", + ['pincode_not_found'] = "无效的PIN密码输入", + ['pincode_found'] = "验证PIN密码中...", + ['bank_name'] = "花园银行" +} \ No newline at end of file From 48a37a12e60e9f575f6f75d056a454c4d13ccf1d Mon Sep 17 00:00:00 2001 From: DyroS3 <64310374+DyroS3@users.noreply.github.com> Date: Wed, 29 Mar 2023 01:40:31 +0800 Subject: [PATCH 2/5] Update config.json --- html/config.json | 97 ++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 97 insertions(+) diff --git a/html/config.json b/html/config.json index 4014b13..8c26bc6 100644 --- a/html/config.json +++ b/html/config.json @@ -485,5 +485,102 @@ "tableFullLanguage": "French" } } + }, + "SC": { + "DYNAMIC_FORM_DATA": [ + { + "componentName": "moreGraph", + "elementID": "#wrapper", + "title": "", + "closeButtonText": "关闭 ❌", + "bankTitle": "花园银行", + "mainExitButtonText": "注销" + }, + { + "elementID": "#cpincode", + "name": "cpincode", + "buttonText": "验证密码", + "inputPlaceholder": "请输入4位数字的密码...", + "title": "修改PIN密码", + "description": "在这里您可以编辑/更改您的密码.", + "type": "password" + }, + { + "elementID": "#withdraw", + "name": "withdraw", + "buttonText": "确认", + "inputPlaceholder": "金额数量", + "title": "提现", + "description": "在这里您可以从银行取款.", + "type": "number" + }, + { + "elementID": "#deposit", + "name": "deposit", + "buttonText": "确认", + "inputPlaceholder": "金额数量", + "title": "存款", + "description": "在这里您可以将钱存入银行.", + "type": "number" + }, + { + "elementID": "#transfer", + "name": "transfer", + "buttonText": "转账", + "inputPlaceholder": "金额数量", + "inputPlaceholder2": "玩家服务器ID", + "title": "转账", + "description": "在这里您可以将钱转账给他人." + }, + { + "componentName": "trans", + "elementID": "#third-column", + "title": "交易记录", + "description": "在这里您可以查看您的交易记录.", + "moreHistoryText": "显示更多记录", + "moreGraphText": "显示更多图表" + }, + { + "componentName": "pincodePanel", + "elementID": "#wrapper", + "title": "输入 PIN 密码", + "deleteButtonText": "", + "loginButtonText": "", + "closeButtonText": "关闭 ❌" + }, + { + "componentName": "atmComponent", + "elementID": "#wrapper", + "title": "花园银行-ATM", + "closeButtonText": "注销" + } + ], + "LAUNGAGE": { + "your_money_title": "我的信息", + "your_money_desc": "在这里您可以看到您当前的余额和现金.", + "your_money_cash_label": "您的现金", + "your_money_bank_label": "您的银行余额", + "withdraw": "提现", + "deposit": "存款", + "transfer": "转账", + "transferReceive": "已收到转账", + "moneyFormat": "$__replaceData__", + "graphTitle": "您的余额", + "moreGraphTitle": "详情页", + "moreHistoryTitle": "详情页", + "inputErrorTitle": "数据不正确", + "inputErrorMessage": "无法为空空或值小于 1", + "showPincodeErrorTitle": "输入的 PIN 密码不正确", + "showPincodeErrorMessage": "PIN 码必须至少有 4 个字符!", + "tableLang": { + "typeLabel": "交易类型", + "balanceLabel": "我的信息", + "amountLabel": "数量", + "timeLabel": "时间", + "searchInputPlaceholder": "研究 ...", + "_comment": "Langue complète: Anglais, Hongrois, Italien, Espagnole Français, vous pouvez trouver ici toutes les langues: https://cdn.datatables.net/plug-ins/9dcbecd42ad/i18n/", + "tableFullLanguage": "Chinese" + } + } } } From 0e51214e516fa52b8027694250ff974c5980ab2e Mon Sep 17 00:00:00 2001 From: DyroS3 <64310374+DyroS3@users.noreply.github.com> Date: Wed, 29 Mar 2023 11:51:48 +0800 Subject: [PATCH 3/5] Update and rename sc.lua to zh-CN.lua --- locales/{sc.lua => zh-CN.lua} | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) rename locales/{sc.lua => zh-CN.lua} (96%) diff --git a/locales/sc.lua b/locales/zh-CN.lua similarity index 96% rename from locales/sc.lua rename to locales/zh-CN.lua index 6f2a1e0..eece0ca 100644 --- a/locales/sc.lua +++ b/locales/zh-CN.lua @@ -1,4 +1,4 @@ -Locales['en'] = { +Locales['zh-CN'] = { ['invalid_amount'] = '无效的金额输入!', ['deposit_money'] = '您已存入-$%s', ['withdraw_money'] = '你已提取-$%s', @@ -13,4 +13,4 @@ Locales['en'] = { ['pincode_not_found'] = "无效的PIN密码输入", ['pincode_found'] = "验证PIN密码中...", ['bank_name'] = "花园银行" -} \ No newline at end of file +} From 065ffed9b47d9dafe7f65d9b16623d5175594eb6 Mon Sep 17 00:00:00 2001 From: DyroS3 <64310374+DyroS3@users.noreply.github.com> Date: Wed, 29 Mar 2023 11:52:24 +0800 Subject: [PATCH 4/5] Update config.json --- html/config.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/html/config.json b/html/config.json index 8c26bc6..32d6561 100644 --- a/html/config.json +++ b/html/config.json @@ -486,7 +486,7 @@ } } }, - "SC": { + "zh-CN": { "DYNAMIC_FORM_DATA": [ { "componentName": "moreGraph", From 726b36e8d9417ba1742eb5983fe9138e5ee20919 Mon Sep 17 00:00:00 2001 From: DyroS3 <64310374+DyroS3@users.noreply.github.com> Date: Wed, 29 Mar 2023 11:58:19 +0800 Subject: [PATCH 5/5] Update and rename zh-CN.lua to zh-cn.lua --- locales/{zh-CN.lua => zh-cn.lua} | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) rename locales/{zh-CN.lua => zh-cn.lua} (97%) diff --git a/locales/zh-CN.lua b/locales/zh-cn.lua similarity index 97% rename from locales/zh-CN.lua rename to locales/zh-cn.lua index eece0ca..cc007d3 100644 --- a/locales/zh-CN.lua +++ b/locales/zh-cn.lua @@ -1,4 +1,4 @@ -Locales['zh-CN'] = { +Locales['zh-cn'] = { ['invalid_amount'] = '无效的金额输入!', ['deposit_money'] = '您已存入-$%s', ['withdraw_money'] = '你已提取-$%s',