From f8fa9b767d918876ff3854ed72969085471c97b4 Mon Sep 17 00:00:00 2001 From: Toshi MARUYAMA Date: Sat, 29 Oct 2011 01:13:38 +0000 Subject: [PATCH] [#9489] added invisible search label Contributed by Romano Licker. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7677 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- app/views/search/index.html.erb | 1 + config/locales/de.yml | 1 + config/locales/en.yml | 1 + 3 files changed, 3 insertions(+) diff --git a/app/views/search/index.html.erb b/app/views/search/index.html.erb index d21aadc68..7d24710bd 100644 --- a/app/views/search/index.html.erb +++ b/app/views/search/index.html.erb @@ -2,6 +2,7 @@
<% form_tag({}, :method => :get) do %> +<%= label_tag "search-input", l(:description_search), :class => "hidden-for-sighted" %>

<%= text_field_tag 'q', @question, :size => 60, :id => 'search-input' %> <%= javascript_tag "Field.focus('search-input')" %> <%= project_select_tag %> diff --git a/config/locales/de.yml b/config/locales/de.yml index 291305ef9..a24278ac2 100644 --- a/config/locales/de.yml +++ b/config/locales/de.yml @@ -1000,5 +1000,6 @@ de: label_diff: diff text_git_repository_note: Repository is bare and local (e.g. /gitrepo, c:\gitrepo) + description_search: Suchfeld description_project_scope: Suchbereich diff --git a/config/locales/en.yml b/config/locales/en.yml index b6c46fbb9..02c318f75 100644 --- a/config/locales/en.yml +++ b/config/locales/en.yml @@ -978,4 +978,5 @@ en: enumeration_doc_categories: Document categories enumeration_activities: Activities (time tracking) enumeration_system_activity: System Activity + description_search: Searchfield description_project_scope: Search scope -- 2.39.5