mirror of
https://github.com/codeninjasllc/codecombat.git
synced 2025-04-26 14:03:28 -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
|
||||
@errorMessage = 'Please enter a code.'
|
||||
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
|
||||
@errorMessage = "#{jqxhr.responseText}"
|
||||
@renderSelectors '#join-class-form'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue