Fix I18n for request success message
This commit is contained in:
@ -1160,7 +1160,7 @@ $(function() {
|
||||
}
|
||||
}).done(function() {
|
||||
hideSpinner();
|
||||
$.flash.success({ text: 'Request for comments sent!' })
|
||||
$.flash.success({ text: $('#askForCommentsButton').data('message-success') })
|
||||
}).error(ajaxError);
|
||||
|
||||
$('#comment-modal').modal('hide');
|
||||
|
@ -1,4 +1,4 @@
|
||||
h5 = t('exercises.implement.comment.question')
|
||||
textarea.form-control#question(style='resize:none;')
|
||||
p = ''
|
||||
button#askForCommentsButton.btn.btn-block.btn-primary(type='button') =t('exercises.implement.comment.request')
|
||||
button#askForCommentsButton.btn.btn-block.btn-primary(type='button' data-message-success=t('exercises.editor.request_for_comments_sent')) =t('exercises.implement.comment.request')
|
Reference in New Issue
Block a user