internationalization and feedback for RFC button
This commit is contained in:
@ -928,14 +928,19 @@ $(function() {
|
||||
requestorid: user_id,
|
||||
exerciseid: exercise_id,
|
||||
fileid: file_id,
|
||||
"requested_at(1i)": 2015,
|
||||
"requested_at(2i)":3,
|
||||
"requested_at(1i)": 2015, // these are the timestamp values that the request handler demands
|
||||
"requested_at(2i)":3, // they could be random here, because the timestamp is updated on serverside anyway
|
||||
"requested_at(3i)":27,
|
||||
"requested_at(4i)":17,
|
||||
"requested_at(5i)":06
|
||||
}
|
||||
}
|
||||
}).done(function() {
|
||||
hideSpinner()
|
||||
$.flash.success({ text: 'Request for comments sent!' })
|
||||
})
|
||||
|
||||
showSpinner($('#request-for-comments'))
|
||||
}
|
||||
|
||||
var initializeCodePilot = function() {
|
||||
|
@ -5,6 +5,6 @@ hr
|
||||
= render('editor_button', classes: 'btn-block btn-primary btn-sm', data: {:'data-cause' => 'file'}, icon: 'fa fa-plus', id: 'create-file', label: t('exercises.editor.create_file'))
|
||||
= render('editor_button', classes: 'btn-block btn-warning btn-sm', data: {:'data-cause' => 'file', :'data-message-confirm' => t('shared.confirm_destroy')}, icon: 'fa fa-times', id: 'destroy-file', label: t('exercises.editor.destroy_file'))
|
||||
= render('editor_button', classes: 'btn-block btn-primary btn-sm', icon: 'fa fa-download', id: 'download', label: t('exercises.editor.download'))
|
||||
= render('editor_button', classes: 'btn-block btn-primary btn-sm', icon: 'fa fa-bullhorn', id: 'request-for-comments', label: 'Request comments')
|
||||
= render('editor_button', classes: 'btn-block btn-primary btn-sm', icon: 'fa fa-bullhorn', id: 'request-for-comments', label: t('exercises.editor.requestComments'))
|
||||
|
||||
= render('shared/modal', id: 'modal-file', template: 'code_ocean/files/_form', title: t('exercises.editor.create_file'))
|
||||
|
@ -174,6 +174,7 @@ de:
|
||||
run: Ausführen
|
||||
run_failure: Bei der Ausführung Ihres Codes sind Fehler aufgetreten.
|
||||
run_success: Ihr Code wurde fehlerfrei ausgeführt.
|
||||
requestComments: Rückmeldung erbitten
|
||||
save: Speichern
|
||||
score: Bewerten
|
||||
start_over: Von vorne anfangen
|
||||
|
@ -174,6 +174,7 @@ en:
|
||||
run: Run
|
||||
run_failure: Your code ran with errors.
|
||||
run_success: Your code ran without errors.
|
||||
requestComments: Request comments
|
||||
save: Save
|
||||
score: Score
|
||||
start_over: Start over
|
||||
|
Reference in New Issue
Block a user