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

Summary #6: Add a link to the real program #42

Open
duianto opened this issue Feb 8, 2019 · 2 comments
Open

Summary #6: Add a link to the real program #42

duianto opened this issue Feb 8, 2019 · 2 comments

Comments

@duianto
Copy link

duianto commented Feb 8, 2019

Exercise/Summary: Summary #6 Which Means You've Come So Far

In the 4th section: Pretty printing
The second sentence says:

In fact you made a real program!

Maybe "you made a real program" (it's displayed with a bold font) should be a link to the real program, because I don't know which one that was.

@easydatawarehousing
Copy link
Collaborator

The real program refers to the 'Me hungry' lesson.
Currently it is not possible to add a link to another lesson. Not sure if adding this would be an improvement. It might take the student out of his/her flow.
Changing the text to something like 'In fact you made a real program that tells you that you might be hungry' is possible. But this has the disadvantage that it should be changed in all supported languages. And that is quite a big effort.

@duianto
Copy link
Author

duianto commented Feb 11, 2019

I was just curious which program it was, and thought that someone else might wonder the same thing.

Maybe the simplest solution would be to just add the "Me hungry" lessons title from try_ruby_440.md to the end of the "you made a real program" line in try_ruby_450.md, like this:

... you made a real program! (Me hungry)

These seem to be the currently supported languages: https://github.com/ruby/TryRuby/tree/master/translations
en, es, ja, nl, pt-br, ru.

The real program lines would look like this:

en

And if that wasn't enough, you formatted and printed some values in a way that is easy to read for humans. In fact you made a real program! (Me hungry)

es

Si eso no fuera suficiente, has formateado e imprimido algunos valores de una manera fácil de leer para humanos. De hecho ¡has hecho un programa real! (Tengo hambre)

ja

そして手に入った値が十分ではなかったので、人が読みやすい形に書式を整え、値を表示させました。 つまり、現実のプログラムを作りました!(腹ペコです)

nl

En alsof dat allemaal nog niet genoeg was heb je ook nog wat variabelen heel netjes en leesbaar uitgeprint. Je hebt in feite al een echt programma gemaakt ! (Ik ben hongerig)

pt-br

E como se isso não fosse o bastante, você formatou e imprimiu alguns valores de uma forma que é fácil para humanos ler. De fato, você fez um programa real! (Mim fome)

ru

И если этого недостаточно, то вы научились делать красивый вывод. Это ведь настоящая программа! (Я голоден)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants