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