Skip to content

Commit

Permalink
Added new language, Chinese Traditional.
Browse files Browse the repository at this point in the history
  • Loading branch information
JC5 committed Jan 28, 2019
1 parent 894b48d commit 9f2f258
Show file tree
Hide file tree
Showing 16 changed files with 2,721 additions and 26 deletions.
49 changes: 23 additions & 26 deletions config/firefly.php
Expand Up @@ -93,8 +93,8 @@
'is_demo_site' => false,
],
'encryption' => null === env('USE_ENCRYPTION') || env('USE_ENCRYPTION') === true,
'version' => '4.7.9',
'api_version' => '0.9.0',
'version' => '4.7.10',
'api_version' => '0.9.1',
'db_version' => 6,
'maxUploadSize' => 15242880,
'send_error_message' => env('SEND_ERROR_MESSAGE', true),
Expand Down Expand Up @@ -263,32 +263,29 @@
'Mortgage' => 'mortgage',
],
'languages' => [
// completed languages
'en_US' => ['name_locale' => 'English', 'name_english' => 'English'],
'es_ES' => ['name_locale' => 'Español', 'name_english' => 'Spanish'], // 2018-10-26: 96%
'de_DE' => ['name_locale' => 'Deutsch', 'name_english' => 'German'], // 2018-10-26: 100%
'fr_FR' => ['name_locale' => 'Français', 'name_english' => 'French'], // 2018-10-26: 100%
//'id_ID' => ['name_locale' => 'Bahasa Indonesia', 'name_english' => 'Indonesian'], // 2018-12-23: 65%
'it_IT' => ['name_locale' => 'Italiano', 'name_english' => 'Italian'], // 2018-10-26: 100%
'nl_NL' => ['name_locale' => 'Nederlands', 'name_english' => 'Dutch'], // 2018-10-26: 100%
'pl_PL' => ['name_locale' => 'Polski', 'name_english' => 'Polish '], // 2018-10-26: 76%
'pt_BR' => ['name_locale' => 'Português do Brasil', 'name_english' => 'Portuguese (Brazil)'], // 2018-10-26: 77%
'ru_RU' => ['name_locale' => 'Русский', 'name_english' => 'Russian'], // 2018-10-26: 80%
'zh_TW' => ['name_locale' => 'Chinese Traditional', 'name_english' => 'Chinese Traditional'], // 2018-12-23: 99%
'es_ES' => ['name_locale' => 'Español', 'name_english' => 'Spanish'], // 2019-01-28: 93%
'de_DE' => ['name_locale' => 'Deutsch', 'name_english' => 'German'], // 2019-01-28: 99%
'fr_FR' => ['name_locale' => 'Français', 'name_english' => 'French'], // 2019-01-28: 99%
//'id_ID' => ['name_locale' => 'Bahasa Indonesia', 'name_english' => 'Indonesian'], // 2019-01-28: 65%
'it_IT' => ['name_locale' => 'Italiano', 'name_english' => 'Italian'], // 2019-01-28: 100%
'nl_NL' => ['name_locale' => 'Nederlands', 'name_english' => 'Dutch'], // 2019-01-28: 100%
'pl_PL' => ['name_locale' => 'Polski', 'name_english' => 'Polish '], // 2019-01-28: 85%
'pt_BR' => ['name_locale' => 'Português do Brasil', 'name_english' => 'Portuguese (Brazil)'], // 2019-01-28: 80%
'ru_RU' => ['name_locale' => 'Русский', 'name_english' => 'Russian'], // 2019-01-28: 83%
'zh_TW' => ['name_locale' => 'Chinese Traditional', 'name_english' => 'Chinese Traditional'], // 2019-01-28: 99%
'zh_CN' => ['name_locale' => 'Chinese Simplified', 'name_english' => 'Chinese Simplified'], // 2019-01-28: 99%
//'tr_TR' => ['name_locale' => 'Türkçe', 'name_english' => 'Turkish'], // 2018-12-23: 70%

//

// very far away:
//'nb_NO' => ['name_locale' => 'Norwegian', 'name_english' => 'Norwegian'], // 2018-10-26: 52%
//'ca_ES' => ['name_locale' => 'Catalan', 'name_english' => 'Catalan'], // 2018-10-26: 0%
//'cs_CZ' => ['name_locale' => 'Czech', 'name_english' => 'Czech'], // 2018-10-26: 8%
//'he_IL' => ['name_locale' => 'Hebrew', 'name_english' => 'Hebrew'], // 2018-10-26: 3%
//'hu_HU' => ['name_locale' => 'Hungarian', 'name_english' => 'Hungarian'], // 2018-10-26: 40%

//'sv_SE' => ['name_locale' => 'Svenska', 'name_english' => 'Swedish'], // 2018-11-21: 1%
//'sl_SI' => ['name_locale' => 'Slovenian', 'name_english' => 'Slovenian'], // 2018-10-26: 10%
//'uk_UA' => ['name_locale' => 'Ukranian', 'name_english' => 'Ukranian'], // 2018-10-26: 3%
//'nb_NO' => ['name_locale' => 'Norwegian', 'name_english' => 'Norwegian'], // 2019-01-28: 52%
//'ca_ES' => ['name_locale' => 'Catalan', 'name_english' => 'Catalan'], // 2019-01-28: 0%
//'ja_JA' => ['name_locale' => 'Japanese', 'name_english' => 'Japanese'], // 2019-01-28: 0%
//'cs_CZ' => ['name_locale' => 'Czech', 'name_english' => 'Czech'], // 2019-01-28: 8%
//'he_IL' => ['name_locale' => 'Hebrew', 'name_english' => 'Hebrew'], // 2019-01-28: 2%
//'hu_HU' => ['name_locale' => 'Hungarian', 'name_english' => 'Hungarian'], // 2019-01-28: 40%
//'sv_SE' => ['name_locale' => 'Svenska', 'name_english' => 'Swedish'], // 2019-01-28: 1%
//'sr_CS' => ['name_locale' => 'Serbian (Latin)', 'name_english' => 'Serbian (Latin)'], // 2019-01-28: 0%
//'sl_SI' => ['name_locale' => 'Slovenian', 'name_english' => 'Slovenian'], // 2019-01-28: 10%
//'uk_UA' => ['name_locale' => 'Ukranian', 'name_english' => 'Ukranian'], // 2019-01-28: 4%


],
Expand Down
28 changes: 28 additions & 0 deletions resources/lang/zh_CN/auth.php
@@ -0,0 +1,28 @@
<?php

