diff --git a/app/views/exercises/_editor.html.slim b/app/views/exercises/_editor.html.slim index 9655ba52..80f10f90 100644 --- a/app/views/exercises/_editor.html.slim +++ b/app/views/exercises/_editor.html.slim @@ -39,6 +39,9 @@ = t('exercises.editor.download') div + - if current_contributor.programming_group? + = t('exercises.editor.pair_programming_session') + = " | " = t('exercises.editor.lastsaved') span button style="display:none" id="autosave" diff --git a/config/locales/de.yml b/config/locales/de.yml index ae8fd768..d12c3b18 100644 --- a/config/locales/de.yml +++ b/config/locales/de.yml @@ -386,6 +386,7 @@ de: input: Ihre Eingabe lastsaved: 'Zuletzt gespeichert: ' network: 'Während Ihr Code läuft, ist Port %{port} unter folgender Adresse erreichbar: %{address}.' + pair_programming_session: Pair Programming Session render: Anzeigen run: Ausführen run_failure: Ihr Code konnte nicht auf der Plattform ausgeführt werden. diff --git a/config/locales/en.yml b/config/locales/en.yml index 612de4f0..dd451b77 100644 --- a/config/locales/en.yml +++ b/config/locales/en.yml @@ -386,6 +386,7 @@ en: input: Your input lastsaved: 'Last saved: ' network: 'While your code is running, port %{port} is accessible using the following address: %{address}.' + pair_programming_session: Pair Programming Session render: Render run: Run run_failure: Your code could not be run.