summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--app/views/layouts/_navbar.html.haml2
-rw-r--r--config/locales/navigation.de.yml4
-rw-r--r--config/locales/navigation.en.yml2
3 files changed, 6 insertions, 2 deletions
diff --git a/app/views/layouts/_navbar.html.haml b/app/views/layouts/_navbar.html.haml
index f4914b2..d83660b 100644
--- a/app/views/layouts/_navbar.html.haml
+++ b/app/views/layouts/_navbar.html.haml
@@ -61,5 +61,5 @@
- if GuiFunction.display?('search_field_in_top_navigation_bar', current_user)
= form_tag search_path, :method => :post, :class => 'navbar-search pull-right' do
- %input.text{:placeholder => 'Suchen ...', :name => 'q', :class => 'search-query span2'}
+ %input.text{:placeholder => t('navigation.search_placeholder'), :name => 'q', :class => 'search-query span2'}
diff --git a/config/locales/navigation.de.yml b/config/locales/navigation.de.yml
index 779248c..23c3aff 100644
--- a/config/locales/navigation.de.yml
+++ b/config/locales/navigation.de.yml
@@ -1,3 +1,5 @@
de:
navigation:
- admin_docu: 'Admin-Doku' \ No newline at end of file
+ admin_docu: 'Admin-Doku'
+ search_placeholder: 'Suchen ...'
+
diff --git a/config/locales/navigation.en.yml b/config/locales/navigation.en.yml
index 015b783..df399f9 100644
--- a/config/locales/navigation.en.yml
+++ b/config/locales/navigation.en.yml
@@ -1,3 +1,5 @@
en:
navigation:
admin_docu: 'Admin-Doc'
+ search_placeholder: 'Search ...'
+