mirror of
https://github.com/codeninjasllc/codecombat.git
synced 2025-02-17 08:50:58 -05:00
Avoid \n escape character in i18n strings for tooling
This commit is contained in:
parent
d77625bc77
commit
82c4367308
2 changed files with 3 additions and 2 deletions
|
@ -1354,7 +1354,8 @@
|
|||
update_account_remain_student: "Remain a Student"
|
||||
update_account_update_student: "Update to Student"
|
||||
update_account_not_sure: "Not sure which one to choose? Email"
|
||||
update_account_confirm_update_student: "Are you sure you want to update your account to a Student experience?\n\nYou will not be able to manage any classes that you have previously created or create new classes. Your previously created classes will be removed from CodeCombat and cannot be restored."
|
||||
update_account_confirm_update_student: "Are you sure you want to update your account to a Student experience?"
|
||||
update_account_confirm_update_student2: "You will not be able to manage any classes that you have previously created or create new classes. Your previously created classes will be removed from CodeCombat and cannot be restored."
|
||||
instructor: "Instructor: "
|
||||
youve_been_invited_1: "You've been invited to join "
|
||||
youve_been_invited_2: ", where you'll learn "
|
||||
|
|
|
@ -41,7 +41,7 @@ module.exports = class CoursesUpdateAccountView extends RootView
|
|||
@becomeStudent(e.target, 'Remain student')
|
||||
|
||||
onClickUpdateStudentButton: (e) ->
|
||||
return unless window.confirm($.i18n.t('courses.update_account_confirm_update_student'))
|
||||
return unless window.confirm($.i18n.t('courses.update_account_confirm_update_student') + '\n\n' + $.i18n.t('courses.update_account_confirm_update_student2'))
|
||||
@becomeStudent(e.target, 'Update student')
|
||||
|
||||
becomeStudent: (targetElem, trackEventMsg) ->
|
||||
|
|
Loading…
Reference in a new issue