From 2a5a366c12281c6f1f143c56759edb442cfab5be Mon Sep 17 00:00:00 2001 From: Michael Schmatz Date: Sun, 13 Jul 2014 17:22:04 -0700 Subject: [PATCH] Made language selection in opponent modal --- app/locale/ar.coffee | 2 ++ app/locale/bg.coffee | 2 ++ app/locale/ca.coffee | 2 ++ app/locale/cs.coffee | 2 ++ app/locale/da.coffee | 2 ++ app/locale/de-AT.coffee | 2 ++ app/locale/de-CH.coffee | 2 ++ app/locale/de-DE.coffee | 2 ++ app/locale/de.coffee | 2 ++ app/locale/el.coffee | 2 ++ app/locale/en-AU.coffee | 2 ++ app/locale/en-GB.coffee | 1 + app/locale/en-US.coffee | 2 ++ app/locale/en.coffee | 1 + app/locale/es-419.coffee | 2 ++ app/locale/es-ES.coffee | 2 ++ app/locale/es.coffee | 2 ++ app/locale/fa.coffee | 2 ++ app/locale/fi.coffee | 2 ++ app/locale/fr.coffee | 2 ++ app/locale/he.coffee | 2 ++ app/locale/hi.coffee | 2 ++ app/locale/hu.coffee | 2 ++ app/locale/id.coffee | 2 ++ app/locale/it.coffee | 2 ++ app/locale/ja.coffee | 2 ++ app/locale/ko.coffee | 2 ++ app/locale/lt.coffee | 2 ++ app/locale/ms.coffee | 2 ++ app/locale/nb.coffee | 2 ++ app/locale/nl-BE.coffee | 2 ++ app/locale/nl-NL.coffee | 2 ++ app/locale/nl.coffee | 2 ++ app/locale/nn.coffee | 2 ++ app/locale/no.coffee | 2 ++ app/locale/pl.coffee | 2 ++ app/locale/pt-BR.coffee | 2 ++ app/locale/pt-PT.coffee | 2 ++ app/locale/pt.coffee | 2 ++ app/locale/ro.coffee | 2 ++ app/locale/ru.coffee | 2 ++ app/locale/sk.coffee | 2 ++ app/locale/sl.coffee | 2 ++ app/locale/sr.coffee | 2 ++ app/locale/sv.coffee | 2 ++ app/locale/th.coffee | 2 ++ app/locale/tr.coffee | 2 ++ app/locale/uk.coffee | 2 ++ app/locale/ur.coffee | 2 ++ app/locale/vi.coffee | 2 ++ app/locale/zh-HANS.coffee | 2 ++ app/locale/zh-HANT.coffee | 2 ++ app/locale/zh-WUU-HANS.coffee | 2 ++ app/locale/zh-WUU-HANT.coffee | 2 ++ app/locale/zh.coffee | 2 ++ app/templates/play/ladder/play_modal.jade | 7 ++++-- app/views/play/ladder/play_modal.coffee | 26 +++++++++++++++++++++-- 57 files changed, 137 insertions(+), 4 deletions(-) diff --git a/app/locale/ar.coffee b/app/locale/ar.coffee index 329ce4a32..93541c165 100644 --- a/app/locale/ar.coffee +++ b/app/locale/ar.coffee @@ -501,6 +501,7 @@ module.exports = nativeDescription: "العربية", englishDescription: "Arabi # revert_models: "Revert Models" # fork_title: "Fork New Version" # fork_creating: "Creating Fork..." +# randomize: "Randomize" # more: "More" # wiki: "Wiki" # live_chat: "Live Chat" @@ -801,6 +802,7 @@ module.exports = nativeDescription: "العربية", englishDescription: "Arabi # no_ranked_matches_pre: "No ranked matches for the " # no_ranked_matches_post: " team! Play against some competitors and then come back here to get your game ranked." # choose_opponent: "Choose an Opponent" +# select_your_language: "Select your language!" # tutorial_play: "Play Tutorial" # tutorial_recommended: "Recommended if you've never played before" # tutorial_skip: "Skip Tutorial" diff --git a/app/locale/bg.coffee b/app/locale/bg.coffee index 2c71d71a8..409851289 100644 --- a/app/locale/bg.coffee +++ b/app/locale/bg.coffee @@ -501,6 +501,7 @@ module.exports = nativeDescription: "български език", englishDescri # revert_models: "Revert Models" # fork_title: "Fork New Version" # fork_creating: "Creating Fork..." +# randomize: "Randomize" # more: "More" # wiki: "Wiki" # live_chat: "Live Chat" @@ -801,6 +802,7 @@ module.exports = nativeDescription: "български език", englishDescri # no_ranked_matches_pre: "No ranked matches for the " # no_ranked_matches_post: " team! Play against some competitors and then come back here to get your game ranked." # choose_opponent: "Choose an Opponent" +# select_your_language: "Select your language!" # tutorial_play: "Play Tutorial" # tutorial_recommended: "Recommended if you've never played before" # tutorial_skip: "Skip Tutorial" diff --git a/app/locale/ca.coffee b/app/locale/ca.coffee index 963ab4e9d..ba2af7aa7 100644 --- a/app/locale/ca.coffee +++ b/app/locale/ca.coffee @@ -501,6 +501,7 @@ module.exports = nativeDescription: "Català", englishDescription: "Catalan", tr # revert_models: "Revert Models" # fork_title: "Fork New Version" # fork_creating: "Creating Fork..." +# randomize: "Randomize" # more: "More" # wiki: "Wiki" # live_chat: "Live Chat" @@ -801,6 +802,7 @@ module.exports = nativeDescription: "Català", englishDescription: "Catalan", tr # no_ranked_matches_pre: "No ranked matches for the " # no_ranked_matches_post: " team! Play against some competitors and then come back here to get your game ranked." # choose_opponent: "Choose an Opponent" +# select_your_language: "Select your language!" # tutorial_play: "Play Tutorial" # tutorial_recommended: "Recommended if you've never played before" # tutorial_skip: "Skip Tutorial" diff --git a/app/locale/cs.coffee b/app/locale/cs.coffee index 33a31ceac..7e2a61ef2 100644 --- a/app/locale/cs.coffee +++ b/app/locale/cs.coffee @@ -501,6 +501,7 @@ module.exports = nativeDescription: "čeština", englishDescription: "Czech", tr # revert_models: "Revert Models" # fork_title: "Fork New Version" # fork_creating: "Creating Fork..." +# randomize: "Randomize" # more: "More" # wiki: "Wiki" # live_chat: "Live Chat" @@ -801,6 +802,7 @@ module.exports = nativeDescription: "čeština", englishDescription: "Czech", tr # no_ranked_matches_pre: "No ranked matches for the " # no_ranked_matches_post: " team! Play against some competitors and then come back here to get your game ranked." # choose_opponent: "Choose an Opponent" +# select_your_language: "Select your language!" # tutorial_play: "Play Tutorial" # tutorial_recommended: "Recommended if you've never played before" # tutorial_skip: "Skip Tutorial" diff --git a/app/locale/da.coffee b/app/locale/da.coffee index d6fb0dfd3..7d137506e 100644 --- a/app/locale/da.coffee +++ b/app/locale/da.coffee @@ -501,6 +501,7 @@ module.exports = nativeDescription: "dansk", englishDescription: "Danish", trans # revert_models: "Revert Models" # fork_title: "Fork New Version" # fork_creating: "Creating Fork..." +# randomize: "Randomize" # more: "More" # wiki: "Wiki" # live_chat: "Live Chat" @@ -801,6 +802,7 @@ module.exports = nativeDescription: "dansk", englishDescription: "Danish", trans # no_ranked_matches_pre: "No ranked matches for the " # no_ranked_matches_post: " team! Play against some competitors and then come back here to get your game ranked." # choose_opponent: "Choose an Opponent" +# select_your_language: "Select your language!" # tutorial_play: "Play Tutorial" # tutorial_recommended: "Recommended if you've never played before" # tutorial_skip: "Skip Tutorial" diff --git a/app/locale/de-AT.coffee b/app/locale/de-AT.coffee index 482c2eeab..227969de6 100644 --- a/app/locale/de-AT.coffee +++ b/app/locale/de-AT.coffee @@ -501,6 +501,7 @@ module.exports = nativeDescription: "Deutsch (Österreich)", englishDescription: # revert_models: "Revert Models" # fork_title: "Fork New Version" # fork_creating: "Creating Fork..." +# randomize: "Randomize" # more: "More" # wiki: "Wiki" # live_chat: "Live Chat" @@ -801,6 +802,7 @@ module.exports = nativeDescription: "Deutsch (Österreich)", englishDescription: # no_ranked_matches_pre: "No ranked matches for the " # no_ranked_matches_post: " team! Play against some competitors and then come back here to get your game ranked." # choose_opponent: "Choose an Opponent" +# select_your_language: "Select your language!" # tutorial_play: "Play Tutorial" # tutorial_recommended: "Recommended if you've never played before" # tutorial_skip: "Skip Tutorial" diff --git a/app/locale/de-CH.coffee b/app/locale/de-CH.coffee index 0e045f99c..dbbd647bf 100644 --- a/app/locale/de-CH.coffee +++ b/app/locale/de-CH.coffee @@ -501,6 +501,7 @@ module.exports = nativeDescription: "Deutsch (Schweiz)", englishDescription: "Ge # revert_models: "Revert Models" # fork_title: "Fork New Version" # fork_creating: "Creating Fork..." +# randomize: "Randomize" # more: "More" # wiki: "Wiki" # live_chat: "Live Chat" @@ -801,6 +802,7 @@ module.exports = nativeDescription: "Deutsch (Schweiz)", englishDescription: "Ge # no_ranked_matches_pre: "No ranked matches for the " # no_ranked_matches_post: " team! Play against some competitors and then come back here to get your game ranked." # choose_opponent: "Choose an Opponent" +# select_your_language: "Select your language!" # tutorial_play: "Play Tutorial" # tutorial_recommended: "Recommended if you've never played before" # tutorial_skip: "Skip Tutorial" diff --git a/app/locale/de-DE.coffee b/app/locale/de-DE.coffee index 59dbeab1f..b08f8bbd5 100644 --- a/app/locale/de-DE.coffee +++ b/app/locale/de-DE.coffee @@ -501,6 +501,7 @@ module.exports = nativeDescription: "Deutsch (Deutschland)", englishDescription: revert_models: "Models zurücksetzen." fork_title: "Forke neue Version" fork_creating: "Erzeuge Fork..." +# randomize: "Randomize" more: "Mehr" wiki: "Wiki" live_chat: "Live Chat" @@ -801,6 +802,7 @@ module.exports = nativeDescription: "Deutsch (Deutschland)", englishDescription: # no_ranked_matches_pre: "No ranked matches for the " # no_ranked_matches_post: " team! Play against some competitors and then come back here to get your game ranked." choose_opponent: "Wähle einen Gegner" +# select_your_language: "Select your language!" tutorial_play: "Spiele Tutorial" tutorial_recommended: "Empfohlen, wenn du noch nie zuvor gespielt hast." tutorial_skip: "Überspringe Tutorial" diff --git a/app/locale/de.coffee b/app/locale/de.coffee index a2f22679c..61ef7caf1 100644 --- a/app/locale/de.coffee +++ b/app/locale/de.coffee @@ -501,6 +501,7 @@ module.exports = nativeDescription: "Deutsch", englishDescription: "German", tra revert_models: "Models zurücksetzen." fork_title: "Forke neue Version" fork_creating: "Erzeuge Fork..." +# randomize: "Randomize" more: "Mehr" wiki: "Wiki" live_chat: "Live Chat" @@ -801,6 +802,7 @@ module.exports = nativeDescription: "Deutsch", englishDescription: "German", tra # no_ranked_matches_pre: "No ranked matches for the " # no_ranked_matches_post: " team! Play against some competitors and then come back here to get your game ranked." choose_opponent: "Wähle einen Gegner" +# select_your_language: "Select your language!" tutorial_play: "Spiele Tutorial" tutorial_recommended: "Empfohlen, wenn du noch nie zuvor gespielt hast." tutorial_skip: "Überspringe Tutorial" diff --git a/app/locale/el.coffee b/app/locale/el.coffee index 4583ce9dc..890553148 100644 --- a/app/locale/el.coffee +++ b/app/locale/el.coffee @@ -501,6 +501,7 @@ module.exports = nativeDescription: "ελληνικά", englishDescription: "Gre # revert_models: "Revert Models" # fork_title: "Fork New Version" # fork_creating: "Creating Fork..." +# randomize: "Randomize" # more: "More" # wiki: "Wiki" # live_chat: "Live Chat" @@ -801,6 +802,7 @@ module.exports = nativeDescription: "ελληνικά", englishDescription: "Gre # no_ranked_matches_pre: "No ranked matches for the " # no_ranked_matches_post: " team! Play against some competitors and then come back here to get your game ranked." # choose_opponent: "Choose an Opponent" +# select_your_language: "Select your language!" # tutorial_play: "Play Tutorial" # tutorial_recommended: "Recommended if you've never played before" # tutorial_skip: "Skip Tutorial" diff --git a/app/locale/en-AU.coffee b/app/locale/en-AU.coffee index 8f073d7d7..6842729ee 100644 --- a/app/locale/en-AU.coffee +++ b/app/locale/en-AU.coffee @@ -501,6 +501,7 @@ module.exports = nativeDescription: "English (AU)", englishDescription: "English # revert_models: "Revert Models" # fork_title: "Fork New Version" # fork_creating: "Creating Fork..." +# randomize: "Randomize" # more: "More" # wiki: "Wiki" # live_chat: "Live Chat" @@ -801,6 +802,7 @@ module.exports = nativeDescription: "English (AU)", englishDescription: "English # no_ranked_matches_pre: "No ranked matches for the " # no_ranked_matches_post: " team! Play against some competitors and then come back here to get your game ranked." # choose_opponent: "Choose an Opponent" +# select_your_language: "Select your language!" # tutorial_play: "Play Tutorial" # tutorial_recommended: "Recommended if you've never played before" # tutorial_skip: "Skip Tutorial" diff --git a/app/locale/en-GB.coffee b/app/locale/en-GB.coffee index 6399f9413..18966f32d 100644 --- a/app/locale/en-GB.coffee +++ b/app/locale/en-GB.coffee @@ -802,6 +802,7 @@ module.exports = nativeDescription: "English (UK)", englishDescription: "English # no_ranked_matches_pre: "No ranked matches for the " # no_ranked_matches_post: " team! Play against some competitors and then come back here to get your game ranked." # choose_opponent: "Choose an Opponent" +# select_your_language: "Select your language!" # tutorial_play: "Play Tutorial" # tutorial_recommended: "Recommended if you've never played before" # tutorial_skip: "Skip Tutorial" diff --git a/app/locale/en-US.coffee b/app/locale/en-US.coffee index ce19759c6..a1bb56e05 100644 --- a/app/locale/en-US.coffee +++ b/app/locale/en-US.coffee @@ -501,6 +501,7 @@ module.exports = nativeDescription: "English (US)", englishDescription: "English # revert_models: "Revert Models" # fork_title: "Fork New Version" # fork_creating: "Creating Fork..." +# randomize: "Randomize" # more: "More" # wiki: "Wiki" # live_chat: "Live Chat" @@ -801,6 +802,7 @@ module.exports = nativeDescription: "English (US)", englishDescription: "English # no_ranked_matches_pre: "No ranked matches for the " # no_ranked_matches_post: " team! Play against some competitors and then come back here to get your game ranked." # choose_opponent: "Choose an Opponent" +# select_your_language: "Select your language!" # tutorial_play: "Play Tutorial" # tutorial_recommended: "Recommended if you've never played before" # tutorial_skip: "Skip Tutorial" diff --git a/app/locale/en.coffee b/app/locale/en.coffee index 69f5afda6..837b52deb 100644 --- a/app/locale/en.coffee +++ b/app/locale/en.coffee @@ -802,6 +802,7 @@ no_ranked_matches_pre: "No ranked matches for the " no_ranked_matches_post: " team! Play against some competitors and then come back here to get your game ranked." choose_opponent: "Choose an Opponent" + select_your_language: "Select your language!" tutorial_play: "Play Tutorial" tutorial_recommended: "Recommended if you've never played before" tutorial_skip: "Skip Tutorial" diff --git a/app/locale/es-419.coffee b/app/locale/es-419.coffee index 6c8fb4120..b75646620 100644 --- a/app/locale/es-419.coffee +++ b/app/locale/es-419.coffee @@ -501,6 +501,7 @@ module.exports = nativeDescription: "español (América Latina)", englishDescrip # revert_models: "Revert Models" # fork_title: "Fork New Version" # fork_creating: "Creating Fork..." +# randomize: "Randomize" # more: "More" # wiki: "Wiki" # live_chat: "Live Chat" @@ -801,6 +802,7 @@ module.exports = nativeDescription: "español (América Latina)", englishDescrip no_ranked_matches_pre: "Sin partidas clasificadas para el " no_ranked_matches_post: " equipo! Juega en contra de algunos competidores y luego vuelve aquí para ver tu juego clasificado." choose_opponent: "Escoge un Oponente" +# select_your_language: "Select your language!" tutorial_play: "Juega el Tutorial" tutorial_recommended: "Recomendado si nunca has jugado antes" tutorial_skip: "Saltar Tutorial" diff --git a/app/locale/es-ES.coffee b/app/locale/es-ES.coffee index a011e016e..c049eb731 100644 --- a/app/locale/es-ES.coffee +++ b/app/locale/es-ES.coffee @@ -501,6 +501,7 @@ module.exports = nativeDescription: "español (ES)", englishDescription: "Spanis revert_models: "Revertir Modelos" fork_title: "Bifurcar nueva versión" fork_creating: "Creando bifurcación..." +# randomize: "Randomize" more: "Más" wiki: "Wiki" live_chat: "Chat en directo" @@ -801,6 +802,7 @@ module.exports = nativeDescription: "español (ES)", englishDescription: "Spanis no_ranked_matches_pre: "No hay partidas calificadas para " no_ranked_matches_post: " equipo! Juega contra otros competidores y luego vuelve aquí para que tu partida aparezca en la clasificación." choose_opponent: "Elige un contrincante" +# select_your_language: "Select your language!" tutorial_play: "Jugar el Tutorial" tutorial_recommended: "Recomendado si no has jugado antes." tutorial_skip: "Saltar el Tutorial" diff --git a/app/locale/es.coffee b/app/locale/es.coffee index 80a6e5284..5281292f0 100644 --- a/app/locale/es.coffee +++ b/app/locale/es.coffee @@ -501,6 +501,7 @@ module.exports = nativeDescription: "español", englishDescription: "Spanish", t # revert_models: "Revert Models" # fork_title: "Fork New Version" # fork_creating: "Creating Fork..." +# randomize: "Randomize" # more: "More" # wiki: "Wiki" # live_chat: "Live Chat" @@ -801,6 +802,7 @@ module.exports = nativeDescription: "español", englishDescription: "Spanish", t # no_ranked_matches_pre: "No ranked matches for the " # no_ranked_matches_post: " team! Play against some competitors and then come back here to get your game ranked." # choose_opponent: "Choose an Opponent" +# select_your_language: "Select your language!" tutorial_play: "Jugar Tutorial" # tutorial_recommended: "Recommended if you've never played before" tutorial_skip: "Saltar Tutorial" diff --git a/app/locale/fa.coffee b/app/locale/fa.coffee index 5b1ca0e81..6256c0e4e 100644 --- a/app/locale/fa.coffee +++ b/app/locale/fa.coffee @@ -501,6 +501,7 @@ module.exports = nativeDescription: "فارسی", englishDescription: "Persian", # revert_models: "Revert Models" # fork_title: "Fork New Version" # fork_creating: "Creating Fork..." +# randomize: "Randomize" # more: "More" # wiki: "Wiki" # live_chat: "Live Chat" @@ -801,6 +802,7 @@ module.exports = nativeDescription: "فارسی", englishDescription: "Persian", # no_ranked_matches_pre: "No ranked matches for the " # no_ranked_matches_post: " team! Play against some competitors and then come back here to get your game ranked." # choose_opponent: "Choose an Opponent" +# select_your_language: "Select your language!" # tutorial_play: "Play Tutorial" # tutorial_recommended: "Recommended if you've never played before" # tutorial_skip: "Skip Tutorial" diff --git a/app/locale/fi.coffee b/app/locale/fi.coffee index 83148a058..2d905bec1 100644 --- a/app/locale/fi.coffee +++ b/app/locale/fi.coffee @@ -501,6 +501,7 @@ module.exports = nativeDescription: "suomi", englishDescription: "Finnish", tran # revert_models: "Revert Models" # fork_title: "Fork New Version" # fork_creating: "Creating Fork..." +# randomize: "Randomize" # more: "More" # wiki: "Wiki" # live_chat: "Live Chat" @@ -801,6 +802,7 @@ module.exports = nativeDescription: "suomi", englishDescription: "Finnish", tran # no_ranked_matches_pre: "No ranked matches for the " # no_ranked_matches_post: " team! Play against some competitors and then come back here to get your game ranked." # choose_opponent: "Choose an Opponent" +# select_your_language: "Select your language!" # tutorial_play: "Play Tutorial" # tutorial_recommended: "Recommended if you've never played before" # tutorial_skip: "Skip Tutorial" diff --git a/app/locale/fr.coffee b/app/locale/fr.coffee index af1a2116d..d0e5817ac 100644 --- a/app/locale/fr.coffee +++ b/app/locale/fr.coffee @@ -501,6 +501,7 @@ module.exports = nativeDescription: "français", englishDescription: "French", t revert_models: "Annuler les modèles" fork_title: "Fork une nouvelle version" fork_creating: "Créer un Fork..." +# randomize: "Randomize" more: "Plus" wiki: "Wiki" live_chat: "Chat en live" @@ -801,6 +802,7 @@ module.exports = nativeDescription: "français", englishDescription: "French", t no_ranked_matches_pre: "Pas de match classé pour l'équipe " no_ranked_matches_post: "! Affronte d'autres compétiteurs et reviens ici pour classer ta partie." choose_opponent: "Choisir un Adversaire" +# select_your_language: "Select your language!" tutorial_play: "Jouer au Tutoriel" tutorial_recommended: "Recommendé si tu n'as jamais joué avant" tutorial_skip: "Passer le Tutoriel" diff --git a/app/locale/he.coffee b/app/locale/he.coffee index e512e32fc..a0fdeee6b 100644 --- a/app/locale/he.coffee +++ b/app/locale/he.coffee @@ -501,6 +501,7 @@ module.exports = nativeDescription: "עברית", englishDescription: "Hebrew", # revert_models: "Revert Models" # fork_title: "Fork New Version" # fork_creating: "Creating Fork..." +# randomize: "Randomize" # more: "More" # wiki: "Wiki" # live_chat: "Live Chat" @@ -801,6 +802,7 @@ module.exports = nativeDescription: "עברית", englishDescription: "Hebrew", # no_ranked_matches_pre: "No ranked matches for the " # no_ranked_matches_post: " team! Play against some competitors and then come back here to get your game ranked." # choose_opponent: "Choose an Opponent" +# select_your_language: "Select your language!" # tutorial_play: "Play Tutorial" # tutorial_recommended: "Recommended if you've never played before" # tutorial_skip: "Skip Tutorial" diff --git a/app/locale/hi.coffee b/app/locale/hi.coffee index 57fc1b082..43674f6a6 100644 --- a/app/locale/hi.coffee +++ b/app/locale/hi.coffee @@ -501,6 +501,7 @@ module.exports = nativeDescription: "मानक हिन्दी", englishDe # revert_models: "Revert Models" # fork_title: "Fork New Version" # fork_creating: "Creating Fork..." +# randomize: "Randomize" # more: "More" # wiki: "Wiki" # live_chat: "Live Chat" @@ -801,6 +802,7 @@ module.exports = nativeDescription: "मानक हिन्दी", englishDe # no_ranked_matches_pre: "No ranked matches for the " # no_ranked_matches_post: " team! Play against some competitors and then come back here to get your game ranked." # choose_opponent: "Choose an Opponent" +# select_your_language: "Select your language!" # tutorial_play: "Play Tutorial" # tutorial_recommended: "Recommended if you've never played before" # tutorial_skip: "Skip Tutorial" diff --git a/app/locale/hu.coffee b/app/locale/hu.coffee index 84c761e11..3a7889e63 100644 --- a/app/locale/hu.coffee +++ b/app/locale/hu.coffee @@ -501,6 +501,7 @@ module.exports = nativeDescription: "magyar", englishDescription: "Hungarian", t # revert_models: "Revert Models" # fork_title: "Fork New Version" # fork_creating: "Creating Fork..." +# randomize: "Randomize" # more: "More" # wiki: "Wiki" # live_chat: "Live Chat" @@ -801,6 +802,7 @@ module.exports = nativeDescription: "magyar", englishDescription: "Hungarian", t # no_ranked_matches_pre: "No ranked matches for the " # no_ranked_matches_post: " team! Play against some competitors and then come back here to get your game ranked." # choose_opponent: "Choose an Opponent" +# select_your_language: "Select your language!" # tutorial_play: "Play Tutorial" # tutorial_recommended: "Recommended if you've never played before" # tutorial_skip: "Skip Tutorial" diff --git a/app/locale/id.coffee b/app/locale/id.coffee index 6951b4b67..2db554260 100644 --- a/app/locale/id.coffee +++ b/app/locale/id.coffee @@ -501,6 +501,7 @@ module.exports = nativeDescription: "Bahasa Indonesia", englishDescription: "Ind # revert_models: "Revert Models" # fork_title: "Fork New Version" # fork_creating: "Creating Fork..." +# randomize: "Randomize" # more: "More" # wiki: "Wiki" # live_chat: "Live Chat" @@ -801,6 +802,7 @@ module.exports = nativeDescription: "Bahasa Indonesia", englishDescription: "Ind # no_ranked_matches_pre: "No ranked matches for the " # no_ranked_matches_post: " team! Play against some competitors and then come back here to get your game ranked." # choose_opponent: "Choose an Opponent" +# select_your_language: "Select your language!" # tutorial_play: "Play Tutorial" # tutorial_recommended: "Recommended if you've never played before" # tutorial_skip: "Skip Tutorial" diff --git a/app/locale/it.coffee b/app/locale/it.coffee index 783e6c297..925eb0b28 100644 --- a/app/locale/it.coffee +++ b/app/locale/it.coffee @@ -501,6 +501,7 @@ module.exports = nativeDescription: "Italiano", englishDescription: "Italian", t # revert_models: "Revert Models" # fork_title: "Fork New Version" # fork_creating: "Creating Fork..." +# randomize: "Randomize" # more: "More" # wiki: "Wiki" # live_chat: "Live Chat" @@ -801,6 +802,7 @@ module.exports = nativeDescription: "Italiano", englishDescription: "Italian", t no_ranked_matches_pre: "Nessuna partita valutata per " no_ranked_matches_post: " squadra! Gioca contro altri avversari e poi torna qui affinchè la tua partita venga valutata." choose_opponent: "Scegli un avversario" +# select_your_language: "Select your language!" tutorial_play: "Gioca il Tutorial" tutorial_recommended: "Consigliato se questa è la tua primissima partita" tutorial_skip: "Salta il Tutorial" diff --git a/app/locale/ja.coffee b/app/locale/ja.coffee index b4a088cb0..60e7e4c2e 100644 --- a/app/locale/ja.coffee +++ b/app/locale/ja.coffee @@ -501,6 +501,7 @@ module.exports = nativeDescription: "日本語", englishDescription: "Japanese", # revert_models: "Revert Models" # fork_title: "Fork New Version" # fork_creating: "Creating Fork..." +# randomize: "Randomize" # more: "More" # wiki: "Wiki" # live_chat: "Live Chat" @@ -801,6 +802,7 @@ module.exports = nativeDescription: "日本語", englishDescription: "Japanese", # no_ranked_matches_pre: "No ranked matches for the " # no_ranked_matches_post: " team! Play against some competitors and then come back here to get your game ranked." # choose_opponent: "Choose an Opponent" +# select_your_language: "Select your language!" # tutorial_play: "Play Tutorial" # tutorial_recommended: "Recommended if you've never played before" # tutorial_skip: "Skip Tutorial" diff --git a/app/locale/ko.coffee b/app/locale/ko.coffee index bb32495d4..f12d29fa8 100644 --- a/app/locale/ko.coffee +++ b/app/locale/ko.coffee @@ -501,6 +501,7 @@ module.exports = nativeDescription: "한국어", englishDescription: "Korean", t revert_models: "모델 되돌리기" # fork_title: "Fork New Version" # fork_creating: "Creating Fork..." +# randomize: "Randomize" # more: "More" # wiki: "Wiki" # live_chat: "Live Chat" @@ -801,6 +802,7 @@ module.exports = nativeDescription: "한국어", englishDescription: "Korean", t # no_ranked_matches_pre: "No ranked matches for the " # no_ranked_matches_post: " team! Play against some competitors and then come back here to get your game ranked." # choose_opponent: "Choose an Opponent" +# select_your_language: "Select your language!" # tutorial_play: "Play Tutorial" # tutorial_recommended: "Recommended if you've never played before" # tutorial_skip: "Skip Tutorial" diff --git a/app/locale/lt.coffee b/app/locale/lt.coffee index 6c3df3e2c..4ce34b72f 100644 --- a/app/locale/lt.coffee +++ b/app/locale/lt.coffee @@ -501,6 +501,7 @@ module.exports = nativeDescription: "lietuvių kalba", englishDescription: "Lith # revert_models: "Revert Models" # fork_title: "Fork New Version" # fork_creating: "Creating Fork..." +# randomize: "Randomize" # more: "More" # wiki: "Wiki" # live_chat: "Live Chat" @@ -801,6 +802,7 @@ module.exports = nativeDescription: "lietuvių kalba", englishDescription: "Lith # no_ranked_matches_pre: "No ranked matches for the " # no_ranked_matches_post: " team! Play against some competitors and then come back here to get your game ranked." # choose_opponent: "Choose an Opponent" +# select_your_language: "Select your language!" # tutorial_play: "Play Tutorial" # tutorial_recommended: "Recommended if you've never played before" # tutorial_skip: "Skip Tutorial" diff --git a/app/locale/ms.coffee b/app/locale/ms.coffee index 5c97c5b2f..5dd010d55 100644 --- a/app/locale/ms.coffee +++ b/app/locale/ms.coffee @@ -501,6 +501,7 @@ module.exports = nativeDescription: "Bahasa Melayu", englishDescription: "Bahasa # revert_models: "Revert Models" # fork_title: "Fork New Version" # fork_creating: "Creating Fork..." +# randomize: "Randomize" # more: "More" # wiki: "Wiki" # live_chat: "Live Chat" @@ -801,6 +802,7 @@ module.exports = nativeDescription: "Bahasa Melayu", englishDescription: "Bahasa # no_ranked_matches_pre: "No ranked matches for the " # no_ranked_matches_post: " team! Play against some competitors and then come back here to get your game ranked." # choose_opponent: "Choose an Opponent" +# select_your_language: "Select your language!" # tutorial_play: "Play Tutorial" # tutorial_recommended: "Recommended if you've never played before" # tutorial_skip: "Skip Tutorial" diff --git a/app/locale/nb.coffee b/app/locale/nb.coffee index a56bcf571..cec0a46b1 100644 --- a/app/locale/nb.coffee +++ b/app/locale/nb.coffee @@ -501,6 +501,7 @@ module.exports = nativeDescription: "Norsk Bokmål", englishDescription: "Norweg # revert_models: "Revert Models" # fork_title: "Fork New Version" # fork_creating: "Creating Fork..." +# randomize: "Randomize" # more: "More" # wiki: "Wiki" # live_chat: "Live Chat" @@ -801,6 +802,7 @@ module.exports = nativeDescription: "Norsk Bokmål", englishDescription: "Norweg # no_ranked_matches_pre: "No ranked matches for the " # no_ranked_matches_post: " team! Play against some competitors and then come back here to get your game ranked." # choose_opponent: "Choose an Opponent" +# select_your_language: "Select your language!" # tutorial_play: "Play Tutorial" # tutorial_recommended: "Recommended if you've never played before" # tutorial_skip: "Skip Tutorial" diff --git a/app/locale/nl-BE.coffee b/app/locale/nl-BE.coffee index d0fa2550e..3123b8ed5 100644 --- a/app/locale/nl-BE.coffee +++ b/app/locale/nl-BE.coffee @@ -501,6 +501,7 @@ module.exports = nativeDescription: "Nederlands (België)", englishDescription: revert_models: "keer wijziging model terug" fork_title: "Kloon naar nieuwe versie" fork_creating: "Kloon aanmaken..." +# randomize: "Randomize" more: "Meer" wiki: "Wiki" live_chat: "Live Chat" @@ -801,6 +802,7 @@ module.exports = nativeDescription: "Nederlands (België)", englishDescription: no_ranked_matches_pre: "Geen beoordeelde wedstrijden voor het" no_ranked_matches_post: " team! Speel tegen enkele tegenstanders en kom terug hier om uw spel te laten beoordelen." choose_opponent: "Kies een tegenstander" +# select_your_language: "Select your language!" tutorial_play: "Speel de Tutorial" tutorial_recommended: "Aanbevolen als je nog niet eerder hebt gespeeld" tutorial_skip: "Sla Tutorial over" diff --git a/app/locale/nl-NL.coffee b/app/locale/nl-NL.coffee index cffcdbb90..f0844876e 100644 --- a/app/locale/nl-NL.coffee +++ b/app/locale/nl-NL.coffee @@ -501,6 +501,7 @@ module.exports = nativeDescription: "Nederlands (Nederland)", englishDescription revert_models: "keer wijziging model terug" fork_title: "Kloon naar nieuwe versie" fork_creating: "Kloon aanmaken..." +# randomize: "Randomize" more: "Meer" wiki: "Wiki" live_chat: "Live Chat" @@ -801,6 +802,7 @@ module.exports = nativeDescription: "Nederlands (Nederland)", englishDescription no_ranked_matches_pre: "Geen beoordeelde wedstrijden voor het" no_ranked_matches_post: " team! Speel tegen enkele tegenstanders en kom terug hier om uw spel te laten beoordelen." choose_opponent: "Kies een tegenstander" +# select_your_language: "Select your language!" tutorial_play: "Speel de Tutorial" tutorial_recommended: "Aanbevolen als je nog niet eerder hebt gespeeld" tutorial_skip: "Sla Tutorial over" diff --git a/app/locale/nl.coffee b/app/locale/nl.coffee index a3dffd22a..2162df73a 100644 --- a/app/locale/nl.coffee +++ b/app/locale/nl.coffee @@ -501,6 +501,7 @@ module.exports = nativeDescription: "Nederlands", englishDescription: "Dutch", t revert_models: "keer wijziging model terug" fork_title: "Kloon naar nieuwe versie" fork_creating: "Kloon aanmaken..." +# randomize: "Randomize" more: "Meer" wiki: "Wiki" live_chat: "Live Chat" @@ -801,6 +802,7 @@ module.exports = nativeDescription: "Nederlands", englishDescription: "Dutch", t no_ranked_matches_pre: "Geen beoordeelde wedstrijden voor het" no_ranked_matches_post: " team! Speel tegen enkele tegenstanders en kom terug hier om uw spel te laten beoordelen." choose_opponent: "Kies een tegenstander" +# select_your_language: "Select your language!" tutorial_play: "Speel de Tutorial" tutorial_recommended: "Aanbevolen als je nog niet eerder hebt gespeeld" tutorial_skip: "Sla Tutorial over" diff --git a/app/locale/nn.coffee b/app/locale/nn.coffee index 8b208c04c..21016cee4 100644 --- a/app/locale/nn.coffee +++ b/app/locale/nn.coffee @@ -501,6 +501,7 @@ module.exports = nativeDescription: "Norwegian Nynorsk", englishDescription: "No # revert_models: "Revert Models" # fork_title: "Fork New Version" # fork_creating: "Creating Fork..." +# randomize: "Randomize" # more: "More" # wiki: "Wiki" # live_chat: "Live Chat" @@ -801,6 +802,7 @@ module.exports = nativeDescription: "Norwegian Nynorsk", englishDescription: "No # no_ranked_matches_pre: "No ranked matches for the " # no_ranked_matches_post: " team! Play against some competitors and then come back here to get your game ranked." # choose_opponent: "Choose an Opponent" +# select_your_language: "Select your language!" # tutorial_play: "Play Tutorial" # tutorial_recommended: "Recommended if you've never played before" # tutorial_skip: "Skip Tutorial" diff --git a/app/locale/no.coffee b/app/locale/no.coffee index 12fea1777..f4e85c765 100644 --- a/app/locale/no.coffee +++ b/app/locale/no.coffee @@ -501,6 +501,7 @@ module.exports = nativeDescription: "Norsk", englishDescription: "Norwegian", tr # revert_models: "Revert Models" # fork_title: "Fork New Version" # fork_creating: "Creating Fork..." +# randomize: "Randomize" # more: "More" # wiki: "Wiki" # live_chat: "Live Chat" @@ -801,6 +802,7 @@ module.exports = nativeDescription: "Norsk", englishDescription: "Norwegian", tr # no_ranked_matches_pre: "No ranked matches for the " # no_ranked_matches_post: " team! Play against some competitors and then come back here to get your game ranked." # choose_opponent: "Choose an Opponent" +# select_your_language: "Select your language!" # tutorial_play: "Play Tutorial" # tutorial_recommended: "Recommended if you've never played before" # tutorial_skip: "Skip Tutorial" diff --git a/app/locale/pl.coffee b/app/locale/pl.coffee index b5b4c1fc1..695ba2937 100644 --- a/app/locale/pl.coffee +++ b/app/locale/pl.coffee @@ -501,6 +501,7 @@ module.exports = nativeDescription: "język polski", englishDescription: "Polish revert_models: "Przywróć wersję" # fork_title: "Fork New Version" # fork_creating: "Creating Fork..." +# randomize: "Randomize" # more: "More" # wiki: "Wiki" # live_chat: "Live Chat" @@ -801,6 +802,7 @@ module.exports = nativeDescription: "język polski", englishDescription: "Polish no_ranked_matches_pre: "Brak ocenionych pojedynków dla drużyny " no_ranked_matches_post: " ! Zagraj przeciwko kilku oponentom i wróc tutaj, aby uzyskać ocenę gry." choose_opponent: "Wybierz przeciwnika" +# select_your_language: "Select your language!" tutorial_play: "Rozegraj samouczek" tutorial_recommended: "Zalecane, jeśli wcześniej nie grałeś" tutorial_skip: "Pomiń samouczek" diff --git a/app/locale/pt-BR.coffee b/app/locale/pt-BR.coffee index 5d2401c91..b678dbdf2 100644 --- a/app/locale/pt-BR.coffee +++ b/app/locale/pt-BR.coffee @@ -501,6 +501,7 @@ module.exports = nativeDescription: "português do Brasil", englishDescription: revert_models: "Reverter Modelos" # fork_title: "Fork New Version" # fork_creating: "Creating Fork..." +# randomize: "Randomize" more: "Mais" # wiki: "Wiki" # live_chat: "Live Chat" @@ -801,6 +802,7 @@ module.exports = nativeDescription: "português do Brasil", englishDescription: no_ranked_matches_pre: "Sem partidas classificadas para o " no_ranked_matches_post: " time! Jogue contra alguns competidores e então volte aqui para ter seu jogo classificado." choose_opponent: "Escolha um Oponente" +# select_your_language: "Select your language!" tutorial_play: "Jogue o Tutorial" tutorial_recommended: "Recomendado se você nunca jogou antes" tutorial_skip: "Pular Tutorial" diff --git a/app/locale/pt-PT.coffee b/app/locale/pt-PT.coffee index 47bdd3772..6a36a4a65 100644 --- a/app/locale/pt-PT.coffee +++ b/app/locale/pt-PT.coffee @@ -501,6 +501,7 @@ module.exports = nativeDescription: "Português (Portugal)", englishDescription: revert_models: "Reverter Modelos" # fork_title: "Fork New Version" # fork_creating: "Creating Fork..." +# randomize: "Randomize" # more: "More" # wiki: "Wiki" # live_chat: "Live Chat" @@ -801,6 +802,7 @@ module.exports = nativeDescription: "Português (Portugal)", englishDescription: no_ranked_matches_pre: "Sem jogos classificados pela equipa " no_ranked_matches_post: "! Joga contra alguns adversários e volta aqui para veres o teu jogo classificado." choose_opponent: "Escolhe um Adversário" +# select_your_language: "Select your language!" tutorial_play: "Jogar Tutorial" tutorial_recommended: "Recomendado se nunca jogaste antes" tutorial_skip: "Saltar Tutorial" diff --git a/app/locale/pt.coffee b/app/locale/pt.coffee index dd75d506b..ae5e903a3 100644 --- a/app/locale/pt.coffee +++ b/app/locale/pt.coffee @@ -501,6 +501,7 @@ module.exports = nativeDescription: "português", englishDescription: "Portugues # revert_models: "Revert Models" # fork_title: "Fork New Version" # fork_creating: "Creating Fork..." +# randomize: "Randomize" # more: "More" # wiki: "Wiki" # live_chat: "Live Chat" @@ -801,6 +802,7 @@ module.exports = nativeDescription: "português", englishDescription: "Portugues # no_ranked_matches_pre: "No ranked matches for the " # no_ranked_matches_post: " team! Play against some competitors and then come back here to get your game ranked." # choose_opponent: "Choose an Opponent" +# select_your_language: "Select your language!" # tutorial_play: "Play Tutorial" # tutorial_recommended: "Recommended if you've never played before" # tutorial_skip: "Skip Tutorial" diff --git a/app/locale/ro.coffee b/app/locale/ro.coffee index 2f2ad4c65..fa367f2fd 100644 --- a/app/locale/ro.coffee +++ b/app/locale/ro.coffee @@ -501,6 +501,7 @@ module.exports = nativeDescription: "limba română", englishDescription: "Roman revert_models: "Resetează Modelele" # fork_title: "Fork New Version" # fork_creating: "Creating Fork..." +# randomize: "Randomize" # more: "More" # wiki: "Wiki" # live_chat: "Live Chat" @@ -801,6 +802,7 @@ module.exports = nativeDescription: "limba română", englishDescription: "Roman no_ranked_matches_pre: "Nici un meci de clasament pentru " no_ranked_matches_post: " echipă! Joacă împotriva unor concurenți și revino apoi aici pentr a-ți plasa meciul in clasament." choose_opponent: "Alege un adversar" +# select_your_language: "Select your language!" tutorial_play: "Joacă Tutorial-ul" tutorial_recommended: "Recomandat dacă nu ai mai jucat niciodată înainte" tutorial_skip: "Sari peste Tutorial" diff --git a/app/locale/ru.coffee b/app/locale/ru.coffee index 4ecae8dcc..2a9a29870 100644 --- a/app/locale/ru.coffee +++ b/app/locale/ru.coffee @@ -501,6 +501,7 @@ module.exports = nativeDescription: "русский", englishDescription: "Russi revert_models: "Откатить Модели" fork_title: "Форк новой версии" fork_creating: "Создание форка..." +# randomize: "Randomize" more: "Ещё" wiki: "Вики" live_chat: "Онлайн-чат" @@ -801,6 +802,7 @@ module.exports = nativeDescription: "русский", englishDescription: "Russi no_ranked_matches_pre: "Нет оценённых матчей для команды" no_ranked_matches_post: "! Сыграйте против нескольких противников и возвращайтесь сюда для оценки вашей игры." choose_opponent: "Выберите противника" +# select_your_language: "Select your language!" tutorial_play: "Пройти обучение" tutorial_recommended: "Рекомендуется, если вы раньше никогда не играли" tutorial_skip: "Пропустить обучение" diff --git a/app/locale/sk.coffee b/app/locale/sk.coffee index d2db15a1a..bee1b7edf 100644 --- a/app/locale/sk.coffee +++ b/app/locale/sk.coffee @@ -501,6 +501,7 @@ module.exports = nativeDescription: "slovenčina", englishDescription: "Slovak", # revert_models: "Revert Models" # fork_title: "Fork New Version" # fork_creating: "Creating Fork..." +# randomize: "Randomize" # more: "More" # wiki: "Wiki" # live_chat: "Live Chat" @@ -801,6 +802,7 @@ module.exports = nativeDescription: "slovenčina", englishDescription: "Slovak", # no_ranked_matches_pre: "No ranked matches for the " # no_ranked_matches_post: " team! Play against some competitors and then come back here to get your game ranked." # choose_opponent: "Choose an Opponent" +# select_your_language: "Select your language!" # tutorial_play: "Play Tutorial" # tutorial_recommended: "Recommended if you've never played before" # tutorial_skip: "Skip Tutorial" diff --git a/app/locale/sl.coffee b/app/locale/sl.coffee index 4323e23c1..e75b5df8f 100644 --- a/app/locale/sl.coffee +++ b/app/locale/sl.coffee @@ -501,6 +501,7 @@ module.exports = nativeDescription: "slovenščina", englishDescription: "Sloven # revert_models: "Revert Models" # fork_title: "Fork New Version" # fork_creating: "Creating Fork..." +# randomize: "Randomize" # more: "More" # wiki: "Wiki" # live_chat: "Live Chat" @@ -801,6 +802,7 @@ module.exports = nativeDescription: "slovenščina", englishDescription: "Sloven # no_ranked_matches_pre: "No ranked matches for the " # no_ranked_matches_post: " team! Play against some competitors and then come back here to get your game ranked." # choose_opponent: "Choose an Opponent" +# select_your_language: "Select your language!" # tutorial_play: "Play Tutorial" # tutorial_recommended: "Recommended if you've never played before" # tutorial_skip: "Skip Tutorial" diff --git a/app/locale/sr.coffee b/app/locale/sr.coffee index 801791e04..6ea2af629 100644 --- a/app/locale/sr.coffee +++ b/app/locale/sr.coffee @@ -501,6 +501,7 @@ module.exports = nativeDescription: "српски", englishDescription: "Serbian # revert_models: "Revert Models" # fork_title: "Fork New Version" # fork_creating: "Creating Fork..." +# randomize: "Randomize" # more: "More" # wiki: "Wiki" # live_chat: "Live Chat" @@ -801,6 +802,7 @@ module.exports = nativeDescription: "српски", englishDescription: "Serbian # no_ranked_matches_pre: "No ranked matches for the " # no_ranked_matches_post: " team! Play against some competitors and then come back here to get your game ranked." # choose_opponent: "Choose an Opponent" +# select_your_language: "Select your language!" # tutorial_play: "Play Tutorial" # tutorial_recommended: "Recommended if you've never played before" # tutorial_skip: "Skip Tutorial" diff --git a/app/locale/sv.coffee b/app/locale/sv.coffee index 30fcc2758..49ed0652c 100644 --- a/app/locale/sv.coffee +++ b/app/locale/sv.coffee @@ -501,6 +501,7 @@ module.exports = nativeDescription: "Svenska", englishDescription: "Swedish", tr revert_models: "Återställ modeller" # fork_title: "Fork New Version" # fork_creating: "Creating Fork..." +# randomize: "Randomize" # more: "More" # wiki: "Wiki" # live_chat: "Live Chat" @@ -801,6 +802,7 @@ module.exports = nativeDescription: "Svenska", englishDescription: "Swedish", tr no_ranked_matches_pre: "Inga rankade matcher för " no_ranked_matches_post: " laget! Spela mot några motståndare och kom sedan tillbaka it för att få din match rankad." choose_opponent: "Välj en motståndare" +# select_your_language: "Select your language!" tutorial_play: "Spela tutorial" tutorial_recommended: "Rekommenderas om du aldrig har spelat tidigare" tutorial_skip: "Hoppa över tutorial" diff --git a/app/locale/th.coffee b/app/locale/th.coffee index f78ae1e8b..d97529f7b 100644 --- a/app/locale/th.coffee +++ b/app/locale/th.coffee @@ -501,6 +501,7 @@ module.exports = nativeDescription: "ไทย", englishDescription: "Thai", tra # revert_models: "Revert Models" # fork_title: "Fork New Version" # fork_creating: "Creating Fork..." +# randomize: "Randomize" # more: "More" # wiki: "Wiki" # live_chat: "Live Chat" @@ -801,6 +802,7 @@ module.exports = nativeDescription: "ไทย", englishDescription: "Thai", tra # no_ranked_matches_pre: "No ranked matches for the " # no_ranked_matches_post: " team! Play against some competitors and then come back here to get your game ranked." # choose_opponent: "Choose an Opponent" +# select_your_language: "Select your language!" # tutorial_play: "Play Tutorial" # tutorial_recommended: "Recommended if you've never played before" # tutorial_skip: "Skip Tutorial" diff --git a/app/locale/tr.coffee b/app/locale/tr.coffee index fe40f5120..fed1c455a 100644 --- a/app/locale/tr.coffee +++ b/app/locale/tr.coffee @@ -501,6 +501,7 @@ module.exports = nativeDescription: "Türkçe", englishDescription: "Turkish", t revert_models: "Önceki Modeller" # fork_title: "Fork New Version" # fork_creating: "Creating Fork..." +# randomize: "Randomize" # more: "More" # wiki: "Wiki" # live_chat: "Live Chat" @@ -801,6 +802,7 @@ module.exports = nativeDescription: "Türkçe", englishDescription: "Turkish", t # no_ranked_matches_pre: "No ranked matches for the " # no_ranked_matches_post: " team! Play against some competitors and then come back here to get your game ranked." # choose_opponent: "Choose an Opponent" +# select_your_language: "Select your language!" # tutorial_play: "Play Tutorial" # tutorial_recommended: "Recommended if you've never played before" # tutorial_skip: "Skip Tutorial" diff --git a/app/locale/uk.coffee b/app/locale/uk.coffee index 8b222c5e5..51d3d34f0 100644 --- a/app/locale/uk.coffee +++ b/app/locale/uk.coffee @@ -501,6 +501,7 @@ module.exports = nativeDescription: "українська мова", englishDesc revert_models: "Моделі повернення" fork_title: "Нова версія Форк" fork_creating: "Створення Форк..." +# randomize: "Randomize" more: "Більше" wiki: "Wiki" live_chat: "Online чат" @@ -801,6 +802,7 @@ module.exports = nativeDescription: "українська мова", englishDesc # no_ranked_matches_pre: "No ranked matches for the " # no_ranked_matches_post: " team! Play against some competitors and then come back here to get your game ranked." # choose_opponent: "Choose an Opponent" +# select_your_language: "Select your language!" # tutorial_play: "Play Tutorial" # tutorial_recommended: "Recommended if you've never played before" # tutorial_skip: "Skip Tutorial" diff --git a/app/locale/ur.coffee b/app/locale/ur.coffee index 814c472da..f00732c1b 100644 --- a/app/locale/ur.coffee +++ b/app/locale/ur.coffee @@ -501,6 +501,7 @@ module.exports = nativeDescription: "اُردُو", englishDescription: "Urdu", # revert_models: "Revert Models" # fork_title: "Fork New Version" # fork_creating: "Creating Fork..." +# randomize: "Randomize" # more: "More" # wiki: "Wiki" # live_chat: "Live Chat" @@ -801,6 +802,7 @@ module.exports = nativeDescription: "اُردُو", englishDescription: "Urdu", # no_ranked_matches_pre: "No ranked matches for the " # no_ranked_matches_post: " team! Play against some competitors and then come back here to get your game ranked." # choose_opponent: "Choose an Opponent" +# select_your_language: "Select your language!" # tutorial_play: "Play Tutorial" # tutorial_recommended: "Recommended if you've never played before" # tutorial_skip: "Skip Tutorial" diff --git a/app/locale/vi.coffee b/app/locale/vi.coffee index c2489165f..8d6ece181 100644 --- a/app/locale/vi.coffee +++ b/app/locale/vi.coffee @@ -501,6 +501,7 @@ module.exports = nativeDescription: "Tiếng Việt", englishDescription: "Vietn # revert_models: "Revert Models" # fork_title: "Fork New Version" # fork_creating: "Creating Fork..." +# randomize: "Randomize" # more: "More" # wiki: "Wiki" # live_chat: "Live Chat" @@ -801,6 +802,7 @@ module.exports = nativeDescription: "Tiếng Việt", englishDescription: "Vietn # no_ranked_matches_pre: "No ranked matches for the " # no_ranked_matches_post: " team! Play against some competitors and then come back here to get your game ranked." # choose_opponent: "Choose an Opponent" +# select_your_language: "Select your language!" # tutorial_play: "Play Tutorial" # tutorial_recommended: "Recommended if you've never played before" # tutorial_skip: "Skip Tutorial" diff --git a/app/locale/zh-HANS.coffee b/app/locale/zh-HANS.coffee index 611fdba2e..e2436529f 100644 --- a/app/locale/zh-HANS.coffee +++ b/app/locale/zh-HANS.coffee @@ -501,6 +501,7 @@ module.exports = nativeDescription: "简体中文", englishDescription: "Chinese revert_models: "还原模式" fork_title: "派生新版本" fork_creating: "正在执行派生..." +# randomize: "Randomize" more: "更多" wiki: "维基" live_chat: "在线聊天" @@ -801,6 +802,7 @@ module.exports = nativeDescription: "简体中文", englishDescription: "Chinese # no_ranked_matches_pre: "No ranked matches for the " # no_ranked_matches_post: " team! Play against some competitors and then come back here to get your game ranked." choose_opponent: "选择一个对手" +# select_your_language: "Select your language!" tutorial_play: "玩教程" tutorial_recommended: "如果你从未玩过的话,推荐先玩下教程" tutorial_skip: "跳过教材" diff --git a/app/locale/zh-HANT.coffee b/app/locale/zh-HANT.coffee index 3c0785dfe..e936fd9a3 100644 --- a/app/locale/zh-HANT.coffee +++ b/app/locale/zh-HANT.coffee @@ -501,6 +501,7 @@ module.exports = nativeDescription: "繁体中文", englishDescription: "Chinese # revert_models: "Revert Models" # fork_title: "Fork New Version" # fork_creating: "Creating Fork..." +# randomize: "Randomize" # more: "More" # wiki: "Wiki" # live_chat: "Live Chat" @@ -801,6 +802,7 @@ module.exports = nativeDescription: "繁体中文", englishDescription: "Chinese # no_ranked_matches_pre: "No ranked matches for the " # no_ranked_matches_post: " team! Play against some competitors and then come back here to get your game ranked." # choose_opponent: "Choose an Opponent" +# select_your_language: "Select your language!" # tutorial_play: "Play Tutorial" # tutorial_recommended: "Recommended if you've never played before" # tutorial_skip: "Skip Tutorial" diff --git a/app/locale/zh-WUU-HANS.coffee b/app/locale/zh-WUU-HANS.coffee index 91a2eb0d1..4e063c0f6 100644 --- a/app/locale/zh-WUU-HANS.coffee +++ b/app/locale/zh-WUU-HANS.coffee @@ -501,6 +501,7 @@ module.exports = nativeDescription: "吴语", englishDescription: "Wuu (Simplifi # revert_models: "Revert Models" # fork_title: "Fork New Version" # fork_creating: "Creating Fork..." +# randomize: "Randomize" # more: "More" # wiki: "Wiki" # live_chat: "Live Chat" @@ -801,6 +802,7 @@ module.exports = nativeDescription: "吴语", englishDescription: "Wuu (Simplifi # no_ranked_matches_pre: "No ranked matches for the " # no_ranked_matches_post: " team! Play against some competitors and then come back here to get your game ranked." # choose_opponent: "Choose an Opponent" +# select_your_language: "Select your language!" # tutorial_play: "Play Tutorial" # tutorial_recommended: "Recommended if you've never played before" # tutorial_skip: "Skip Tutorial" diff --git a/app/locale/zh-WUU-HANT.coffee b/app/locale/zh-WUU-HANT.coffee index 368667c74..2ef6d05f0 100644 --- a/app/locale/zh-WUU-HANT.coffee +++ b/app/locale/zh-WUU-HANT.coffee @@ -501,6 +501,7 @@ module.exports = nativeDescription: "吳語", englishDescription: "Wuu (Traditio revert_models: "還原模式" fork_title: "派生新版本" fork_creating: "徠搭執行派生..." +# randomize: "Randomize" more: "無數" wiki: "維基" live_chat: "上線白嗒" @@ -801,6 +802,7 @@ module.exports = nativeDescription: "吳語", englishDescription: "Wuu (Traditio # no_ranked_matches_pre: "No ranked matches for the " # no_ranked_matches_post: " team! Play against some competitors and then come back here to get your game ranked." choose_opponent: "揀一個對手" +# select_your_language: "Select your language!" tutorial_play: "攪教程" tutorial_recommended: "假使爾從來朆攪過個話,建議爾先畀教程攪攪相" tutorial_skip: "跳過教程" diff --git a/app/locale/zh.coffee b/app/locale/zh.coffee index b9c9d40fb..f7f8d98a0 100644 --- a/app/locale/zh.coffee +++ b/app/locale/zh.coffee @@ -501,6 +501,7 @@ module.exports = nativeDescription: "中文", englishDescription: "Chinese", tra # revert_models: "Revert Models" # fork_title: "Fork New Version" # fork_creating: "Creating Fork..." +# randomize: "Randomize" # more: "More" # wiki: "Wiki" # live_chat: "Live Chat" @@ -801,6 +802,7 @@ module.exports = nativeDescription: "中文", englishDescription: "Chinese", tra # no_ranked_matches_pre: "No ranked matches for the " # no_ranked_matches_post: " team! Play against some competitors and then come back here to get your game ranked." # choose_opponent: "Choose an Opponent" +# select_your_language: "Select your language!" # tutorial_play: "Play Tutorial" # tutorial_recommended: "Recommended if you've never played before" # tutorial_skip: "Skip Tutorial" diff --git a/app/templates/play/ladder/play_modal.jade b/app/templates/play/ladder/play_modal.jade index c3a0eb074..ba7321a1e 100644 --- a/app/templates/play/ladder/play_modal.jade +++ b/app/templates/play/ladder/play_modal.jade @@ -13,13 +13,16 @@ block modal-body-content span.btn.btn-primary.btn-block.btn-lg#skip-tutorial-button(data-i18n="ladder.tutorial_skip") Skip Tutorial div#normal-view - if tutorialLevelExists p.tutorial-suggestion strong(data-i18n="ladder.tutorial_not_sure") Not sure what's going on? | a(href="/play/level/#{levelID}-tutorial", data-i18n="ladder.tutorial_play_first") Play the tutorial first. - + h4.language-selection(data-i18n="ladder.select_your_language") Select your language! + .form-group.select-group + select#tome-language(name="language") + for option in languages + option(value=option.id selected=(language === option.id))= option.name a(href="/play/level/#{levelID}?team=#{teamID}") div.play-option img(src=myPortrait).my-icon.only-one diff --git a/app/views/play/ladder/play_modal.coffee b/app/views/play/ladder/play_modal.coffee index e54e79a18..d1a1e74fa 100644 --- a/app/views/play/ladder/play_modal.coffee +++ b/app/views/play/ladder/play_modal.coffee @@ -15,16 +15,31 @@ module.exports = class LadderPlayModal extends View events: 'click #skip-tutorial-button': 'hideTutorialButtons' + 'change #tome-language': 'updateLanguage' + defaultAceConfig: + language: 'javascript' + keyBindings: 'default' + invisibles: false + indentGuides: false + behaviors: false + liveCompletion: true + constructor: (options, @level, @session, @team) -> super(options) @nameMap = {} @otherTeam = if team is 'ogres' then 'humans' else 'ogres' @startLoadingChallengersMaybe() @wizardType = ThangType.loadUniversalWizard() + + updateLanguage: -> + aceConfig = _.cloneDeep me.get('aceConfig') ? {} + aceConfig = _.defaults aceConfig, @defaultAceConfig + aceConfig.language = @$el.find('#tome-language').val() + me.set 'aceConfig', aceConfig + me.patch() # PART 1: Load challengers from the db unless some are in the matches - startLoadingChallengersMaybe: -> matches = @session?.get('matches') if matches?.length then @loadNames() else @loadChallengers() @@ -73,7 +88,14 @@ module.exports = class LadderPlayModal extends View ctx.teamID = @team ctx.otherTeamID = @otherTeam ctx.tutorialLevelExists = @tutorialLevelExists - + ctx.languages = [ + {id: 'javascript', name: 'JavaScript'} + {id: 'coffeescript', name: 'CoffeeScript'} + {id: 'python', name: 'Python (Experimental)'} + {id: 'clojure', name: 'Clojure (Experimental)'} + {id: 'lua', name: 'Lua (Experimental)'} + {id: 'io', name: 'Io (Experimental)'} + ] teamsList = teamDataFromLevel @level teams = {} teams[team.id] = team for team in teamsList