diff --git a/app/templates/play.jade b/app/templates/play.jade index c8e4570d6..454ea8ca0 100644 --- a/app/templates/play.jade +++ b/app/templates/play.jade @@ -4,7 +4,9 @@ block content if notFound div(class="alert alert-warning") - h2 #{notFoundMessage} + h2 + span(data-i18n="play_level.level_load_error") Level could not be loaded: + | #{notFound} h1(data-i18n="play.choose_your_level") Choose Your Level p diff --git a/app/views/play_view.coffee b/app/views/play_view.coffee index 1bb13bbe9..32e6d3bf1 100644 --- a/app/views/play_view.coffee +++ b/app/views/play_view.coffee @@ -9,7 +9,6 @@ module.exports = class PlayView extends View context = super(context) context.home = true context.notFound = @getQueryVariable 'not_found' - context.notFoundMessage = $.i18n.t('play_level.level_load_error') + context.notFound tutorials = [ { name: 'Rescue Mission'