Skip to content

Commit

Permalink
add simplified Chinese support.
Browse files Browse the repository at this point in the history
  • Loading branch information
whwlsfb committed Jul 19, 2021
1 parent e5c258c commit 9770abd
Show file tree
Hide file tree
Showing 9 changed files with 202 additions and 0 deletions.
19 changes: 19 additions & 0 deletions resources/lang/cn/actions.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
<?php

return [
'cancel' => '取消',
'create' => '创建',
'edit' => '编辑',
'save' => '保存',
'delete' => '删除',

'verify' => '验证',

'yes' => '',
'no' => '',

'invite' => '邀请',

'accept' => '接受',
'deny' => '拒绝'
];
23 changes: 23 additions & 0 deletions resources/lang/cn/activities.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
<?php

return [
'transaction' => [
'created' => '已创建的交易记录',
'deleted' => '已删除的交易记录'
],

'recurring' => [
'created' => '已创建的定期交易',
'deleted' => '已删除的定期交易'
],

'tag' => [
'created' => '已创建的标签',
'deleted' => '已删除的标签'
],

'import' => [
'created' => '已创建的导入',
'deleted' => '已删除的导入'
]
];
34 changes: 34 additions & 0 deletions resources/lang/cn/calendar.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
<?php

return [
'months' => [
1 => '一月',
2 => '二月',
3 => '三月',
4 => '四月',
5 => '五月',
6 => '六月',
7 => '七月',
8 => '八月',
9 => '九月',
10 => '十月',
11 => '十一月',
12 => '十二月'
],
'weekdays' => [
0 => '星期一',
1 => '星期二',
2 => '星期三',
3 => '星期四',
4 => '星期五',
5 => '星期六',
6 => '星期天'
],
'intervals' => [
'yearly' => '每年',
'monthly' => '每月',
'biweekly' => '每两周',
'weekly' => '每周',
'daily' => '每天'
]
];
27 changes: 27 additions & 0 deletions resources/lang/cn/fields.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
<?php

return [
'name' => '姓名',

'avatar' => '头像',
'email' => '邮箱地址',
'password' => '密码',
'language' => '语言',
'theme' => '主题',
'currency' => '货币',
'weekly_report' => '周报',
'default_transaction_type' => '默认交易类型',
'first_day_of_week' => '每周第一天',

'date' => '日期',
'description' => '描述',
'amount' => '金额',

'period' => '周期',

'file' => '文件',

'color' => '颜色',

'role' => '角色'
];
40 changes: 40 additions & 0 deletions resources/lang/cn/general.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
<?php

return [
'dashboard' => '控制面板',

'balance' => '余额',
'recurrings' => '定期交易',
'left_to_spend' => '预留消费金',
'total_earned' => '总收入',
'total_spent' => '总支出',
'most_expensive_tag' => '消费金额最高的标签',
'most_expensive_day' => '消费金额最高的日期',

'analysis' => '分析',

'recent' => '最近的',

'profile' => '个人信息',
'account' => '账户设置',
'preferences' => '系统设置',
'billing' => '账单设置',

'general' => '通用',
'members' => '会员列表',
'invites' => '邀请列表',
'invited_by' => '邀请者',
'invite_someone' => '邀请某人',

'empty_state' => '此处没有任何 :resource',

'verify_account' => '请您验证你的邮箱地址&mdash;请检查邮箱收件箱',
'spaces_explanation' => '空间可以用来分隔你的财政预算。例如,你可以有一个空间来存放你的个人财务和另一个空间存放你的企业财务。',
'got_a_suggestion' => '提建议',

'invite' => '邀请',
'invited_to' => '您收到了一份邀请,邀请人是:',
'sent_by' => '发送人',

'of' => '属于'
];
27 changes: 27 additions & 0 deletions resources/lang/cn/models.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
<?php

return [
'budgets' => '预算列表',
'budget' => '预算',

'spaces' => '空间列表',
'space' => '空间',

'tags' => '标签列表',
'tag' => '标签',

'recurrings' => '定期交易列表',
'recurring' => '定期交易',

'earnings' => '收入列表',
'earning' => '收入',

'spendings' => '支出列表',
'spending' => '支出',

'transactions' => '交易列表',
'transaction' => '交易',

'imports' => '导入列表',
'import' => '导入'
];
7 changes: 7 additions & 0 deletions resources/lang/cn/pages.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
<?php

return [
'reports' => '报告列表',
'settings' => '设置',
'log_out' => '注销'
];
13 changes: 13 additions & 0 deletions resources/lang/cn/reports.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
<?php

return [
'weekly_balance' => [
'title' => '每周余额',
'description' => '图形化展示每周的余额情况。'
],

'most_expensive_tags' => [
'title' => '支出金额最大的标签',
'description' => '显示所有交易记录中,支出金额最大的标签。'
]
];
12 changes: 12 additions & 0 deletions resources/lang/cn/validation.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
<?php

return [
'required' => '不能为空',
'confirmed' => '不匹配',

'max' => [
'string' => '文字长度不能大于 :max'
],

'forbidden' => '您无权访问该页'
];

0 comments on commit 9770abd

Please sign in to comment.