mirror of
https://github.com/codeninjasllc/codecombat.git
synced 2025-05-03 09:23:41 -04:00
Use translated ClassCode error message
This commit is contained in:
parent
af9f7201d0
commit
21cd890bfa
1 changed files with 1 additions and 1 deletions
|
@ -162,7 +162,7 @@ module.exports = class CoursesView extends RootView
|
||||||
if jqxhr.status is 422
|
if jqxhr.status is 422
|
||||||
@errorMessage = 'Please enter a code.'
|
@errorMessage = 'Please enter a code.'
|
||||||
else if jqxhr.status is 404
|
else if jqxhr.status is 404
|
||||||
@errorMessage = 'No class exists with this Class Code. Check your spelling or ask your teacher for help.'
|
@errorMessage = $.t('signup.classroom_not_found')
|
||||||
else
|
else
|
||||||
@errorMessage = "#{jqxhr.responseText}"
|
@errorMessage = "#{jqxhr.responseText}"
|
||||||
@renderSelectors '#join-class-form'
|
@renderSelectors '#join-class-form'
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue