Project

General

Profile

Feature #13153 » show_search_scope.diff

Go MAEDA, 2013-02-13 10:09

View differences:

app/views/layouts/base.html.erb (working copy)
35 35
        <label for='q'>
36 36
          <%= link_to l(:label_search), {:controller => 'search', :action => 'index', :id => @project}, :accesskey => accesskey(:search) %>:
37 37
        </label>
38
        <%= text_field_tag 'q', @question, :size => 20, :class => 'small', :accesskey => accesskey(:quick_search) %>
38
        <%= text_field_tag 'q', @question, :size => 20, :class => 'small', :accesskey => accesskey(:quick_search), :placeholder => l("label_search_scope_#{controller.default_search_scope}", :default => '') %>
39 39
        <% end %>
40 40
        <%= render_project_jump_box %>
41 41
    </div>
config/locales/en.yml (working copy)
1079 1079
  description_date_from: Enter start date
1080 1080
  description_date_to: Enter end date
1081 1081
  text_repository_identifier_info: 'Only lower case letters (a-z), numbers, dashes and underscores are allowed.<br />Once saved, the identifier cannot be changed.'
1082
  label_search_scope_issues: Search issues
1083
  label_search_scope_news: Search news
1084
  label_search_scope_documents: Search documents
1085
  label_search_scope_changesets: Search changesets
1086
  label_search_scope_wiki_pages: Search wiki pages
1087
  label_search_scope_messages: Search messages
config/locales/ja.yml (working copy)
1113 1113
  permission_delete_documents: 文書の削除
1114 1114
  setting_jsonp_enabled: JSONPを有効にする
1115 1115
  field_inherit_members: Inherit members
1116
  label_search_scope_issues: チケットを検索
1117
  label_search_scope_news: ニュースを検索
1118
  label_search_scope_documents: 文書を検索
1119
  label_search_scope_changesets: 更新履歴を検索
1120
  label_search_scope_wiki_pages: Wikiページを検索
1121
  label_search_scope_messages: メッセージを検索
(2-2/2)