Skip to content

Commit

Permalink
update Simplified Chinese Translations (#917)
Browse files Browse the repository at this point in the history
* update Simplified Chinese Translations
* add description files in packets
* change description file names for zh-CN
* manage special case zh
* update blockly v20210604.4

Co-authored-by: Michael Bonani <[email protected]>
  • Loading branch information
cheriodone and Michael Bonani authored Jun 4, 2021
1 parent fd84b88 commit 305c560
Show file tree
Hide file tree
Showing 15 changed files with 515 additions and 167 deletions.
168 changes: 85 additions & 83 deletions aseba/clients/qtcommon/translations/asebastudio_zh.ts

Large diffs are not rendered by default.

10 changes: 5 additions & 5 deletions aseba/clients/qtcommon/translations/compiler_zh.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE TS>
<TS version="2.1" language="zh">
<TS version="2.1" language="zh-CN">
<context>
<name>Aseba::CompilerTranslator</name>
<message>
Expand All @@ -16,7 +16,7 @@
<message>
<location line="+3"/>
<source>Script too big for target bytecode size</source>
<translation>脚本对于目标字节码容量过大</translation>
<translation>脚本代码对于目标容量过大</translation>
</message>
<message>
<location line="+3"/>
Expand Down Expand Up @@ -76,12 +76,12 @@
<message>
<location line="+3"/>
<source>Line: </source>
<translation>行:</translation>
<translation>行: </translation>
</message>
<message>
<location line="+3"/>
<source> Col: </source>
<translation>列:</translation>
<translation> 列: </translation>
</message>
<message>
<location line="+3"/>
Expand Down Expand Up @@ -111,7 +111,7 @@
<message>
<location line="+3"/>
<source>Error in number, invalid base</source>
<translation>数字错误,该数底数无效</translation>
<translation>数字错误,基数无效</translation>
</message>
<message>
<location line="+3"/>
Expand Down
6 changes: 3 additions & 3 deletions aseba/common/about/qtabout_zh.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,12 @@
<message>
<location line="+11"/>
<source>You can find more information online at &lt;a href=&quot;%1&quot;&gt;%2&lt;/a&gt;.</source>
<translation>更多信息请查看&lt;a href=&quot;%1&quot;&gt;%2&lt;/a&gt;</translation>
<translation>更多信息请查看&lt;a href=&quot;%1&quot;&gt;%2&lt;/a&gt;</translation>
</message>
<message>
<location line="+7"/>
<source>This program is part of Aseba, a set of tools which allow beginners to program robots easily and efficiently. For more information about Aseba, visit %1.</source>
<translation>该程序为Aseba的一部分. Aseba是一组允许初学者对机器人进行简单编程的工具. 了解更多请访问%1</translation>
<translation>该程序为Aseba的一部分. Aseba是一组允许初学者对机器人进行简单编程的工具. 了解更多请访问%1</translation>
</message>
<message>
<location line="+4"/>
Expand All @@ -27,7 +27,7 @@
<location line="+4"/>
<source>Aseba is open-source licensed under the &lt;a href=&quot;https://www.gnu.org/licenses/lgpl-3.0.txt&quot;&gt;LGPL version 3&lt;/a&gt;.</source>
<oldsource>Aseba is open-source licensed under the &lt;a href=&quot;https://www.gnu.org/licenses/lgpl.html&quot;&gt;LGPL version 3&lt;/a&gt;.</oldsource>
<translation type="unfinished">Aseba是在&lt;a href=&quot;https://www.gnu.org/licenses/lgpl-3.0.txt&quot;&gt;LGPL版本3&lt;/a&gt;开源许可证下的软件</translation>
<translation>Aseba是在&lt;a href=&quot;https://www.gnu.org/licenses/lgpl-3.0.txt&quot;&gt;LGPL版本3&lt;/a&gt;开源许可证下的软件</translation>
</message>
<message>
<location line="+10"/>
Expand Down
64 changes: 64 additions & 0 deletions aseba/launcher/src/apps/blockly/desc.zh-CN.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,64 @@
<!doctype html>

<html lang="zh-cn">
<head>
<meta charset="utf-8">
<style>
* {padding:0; margin:0;text-decoration:none;}
body {
background: #271845;
color: white;
padding: 20px;
}
p,
li {
font-family: roboto;
}
p.title {
font-size: 16px;
font-weight: 500;
margin-bottom:20px;
}
p {
font-size: 16px;
font-weight: 200;
margin-bottom:20px;
}

ul {
padding-left: 20px;
margin-bottom: 20px;
}

ul li {
font-size: 16px;
font-weight: 200;
}
a {
color: #0a9eeb;
font-weight: 500;
}
hr {
margin: 40px 0;
border: none;
}
</style>
</head>

<body>
<p class="title">向更具挑战性的编程语法迈出第一步,包括更多的计算机科学概念。.</p>
<ul>
<li>适合能阅读和熟悉电脑的儿童使用</li>
<li>从可视化编程语言到文本编程语言的第一步</li>
<li>通过拖放文本块对Thymio进行编程</li>
<li>比VPL中的操控性更大,在编程逻辑上类似于Scratch</li>
<li>可以用来教授或发现更多计算机科学的概念</li>
<li>不需要互联网连接</li>
</ul>
<p>点击帮助 (?) 按钮可以找到提示和更多信息。</p>
<p>访问 <a href="https://www.thymio.org">www.thymio.org</a>来获得关于如何在课堂上使用Thymio的教学材料和奇思妙想.
</p>
</body>

</html>

69 changes: 69 additions & 0 deletions aseba/launcher/src/apps/scratch/desc.zh-CN.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,69 @@
<!doctype html>

<html lang="zh-cn">
<head>
<meta charset="utf-8">
<style>
* {padding:0; margin:0;text-decoration:none;}
body {
background: #271845;
color: white;
padding: 20px;
}
p,
li {
font-family: roboto;
}
p.title {
font-size: 16px;
font-weight: 500;
margin-bottom:20px;
}
p {
font-size: 16px;
font-weight: 200;
margin-bottom:20px;
}

ul {
padding-left: 20px;
margin-bottom: 20px;
}

ul li {
font-size: 16px;
font-weight: 200;
}
a {
color: #0a9eeb;
font-weight: 500;
}
hr {
margin: 40px 0;
border: none;
}
</style>
</head>

<body>
<p class="title">使用Scratch 编程软件可以在电脑上使用Scratch“场景”和“精灵”系统,通过Thymio 打造一个与现实世界之间的交互.</p>
<p>例如,你可以创建一个交互式的故事,甚至是一个由Thymio控制的视频游戏。创造力是唯一的限制。</p>
<ul>
<li>在你的机器人和你的电脑屏幕之间创建交互</li>
<li>拖放文本块来编程Thymio和Scratch 精灵</li>
<li>不需要互联网连接</li>
</ul>
<p>
<strong>重要提示:</strong>当你用Scratch编程时,保持Thymio通过USB连接到到你的电脑上。<strong>无线Thymio机器人是使用Scratch的最佳选择。
</strong>.
</p>
<p>
单击帮助(?)按钮,了解更多信息。
</p>
<p>
访问 <a href="https://www.thymio.org">www.thymio.org</a> 获取教学材料和关于如何在课堂上使用Thymio的想法。
</p>
</body>

</html>

66 changes: 66 additions & 0 deletions aseba/launcher/src/apps/studio/desc.zh-CN.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,66 @@
<!doctype html>

<html lang="zh-cn">
<head>
<meta charset="utf-8">
<style>
* {padding:0; margin:0;text-decoration:none;}
body {
background: #271845;
color: white;
padding: 20px;
}
p,
li {
font-family: roboto;
}
p.title {
font-size: 16px;
font-weight: 500;
margin-bottom:20px;
}
p {
font-size: 16px;
font-weight: 200;
margin-bottom:20px;
}

ul {
padding-left: 20px;
margin-bottom: 20px;
}

ul li {
font-size: 16px;
font-weight: 200;
}
a {
color: #0a9eeb;
font-weight: 500;
}
hr {
margin: 40px 0;
border: none;
}
</style>
</head>

<body>
<p class="title">Aseba是一种完整的机器人文本编程语言,它将允许您对您的Thymio机器人内部的一切功能进行精确控制</p>
<ul>
<li>探索发现文本编程</li>
<li>完全控制你的Thymio机器人</li>
<li>获取传感器记录的实时图表</li>
<li>连接多个Thymio机器人到一个无线适配器上,让他们一起互动</li>
<li>不需要互联网连接</li>
</ul>
<p>
单击帮助(?)按钮,了解更多信息。
</p>
<p>
访问 <a href="https://www.thymio.org">www.thymio.org</a> 获取教学材料和关于如何在课堂上使用Thymio的想法。
</p>
</body>

</html>

65 changes: 65 additions & 0 deletions aseba/launcher/src/apps/vpl/desc.zh-CN.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,65 @@
<!doctype html>

<html lang="zh-cn">
<head>
<meta charset="utf-8">
<style>
* {padding:0; margin:0;text-decoration:none;}
body {
background: #271845;
color: white;
padding: 20px;
}
p,
li {
font-family: roboto;
}
p.title {
font-size: 16px;
font-weight: 500;
margin-bottom:20px;
}
p {
font-size: 16px;
font-weight: 200;
margin-bottom:20px;
}

ul {
padding-left: 20px;
margin-bottom: 20px;
}

ul li {
font-size: 16px;
font-weight: 200;
}
a {
color: #0a9eeb;
font-weight: 500;
}
hr {
margin: 40px 0;
border: none;
}
</style>
</head>

<body>
<p class="title">VPL是一种基于“块”的编程语言,它将使你学习到编程背后的逻辑。</p>
<ul>
<li>开始为Thymio编写程序的最简单方法</li>
<li>学生不需要拥有阅读的能力即可使用VPL</li>
<li>通过拖放图标编写程序</li>
<li>不需要互联网连接</li>
</ul>
<p>
单击帮助(?)按钮,了解更多信息。
</p>
<p>
访问 <a href="https://www.thymio.org">www.thymio.org</a> 获取教学材料和关于如何在课堂上使用Thymio的想法。
</p>
</body>

</html>

66 changes: 66 additions & 0 deletions aseba/launcher/src/apps/vpl3/desc.zh-CN.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,66 @@
<!doctype html>

<html lang="en">
<head>
<meta charset="utf-8">
<style>
* {padding:0; margin:0;text-decoration:none;}
body {
background: #271845;
color: white;
padding: 20px;
}
p,
li {
font-family: roboto;
}
p.title {
font-size: 16px;
font-weight: 500;
margin-bottom:20px;
}
p {
font-size: 16px;
font-weight: 200;
margin-bottom:20px;
}

ul {
padding-left: 20px;
margin-bottom: 20px;
}

ul li {
font-size: 16px;
font-weight: 200;
}
a {
color: #0a9eeb;
font-weight: 500;
}
hr {
margin: 40px 0;
border: none;
}
</style>
</head>

<body>
<p class="title">VPL3 是一种基于“块”的编程语言,它将使你学习到编程背后的逻辑。</p>
<ul>
<li>开始为Thymio编写程序的最简单方法</li>
<li>学生不需要拥有阅读的能力即可使用VPL</li>
<li>通过拖放图标编写程序</li>
<li>从编写你的第一个程序到理解变量和循环</li>
<li>不需要互联网连接</li>
</ul>
<p>
单击帮助(?)按钮,了解更多信息。
</p>
<p>
访问 <a href="https://www.thymio.org">www.thymio.org</a> 获取教学材料和关于如何在课堂上使用Thymio的想法。
</p>
</body>

</html>

Loading

0 comments on commit 305c560

Please sign in to comment.