]> source.dussan.org Git - redmine.git/commitdiff
[#9489] added invisible search label
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Sat, 29 Oct 2011 01:13:38 +0000 (01:13 +0000)
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Sat, 29 Oct 2011 01:13:38 +0000 (01:13 +0000)
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
config/locales/de.yml
config/locales/en.yml

index d21aadc68a3becb21d50a06b23fb1cfc6a74f694..7d24710bd97d34ac978c92855c32c07f17adcc91 100644 (file)
@@ -2,6 +2,7 @@
 
 <div class="box">
 <% form_tag({}, :method => :get) do %>
+<%= label_tag "search-input", l(:description_search), :class => "hidden-for-sighted" %>
 <p><%= text_field_tag 'q', @question, :size => 60, :id => 'search-input' %>
 <%= javascript_tag "Field.focus('search-input')" %>
 <%= project_select_tag %>
index 291305ef9f84420fc0cfa4e947a725d510feebff..a24278ac22a6adf8a0aba2b65346e9b2593f7fad 100644 (file)
@@ -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
 
index b6c46fbb948d0da8ecbe3cd2b7298a6946acf727..02c318f75a28954da662da698fceb213acd77ffa 100644 (file)
@@ -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