]> source.dussan.org Git - redmine.git/commitdiff
[#9489] added invisible project scope label
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Sat, 29 Oct 2011 01:13:06 +0000 (01:13 +0000)
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Sat, 29 Oct 2011 01:13:06 +0000 (01:13 +0000)
Contributed by Romano Licker.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7676 e93f8b46-1217-0410-a6f0-8f06a7374b81

app/helpers/search_helper.rb
config/locales/de.yml
config/locales/en.yml

index d80d51260e3887076829ff7329a778397dcd4a72..f4bbc47c30949c23a3f0ab8fbd9e79d0c2359a2f 100644 (file)
@@ -47,6 +47,7 @@ module SearchHelper
     options << [l(:label_my_projects), 'my_projects'] unless User.current.memberships.empty?
     options << [l(:label_and_its_subprojects, @project.name), 'subprojects'] unless @project.nil? || @project.descendants.active.empty?
     options << [@project.name, ''] unless @project.nil?
+    label_tag("scope", l(:description_project_scope), :class => "hidden-for-sighted") +
     select_tag('scope', options_for_select(options, params[:scope].to_s)) if options.size > 1
   end
 
index 55b9ec339fc795513e6d7c7197ed05d24ae62bb3..291305ef9f84420fc0cfa4e947a725d510feebff 100644 (file)
@@ -999,3 +999,6 @@ de:
   setting_issue_group_assignment: Allow issue assignment to groups
   label_diff: diff
   text_git_repository_note: Repository is bare and local (e.g. /gitrepo, c:\gitrepo)
+
+  description_project_scope: Suchbereich
+
index f8a1c2555a1ef585ae9b10a30684b01819161aaf..b6c46fbb948d0da8ecbe3cd2b7298a6946acf727 100644 (file)
@@ -978,3 +978,4 @@ en:
   enumeration_doc_categories: Document categories
   enumeration_activities: Activities (time tracking)
   enumeration_system_activity: System Activity
+  description_project_scope: Search scope