diff --git a/app/views/problems/index.html.erb b/app/views/problems/index.html.erb
index a46d613..b35a1b1 100644
--- a/app/views/problems/index.html.erb
+++ b/app/views/problems/index.html.erb
@@ -1,11 +1,11 @@
-
Listing Problems
+<%= Problem.model_name.human(count: 2) %>
<%= render 'problem_pagination' %>
- | ID |
- Title |
+ <%= Problem.human_attribute_name(:id) %> |
+ <%= Problem.human_attribute_name(:title) %> |
@@ -17,9 +17,9 @@
<% if problem.is_translated? %>
<%= link_to problem.title, problem %>
<% else %>
- Dieses Problem wurde noch nicht übersetzt.
+ <%= t '.not_yet_translated' %>
<%= link_to new_problem_translation_path(problem), class: 'btn btn-default btn-xs' do %>
- <%= icon :pencil %> Übersetzung vorschlagen
+ <%= icon :pencil %> <%= t '.suggest_translation' %>
<% end %>
<% end %>
diff --git a/config/locales/views/problems/de.yml b/config/locales/views/problems/de.yml
new file mode 100644
index 0000000..5e975a0
--- /dev/null
+++ b/config/locales/views/problems/de.yml
@@ -0,0 +1,7 @@
+# ruby encoding: utf-8
+
+de:
+ problems:
+ index:
+ not_yet_translated: 'Dieses Problem wurde noch nicht übersetzt.'
+ suggest_translation: 'Übersetzung vorschlagen'
\ No newline at end of file