/**
* auth.php
* Copyright (c) 2018 thegrumpydictator@gmail.com
*
* This file is part of Firefly III.
*
* Firefly III is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* Firefly III is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with Firefly III. If not, see <http://www.gnu.org/licenses/>.
*/

declare(strict_types=1);

return [
'failed' => '您输入的信息与我们的记录不匹配。',
'throttle' => '登录失败次数太多,请 :seconds 秒后再试。',
];
26 changes: 26 additions & 0 deletions resources/lang/zh_CN/bank.php
@@ -0,0 +1,26 @@
<?php

/**
* bank.php
* Copyright (c) 2018 thegrumpydictator@gmail.com
*
* This file is part of Firefly III.
*
* Firefly III is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* Firefly III is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with Firefly III. If not, see <http://www.gnu.org/licenses/>.
*/

declare(strict_types=1);

return [
];
57 changes: 57 additions & 0 deletions resources/lang/zh_CN/breadcrumbs.php
@@ -0,0 +1,57 @@
<?php

/**
* breadcrumbs.php
* Copyright (c) 2018 thegrumpydictator@gmail.com
*
* This file is part of Firefly III.
*
* Firefly III is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* Firefly III is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with Firefly III. If not, see <http://www.gnu.org/licenses/>.
*/

declare(strict_types=1);

return [
'home' => '首页',
'edit_currency' => '编辑货币 ":name"',
'delete_currency' => '删除货币 ":name"',
'newPiggyBank' => '创建一个新的小猪存钱罐',
'edit_piggyBank' => '编辑小猪存钱罐 ":name"',
'preferences' => '偏好设定',
'profile' => '个人档案',
'changePassword' => '更改您的密码',
'change_email' => '更改您的电子邮件地址',
'bills' => '帐单',
'newBill' => '新增帐单',
'edit_bill' => '编辑帐单 ":name"',
'delete_bill' => '删除帐单 ":name"',
'reports' => '报表',
'search_result' => '":query" 的搜寻结果',
'withdrawal_list' => '支出',
'deposit_list' => '收入、所得与存款',
'transfer_list' => '转帐',
'transfers_list' => '转帐',
'reconciliation_list' => '对帐',
'create_withdrawal' => '新增提款',
'create_deposit' => '新增存款',
'create_transfer' => '新增转帐',
'edit_journal' => '编辑交易 ":description"',
'edit_reconciliation' => '编辑 ":description"',
'delete_journal' => '删除交易 ":description"',
'tags' => '标签',
'createTag' => '建立新标签',
'edit_tag' => '编辑标签 ":tag"',
'delete_tag' => '删除标签 ":tag"',
'delete_journal_link' => '删除交易记录之间的连结',
];
32 changes: 32 additions & 0 deletions resources/lang/zh_CN/components.php
@@ -0,0 +1,32 @@
<?php

/**
* components.php
* Copyright (c) 2018 thegrumpydictator@gmail.com
*
* This file is part of Firefly III.
*
* Firefly III is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* Firefly III is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with Firefly III. If not, see <http://www.gnu.org/licenses/>.
*/

declare(strict_types=1);

return [
// profile
'personal_access_tokens' => '个人访问令牌',

// bills:
'not_expected_period' => '本期预算外',
'not_or_not_yet' => '尚未',
];
51 changes: 51 additions & 0 deletions resources/lang/zh_CN/config.php
@@ -0,0 +1,51 @@
<?php

