Added i18n for multiplayer launch modal.

This commit is contained in:
Nick Winter 2014-03-16 20:50:49 -07:00
parent ffb9ec2908
commit f3a76da47c
3 changed files with 39 additions and 15 deletions

View file

@ -15,7 +15,6 @@ module.exports = nativeDescription: "English", englishDescription: "English", tr
modal:
close: "Close"
okay: "Okay"
so_ready: "I Am So Ready for This"
not_found:
page_not_found: "Page not found"
@ -67,6 +66,12 @@ module.exports = nativeDescription: "English", englishDescription: "English", tr
no_ie: "CodeCombat does not run in Internet Explorer 9 or older. Sorry!"
no_mobile: "CodeCombat wasn't designed for mobile devices and may not work!"
play: "Play"
old_browser: "Uh oh, your browser is too old to run CodeCombat. Sorry!"
old_browser_suffix: "You can try anyway, but it probably won't work."
campaign: "Campaign"
for_beginners: "For Beginners"
multiplayer: "Multiplayer"
for_developers: "For Developers"
play:
choose_your_level: "Choose Your Level"
@ -83,6 +88,7 @@ module.exports = nativeDescription: "English", englishDescription: "English", tr
campaign_player_created_description: "... in which you battle against the creativity of your fellow <a href=\"/contribute#artisan\">Artisan Wizards</a>."
level_difficulty: "Difficulty: "
play_as: "Play As "
spectate: "Spectate"
contact:
contact_us: "Contact CodeCombat"
@ -534,3 +540,17 @@ module.exports = nativeDescription: "English", englishDescription: "English", tr
simple_ai: "Simple AI"
warmup: "Warmup"
vs: "VS"
multiplayer_launch:
introducing_dungeon_arena: "Introducing Dungeon Arena"
new_way: "March 17, 2014: The new way to compete with code."
to_battle: "To Battle, Developers!"
modern_day_sorcerer: "You know how to code? That's badass. You're a modern-day sorcerer! Isn't about time that you used your magic coding powers to command your minions in epic combat? And we're not talking robots here."
arenas_are_here: "CodeCombat head-to-head multiplayer arenas are here."
ladder_explanation: "Choose your heroes, enchant your human or ogre armies, and climb your way over defeated fellow Wizards to reach the top of the laddersthen challenge your friends in our glorious, asynchronous multiplayer coding arenas. If you're feeling creative, you can even"
fork_our_arenas: "fork our arenas"
create_worlds: "and create your own worlds."
javascript_rusty: "JavaScript a bit rusty? Don't worry; there's a"
tutorial: "tutorial"
new_to_programming: ". New to programming? Hit our beginner campaign to skill up."
so_ready: "I Am So Ready for This"

View file

@ -28,7 +28,7 @@ block content
else
img(src="/images/pages/home/campaign_notext.jpg").img-rounded
h3(data-i18n="home.campaign") Campaign
h4(data-i18n="home.for-beginners") For Beginners
h4(data-i18n="home.for_beginners") For Beginners
.play-text(data-i18n="home.play") Play
a#multiplayer(href="/play/ladder/dungeon-arena")
@ -38,7 +38,7 @@ block content
else
img(src="/images/pages/home/multiplayer_notext.jpg").img-rounded
h3(data-i18n="home.multiplayer") Multiplayer
h4(data-i18n="home.for-developers") For Developers
h4(data-i18n="home.for_developers") For Developers
.play-text(data-i18n="home.play") Play
.clearfix

View file

@ -1,27 +1,31 @@
extends /templates/modal/modal_base
block modal-header-content
h1 Introducing Dungeon Arena
em March 17, 2014: The new way to compete with code.
h1(data-i18n="multiplayer_launch.introducing_dungeon_arena") Introducing Dungeon Arena
em(data-i18n="multiplayer_launch.new_way") March 17, 2014: The new way to compete with code.
block modal-body-content
<iframe width="640" height="360" src="//www.youtube.com/embed/1zjaA13k-dA?rel=0&controls=0&modestbranding=1&showinfo=0&iv_load_policy=3" frameborder="0" allowfullscreen></iframe>
h3 To Battle, Developers!
h3(data-i18n="multiplayer_launch.to_battle") To Battle, Developers!
p You know how to code? That's badass. You're a modern-day sorcerer! Isn't about time that you used your magic coding powers to command your minions in epic combat? And we're not talking robots here.
p(data-i18n="multiplayer_launch.modern_day_sorcerer") You know how to code? That's badass. You're a modern-day sorcerer! Isn't about time that you used your magic coding powers to command your minions in epic combat? And we're not talking robots here.
p
strong CodeCombat head-to-head multiplayer arenas are here.
| Choose your heroes, enchant your human or ogre armies, and climb your way over defeated fellow Wizards to reach the top of the laddersthen challenge your friends in our glorious, asynchronous multiplayer coding arenas. If you're feeling creative, you can even
a(href="/editor/level/dungeon-arena") fork our arenas
| and create your own worlds.
strong(data-i18n="multiplayer_launch.arenas_are_here") CodeCombat head-to-head multiplayer arenas are here.
|
span(data-i18n="multiplayer_launch.ladder_explanation") Choose your heroes, enchant your human or ogre armies, and climb your way over defeated fellow Wizards to reach the top of the laddersthen challenge your friends in our glorious, asynchronous multiplayer coding arenas. If you're feeling creative, you can even
|
a(href="/editor/level/dungeon-arena", data-i18n="multiplayer_launch.fork_our_arenas") fork our arenas
|
span(data-i18n="multiplayer_launch.create_worlds") and create your own worlds.
p
| JavaScript a bit rusty? Don't worry; there's a
a(href="/play/level/dungeon-arena-tutorial") tutorial
| . New to programming? Hit our beginner campaign to skill up.
span(data-i18n="multiplayer_launch.javascript_rusty") JavaScript a bit rusty? Don't worry; there's a
|
a(href="/play/level/dungeon-arena-tutorial", data-i18n="multiplayer_launch.tutorial") tutorial
span(data-i18n="multiplayer_launch.new_to_programming") . New to programming? Hit our beginner campaign to skill up.
block modal-footer-content
button.btn.btn-large.btn-success(type="button", data-dismiss="modal", aria-hidden="true", data-i18n="modal.so_ready") I Am So Ready for This
button.btn.btn-large.btn-success(type="button", data-dismiss="modal", aria-hidden="true", data-i18n="multiplayer_launch.so_ready") I Am So Ready for This