Skip to content

Commit e89684f

Browse files
committed
Done translation of buzzer-2
1 parent 8515352 commit e89684f

4 files changed

Lines changed: 16 additions & 4 deletions

File tree

msg/tutorials/buzzer-2/en.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
11
MSG.title = "Webduino Blockly Chapter 9-2 : Buzzer";
22
MSG.subTitle = "Chapter 9-2 : Buzzer";
33
MSG.demoDescription = "Create a music and play this music by buzzer";
4+
MSG.notes = "Notes:";
5+
MSG.tempos = "Tempos:";

msg/tutorials/buzzer-2/zh-hans.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
MSG.title = "Webduino Blockly 课程 9-2:蜂鸣器播放音乐";
2+
MSG.subTitle = "课程 9-2:蜂鸣器播放音乐";
3+
MSG.demoDescription = "尝试用其他的方式制作一首音乐,并用蜂鸣器播放";
4+
MSG.notes = "音符:";
5+
MSG.tempos = "节奏:";

msg/tutorials/buzzer-2/zh-hant.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
MSG.title = "Webduino Blockly 課程 9-2:蜂鳴器播放音樂";
22
MSG.subTitle = "課程 9-2:蜂鳴器播放音樂";
33
MSG.demoDescription = "嘗試用其他的方式製作一首音樂,並用蜂鳴器播放";
4-
4+
MSG.notes = "音符:";
5+
MSG.tempos = "節奏:";

templates/tutorials/buzzer-2.html

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,20 @@
11
<template id="head">
22
<meta charset="utf-8">
33
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
4-
<title>Webduino Blockly - 蜂鳴器播放音樂</title>
4+
<title data-translation="title">Webduino Blockly - 蜂鳴器播放音樂</title>
55
<!-- webduino -->
66
<script src="https://webduino.io/components/webduino-js/dist/webduino-all.min.js"></script>
77
<script src="https://blockly.webduino.io/webduino-blockly.js"></script>
88
<script src="https://blockly.webduino.io/lib/runtime.min.js"></script>
99
</template>
1010
<template id="body">
1111
<div id="show">
12-
音符:<span id="buzzerNotes"></span><br/>
13-
節奏:<span id="buzzerTempos"></span>
12+
<p>
13+
<span data-translation="notes">音符:</span><span id="buzzerNotes"></span>
14+
</p>
15+
<p>
16+
<span data-translation="tempos">節奏:</span><span id="buzzerTempos"></span>
17+
</p>
1418
</div>
1519
</template>
1620
<template id="css">

0 commit comments

Comments
 (0)