Add i18n to new level loading strings

This commit is contained in:
Imperadeiro98 2016-03-22 12:02:36 +00:00
parent ec50bbab40
commit 5676c6b2e4
2 changed files with 22 additions and 11 deletions
app
locale
templates/play/level

View file

@ -437,6 +437,18 @@
tip_compiler_ignores_comments: "Sometimes I think that the compiler ignores my comments."
tip_understand_recursion: "The only way to understand recursion is to understand recursion."
tip_life_and_polymorphism: "Open Source is like a totally polymorphic heterogeneous structure: All types are welcome."
tip_mistakes_proof_of_trying: "Mistakes in your code are just proof that you are trying."
tip_adding_orgres: "Rounding up ogres."
tip_sharpening_swords: "Sharpening the swords."
tip_ratatouille: "You must not let anyone define your limits because of where you come from. Your only limit is your soul. - Gusteau, Ratatouille"
tip_nemo: "When life gets you down, want to know what you've gotta do? Just keep swimming, just keep swimming. - Dory, Finding Nemo"
tip_internet_weather: "Just move to the internet, it's great here. We get to live inside where the weather is always awesome. - John Green"
tip_nerds: "Nerds are allowed to love stuff, like jump-up-and-down-in-the-chair-can't-control-yourself love it. - John Green"
tip_self_taught: "I taught myself 90% of what I've learned. And that's normal! - Hank Green"
tip_luna_lovegood: "Don't worry, you're just as sane as I am. - Luna Lovegood"
tip_good_idea: "The best way to have a good idea is to have a lot of ideas. - Linus Pauling"
tip_programming_not_about_computers: "Computer Science is no more about computers than astronomy is about telescopes. - Edsger Dijkstra"
tip_mulan: "Believe you can, then you will. - Mulan"
game_menu:
inventory_tab: "Inventory"

View file

@ -73,7 +73,7 @@
strong.tip.rare(data-i18n='play_level.tip_source_code') I want to change the world but they would not give me the source code.
strong.tip.rare(data-i18n='play_level.tip_javascript_java') Java is to JavaScript what Car is to Carpet. - Chris Heilmann
strong.tip.rare
span(data-i18n='play_level.tip_harry') Yer a Wizard,
span.spr(data-i18n='play_level.tip_harry') Yer a Wizard,
span= me.get('name', true)
strong.tip.rare(data-i18n='play_level.tip_control_destiny') In real open source, you have the right to control your own destiny. - Linus Torvalds
strong.tip.rare(data-i18n='play_level.tip_no_code') No code is faster than no code.
@ -84,23 +84,22 @@
strong.tip.rare(data-i18n='play_level.tip_adding_evil') Adding a pinch of evil.
strong.tip.rare(data-i18n='play_level.tip_adding_orgres') Rounding up ogres.
strong.tip.rare(data-i18n='play_level.tip_sharpening_swords') Sharpening the swords.
strong.tip.rare(data-i18n='play_level.tip_hate_computers') That's the thing about people who think they hate computers. What they really hate is lousy programmers. - Larry Niven
strong.tip.rare
a(href="https://github.com/codecombat/codecombat/wiki", data-i18n='play_level.tip_open_source_contribute') You can help CodeCombat improve!
strong.tip.rare(data-i18n='play_level.tip_recurse') To iterate is human, to recurse divine. - L. Peter Deutsch
strong.tip.rare(data-i18n='play_level.tip_recurse') To iterate is human, to recurse divine. - L. Peter Deutsch
strong.tip.rare(data-i18n='play_level.tip_free_your_mind') You have to let it all go, Neo. Fear, doubt, and disbelief. Free your mind. - Morpheus
strong.tip.rare(data-i18n='play_level.tip_strong_opponents') Even the strongest of opponents always has a weakness. - Itachi Uchiha
strong.tip.rare(data-i18n='play_level.tip_paper_and_pen') Before you start coding, you can always plan with a sheet of paper and a pen.
strong.tip.rare(data-i18n='play_level.tip_compiler_ignores_comments') Sometimes I think that the compiler ignores my comments.
strong.tip.rare(data-i18n='play_level.tip_understand_recursion') The only way to understand recursion is to understand recursion.
strong.tip.rare(data-i18n='play_level.tip_open_source_and_polymorphism') Open Source projects are like totally polymorphic heterogeneous structures: All types are welcome.
strong.tip.rare(data-i18n='play_level.tip_ratatouille') You must not let anyone define your limits because of where you come from. Your only limit is your soul. -Gusteau, Ratatouille
strong.tip.rare(data-i18n='play_level.tip_nemo') When life gets you down, want to know what you've gotta do? Just keep swimming, just keep swimming. -Dory, Finding Nemo
strong.tip.rare(data-i18n='play_level.tip_internet_weather') Just move to the internet, it's great here. We get to live inside where the weather is always awesome. -John Green
strong.tip.rare(data-i18n='play_level.tip_nerds') Nerds are allowed to love stuff, like jump-up-and-down-in-the-chair-can't-control-yourself love it. -John Green
strong.tip.rare(data-i18n='play_level.tip_self-taught') I taught myself 90% of what I've learned. And that's normal! -Hank Green
strong.tip.rare(data-i18n='play_level.tip_ratatouille') You must not let anyone define your limits because of where you come from. Your only limit is your soul. - Gusteau, Ratatouille
strong.tip.rare(data-i18n='play_level.tip_nemo') When life gets you down, want to know what you've gotta do? Just keep swimming, just keep swimming. - Dory, Finding Nemo
strong.tip.rare(data-i18n='play_level.tip_internet_weather') Just move to the internet, it's great here. We get to live inside where the weather is always awesome. - John Green
strong.tip.rare(data-i18n='play_level.tip_nerds') Nerds are allowed to love stuff, like jump-up-and-down-in-the-chair-can't-control-yourself love it. - John Green
strong.tip.rare(data-i18n='play_level.tip_self_taught') I taught myself 90% of what I've learned. And that's normal! - Hank Green
strong.tip.rare(data-i18n='play_level.tip_luna_lovegood') Don't worry, you're just as sane as I am. - Luna Lovegood
strong.tip.rare(data-i18n='play_level.tip_good_idea') The best way to have a good idea is to have a lot of ideas. -Linus Pauling
strong.tip.rare(data-i18n='play_level.tip_programming_not_about_computers') Computer Science is no more about computers than astronomy is about telescopes. -Edsger Dijkstra
strong.tip.rare(data-i18n='play_level.tip_mulan') Believe you can, then you will. -Mulan
strong.tip.rare(data-i18n='play_level.tip_good_idea') The best way to have a good idea is to have a lot of ideas. - Linus Pauling
strong.tip.rare(data-i18n='play_level.tip_programming_not_about_computers') Computer Science is no more about computers than astronomy is about telescopes. - Edsger Dijkstra
strong.tip.rare(data-i18n='play_level.tip_mulan') Believe you can, then you will. - Mulan