From 354c2d49af8ddc3e97af048716ab2ad4aa46a59d Mon Sep 17 00:00:00 2001 From: Aron Fyodor Asor Date: Wed, 1 Apr 2015 11:20:40 -0700 Subject: [PATCH] translate the updated title. This is where the actual title is set, not on the exercise view render method. So we put the gettext method here! --- kalite/distributed/static/js/distributed/exercises/views.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kalite/distributed/static/js/distributed/exercises/views.js b/kalite/distributed/static/js/distributed/exercises/views.js index 4178240286..67ce49a30f 100755 --- a/kalite/distributed/static/js/distributed/exercises/views.js +++ b/kalite/distributed/static/js/distributed/exercises/views.js @@ -397,7 +397,7 @@ window.ExerciseView = Backbone.View.extend({ }, update_title: function() { - this.$(".exercise-title").text(this.data_model.get("title")); + this.$(".exercise-title").text(gettext(this.data_model.get("title"))); }, hint_used: function() {