Index: app/views/layouts/base.html.erb
===================================================================
--- app/views/layouts/base.html.erb (revision 11369)
+++ app/views/layouts/base.html.erb (working copy)
@@ -35,7 +35,7 @@
- <%= text_field_tag 'q', @question, :size => 20, :class => 'small', :accesskey => accesskey(:quick_search) %>
+ <%= text_field_tag 'q', @question, :size => 20, :class => 'small', :accesskey => accesskey(:quick_search), :placeholder => l("label_search_scope_#{controller.default_search_scope}", :default => '') %>
<% end %>
<%= render_project_jump_box %>
Index: config/locales/en.yml
===================================================================
--- config/locales/en.yml (revision 11369)
+++ config/locales/en.yml (working copy)
@@ -1079,3 +1079,9 @@
description_date_from: Enter start date
description_date_to: Enter end date
text_repository_identifier_info: 'Only lower case letters (a-z), numbers, dashes and underscores are allowed.
Once saved, the identifier cannot be changed.'
+ label_search_scope_issues: Search issues
+ label_search_scope_news: Search news
+ label_search_scope_documents: Search documents
+ label_search_scope_changesets: Search changesets
+ label_search_scope_wiki_pages: Search wiki pages
+ label_search_scope_messages: Search messages
Index: config/locales/ja.yml
===================================================================
--- config/locales/ja.yml (revision 11369)
+++ config/locales/ja.yml (working copy)
@@ -1113,3 +1113,9 @@
permission_delete_documents: 文書の削除
setting_jsonp_enabled: JSONPを有効にする
field_inherit_members: Inherit members
+ label_search_scope_issues: チケットを検索
+ label_search_scope_news: ニュースを検索
+ label_search_scope_documents: 文書を検索
+ label_search_scope_changesets: 更新履歴を検索
+ label_search_scope_wiki_pages: Wikiページを検索
+ label_search_scope_messages: メッセージを検索