Skip to content

Commit

Permalink
translate the updated title.
Browse files Browse the repository at this point in the history
This is where the actual title is set, not on the exercise view render
method. So we put the gettext method here!
  • Loading branch information
aronasorman committed Apr 1, 2015
1 parent ce1e8fa commit 354c2d4
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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() {
Expand Down

0 comments on commit 354c2d4

Please sign in to comment.