Skip to content

Commit 675d79b

Browse files
authored
Add Chinese Simplified+Traditional (zh_CN+zh_TW) translation (#189)
1 parent c60386e commit 675d79b

32 files changed

+1024
-0
lines changed

resources/lang/zh_CN/api_key.php

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
<?php
2+
3+
return [
4+
'resource_label' => 'API 密钥|API 密钥',
5+
'show_token' => [
6+
'heading' => '你的 API 令牌已生成',
7+
'description' => '请复制你的新 API 令牌。为了你的安全,它将不会再次显示。',
8+
'copy_tooltip' => '令牌已复制!',
9+
],
10+
'abilities_label' => ':ability :resource',
11+
'form' => [
12+
'name_label' => '令牌名称',
13+
'expires_at_label' => '过期时间',
14+
'expires_at_helper' => '在午夜过期。留空表示无过期时间',
15+
'expires_at_validation' => '过期日期必须在未来',
16+
'abilities_label' => '权限',
17+
'abilities_hint' => '留空将给予令牌全部权限',
18+
],
19+
'list' => [
20+
'actions' => [
21+
'revoke' => '撤销',
22+
],
23+
'headers' => [
24+
'name' => '令牌名称',
25+
'abilities' => '权限',
26+
'created_at' => '创建时间',
27+
'expires_at' => '过期时间',
28+
'updated_at' => '更新时间',
29+
],
30+
],
31+
];

resources/lang/zh_CN/cachet.php

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
<?php
2+
3+
return [
4+
'support' => [
5+
'section_heading' => '支持 Cachet',
6+
'consider_supporting' => '请考虑通过 *GitHub Sponsors* 支持 Cachet。',
7+
'keep_up_to_date' => '通过关注 *Cachet 博客* 了解最新的新闻和发布信息。',
8+
'work_in_progress_text' => 'Cachet 正在积极开发中。某些内容可能会发生变化。',
9+
],
10+
'powered_by' => '技术支持',
11+
'open_source_status_page' => '开源的状态页面。',
12+
'all_times_shown_in' => '所有时间均显示为 *:timezone*。',
13+
'rss_feed' => ':name RSS 订阅源',
14+
];

resources/lang/zh_CN/component.php

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
<?php
2+
3+
return [
4+
'resource_label' => '组件|组件',
5+
'list' => [
6+
'headers' => [
7+
'name' => '名称',
8+
'status' => '状态',
9+
'order' => '顺序',
10+
'group' => '',
11+
'enabled' => '启用',
12+
'created_at' => '创建时间',
13+
'updated_at' => '更新时间',
14+
'deleted_at' => '删除时间',
15+
],
16+
'empty_state' => [
17+
'heading' => '组件',
18+
'description' => '组件代表系统中可能影响状态页面状态的各种部分。',
19+
],
20+
],
21+
'last_updated' => '上次更新 :timestamp',
22+
'view_details' => '查看详情',
23+
'form' => [
24+
'name_label' => '名称',
25+
'status_label' => '状态',
26+
'description_label' => '描述',
27+
'component_group_label' => '组件组',
28+
'link_label' => '链接',
29+
'link_helper' => '可选的组件链接。',
30+
],
31+
'status' => [
32+
'operational' => '正常运行',
33+
'performance_issues' => '性能问题',
34+
'partial_outage' => '部分故障',
35+
'major_outage' => '重大故障',
36+
'unknown' => '未知',
37+
],
38+
39+
];
Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
<?php
2+
3+
return [
4+
'resource_label' => '组件组|组件组',
5+
'incident_count' => ':count 事件|:count 事件',
6+
'visibility' => [
7+
'expanded' => '始终展开',
8+
'collapsed' => '始终折叠',
9+
'collapsed_unless_incident' => '没有正在进行中的事件时折叠',
10+
],
11+
'list' => [
12+
'headers' => [
13+
'name' => '名称',
14+
'visible' => '可见',
15+
'collapsed' => '折叠',
16+
'created_at' => '创建时间',
17+
'updated_at' => '更新时间',
18+
],
19+
'empty_state' => [
20+
'heading' => '组件组',
21+
'description' => '将相关组件分组。',
22+
],
23+
],
24+
'form' => [
25+
'name_label' => '名称',
26+
'visible_label' => '可见',
27+
'collapsed_label' => '折叠',
28+
],
29+
];

resources/lang/zh_CN/incident.php

Lines changed: 80 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,80 @@
1+
<?php
2+
3+
return [
4+
'title' => '事件',
5+
'resource_label' => '事件|事件',
6+
'status' => [
7+
'investigating' => '正在调查',
8+
'identified' => '已确认',
9+
'watching' => '正在观察',
10+
'fixed' => '已修复',
11+
'reported' => '已报告',
12+
],
13+
'edit_button' => '编辑事件',
14+
'new_button' => '新建事件',
15+
'no_incidents_reported' => '没有事件被报告。',
16+
'timeline' => [
17+
'past_incidents_header' => '过去的事件',
18+
'recent_incidents_header' => '最近的事件',
19+
'no_incidents_reported_between' => '在 :from 和 :to 之间没有事件被报告。',
20+
'navigate' => [
21+
'previous' => '上一页',
22+
'today' => '今天',
23+
'next' => '下一页',
24+
],
25+
],
26+
'list' => [
27+
'headers' => [
28+
'name' => '名称',
29+
'status' => '状态',
30+
'visible' => '可见',
31+
'stickied' => '置顶',
32+
'occurred_at' => '发生时间',
33+
'notified_subscribers' => '已通知的订阅者',
34+
'created_at' => '创建时间',
35+
'updated_at' => '更新时间',
36+
'deleted_at' => '删除时间',
37+
],
38+
'actions' => [
39+
'record_update' => '记录更新',
40+
'view_incident' => '查看事件',
41+
],
42+
'empty_state' => [
43+
'heading' => '事件',
44+
'description' => '事件用于沟通和跟踪服务的状态。',
45+
],
46+
],
47+
'form' => [
48+
'name_label' => '名称',
49+
'status_label' => '状态',
50+
'message_label' => '消息',
51+
'occurred_at_label' => '发生时间',
52+
'occurred_at_helper' => '如果留空,将使用事件的创建时间戳。',
53+
'visible_label' => '可见',
54+
'user_label' => '用户',
55+
'user_helper' => '报告事件的用户。',
56+
'notifications_label' => '通知订阅者?',
57+
'stickied_label' => '置顶事件?',
58+
'guid_label' => '事件 UUID',
59+
'add_component' => [
60+
'action_label' => '添加组件',
61+
'header' => '组件',
62+
'component_label' => '组件',
63+
'status_label' => '状态',
64+
],
65+
],
66+
'record_update' => [
67+
'success_title' => '事件 :name 已更新',
68+
'success_body' => '一个新的事件更新已被记录。',
69+
'form' => [
70+
'message_label' => '消息',
71+
'status_label' => '状态',
72+
'user_label' => '用户',
73+
'user_helper' => '谁报告了此事件。',
74+
],
75+
],
76+
'overview' => [
77+
'total_incidents_label' => '总事件数',
78+
'total_incidents_description' => '事件的总数。',
79+
],
80+
];
Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
<?php
2+
3+
return [
4+
'resource_label' => '事件模板|事件模板',
5+
'list' => [
6+
'headers' => [
7+
'name' => '名称',
8+
'slug' => '别名',
9+
'engine' => '引擎',
10+
'created_at' => '创建时间',
11+
'updated_at' => '更新时间',
12+
'deleted_at' => '删除时间',
13+
],
14+
'empty_state' => [
15+
'heading' => '事件模板',
16+
'description' => '事件模板用于创建可重复使用的事件消息。',
17+
],
18+
],
19+
'form' => [
20+
'name_label' => '名称',
21+
'slug_label' => '别名',
22+
'template_label' => '模板',
23+
'engine_label' => '引擎',
24+
],
25+
'engine' => [
26+
'laravel_blade' => 'Laravel Blade',
27+
'laravel_blade_docs' => 'Laravel Blade 文档',
28+
'twig' => 'Twig',
29+
'twig_docs' => 'Twig 文档',
30+
],
31+
];
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
<?php
2+
3+
return [
4+
'oh_dear' => [
5+
'import_feed_button' => '导入订阅源',
6+
'status_page_url_label' => 'Oh Dear 状态页面 URL',
7+
'status_page_url_helper' => '输入你的 Oh Dear 状态页面的 URL(例如 https://status.example.com)。',
8+
'import_sites_as_components_label' => '将站点作为组件导入',
9+
'import_sites_as_components_helper' => '在 Oh Dear 中配置的站点将作为组件导入到 Cachet 中。',
10+
'component_group_label' => '组件组',
11+
'component_group_helper' => '将导入的组件分配到的组件组。',
12+
'import_incidents_label' => '导入事件',
13+
'import_incidents_helper' => 'Oh Dear 中的最近事件将作为事件导入到 Cachet 中。',
14+
'provided_url_invalid' => '提供的 URL 不是一个有效的 Oh Dear 状态页面端点。',
15+
'imported_successfully' => 'Oh Dear 订阅源已成功导入。',
16+
],
17+
];

resources/lang/zh_CN/metric.php

Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,50 @@
1+
<?php
2+
3+
return [
4+
'resource_label' => '指标|指标',
5+
'list' => [
6+
'headers' => [
7+
'name' => '名称',
8+
'suffix' => '后缀',
9+
'default_value' => '默认值',
10+
'calc_type' => '指标类型',
11+
'display_chart' => '显示图表',
12+
'places' => '小数位数',
13+
'default_view' => '默认视图',
14+
'threshold' => '阈值',
15+
'order' => '顺序',
16+
'visible' => '可见',
17+
'points_count' => '点数',
18+
'created_at' => '创建时间',
19+
'updated_at' => '更新时间',
20+
],
21+
'empty_state' => [
22+
'heading' => '指标',
23+
'description' => '指标用于跟踪和显示数据。',
24+
],
25+
],
26+
'form' => [
27+
'name_label' => '名称',
28+
'suffix_label' => '后缀',
29+
'description_label' => '描述',
30+
'default_view_label' => '默认视图',
31+
'default_value_label' => '默认值',
32+
'calc_type_label' => '指标类型',
33+
'places_label' => '小数位数',
34+
'threshold_label' => '阈值',
35+
'visible_label' => '可见',
36+
'display_chart_label' => '显示图表',
37+
],
38+
'overview' => [
39+
'metric_points_label' => '指标点数',
40+
'metric_points_description' => '最近的指标点数。',
41+
],
42+
'sum_label' => '总和',
43+
'average_label' => '平均值',
44+
'view_labels' => [
45+
'last_hour' => '前一小时',
46+
'today' => '今天',
47+
'week' => '',
48+
'month' => '',
49+
],
50+
];
Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
<?php
2+
3+
return [
4+
'settings' => [
5+
'label' => '设置',
6+
'items' => [
7+
'manage_cachet' => '管理 Cachet',
8+
'manage_customization' => '管理自定义',
9+
'manage_theme' => '管理主题',
10+
'manage_api_keys' => '管理 API 密钥',
11+
'manage_webhooks' => '管理 Webhooks',
12+
],
13+
],
14+
15+
'integrations' => [
16+
'label' => '集成',
17+
'items' => [
18+
'oh_dear' => 'Oh Dear',
19+
],
20+
],
21+
'resources' => [
22+
'label' => '资源',
23+
'items' => [
24+
'status_page' => '状态',
25+
'documentation' => '文档',
26+
'discord' => '加入 Discord',
27+
'sponsor' => '赞助 Cachet',
28+
],
29+
],
30+
];

resources/lang/zh_CN/resource.php

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
<?php
2+
3+
return [
4+
'visibility' => [
5+
'authenticated' => '用户',
6+
'guest' => '游客',
7+
'hidden' => '总是隐藏',
8+
],
9+
];

0 commit comments

Comments
 (0)