Skip to content

Commit

Permalink
Translations update from Hosted Weblate (#5570)
Browse files Browse the repository at this point in the history
* Translated using Weblate (Chinese (Traditional))

Currently translated at 36.2% (146 of 403 strings)

Translated using Weblate (Chinese (Traditional))

Currently translated at 94.1% (64 of 68 strings)

Translated using Weblate (Chinese (Traditional))

Currently translated at 41.0% (307 of 747 strings)

Translated using Weblate (Chinese (Traditional))

Currently translated at 28.0% (53 of 189 strings)

Co-authored-by: hugoalh <[email protected]>
Translate-URL: https://hosted.weblate.org/projects/hedy/adventures/zh_Hant/
Translate-URL: https://hosted.weblate.org/projects/hedy/commands/zh_Hant/
Translate-URL: https://hosted.weblate.org/projects/hedy/keywords/zh_Hant/
Translate-URL: https://hosted.weblate.org/projects/hedy/slides/zh_Hant/
Translation: Hedy/Adventures
Translation: Hedy/Cheatsheets
Translation: Hedy/Keywords
Translation: Hedy/slides

* 🤖 Automatically update generated files

---------

Co-authored-by: hugoalh <[email protected]>
Co-authored-by: weblate <[email protected]>
Co-authored-by: boryanagoncharenko <[email protected]>
Co-authored-by: Felienne Hermans <[email protected]>
  • Loading branch information
5 people authored May 30, 2024
1 parent 82a802e commit 769b683
Show file tree
Hide file tree
Showing 7 changed files with 199 additions and 199 deletions.
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
86 changes: 43 additions & 43 deletions grammars/keywords-zh_Hant.lark
Original file line number Diff line number Diff line change
Expand Up @@ -3,53 +3,53 @@ _CALL: ("call" | "call") _SPACE?
_WITH: ("with" | "with") _SPACE?
_DEF: ("def" | "def") _SPACE?
_RETURN: ("return" | "return") _SPACE?
_PRINT: ("print" | "print") _SPACE?
_PRINT: ("列印" | "print") _SPACE?
_PLAY: ("play" | "play") _SPACE
_ASK: ("ask" | "ask") _SPACE?
_ASK: ("" | "ask") _SPACE?
_ECHO: ("echo" | "echo") _SPACE?
_FORWARD: ("forward" | "forward") _SPACE?
_TURN: ("turn" | "turn") _SPACE?
left: ("left" | "left") _SPACE?
right: ("right" | "right") _SPACE?
black: ("black" | "black") _SPACE?
blue: ("blue" | "blue") _SPACE?
brown: ("brown" | "brown") _SPACE?
gray: ("gray" | "gray") _SPACE?
green: ("green" | "green") _SPACE?
orange: ("orange" | "orange") _SPACE?
pink: ("pink" | "pink") _SPACE?
purple: ("purple" | "purple") _SPACE?
red: ("red" | "red") _SPACE?
white: ("white" | "white") _SPACE?
yellow: ("yellow" | "yellow") _SPACE?
_IS: _SPACE ("is" | "is") _SPACE
_STANDALONE_IS: ("is" | "is")
_SLEEP: ("sleep" | "sleep") _SPACE?
_ADD_LIST: ("add" | "add") _SPACE
_TO_LIST: _SPACE ("to" | "to") _SPACE
_REMOVE: ("remove" | "remove") _SPACE
_FROM: _SPACE ("from" | "from") _SPACE
_AT: _SPACE ("at" | "at") _SPACE
random: ("random" | "random") _SPACE?
_FORWARD: ("向前" | "forward") _SPACE?
_TURN: ("轉動" | "turn") _SPACE?
left: ("" | "left") _SPACE?
right: ("" | "right") _SPACE?
black: ("黑色" | "black") _SPACE?
blue: ("藍色" | "blue") _SPACE?
brown: ("棕色" | "brown") _SPACE?
gray: ("灰色" | "gray") _SPACE?
green: ("綠色" | "green") _SPACE?
orange: ("橙色" | "orange") _SPACE?
pink: ("粉紅色" | "pink") _SPACE?
purple: ("紫色" | "purple") _SPACE?
red: ("紅色" | "red") _SPACE?
white: ("白色" | "white") _SPACE?
yellow: ("黃色" | "yellow") _SPACE?
_IS: _SPACE ("" | "is") _SPACE
_STANDALONE_IS: ("" | "is")
_SLEEP: ("睡眠" | "sleep") _SPACE?
_ADD_LIST: ("" | "add") _SPACE
_TO_LIST: _SPACE ("" | "to") _SPACE
_REMOVE: ("移除" | "remove") _SPACE
_FROM: _SPACE ("" | "from") _SPACE
_AT: _SPACE ("" | "at") _SPACE
random: ("隨機" | "random") _SPACE?
_IN: _SPACE ("in" | "in") _SPACE
_NOT_IN: _SPACE ("not in" | "not in") _SPACE
_IF: ("if" | "if") _SPACE
_ELSE: "else" | "else"
_AND: _SPACE? ("and" | "and") _SPACE
_REPEAT: ("repeat" | "repeat") _SPACE
_TIMES: _SPACE ("times" | "times")
_IF: ("如果" | "if") _SPACE
_ELSE: "否則" | "else"
_AND: _SPACE? ("" | "and") _SPACE
_REPEAT: ("重複" | "repeat") _SPACE
_TIMES: _SPACE ("" | "times")
_FOR: ("for" | "for") _SPACE
_RANGE: ("range" | "range") _SPACE?
_TO: _SPACE ("to" | "to") _SPACE
_STEP: "step" | "step"
_ELIF: _SPACE? ("elif" | "elif") _SPACE
_INPUT: ("input" | "input")
_OR: _SPACE? ("or" | "or") _SPACE
_WHILE: ("while" | "while") _SPACE
_LENGTH: "length" | "length"
_COLOR : ("color" | "color") _SPACE?
_PRESSED: ("pressed" | "pressed") _SPACE?
_BUTTON: ("button" | "button") _SPACE?
clear: ("clear" | "clear") _SPACE?
_RANGE: ("範圍" | "range") _SPACE?
_TO: _SPACE ("" | "to") _SPACE
_STEP: "" | "step"
_ELIF: _SPACE? ("否則如果" | "elif") _SPACE
_INPUT: ("輸入" | "input")
_OR: _SPACE? ("" | "or") _SPACE
_WHILE: ("" | "while") _SPACE
_LENGTH: "長度" | "length"
_COLOR : ("顏色" | "color") _SPACE?
_PRESSED: ("已按下" | "pressed") _SPACE?
_BUTTON: ("按鈕" | "button") _SPACE?
clear: ("清除" | "clear") _SPACE?
TRUE: ("true" | "True" | "true" | "True") _SPACE?
FALSE: ("false" | "False" | "false" | "False") _SPACE?
Loading

0 comments on commit 769b683

Please sign in to comment.