Add I18n for tags

This commit is contained in:
Maximilian Grundke
2017-09-21 16:15:17 +02:00
parent 827f30b9e7
commit a6bc971659
3 changed files with 6 additions and 2 deletions

View File

@ -39,13 +39,13 @@
= f.label(t('activerecord.attributes.exercise.worktime')) = f.label(t('activerecord.attributes.exercise.worktime'))
= f.number_field "expected_worktime_minutes", value: @exercise.expected_worktime_seconds / 60, in: 1..1000, step: 1 = f.number_field "expected_worktime_minutes", value: @exercise.expected_worktime_seconds / 60, in: 1..1000, step: 1
h2 Tags h2 = t('exercises.form.tags')
ul.list-unstyled.panel-group ul.list-unstyled.panel-group
li.panel.panel-default li.panel.panel-default
.panel-heading role="tab" id="heading" .panel-heading role="tab" id="heading"
a.file-heading data-toggle="collapse" href="#tag-collapse" a.file-heading data-toggle="collapse" href="#tag-collapse"
div.clearfix role="button" div.clearfix role="button"
span Click to expand/collapse... span = t('exercises.form.click_to_collapse')
.panel-collapse.collapse id="tag-collapse" role="tabpanel" .panel-collapse.collapse id="tag-collapse" role="tabpanel"
.table-responsive .table-responsive
table.table#tags-table table.table#tags-table

View File

@ -260,6 +260,8 @@ de:
path: 'Pfad der Datei im Projektverzeichnis. Kann auch leer gelassen werden.' path: 'Pfad der Datei im Projektverzeichnis. Kann auch leer gelassen werden.'
form: form:
add_file: Datei hinzufügen add_file: Datei hinzufügen
tags: "Tags"
click_to_collapse: "Zum Aus-/Einklappen hier klicken..."
implement: implement:
alert: alert:
text: 'Ihr Browser unterstützt nicht alle Funktionalitäten, die %{application_name} benötigt. Bitte nutzen Sie einen modernen Browser, um %{application_name} zu besuchen.' text: 'Ihr Browser unterstützt nicht alle Funktionalitäten, die %{application_name} benötigt. Bitte nutzen Sie einen modernen Browser, um %{application_name} zu besuchen.'

View File

@ -260,6 +260,8 @@ en:
path: "The file's path in the project tree. Can be left blank." path: "The file's path in the project tree. Can be left blank."
form: form:
add_file: Add file add_file: Add file
tags: "Tags"
click_to_collapse: "Click to expand/collapse..."
implement: implement:
alert: alert:
text: 'Your browser does not support features required for using %{application_name}. Please access %{application_name} using a modern browser.' text: 'Your browser does not support features required for using %{application_name}. Please access %{application_name} using a modern browser.'