Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Translations update from Hosted Weblate #5570

Merged
merged 5 commits into from
May 30, 2024
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions content/adventures/zh_Hant.yaml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
adventures:
story:
name: Story
default_save_name: Story
description: Story
name: 故事
default_save_name: 故事
description: 故事
levels:
1:
story_text: |
Expand Down
48 changes: 24 additions & 24 deletions content/cheatsheets/zh_Hant.yaml
Original file line number Diff line number Diff line change
@@ -1,41 +1,41 @@
1:
- name: '{print}'
explanation: Print something with `{print}`.
demo_code: '{print} Hello welcome to Hedy!'
explanation: 使用 `{print}` 列印一些內容。
demo_code: '{print} 你好,歡迎來到 Hedy'
- name: '{ask}'
explanation: Ask something with `{ask}`.
demo_code: '{ask} What is your favorite color?'
explanation: 使用 `{ask}` 詢問一些事情。
demo_code: '{ask} 你最喜歡甚麼顏色?'
- name: '{echo}'
explanation: Repeat something using `{echo}`.
explanation: 使用`{echo}`重複某些內容。
demo_code: |-
{ask} What is your favorite color?
{echo} so your favorite color is
- name: '{print} emojis'
explanation: Print an emoji with `{print}`.
{ask} 你最喜歡甚麼顏色?
{echo} 所以你最喜歡的顏色是
- name: '{print} 表情符號'
explanation: 使用 `{print}` 列印一個表情符號。
demo_code: '{print} 🙋 🌍 ❗'
- name: '{forward}'
explanation: Draw a line with `{forward}`.
explanation: 使用 `{forward}` 畫一條線。
demo_code: '{forward} 100'
- name: '{turn}'
explanation: Turn the drawing turtle with `{turn}`.
explanation: 使用 `{turn}` 轉動繪圖烏龜。
demo_code: |-
{forward} 25
{turn} {left}
{forward} 25
{turn} {right}
2:
- name: '{is}'
explanation: Give a word a name to use in the program using `{is}`. You can choose the name yourself.
explanation: 使用 `{is}` 為一個詞命名以便在程式中使用這個詞。你可以自己選擇名稱。
demo_code: |-
name {is} Hedy
{print} welcome name
{print} 歡迎 name
- name: '{ask}'
explanation: Ask something with `{ask}`. Beware! You need to give the answer a name with `{is}`.
explanation: 使用 `{ask}` 詢問一些事情。謹防!你需要使用 `{is}` 為答案命名。
demo_code: |-
color {is} {ask} What is your favorite color?
{print} color is your favorite!
color {is} {ask} 你最喜歡甚麼顏色?
{print} color 是你最喜歡的顏色!
- name: '{sleep}'
explanation: '`{sleep}` let Hedy pause for a (couple of) second(s).'
explanation: '使用 `{sleep}`,你可以讓 Hedy 暫停數秒。'
demo_code: |-
{print} Let me think for one second...
{sleep}
Expand All @@ -49,7 +49,7 @@
{turn} angle
{forward} 100
3:
- name: Choose random
- name: 選擇隨機
explanation: Choose a random word from a group with `{at}` and `{random}`.
demo_code: |-
animals {is} dog, cat, kangaroo
Expand All @@ -66,24 +66,24 @@
{remove} dog {from} animals
4:
- name: '{print}'
explanation: Print exactly using quotation marks.
demo_code: '{print} ''Hello welcome to Hedy.'''
explanation: 使用引號以準確列印。
demo_code: '{print} ''你好歡迎來到 Hedy'''
- name: '{is}'
explanation: Give a name to some text and `{print}` without quotation marks.
demo_code: |-
name {is} Hedy
{print} 'my name is ' name
- name: '{ask}'
explanation: Ask something with `{ask}`.
explanation: 使用 `{ask}` 詢問一些事情。
demo_code: |-
color {is} {ask} 'What is your favorite color?'
{print} color ' is your favorite!'
5:
- name: '{print}'
explanation: Print exactly using quotation marks.
demo_code: '{print} ''Hello welcome to Hedy.'''
explanation: 使用引號以準確列印。
demo_code: '{print} ''你好歡迎來到 Hedy'''
- name: '{ask}'
explanation: Ask something with `{ask}`.
explanation: 使用 `{ask}` 詢問一些事情。
demo_code: |-
color {is} {ask} 'What is your favorite color?'
{print} color ' is your favorite!'
Expand Down
86 changes: 43 additions & 43 deletions content/keywords/zh_Hant.yaml
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
add: add
and: and
ask: ask
at: at
black: black
blue: blue
brown: brown
button: button
add:
and:
ask:
at:
black: 黑色
blue: 藍色
brown: 棕色
button: 按鈕
call: call
clear: clear
color: color
comma: ','
clear: 清除
color: 顏色
comma: ''
d0: '0'
d1: '1'
d2: '2'
Expand All @@ -23,46 +23,46 @@ d9: '9'
def: def
define: define
echo: echo
elif: elif
else: else
elif: 否則如果
else: 否則
'false': 'false'
'False': 'False'
for: for
forward: forward
from: from
gray: gray
green: green
if: if
forward: 向前
from:
gray: 灰色
green: 綠色
if: 如果
in: in
input: input
is: is
left: left
length: length
input: 輸入
is:
left:
length: 長度
not_in: not in
or: or
orange: orange
pink: pink
or:
orange: 橙色
pink: 粉紅色
play: play
pressed: pressed
print: print
purple: purple
pressed: 已按下
print: 列印
purple: 紫色
quote: ''''
random: random
range: range
red: red
remove: remove
repeat: repeat
random: 隨機
range: 範圍
red: 紅色
remove: 移除
repeat: 重複
return: return
right: right
sleep: sleep
step: step
times: times
to: to
to_list: to
right:
sleep: 睡眠
step:
times:
to:
to_list:
'true': 'true'
'True': 'True'
turn: turn
while: while
white: white
turn: 轉動
while:
white: 白色
with: with
yellow: yellow
yellow: 黃色
4 changes: 2 additions & 2 deletions content/slides/zh_Hant.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ levels:

We need three text codes to create interactive stories.
2:
header: 'Hedy level 1: {print}'
header: '{print}'
text: |-
The first code that you can use in level 1 is `{print}`.

Expand All @@ -70,7 +70,7 @@ levels:
{print} Welcome to your own rock scissors paper!
{ask} What will you choose?
4:
header: 'Hedy level 1: {echo}'
header: '{ask}'
text: |-
The final text code that you can use in level 1 is `{echo}`.

Expand Down
Loading