/**
* config.php
* Copyright (c) 2018 thegrumpydictator@gmail.com
*
* This file is part of Firefly III.
*
* Firefly III is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* Firefly III is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with Firefly III. If not, see <http://www.gnu.org/licenses/>.
*/

declare(strict_types=1);

return [
'html_language' => 'zh',
'locale' => 'zh_CN,简体中文,zh_CN.utf8,zh_CN.UTF-8',
'month' => '%Y 年 %B',
'month_and_day' => '%Y年 %B %e日',
'month_and_date_day' => '%Y 年 %B %e 日 %A',
'month_and_day_no_year' => '%B %e 日',
'date_time' => '%Y 年 %B %e 日, @ %T',
'specific_day' => '%Y 年 %B %e 日',
'week_in_year' => '%Y 年第 %W 周',
'year' => '%Y 年',
'half_year' => '%Y 年 %B',
'month_js' => 'MMMM YYYY',
'month_and_day_js' => 'YYYY MMMM Do',
'date_time_js' => 'YYYY MMMM Do,@ HH:mm:ss',
'specific_day_js' => 'YYYY MMMM D',
'week_in_year_js' => 'YYYY年, w [Week]',
'year_js' => 'YYYY',
'half_year_js' => 'YYYY Q',
'dow_1' => '星期一',
'dow_2' => '星期二',
'dow_3' => '星期三',
'dow_4' => '星期四',
'dow_5' => '星期五',
'dow_6' => '星期六',
'dow_7' => '星期日',
];
26 changes: 26 additions & 0 deletions resources/lang/zh_CN/csv.php
@@ -0,0 +1,26 @@
<?php

/**
* csv.php
* Copyright (c) 2018 thegrumpydictator@gmail.com
*
* This file is part of Firefly III.
*
* Firefly III is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* Firefly III is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with Firefly III. If not, see <http://www.gnu.org/licenses/>.
*/

declare(strict_types=1);

return [
];
38 changes: 38 additions & 0 deletions resources/lang/zh_CN/demo.php
@@ -0,0 +1,38 @@
<?php

/**
* demo.php
* Copyright (c) 2018 thegrumpydictator@gmail.com
*
* This file is part of Firefly III.
*
* Firefly III is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* Firefly III is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with Firefly III. If not, see <http://www.gnu.org/licenses/>.
*/

declare(strict_types=1);

return [
'no_demo_text' => '抱歉,没有额外的展示说明文字可供 <abbr title=":route">此页</abbr>。',
'see_help_icon' => '不过,右上角的这个 <i class="fa fa-question-circle"></i>-图示或许可以告诉你更多资讯。',
'index' => '欢迎来到 <strong>Firefly III</strong>!您可在此页快速概览您的财务状况。如需更多资, 请前往帐户 &rarr; <a href=":asset">资产帐户</a> 亦或是 <a href=":budgets">预算</a> 以及 <a href=":reports">报表</a> 页面。您也可以继续浏览此页。',
'accounts-index' => '资产帐户是您的个人银行帐户。支出帐户是您花费金钱的帐户,如商家或其他友人。收入帐户是您获得收入的地方,如您的工作、政府或其他收入源。债务是您的借贷,如信用卡帐单或学生贷款。在此页面您可以编辑或删除这些项目。',
'budgets-index' => '此页面显示您的预算概览。上方横条显示可用预算额,它可随时透过点选右方的总额进行客製化。您已花费的额度则显示在下方横条,而以下则是每条预算的支出以及您已编列的预算。',
'reports-index-start' => 'Firefly III 支持数种不同的报表形式,您可以点选右上方的 <i class="fa fa-question-circle"></i>-图示获得更多资讯。',
'reports-index-examples' => '请确认您以检阅过以下范例:<a href=":one">月财务概览</a>、<a href=":two">年度财务概览</a> 以及 <a href=":three">预算概览</a>。',
'currencies-index' => 'Firefly III 支持多种货币,即便预设为欧元,亦可设成美金或其他货币。如您所见,系统已包含了一小部分的货币种类,但您也可自行新增其他货币。修改预设货币并不会改变既有交易的货币种类,且 Firefly III 支持同时使用不同货币。',
'transactions-index' => '这些支出、储蓄与转帐并非蓄意虚构,而是自动产生的。',
'piggy-banks-index' => '如您所见,目前有3个小猪扑满。使用 + 号与 - 号按钮可改变每个小猪扑满的总额,而点选小猪扑满的名称则可管理该扑满。',
'import-index' => '任何 CSV 格式的档案都可导入 Firefly III,本程式也支持来自 bunq 与 Spectre 的档案格式,其他银行与金融机构则会在未来提供支持。而作为一名展示使用者,你只会看到「假的」供应者,系统会随机产生交易纪录以告知您如何运作。',
'profile-index' => '请谨记本展示网站每四小时会自动重新启用,您的访问凭证可能随时被撤销,这是自动发生而非错误。',
];

0 comments on commit 9f2f258

Please sign in to comment.