diff options
author | Peter Kozak <spag@golwen.net> | 2013-05-22 10:04:45 +0200 |
---|---|---|
committer | Peter Kozak <spag@golwen.net> | 2013-05-22 10:04:45 +0200 |
commit | 6d53887d83c00b187c297ad5dd74ef8fd19ff87c (patch) | |
tree | 79d1cbb39aaffe3fdb06be0e73b27ca5a0fea768 | |
parent | fa23f9f9b364c120163b76ef84bec15346148e94 (diff) |
i18n in navbar
-rw-r--r-- | app/views/layouts/_navbar.html.haml | 2 | ||||
-rw-r--r-- | config/locales/navigation.de.yml | 4 | ||||
-rw-r--r-- | config/locales/navigation.en.yml | 2 |
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 ...' + |