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')
|
@ -210,6 +210,7 @@ de:
|
||||
timeout: 'Ausführung gestoppt. Ihr Code hat die erlaubte Ausführungszeit von %{permitted_execution_time} Sekunden überschritten.'
|
||||
tooltips:
|
||||
save: Ihr Code wird automatisch gespeichert, wann immer Sie eine Datei herunterladen, ausführen oder testen. Explizites Speichern ist also selten notwendig.
|
||||
request_for_comments_sent: "Kommentaranfrage gesendet."
|
||||
editor_file_tree:
|
||||
file_root: Dateien
|
||||
file_form:
|
||||
|
@ -210,6 +210,7 @@ en:
|
||||
timeout: 'Execution stopped. Your code exceeded the permitted execution time of %{permitted_execution_time} seconds.'
|
||||
tooltips:
|
||||
save: Your code is automatically saved whenever you download, run, or test it. Therefore, explicitly saving is rarely necessary.
|
||||
request_for_comments_sent: "Request for comments sent."
|
||||
editor_file_tree:
|
||||
file_root: Files
|
||||
file_form:
|
||||
|
Reference in New Issue
Block a user