Translate button
This commit is contained in:
@ -99,7 +99,8 @@ CodeOceanEditorFlowr = {
|
||||
|
||||
var body = resultTile.find('.panel-body');
|
||||
body.html(result.body);
|
||||
body.append('<a href="' + questionUrl + '" class="btn btn-primary btn-block">Open this question</a>');
|
||||
body.append('<a href="' + questionUrl + '" class="btn btn-primary btn-block">' +
|
||||
'<%= I18n.t('exercises.implement.flowr.go_to_question') %></a>');
|
||||
body.find('.btn').on('click', self.createEventHandler('editor_flowr_click_question', questionUrl));
|
||||
|
||||
flowrHintBody.append(resultTile);
|
||||
|
@ -340,6 +340,7 @@ de:
|
||||
heading: "Hinweise"
|
||||
flowr:
|
||||
heading: "Weitere Hinweise | Unterstützt von StackOverflow"
|
||||
go_to_question: "Lösung ansehen"
|
||||
index:
|
||||
clone: Duplizieren
|
||||
implement: Implementieren
|
||||
|
@ -340,6 +340,7 @@ en:
|
||||
heading: "Hints"
|
||||
flowr:
|
||||
heading: "Gain more insights here | Powered by StackOverflow"
|
||||
go_to_question: "Go to answer"
|
||||
index:
|
||||
clone: Duplicate
|
||||
implement: Implement
|
||||
|
Reference in New Issue
Block a user