summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--app/helpers/search_helper.rb1
-rw-r--r--config/locales/de.yml3
-rw-r--r--config/locales/en.yml1
3 files changed, 5 insertions, 0 deletions
diff --git a/app/helpers/search_helper.rb b/app/helpers/search_helper.rb
index d80d51260..f4bbc47c3 100644
--- a/app/helpers/search_helper.rb
+++ b/app/helpers/search_helper.rb
@@ -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
diff --git a/config/locales/de.yml b/config/locales/de.yml
index 55b9ec339..291305ef9 100644
--- a/config/locales/de.yml
+++ b/config/locales/de.yml
@@ -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
+
diff --git a/config/locales/en.yml b/config/locales/en.yml
index f8a1c2555..b6c46fbb9 100644
--- a/config/locales/en.yml
+++ b/config/locales/en.yml
@@ -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