codecombat/app/templates/courses/change-course-language-modal.jade
Imperadeiro98 e284ec7959 Courses i18n
Also, removed duplicated 'Continue' string
2015-12-08 20:05:08 +00:00

34 lines
994 B
Text

extends /templates/core/modal-base
block modal-header-content
h3(data-i18n="courses.change_language")
.clearfix
block modal-body-content
#choice-area.text-center
- var currentLanguage = (me.get('aceConfig') || {}).language || 'python';
button.lang-choice-btn.btn.btn-success.btn-lg(data-language='python')
if currentLanguage === 'python'
span.spr(data-i18n="courses.keep_using")
span Python
else
span.spr(data-i18n="courses.switch_to")
span Python
p
span.spr -
span.text-uppercase(data-i18n="general.or")
span.spl -
button.lang-choice-btn.btn.btn-default(data-language='javascript')
if currentLanguage === 'javascript'
span.spr(data-i18n="courses.keep_using")
span JavaScript
else
span.spr(data-i18n="courses.switch_to")
span JavaScript
#saving-progress.progress.progress-striped.active.hide
.progress-bar(style="width: 100%")
block modal-footer-content