Merge pull request #10548 from louyihua/i18n_fix
Fix gettext guidance violation
This commit is contained in:
@@ -325,7 +325,7 @@ class @CombinedOpenEnded
|
||||
@submit_button.hide()
|
||||
@queueing()
|
||||
@grader_status = @$(@grader_status_sel)
|
||||
@grader_status.html("<span class='grading'>" + gettext "Your response has been submitted. Please check back later for your grade." + "</span>")
|
||||
@grader_status.html("<span class='grading'>" + (gettext "Your response has been submitted. Please check back later for your grade.") + "</span>")
|
||||
else if @child_type == "selfassessment"
|
||||
@setup_score_selection()
|
||||
else if @child_state == 'post_assessment'
|
||||
|
||||
@@ -11,8 +11,8 @@
|
||||
successMessage: function() {
|
||||
return this.indicators.success + interpolate_text(
|
||||
gettext(
|
||||
'We\'ve sent a confirmation message to {new_email_address}. ' +
|
||||
'Click the link in the message to update your email address.'
|
||||
/* jshint maxlen: false */
|
||||
'We\'ve sent a confirmation message to {new_email_address}. Click the link in the message to update your email address.'
|
||||
),
|
||||
{'new_email_address': this.fieldValue()}
|
||||
);
|
||||
@@ -79,8 +79,8 @@
|
||||
successMessage: function () {
|
||||
return this.indicators.success + interpolate_text(
|
||||
gettext(
|
||||
'We\'ve sent a message to {email_address}. ' +
|
||||
'Click the link in the message to reset your password.'
|
||||
/* jshint maxlen: false */
|
||||
'We\'ve sent a message to {email_address}. Click the link in the message to reset your password.'
|
||||
),
|
||||
{'email_address': this.model.get(this.options.emailAttribute)}
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user