diff --git a/app/views/proxy_exercises/index.html.slim b/app/views/proxy_exercises/index.html.slim index 2a8067c1..80e8084c 100644 --- a/app/views/proxy_exercises/index.html.slim +++ b/app/views/proxy_exercises/index.html.slim @@ -10,7 +10,7 @@ h1 = ProxyExercise.model_name.human(count: 2) thead tr th = sort_link(@search, :title, t('activerecord.attributes.proxy_exercise.title')) - th = "Token" + th = t('activerecord.attributes.exercise.token') th = t('activerecord.attributes.proxy_exercise.files_count') th colspan=6 = t('shared.actions') tbody diff --git a/app/views/proxy_exercises/show.html.slim b/app/views/proxy_exercises/show.html.slim index c1888d79..2649cbb5 100644 --- a/app/views/proxy_exercises/show.html.slim +++ b/app/views/proxy_exercises/show.html.slim @@ -10,6 +10,7 @@ h1 = row(label: 'exercise.title', value: @proxy_exercise.title) = row(label: 'proxy_exercise.files_count', value: @exercises.count) = row(label: 'exercise.description', value: @proxy_exercise.description) += row(label: 'exercise.token', value: @proxy_exercise.token) h3 Exercises .table-responsive table.table diff --git a/config/locales/de.yml b/config/locales/de.yml index 0f066fde..2ab23322 100644 --- a/config/locales/de.yml +++ b/config/locales/de.yml @@ -42,6 +42,7 @@ de: allow_file_creation: "Dateierstellung erlauben" difficulty: Schwierigkeitsgrad worktime: "vermutete Arbeitszeit in Minuten" + token: "Aufgaben-Token" proxy_exercise: title: Title files_count: Anzahl der Aufgaben diff --git a/config/locales/en.yml b/config/locales/en.yml index f3aa6735..e2cba090 100644 --- a/config/locales/en.yml +++ b/config/locales/en.yml @@ -42,6 +42,7 @@ en: allow_file_creation: "Allow file creation" difficulty: Difficulty worktime: "Expected worktime in minutes" + token: "Exercise Token" proxy_exercise: title: Title files_count: Exercises Count