Skip to content

Commit

Permalink
Translated using Weblate (Chinese (Simplified))
Browse files Browse the repository at this point in the history
Currently translated at 58.5% (468 of 800 strings)

Translated using Weblate (Chinese (Simplified))

Currently translated at 58.5% (468 of 800 strings)

Co-authored-by: Felienne Hermans <felienne@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/hedy/adventures/zh_Hans/
Translation: Hedy/Adventures
  • Loading branch information
Felienne authored and weblate committed Dec 2, 2023
1 parent d51ba79 commit 39ba312
Showing 1 changed file with 37 additions and 37 deletions.
74 changes: 37 additions & 37 deletions content/adventures/zh_Hans.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -569,9 +569,9 @@ adventures:
{print} i * 数字
```
start_code: |
数字10
{for}i{in}{range}1{to}10
{print}i*数字
数字 = 10
{for} i {in} {range} 1 {to} 10
{print} i *数字
12:
story_text: |
在本关,你可以编写一个可以计算小数的计算器。
Expand Down Expand Up @@ -1378,33 +1378,33 @@ adventures:
```
start_code: |2
define food_order
toppings = ask 'pepperoni, tuna, veggie or cheese?'
size = ask 'big, medium or small?'
number_of_pizza = ask 'How many these pizzas would you like?'
define food_order
toppings = ask 'pepperoni, tuna, veggie or cheese?'
size = ask 'big, medium or small?'
number_of_pizza = ask 'How many these pizzas would you like?'
print 'YOU ORDERED'
print number_of_pizzas ' size ' topping ' pizza'
print 'YOU ORDERED'
print number_of_pizzas ' size ' topping ' pizza'
define drinks_order
drink = ask 'water, coke, icetea, lemonade or coffee?'
number_of_drinks = ask 'How many of these drinks would you like?'
define drinks_order
drink = ask 'water, coke, icetea, lemonade or coffee?'
number_of_drinks = ask 'How many of these drinks would you like?'
print 'YOU ORDERED'
print number_of_drinks ' ' drink
print 'YOU ORDERED'
print number_of_drinks ' ' drink
'Welcome to Hedy pizza'
more_food = ask 'Would you like to order a pizza?'
while more_food = 'yes'
return food_order
'Welcome to Hedy pizza'
more_food = ask 'Would you like to order a pizza?'
more_drinks = ask 'Would you like to order some drinks?'
while more_drinks == 'yes'
call drink_order
more_drinks == ask 'Would you like to order more drinks?'
while more_food = 'yes'
return food_order
more_food = ask 'Would you like to order a pizza?'
more_drinks = ask 'Would you like to order some drinks?'
while more_drinks == 'yes'
call drink_order
more_drinks == ask 'Would you like to order more drinks?'
print 'Thanks for ordering!'
print 'Thanks for ordering!'
18:
story_text: |-
### Exercise
Expand All @@ -1429,20 +1429,20 @@ adventures:
```
start_code: |2
animals = ['pig', 'dog', 'cow']
sounds = ['oink', 'woof', 'moo']
for i in range 1 to 3
animal = animals[i]
sound = sounds[i]
print 'Old McDonald had a farm'
print 'E I E I O!'
print 'and on that farm he had a ' animal
print 'E I E I O!'
print 'with a ' sound sound ' here'
print 'and a ' sound sound ' there'
print 'here a ' sound
print 'there a ' sound
print 'everywhere a ' sound sound
animals = ['pig', 'dog', 'cow']
sounds = ['oink', 'woof', 'moo']
for i in range 1 to 3
animal = animals[i]
sound = sounds[i]
print 'Old McDonald had a farm'
print 'E I E I O!'
print 'and on that farm he had a ' animal
print 'E I E I O!'
print 'with a ' sound sound ' here'
print 'and a ' sound sound ' there'
print 'here a ' sound
print 'there a ' sound
print 'everywhere a ' sound sound
default:
name: 介绍
default_save_name: 介绍
Expand Down

0 comments on commit 39ba312

Please sign in to comment.