Skip to content

Commit 7e5d97b

Browse files
committed
feature #563 Add simplified chinese translation (HugoWen)
This PR was squashed before being merged into the master branch (closes #563). Discussion ---------- Add simplified chinese translation Commits ------- 066e20b Add simplified chinese translation
2 parents 1dfa804 + 066e20b commit 7e5d97b

File tree

3 files changed

+392
-1
lines changed

3 files changed

+392
-1
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,352 @@
1+
<?xml version="1.0"?>
2+
<xliff version="1.2" xmlns="urn:oasis:names:tc:xliff:document:1.2">
3+
<file source-language="en" target-language="en" datatype="plaintext" original="file.ext">
4+
<body>
5+
<trans-unit id="note">
6+
<source>note</source>
7+
<target>注意</target>
8+
</trans-unit>
9+
<trans-unit id="tip">
10+
<source>tip</source>
11+
<target>提示</target>
12+
</trans-unit>
13+
<trans-unit id="not_available">
14+
<source>not_available</source>
15+
<target>不可用</target>
16+
</trans-unit>
17+
<trans-unit id="mit_license">
18+
<source>mit_license</source>
19+
<target>MIT License</target>
20+
</trans-unit>
21+
22+
<trans-unit id="http_error.name">
23+
<source>http_error.name</source>
24+
<target>错误 %status_code%</target>
25+
</trans-unit>
26+
<trans-unit id="http_error.description">
27+
<source>http_error.description</source>
28+
<target>有未知错误 (HTTP %status_code%) 阻止你的请求.</target>
29+
</trans-unit>
30+
<trans-unit id="http_error.suggestion">
31+
<source>http_error.suggestion</source>
32+
<target><![CDATA[尝试在几分钟后重新加载此页或者 <a href="%url%">返回首页</a>.]]></target>
33+
</trans-unit>
34+
<trans-unit id="http_error_403.description">
35+
<source>http_error_403.description</source>
36+
<target>你没有权限访问这个资源.</target>
37+
</trans-unit>
38+
<trans-unit id="http_error_403.suggestion">
39+
<source>http_error_403.suggestion</source>
40+
<target>请联系系统管理员给你访问这个资源的权限.</target>
41+
</trans-unit>
42+
<trans-unit id="http_error_404.description">
43+
<source>http_error_404.description</source>
44+
<target>无法找到请求的页面.</target>
45+
</trans-unit>
46+
<trans-unit id="http_error_404.suggestion">
47+
<source>http_error_404.suggestion</source>
48+
<target><![CDATA[请检查链接中的拼写错误或者 <a href="%url%">返回首页</a>.]]></target>
49+
</trans-unit>
50+
<trans-unit id="http_error_500.description">
51+
<source>http_error_500.description</source>
52+
<target>服务器错误.</target>
53+
</trans-unit>
54+
<trans-unit id="http_error_500.suggestion">
55+
<source>http_error_500.suggestion</source>
56+
<target><![CDATA[尝试在几分钟后重新加载此页或者 <a href="%url%">返回首页</a>.]]></target>
57+
</trans-unit>
58+
59+
<trans-unit id="title.homepage">
60+
<source>title.homepage</source>
61+
<target><![CDATA[欢迎使用 <strong>Symfony 示例</strong> 应用]]></target>
62+
</trans-unit>
63+
<trans-unit id="title.source_code">
64+
<source>title.source_code</source>
65+
<target>渲染此页面的源代码</target>
66+
</trans-unit>
67+
<trans-unit id="title.controller_code">
68+
<source>title.controller_code</source>
69+
<target>Controller 控制器代码</target>
70+
</trans-unit>
71+
<trans-unit id="title.twig_template_code">
72+
<source>title.twig_template_code</source>
73+
<target>Twig 模板代码</target>
74+
</trans-unit>
75+
<trans-unit id="title.login">
76+
<source>title.login</source>
77+
<target>登录</target>
78+
</trans-unit>
79+
<trans-unit id="title.post_list">
80+
<source>title.post_list</source>
81+
<target>文章列表</target>
82+
</trans-unit>
83+
<trans-unit id="title.edit_post">
84+
<source>title.edit_post</source>
85+
<target>编辑文章 #%id%</target>
86+
</trans-unit>
87+
<trans-unit id="title.add_comment">
88+
<source>title.add_comment</source>
89+
<target>发表评论</target>
90+
</trans-unit>
91+
<trans-unit id="title.comment_error">
92+
<source>title.comment_error</source>
93+
<target>发表评论出错</target>
94+
</trans-unit>
95+
96+
<trans-unit id="action.show">
97+
<source>action.show</source>
98+
<target>展示</target>
99+
</trans-unit>
100+
<trans-unit id="action.show_post">
101+
<source>action.show_post</source>
102+
<target>展示文章</target>
103+
</trans-unit>
104+
<trans-unit id="action.show_code">
105+
<source>action.show_code</source>
106+
<target>展示代码</target>
107+
</trans-unit>
108+
<trans-unit id="action.edit">
109+
<source>action.edit</source>
110+
<target>编辑</target>
111+
</trans-unit>
112+
<trans-unit id="action.edit_post">
113+
<source>action.edit_post</source>
114+
<target>编辑文章</target>
115+
</trans-unit>
116+
<trans-unit id="action.save">
117+
<source>action.save</source>
118+
<target>保存修改</target>
119+
</trans-unit>
120+
<trans-unit id="action.delete_post">
121+
<source>action.delete_post</source>
122+
<target>删除文章</target>
123+
</trans-unit>
124+
<trans-unit id="delete_post_modal.title">
125+
<source>delete_post_modal.title</source>
126+
<target>确定要删除此文章吗?</target>
127+
</trans-unit>
128+
<trans-unit id="delete_post_modal.body">
129+
<source>delete_post_modal.body</source>
130+
<target>这个操作无法撤销.</target>
131+
</trans-unit>
132+
<trans-unit id="label.delete_post">
133+
<source>label.delete_post</source>
134+
<target>删除文章</target>
135+
</trans-unit>
136+
<trans-unit id="label.cancel">
137+
<source>label.cancel</source>
138+
<target>取消</target>
139+
</trans-unit>
140+
<trans-unit id="action.create_post">
141+
<source>action.create_post</source>
142+
<target>添加一篇新文章</target>
143+
</trans-unit>
144+
<trans-unit id="label.create_post">
145+
<source>label.create_post</source>
146+
<target>保存文章</target>
147+
</trans-unit>
148+
<trans-unit id="label.save_and_create_new">
149+
<source>label.save_and_create_new</source>
150+
<target>保存并添加新文章</target>
151+
</trans-unit>
152+
<trans-unit id="action.back_to_list">
153+
<source>action.back_to_list</source>
154+
<target>返回文章列表</target>
155+
</trans-unit>
156+
<trans-unit id="action.publish_comment">
157+
<source>action.publish_comment</source>
158+
<target>发表评论</target>
159+
</trans-unit>
160+
<trans-unit id="action.sign_in">
161+
<source>action.sign_in</source>
162+
<target>登录</target>
163+
</trans-unit>
164+
<trans-unit id="action.browse_app">
165+
<source>action.browse_app</source>
166+
<target>浏览博客前台</target>
167+
</trans-unit>
168+
<trans-unit id="action.browse_admin">
169+
<source>action.browse_admin</source>
170+
<target>浏览管理后台</target>
171+
</trans-unit>
172+
173+
<trans-unit id="label.title">
174+
<source>label.title</source>
175+
<target>标题</target>
176+
</trans-unit>
177+
<trans-unit id="label.author">
178+
<source>label.author</source>
179+
<target>作者</target>
180+
</trans-unit>
181+
<trans-unit id="label.author_email">
182+
<source>label.author_email</source>
183+
<target>作者邮箱</target>
184+
</trans-unit>
185+
<trans-unit id="label.username">
186+
<source>label.username</source>
187+
<target>用户名</target>
188+
</trans-unit>
189+
<trans-unit id="label.password">
190+
<source>label.password</source>
191+
<target>密码</target>
192+
</trans-unit>
193+
<trans-unit id="label.role">
194+
<source>label.role</source>
195+
<target>角色</target>
196+
</trans-unit>
197+
<trans-unit id="label.content">
198+
<source>label.content</source>
199+
<target>内容</target>
200+
</trans-unit>
201+
<trans-unit id="label.summary">
202+
<source>label.summary</source>
203+
<target>摘要</target>
204+
</trans-unit>
205+
<trans-unit id="label.published_at">
206+
<source>label.published_at</source>
207+
<target>发布于</target>
208+
</trans-unit>
209+
<trans-unit id="label.tags">
210+
<source>label.tags</source>
211+
<target>标签</target>
212+
</trans-unit>
213+
<trans-unit id="label.actions">
214+
<source>label.actions</source>
215+
<target>操作</target>
216+
</trans-unit>
217+
<trans-unit id="title.post_new">
218+
<source>title.post_new</source>
219+
<target>文章创建者</target>
220+
</trans-unit>
221+
<trans-unit id="action.edit_contents">
222+
<source>action.edit_contents</source>
223+
<target>编辑内容</target>
224+
</trans-unit>
225+
226+
<trans-unit id="menu.toggle_nav">
227+
<source>menu.toggle_nav</source>
228+
<target>切换导航</target>
229+
</trans-unit>
230+
<trans-unit id="menu.choose_language">
231+
<source>menu.choose_language</source>
232+
<target>选择语言</target>
233+
</trans-unit>
234+
<trans-unit id="menu.post_list">
235+
<source>menu.post_list</source>
236+
<target>文章列表</target>
237+
</trans-unit>
238+
<trans-unit id="menu.back_to_blog">
239+
<source>menu.back_to_blog</source>
240+
<target>返回博客</target>
241+
</trans-unit>
242+
<trans-unit id="menu.homepage">
243+
<source>menu.homepage</source>
244+
<target>主页</target>
245+
</trans-unit>
246+
<trans-unit id="menu.admin">
247+
<source>menu.admin</source>
248+
<target>后台</target>
249+
</trans-unit>
250+
<trans-unit id="menu.logout">
251+
<source>menu.logout</source>
252+
<target>登出</target>
253+
</trans-unit>
254+
<trans-unit id="menu.rss">
255+
<source>menu.rss</source>
256+
<target>博客文章 RSS</target>
257+
</trans-unit>
258+
259+
<trans-unit id="post.to_publish_a_comment">
260+
<source>post.to_publish_a_comment</source>
261+
<target>发表评论</target>
262+
</trans-unit>
263+
<trans-unit id="post.num_comments">
264+
<source>post.num_comments</source>
265+
<target>%count% 评论|%count% 评论</target>
266+
</trans-unit>
267+
<trans-unit id="post.commented_on">
268+
<source>post.commented_on</source>
269+
<target>评论于</target>
270+
</trans-unit>
271+
<trans-unit id="post.no_comments">
272+
<source>post.no_comments</source>
273+
<target>成为文章的第一个评论者.</target>
274+
</trans-unit>
275+
<trans-unit id="post.no_posts_found">
276+
<source>post.no_posts_found</source>
277+
<target>没有评论.</target>
278+
</trans-unit>
279+
<trans-unit id="post.created_successfully">
280+
<source>post.created_successfully</source>
281+
<target>评论发表成功!</target>
282+
</trans-unit>
283+
<trans-unit id="post.updated_successfully">
284+
<source>post.updated_successfully</source>
285+
<target>评论更新成功!</target>
286+
</trans-unit>
287+
<trans-unit id="post.deleted_successfully">
288+
<source>post.deleted_successfully</source>
289+
<target>评论删除成功!</target>
290+
</trans-unit>
291+
292+
<trans-unit id="notification.comment_created">
293+
<source>notification.comment_created</source>
294+
<target>收到一条新评论!</target>
295+
</trans-unit>
296+
<trans-unit id="notification.comment_created.description">
297+
<source>notification.comment_created.description</source>
298+
<target><![CDATA[你的文章 "%title%" 收到一条新评论. <a href="%link%">查看评论</a>]]></target>
299+
</trans-unit>
300+
301+
<trans-unit id="help.app_description">
302+
<source>help.app_description</source>
303+
<target><![CDATA[这是一个使用Symfony框架构建的 <strong> 示例应用 </strong> , 用以介绍开发Symfony应用的推荐方式.]]></target>
304+
</trans-unit>
305+
<trans-unit id="help.show_code">
306+
<source>help.show_code</source>
307+
<target><![CDATA[点击按钮来展示渲染此页面的 <strong>Controller 控制器</strong> 和 <strong>Twig 模板</strong> 的源代码.]]></target>
308+
</trans-unit>
309+
<trans-unit id="help.browse_app">
310+
<source>help.browse_app</source>
311+
<target><![CDATA[浏览示例应用的 <strong>公共部分</strong> .]]></target>
312+
</trans-unit>
313+
<trans-unit id="help.browse_admin">
314+
<source>help.browse_admin</source>
315+
<target><![CDATA[浏览示例应用的 <strong>管理后台</strong> .]]></target>
316+
</trans-unit>
317+
<trans-unit id="help.login_users">
318+
<source>help.login_users</source>
319+
<target>使用以下用户登录</target>
320+
</trans-unit>
321+
<trans-unit id="help.role_user">
322+
<source>help.role_user</source>
323+
<target>普通用户</target>
324+
</trans-unit>
325+
<trans-unit id="help.role_admin">
326+
<source>help.role_admin</source>
327+
<target>管理员</target>
328+
</trans-unit>
329+
<trans-unit id="help.reload_fixtures">
330+
<source>help.reload_fixtures</source>
331+
<target>如果这些用户无法使用, 在终端中使用以下命令来重新加载应用数据:</target>
332+
</trans-unit>
333+
<trans-unit id="help.add_user">
334+
<source>help.add_user</source>
335+
<target>如果你想要创建用户, 使用命令:</target>
336+
</trans-unit>
337+
<trans-unit id="help.more_information">
338+
<source>help.more_information</source>
339+
<target><![CDATA[了解更多信息, 请查看 <a href="https://symfony.com/doc">Symfony 文档 </a>.]]></target>
340+
</trans-unit>
341+
342+
<trans-unit id="rss.title">
343+
<source>rss.title</source>
344+
<target>Symfony Demo blog</target>
345+
</trans-unit>
346+
<trans-unit id="rss.description">
347+
<source>rss.description</source>
348+
<target>Symfony 示例博客上发布的最新文章</target>
349+
</trans-unit>
350+
</body>
351+
</file>
352+
</xliff>
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
<?xml version="1.0"?>
2+
<xliff version="1.2" xmlns="urn:oasis:names:tc:xliff:document:1.2">
3+
<file source-language="en" target-language="en" datatype="plaintext" original="file.ext">
4+
<body>
5+
<trans-unit id="post.blank_summary">
6+
<source>post.blank_summary</source>
7+
<target>请填写文章摘要!</target>
8+
</trans-unit>
9+
<trans-unit id="post.blank_content">
10+
<source>post.blank_content</source>
11+
<target>请填写文章内容!</target>
12+
</trans-unit>
13+
<trans-unit id="post.too_short_content">
14+
<source>post.too_short_content</source>
15+
<target>文章内容太少 最少 ({{ limit }} 个字 )</target>
16+
</trans-unit>
17+
<trans-unit id="post.too_many_tags">
18+
<source>post.too_many_tags</source>
19+
<target>标签太多 (最多 {{ limit }} 个标签)</target>
20+
</trans-unit>
21+
<trans-unit id="comment.blank">
22+
<source>comment.blank</source>
23+
<target>评论内容不能为空!</target>
24+
</trans-unit>
25+
<trans-unit id="comment.too_short">
26+
<source>comment.too_short</source>
27+
<target>评论内容太少 (最少 {{ limit }} 个字)</target>
28+
</trans-unit>
29+
<trans-unit id="comment.too_long">
30+
<source>comment.too_long</source>
31+
<target>评论内容太多 (最多 {{ limit }} 个字)</target>
32+
</trans-unit>
33+
<trans-unit id="comment.is_spam">
34+
<source>comment.is_spam</source>
35+
<target>非法评论.</target>
36+
</trans-unit>
37+
</body>
38+
</file>
39+
</xliff>

0 commit comments

Comments
 (0)