From 7c5497db65cabe87b70274bcd39597bd5f97b093 2010-10-30 16:47:33 From: Jean-Baptiste Barth Date: 2010-10-30 16:47:33 Subject: [PATCH] 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 d3a7899..580851d 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 88345b4..d1c1675 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 2dc2eed..816873b 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 2f15397..753e789 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 83a1e97..029a6a9 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 15e1334..2c3737d 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 4efc636..52d0bb9 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 0813714..3c2a890 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 1892894..b29ea60 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 6d05acb..2793724 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 143086a..62b8308 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 6ac66ab..905d10c 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 5b4e5a6..7573019 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 bc9df72..15aec5f 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 81168e4..44e0487 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 4b390f5..9224f1a 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 343d320..9da9fcf 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 dc490e8..f1b6189 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 bda84d3..3f949eb 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 8257943..af0a36f 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 07a1f45..74a763e 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 d796f30..a772ccf 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 8112a84..b9e2f88 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 1815ec8..8ee52e3 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 872ade6..e46b77d 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 628adee..2da8147 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 61a7a68..907fac7 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 232d3ae..df61a93 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 862407d..12626d8 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 66050f7..12e8b03 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 0f83bc4..3d4a9cf 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 68b7026..46f8678 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 8e3d95e..44e1c79 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 e474d10..dd1c7c5 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 b902bef..dda8122 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 728df4d..8730151 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 57e459f..49dc8da 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 8d123d8..6ac422a 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 1712941..d5926d8 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 93ee1e1..eac97bf 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 8b9dddf..2c5a338 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 7d5860a..4f5b6a5 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 1475745..ea6304c 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 33561a6..36b6476 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 36b1173..df4a496 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:"