From: Jean-Baptiste Barth Date: Sat, 30 Oct 2010 16:47:33 +0000 (+0000) Subject: Add a label for user and group search fields. #6521 X-Git-Tag: 1.1.0~223 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=7c5497db65cabe87b70274bcd39597bd5f97b093;p=redmine.git Add a label for user and group search fields. #6521 Contributed by Felix Schäfer git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4312 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- diff --git a/app/views/groups/_users.html.erb b/app/views/groups/_users.html.erb index d3a789936..580851d5a 100644 --- a/app/views/groups/_users.html.erb +++ b/app/views/groups/_users.html.erb @@ -29,7 +29,7 @@ <% remote_form_for(:group, @group, :url => {:controller => 'groups', :action => 'add_users', :id => @group}, :method => :post) do |f| %>
<%=l(:label_user_new)%> -

<%= text_field_tag 'user_search', nil %>

+

<%= label_tag "user_search", l(:label_user_search) %><%= text_field_tag 'user_search', nil %>

<%= observe_field(:user_search, :frequency => 0.5, :update => :users, diff --git a/app/views/projects/settings/_members.rhtml b/app/views/projects/settings/_members.rhtml index 88345b43d..d1c167566 100644 --- a/app/views/projects/settings/_members.rhtml +++ b/app/views/projects/settings/_members.rhtml @@ -58,7 +58,7 @@ <% remote_form_for(:member, @member, :url => {:controller => 'members', :action => 'new', :id => @project}, :method => :post) do |f| %>
<%=l(:label_member_new)%> -

<%= text_field_tag 'principal_search', nil %>

+

<%= label_tag "principal_search", l(:label_principal_search) %><%= text_field_tag 'principal_search', nil %>

<%= observe_field(:principal_search, :frequency => 0.5, :update => :principals, diff --git a/config/locales/bg.yml b/config/locales/bg.yml index 2dc2eedae..816873b76 100644 --- a/config/locales/bg.yml +++ b/config/locales/bg.yml @@ -919,3 +919,5 @@ bg: button_edit_associated_wikipage: "Edit associated Wiki page: {{page_title}}" field_assigned_to_role: Assignee's role field_start_date: Start date + label_principal_search: "Search for user or group:" + label_user_search: "Search for user:" diff --git a/config/locales/bs.yml b/config/locales/bs.yml index 2f153973b..753e7896d 100644 --- a/config/locales/bs.yml +++ b/config/locales/bs.yml @@ -937,3 +937,5 @@ bs: field_assigned_to_role: Assignee's role notice_not_authorized_archived_project: The project you're trying to access has been archived. field_start_date: Start date + label_principal_search: "Search for user or group:" + label_user_search: "Search for user:" diff --git a/config/locales/ca.yml b/config/locales/ca.yml index 83a1e973e..029a6a9a2 100644 --- a/config/locales/ca.yml +++ b/config/locales/ca.yml @@ -926,3 +926,5 @@ ca: field_assigned_to_role: Assignee's role notice_not_authorized_archived_project: The project you're trying to access has been archived. field_start_date: Start date + label_principal_search: "Search for user or group:" + label_user_search: "Search for user:" diff --git a/config/locales/cs.yml b/config/locales/cs.yml index 15e133470..2c3737d77 100644 --- a/config/locales/cs.yml +++ b/config/locales/cs.yml @@ -923,3 +923,5 @@ cs: field_assigned_to_role: Assignee's role notice_not_authorized_archived_project: The project you're trying to access has been archived. field_start_date: Start date + label_principal_search: "Search for user or group:" + label_user_search: "Search for user:" diff --git a/config/locales/da.yml b/config/locales/da.yml index 4efc636b4..52d0bb99b 100644 --- a/config/locales/da.yml +++ b/config/locales/da.yml @@ -939,3 +939,5 @@ da: field_assigned_to_role: Assignee's role notice_not_authorized_archived_project: The project you're trying to access has been archived. field_start_date: Start date + label_principal_search: "Search for user or group:" + label_user_search: "Search for user:" diff --git a/config/locales/de.yml b/config/locales/de.yml index 0813714eb..3c2a8902b 100644 --- a/config/locales/de.yml +++ b/config/locales/de.yml @@ -790,6 +790,8 @@ de: label_profile: Profil label_subtask_plural: Unteraufgaben label_project_copy_notifications: Sende Mailbenachrichtigungen beim Kopieren des Projekts. + label_principal_search: "Nach Benutzer oder Gruppe suchen:" + label_user_search: "Nach Benutzer suchen:" button_login: Anmelden button_submit: OK diff --git a/config/locales/el.yml b/config/locales/el.yml index 189289435..b29ea6096 100644 --- a/config/locales/el.yml +++ b/config/locales/el.yml @@ -923,3 +923,5 @@ el: field_assigned_to_role: Assignee's role notice_not_authorized_archived_project: The project you're trying to access has been archived. field_start_date: Start date + label_principal_search: "Search for user or group:" + label_user_search: "Search for user:" diff --git a/config/locales/en-GB.yml b/config/locales/en-GB.yml index 6d05acb7d..2793724da 100644 --- a/config/locales/en-GB.yml +++ b/config/locales/en-GB.yml @@ -927,3 +927,5 @@ en-GB: label_user_mail_option_only_my_events: Only for things I watch or I'm involved in label_user_mail_option_only_assigned: Only for things I am assigned to notice_not_authorized_archived_project: The project you're trying to access has been archived. + label_principal_search: "Search for user or group:" + label_user_search: "Search for user:" diff --git a/config/locales/en.yml b/config/locales/en.yml index 143086a80..62b8308c7 100644 --- a/config/locales/en.yml +++ b/config/locales/en.yml @@ -781,6 +781,8 @@ en: label_profile: Profile label_subtask_plural: Subtasks label_project_copy_notifications: Send email notifications during the project copy + label_principal_search: "Search for user or group:" + label_user_search: "Search for user:" button_login: Login button_submit: Submit diff --git a/config/locales/es.yml b/config/locales/es.yml index 6ac66abbb..905d10c21 100644 --- a/config/locales/es.yml +++ b/config/locales/es.yml @@ -963,3 +963,5 @@ es: field_assigned_to_role: Assignee's role notice_not_authorized_archived_project: The project you're trying to access has been archived. field_start_date: Start date + label_principal_search: "Search for user or group:" + label_user_search: "Search for user:" diff --git a/config/locales/eu.yml b/config/locales/eu.yml index 5b4e5a655..7573019ed 100644 --- a/config/locales/eu.yml +++ b/config/locales/eu.yml @@ -927,3 +927,5 @@ eu: field_assigned_to_role: Assignee's role notice_not_authorized_archived_project: The project you're trying to access has been archived. field_start_date: Start date + label_principal_search: "Search for user or group:" + label_user_search: "Search for user:" diff --git a/config/locales/fi.yml b/config/locales/fi.yml index bc9df72e8..15aec5fa0 100644 --- a/config/locales/fi.yml +++ b/config/locales/fi.yml @@ -948,3 +948,5 @@ fi: field_assigned_to_role: Assignee's role notice_not_authorized_archived_project: The project you're trying to access has been archived. field_start_date: Start date + label_principal_search: "Search for user or group:" + label_user_search: "Search for user:" diff --git a/config/locales/fr.yml b/config/locales/fr.yml index 81168e46a..44e048722 100644 --- a/config/locales/fr.yml +++ b/config/locales/fr.yml @@ -772,6 +772,8 @@ fr: label_profile: Profil label_subtask_plural: Sous-tâches label_project_copy_notifications: Envoyer les notifications durant la copie du projet + label_principal_search: "Rechercher un utilisateur ou un groupe :" + label_user_search: "Rechercher un utilisateur :" button_login: Connexion button_submit: Soumettre diff --git a/config/locales/gl.yml b/config/locales/gl.yml index 4b390f56e..9224f1a70 100644 --- a/config/locales/gl.yml +++ b/config/locales/gl.yml @@ -939,3 +939,5 @@ gl: field_assigned_to_role: Assignee's role notice_not_authorized_archived_project: The project you're trying to access has been archived. field_start_date: Start date + label_principal_search: "Search for user or group:" + label_user_search: "Search for user:" diff --git a/config/locales/he.yml b/config/locales/he.yml index 343d320e8..9da9fcf70 100644 --- a/config/locales/he.yml +++ b/config/locales/he.yml @@ -928,3 +928,5 @@ he: field_member_of_group: Assignee's group field_assigned_to_role: Assignee's role field_start_date: Start date + label_principal_search: "Search for user or group:" + label_user_search: "Search for user:" diff --git a/config/locales/hr.yml b/config/locales/hr.yml index dc490e880..f1b618914 100644 --- a/config/locales/hr.yml +++ b/config/locales/hr.yml @@ -930,3 +930,5 @@ hr: field_assigned_to_role: Assignee's role notice_not_authorized_archived_project: The project you're trying to access has been archived. field_start_date: Start date + label_principal_search: "Search for user or group:" + label_user_search: "Search for user:" diff --git a/config/locales/hu.yml b/config/locales/hu.yml index bda84d380..3f949eb91 100644 --- a/config/locales/hu.yml +++ b/config/locales/hu.yml @@ -946,3 +946,5 @@ field_assigned_to_role: Assignee's role notice_not_authorized_archived_project: The project you're trying to access has been archived. field_start_date: Start date + label_principal_search: "Search for user or group:" + label_user_search: "Search for user:" diff --git a/config/locales/id.yml b/config/locales/id.yml index 8257943cf..af0a36f5f 100644 --- a/config/locales/id.yml +++ b/config/locales/id.yml @@ -931,3 +931,5 @@ id: field_assigned_to_role: Assignee's role notice_not_authorized_archived_project: The project you're trying to access has been archived. field_start_date: Start date + label_principal_search: "Search for user or group:" + label_user_search: "Search for user:" diff --git a/config/locales/it.yml b/config/locales/it.yml index 07a1f4501..74a763e47 100644 --- a/config/locales/it.yml +++ b/config/locales/it.yml @@ -927,3 +927,5 @@ it: field_assigned_to_role: Assignee's role notice_not_authorized_archived_project: The project you're trying to access has been archived. field_start_date: Start date + label_principal_search: "Search for user or group:" + label_user_search: "Search for user:" diff --git a/config/locales/ja.yml b/config/locales/ja.yml index d796f3083..a772ccf23 100644 --- a/config/locales/ja.yml +++ b/config/locales/ja.yml @@ -948,3 +948,5 @@ ja: enumeration_activities: 作業分類 (時間トラッキング) enumeration_system_activity: システム作業分類 field_start_date: Start date + label_principal_search: "Search for user or group:" + label_user_search: "Search for user:" diff --git a/config/locales/ko.yml b/config/locales/ko.yml index 8112a84f0..b9e2f8870 100644 --- a/config/locales/ko.yml +++ b/config/locales/ko.yml @@ -979,3 +979,5 @@ ko: field_assigned_to_role: Assignee's role notice_not_authorized_archived_project: The project you're trying to access has been archived. field_start_date: Start date + label_principal_search: "Search for user or group:" + label_user_search: "Search for user:" diff --git a/config/locales/lt.yml b/config/locales/lt.yml index 1815ec88c..8ee52e318 100644 --- a/config/locales/lt.yml +++ b/config/locales/lt.yml @@ -987,3 +987,5 @@ lt: field_assigned_to_role: Assignee's role notice_not_authorized_archived_project: The project you're trying to access has been archived. field_start_date: Start date + label_principal_search: "Search for user or group:" + label_user_search: "Search for user:" diff --git a/config/locales/lv.yml b/config/locales/lv.yml index 872ade6ca..e46b77db4 100644 --- a/config/locales/lv.yml +++ b/config/locales/lv.yml @@ -918,3 +918,5 @@ lv: field_assigned_to_role: Assignee's role notice_not_authorized_archived_project: The project you're trying to access has been archived. field_start_date: Start date + label_principal_search: "Search for user or group:" + label_user_search: "Search for user:" diff --git a/config/locales/mk.yml b/config/locales/mk.yml index 628adee22..2da814773 100644 --- a/config/locales/mk.yml +++ b/config/locales/mk.yml @@ -923,3 +923,5 @@ mk: field_assigned_to_role: Assignee's role notice_not_authorized_archived_project: The project you're trying to access has been archived. field_start_date: Start date + label_principal_search: "Search for user or group:" + label_user_search: "Search for user:" diff --git a/config/locales/mn.yml b/config/locales/mn.yml index 61a7a6849..907fac703 100644 --- a/config/locales/mn.yml +++ b/config/locales/mn.yml @@ -924,3 +924,5 @@ mn: field_assigned_to_role: Assignee's role notice_not_authorized_archived_project: The project you're trying to access has been archived. field_start_date: Start date + label_principal_search: "Search for user or group:" + label_user_search: "Search for user:" diff --git a/config/locales/nl.yml b/config/locales/nl.yml index 232d3aeed..df61a93bb 100644 --- a/config/locales/nl.yml +++ b/config/locales/nl.yml @@ -905,3 +905,5 @@ nl: field_assigned_to_role: Assignee's role notice_not_authorized_archived_project: The project you're trying to access has been archived. field_start_date: Start date + label_principal_search: "Search for user or group:" + label_user_search: "Search for user:" diff --git a/config/locales/no.yml b/config/locales/no.yml index 862407da6..12626d84e 100644 --- a/config/locales/no.yml +++ b/config/locales/no.yml @@ -914,3 +914,5 @@ field_assigned_to_role: Assignee's role notice_not_authorized_archived_project: The project you're trying to access has been archived. field_start_date: Start date + label_principal_search: "Search for user or group:" + label_user_search: "Search for user:" diff --git a/config/locales/pl.yml b/config/locales/pl.yml index 66050f775..12e8b0370 100644 --- a/config/locales/pl.yml +++ b/config/locales/pl.yml @@ -944,3 +944,5 @@ pl: field_assigned_to_role: Assignee's role notice_not_authorized_archived_project: The project you're trying to access has been archived. field_start_date: Start date + label_principal_search: "Search for user or group:" + label_user_search: "Search for user:" diff --git a/config/locales/pt-BR.yml b/config/locales/pt-BR.yml index 0f83bc4e1..3d4a9cfc8 100644 --- a/config/locales/pt-BR.yml +++ b/config/locales/pt-BR.yml @@ -947,3 +947,5 @@ pt-BR: field_assigned_to_role: Assignee's role notice_not_authorized_archived_project: The project you're trying to access has been archived. field_start_date: Start date + label_principal_search: "Search for user or group:" + label_user_search: "Search for user:" diff --git a/config/locales/pt.yml b/config/locales/pt.yml index 68b70268e..46f8678fb 100644 --- a/config/locales/pt.yml +++ b/config/locales/pt.yml @@ -931,3 +931,5 @@ pt: field_assigned_to_role: Assignee's role notice_not_authorized_archived_project: The project you're trying to access has been archived. field_start_date: Start date + label_principal_search: "Search for user or group:" + label_user_search: "Search for user:" diff --git a/config/locales/ro.yml b/config/locales/ro.yml index 8e3d95ece..44e1c79a3 100644 --- a/config/locales/ro.yml +++ b/config/locales/ro.yml @@ -916,3 +916,5 @@ ro: field_assigned_to_role: Assignee's role notice_not_authorized_archived_project: The project you're trying to access has been archived. field_start_date: Start date + label_principal_search: "Search for user or group:" + label_user_search: "Search for user:" diff --git a/config/locales/ru.yml b/config/locales/ru.yml index e474d10b2..dd1c7c572 100644 --- a/config/locales/ru.yml +++ b/config/locales/ru.yml @@ -1041,3 +1041,5 @@ ru: field_assigned_to_role: Роль назначенного notice_not_authorized_archived_project: Запрашиваемый проект был архивирован. + label_principal_search: "Search for user or group:" + label_user_search: "Search for user:" diff --git a/config/locales/sk.yml b/config/locales/sk.yml index b902beffb..dda8122d9 100644 --- a/config/locales/sk.yml +++ b/config/locales/sk.yml @@ -918,3 +918,5 @@ sk: field_assigned_to_role: Assignee's role notice_not_authorized_archived_project: The project you're trying to access has been archived. field_start_date: Start date + label_principal_search: "Search for user or group:" + label_user_search: "Search for user:" diff --git a/config/locales/sl.yml b/config/locales/sl.yml index 728df4d3e..8730151ed 100644 --- a/config/locales/sl.yml +++ b/config/locales/sl.yml @@ -919,3 +919,5 @@ sl: field_assigned_to_role: Assignee's role notice_not_authorized_archived_project: The project you're trying to access has been archived. field_start_date: Start date + label_principal_search: "Search for user or group:" + label_user_search: "Search for user:" diff --git a/config/locales/sr-YU.yml b/config/locales/sr-YU.yml index 57e459ffa..49dc8da4a 100644 --- a/config/locales/sr-YU.yml +++ b/config/locales/sr-YU.yml @@ -923,3 +923,5 @@ sr-YU: field_assigned_to_role: Assignee's role notice_not_authorized_archived_project: The project you're trying to access has been archived. field_start_date: Start date + label_principal_search: "Search for user or group:" + label_user_search: "Search for user:" diff --git a/config/locales/sr.yml b/config/locales/sr.yml index 8d123d8f2..6ac422aa4 100644 --- a/config/locales/sr.yml +++ b/config/locales/sr.yml @@ -924,3 +924,5 @@ sr: field_assigned_to_role: Assignee's role notice_not_authorized_archived_project: The project you're trying to access has been archived. field_start_date: Start date + label_principal_search: "Search for user or group:" + label_user_search: "Search for user:" diff --git a/config/locales/sv.yml b/config/locales/sv.yml index 17129419a..d5926d890 100644 --- a/config/locales/sv.yml +++ b/config/locales/sv.yml @@ -968,3 +968,5 @@ sv: enumeration_activities: Aktiviteter (tidsuppföljning) enumeration_system_activity: Systemaktivitet field_start_date: Start date + label_principal_search: "Search for user or group:" + label_user_search: "Search for user:" diff --git a/config/locales/th.yml b/config/locales/th.yml index 93ee1e118..eac97bfa5 100644 --- a/config/locales/th.yml +++ b/config/locales/th.yml @@ -920,3 +920,5 @@ th: field_assigned_to_role: Assignee's role notice_not_authorized_archived_project: The project you're trying to access has been archived. field_start_date: Start date + label_principal_search: "Search for user or group:" + label_user_search: "Search for user:" diff --git a/config/locales/tr.yml b/config/locales/tr.yml index 8b9dddf66..2c5a338c2 100644 --- a/config/locales/tr.yml +++ b/config/locales/tr.yml @@ -946,3 +946,5 @@ tr: field_assigned_to_role: Assignee's role notice_not_authorized_archived_project: The project you're trying to access has been archived. field_start_date: Start date + label_principal_search: "Search for user or group:" + label_user_search: "Search for user:" diff --git a/config/locales/uk.yml b/config/locales/uk.yml index 7d5860a35..4f5b6a5ef 100644 --- a/config/locales/uk.yml +++ b/config/locales/uk.yml @@ -919,3 +919,5 @@ uk: field_assigned_to_role: Assignee's role notice_not_authorized_archived_project: The project you're trying to access has been archived. field_start_date: Start date + label_principal_search: "Search for user or group:" + label_user_search: "Search for user:" diff --git a/config/locales/vi.yml b/config/locales/vi.yml index 147574527..ea6304cc5 100644 --- a/config/locales/vi.yml +++ b/config/locales/vi.yml @@ -978,3 +978,5 @@ vi: field_assigned_to_role: Assignee's role notice_not_authorized_archived_project: The project you're trying to access has been archived. field_start_date: Start date + label_principal_search: "Search for user or group:" + label_user_search: "Search for user:" diff --git a/config/locales/zh-TW.yml b/config/locales/zh-TW.yml index 33561a6b2..36b6476bc 100644 --- a/config/locales/zh-TW.yml +++ b/config/locales/zh-TW.yml @@ -1009,3 +1009,5 @@ enumeration_activities: 活動 (時間追蹤) enumeration_system_activity: 系統活動 + label_principal_search: "Search for user or group:" + label_user_search: "Search for user:" diff --git a/config/locales/zh.yml b/config/locales/zh.yml index 36b1173ce..df4a49657 100644 --- a/config/locales/zh.yml +++ b/config/locales/zh.yml @@ -941,3 +941,5 @@ zh: field_assigned_to_role: Assignee's role notice_not_authorized_archived_project: The project you're trying to access has been archived. field_start_date: Start date + label_principal_search: "Search for user or group:" + label_user_search: "Search for user:"