Commit 7c5497db authored by Jean-Baptiste Barth's avatar Jean-Baptiste Barth

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
parent abb83f4c
...@@ -29,7 +29,7 @@ ...@@ -29,7 +29,7 @@
<% remote_form_for(:group, @group, :url => {:controller => 'groups', :action => 'add_users', :id => @group}, :method => :post) do |f| %> <% remote_form_for(:group, @group, :url => {:controller => 'groups', :action => 'add_users', :id => @group}, :method => :post) do |f| %>
<fieldset><legend><%=l(:label_user_new)%></legend> <fieldset><legend><%=l(:label_user_new)%></legend>
<p><%= text_field_tag 'user_search', nil %></p> <p><%= label_tag "user_search", l(:label_user_search) %><%= text_field_tag 'user_search', nil %></p>
<%= observe_field(:user_search, <%= observe_field(:user_search,
:frequency => 0.5, :frequency => 0.5,
:update => :users, :update => :users,
......
...@@ -58,7 +58,7 @@ ...@@ -58,7 +58,7 @@
<% remote_form_for(:member, @member, :url => {:controller => 'members', :action => 'new', :id => @project}, :method => :post) do |f| %> <% remote_form_for(:member, @member, :url => {:controller => 'members', :action => 'new', :id => @project}, :method => :post) do |f| %>
<fieldset><legend><%=l(:label_member_new)%></legend> <fieldset><legend><%=l(:label_member_new)%></legend>
<p><%= text_field_tag 'principal_search', nil %></p> <p><%= label_tag "principal_search", l(:label_principal_search) %><%= text_field_tag 'principal_search', nil %></p>
<%= observe_field(:principal_search, <%= observe_field(:principal_search,
:frequency => 0.5, :frequency => 0.5,
:update => :principals, :update => :principals,
......
...@@ -919,3 +919,5 @@ bg: ...@@ -919,3 +919,5 @@ bg:
button_edit_associated_wikipage: "Edit associated Wiki page: {{page_title}}" button_edit_associated_wikipage: "Edit associated Wiki page: {{page_title}}"
field_assigned_to_role: Assignee's role field_assigned_to_role: Assignee's role
field_start_date: Start date field_start_date: Start date
label_principal_search: "Search for user or group:"
label_user_search: "Search for user:"
...@@ -937,3 +937,5 @@ bs: ...@@ -937,3 +937,5 @@ bs:
field_assigned_to_role: Assignee's role field_assigned_to_role: Assignee's role
notice_not_authorized_archived_project: The project you're trying to access has been archived. notice_not_authorized_archived_project: The project you're trying to access has been archived.
field_start_date: Start date field_start_date: Start date
label_principal_search: "Search for user or group:"
label_user_search: "Search for user:"
...@@ -926,3 +926,5 @@ ca: ...@@ -926,3 +926,5 @@ ca:
field_assigned_to_role: Assignee's role field_assigned_to_role: Assignee's role
notice_not_authorized_archived_project: The project you're trying to access has been archived. notice_not_authorized_archived_project: The project you're trying to access has been archived.
field_start_date: Start date field_start_date: Start date
label_principal_search: "Search for user or group:"
label_user_search: "Search for user:"
...@@ -923,3 +923,5 @@ cs: ...@@ -923,3 +923,5 @@ cs:
field_assigned_to_role: Assignee's role field_assigned_to_role: Assignee's role
notice_not_authorized_archived_project: The project you're trying to access has been archived. notice_not_authorized_archived_project: The project you're trying to access has been archived.
field_start_date: Start date field_start_date: Start date
label_principal_search: "Search for user or group:"
label_user_search: "Search for user:"
...@@ -939,3 +939,5 @@ da: ...@@ -939,3 +939,5 @@ da:
field_assigned_to_role: Assignee's role field_assigned_to_role: Assignee's role
notice_not_authorized_archived_project: The project you're trying to access has been archived. notice_not_authorized_archived_project: The project you're trying to access has been archived.
field_start_date: Start date field_start_date: Start date
label_principal_search: "Search for user or group:"
label_user_search: "Search for user:"
...@@ -790,6 +790,8 @@ de: ...@@ -790,6 +790,8 @@ de:
label_profile: Profil label_profile: Profil
label_subtask_plural: Unteraufgaben label_subtask_plural: Unteraufgaben
label_project_copy_notifications: Sende Mailbenachrichtigungen beim Kopieren des Projekts. 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_login: Anmelden
button_submit: OK button_submit: OK
......
...@@ -923,3 +923,5 @@ el: ...@@ -923,3 +923,5 @@ el:
field_assigned_to_role: Assignee's role field_assigned_to_role: Assignee's role
notice_not_authorized_archived_project: The project you're trying to access has been archived. notice_not_authorized_archived_project: The project you're trying to access has been archived.
field_start_date: Start date field_start_date: Start date
label_principal_search: "Search for user or group:"
label_user_search: "Search for user:"
...@@ -927,3 +927,5 @@ en-GB: ...@@ -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_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 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. 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:"
...@@ -781,6 +781,8 @@ en: ...@@ -781,6 +781,8 @@ en:
label_profile: Profile label_profile: Profile
label_subtask_plural: Subtasks label_subtask_plural: Subtasks
label_project_copy_notifications: Send email notifications during the project copy 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_login: Login
button_submit: Submit button_submit: Submit
......
...@@ -963,3 +963,5 @@ es: ...@@ -963,3 +963,5 @@ es:
field_assigned_to_role: Assignee's role field_assigned_to_role: Assignee's role
notice_not_authorized_archived_project: The project you're trying to access has been archived. notice_not_authorized_archived_project: The project you're trying to access has been archived.
field_start_date: Start date field_start_date: Start date
label_principal_search: "Search for user or group:"
label_user_search: "Search for user:"
...@@ -927,3 +927,5 @@ eu: ...@@ -927,3 +927,5 @@ eu:
field_assigned_to_role: Assignee's role field_assigned_to_role: Assignee's role
notice_not_authorized_archived_project: The project you're trying to access has been archived. notice_not_authorized_archived_project: The project you're trying to access has been archived.
field_start_date: Start date field_start_date: Start date
label_principal_search: "Search for user or group:"
label_user_search: "Search for user:"
...@@ -948,3 +948,5 @@ fi: ...@@ -948,3 +948,5 @@ fi:
field_assigned_to_role: Assignee's role field_assigned_to_role: Assignee's role
notice_not_authorized_archived_project: The project you're trying to access has been archived. notice_not_authorized_archived_project: The project you're trying to access has been archived.
field_start_date: Start date field_start_date: Start date
label_principal_search: "Search for user or group:"
label_user_search: "Search for user:"
...@@ -772,6 +772,8 @@ fr: ...@@ -772,6 +772,8 @@ fr:
label_profile: Profil label_profile: Profil
label_subtask_plural: Sous-tâches label_subtask_plural: Sous-tâches
label_project_copy_notifications: Envoyer les notifications durant la copie du projet 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_login: Connexion
button_submit: Soumettre button_submit: Soumettre
......
...@@ -939,3 +939,5 @@ gl: ...@@ -939,3 +939,5 @@ gl:
field_assigned_to_role: Assignee's role field_assigned_to_role: Assignee's role
notice_not_authorized_archived_project: The project you're trying to access has been archived. notice_not_authorized_archived_project: The project you're trying to access has been archived.
field_start_date: Start date field_start_date: Start date
label_principal_search: "Search for user or group:"
label_user_search: "Search for user:"
...@@ -928,3 +928,5 @@ he: ...@@ -928,3 +928,5 @@ he:
field_member_of_group: Assignee's group field_member_of_group: Assignee's group
field_assigned_to_role: Assignee's role field_assigned_to_role: Assignee's role
field_start_date: Start date field_start_date: Start date
label_principal_search: "Search for user or group:"
label_user_search: "Search for user:"
...@@ -930,3 +930,5 @@ hr: ...@@ -930,3 +930,5 @@ hr:
field_assigned_to_role: Assignee's role field_assigned_to_role: Assignee's role
notice_not_authorized_archived_project: The project you're trying to access has been archived. notice_not_authorized_archived_project: The project you're trying to access has been archived.
field_start_date: Start date field_start_date: Start date
label_principal_search: "Search for user or group:"
label_user_search: "Search for user:"
...@@ -946,3 +946,5 @@ ...@@ -946,3 +946,5 @@
field_assigned_to_role: Assignee's role field_assigned_to_role: Assignee's role
notice_not_authorized_archived_project: The project you're trying to access has been archived. notice_not_authorized_archived_project: The project you're trying to access has been archived.
field_start_date: Start date field_start_date: Start date
label_principal_search: "Search for user or group:"
label_user_search: "Search for user:"
...@@ -931,3 +931,5 @@ id: ...@@ -931,3 +931,5 @@ id:
field_assigned_to_role: Assignee's role field_assigned_to_role: Assignee's role
notice_not_authorized_archived_project: The project you're trying to access has been archived. notice_not_authorized_archived_project: The project you're trying to access has been archived.
field_start_date: Start date field_start_date: Start date
label_principal_search: "Search for user or group:"
label_user_search: "Search for user:"
...@@ -927,3 +927,5 @@ it: ...@@ -927,3 +927,5 @@ it:
field_assigned_to_role: Assignee's role field_assigned_to_role: Assignee's role
notice_not_authorized_archived_project: The project you're trying to access has been archived. notice_not_authorized_archived_project: The project you're trying to access has been archived.
field_start_date: Start date field_start_date: Start date
label_principal_search: "Search for user or group:"
label_user_search: "Search for user:"
...@@ -948,3 +948,5 @@ ja: ...@@ -948,3 +948,5 @@ ja:
enumeration_activities: 作業分類 (時間トラッキング) enumeration_activities: 作業分類 (時間トラッキング)
enumeration_system_activity: システム作業分類 enumeration_system_activity: システム作業分類
field_start_date: Start date field_start_date: Start date
label_principal_search: "Search for user or group:"
label_user_search: "Search for user:"
...@@ -979,3 +979,5 @@ ko: ...@@ -979,3 +979,5 @@ ko:
field_assigned_to_role: Assignee's role field_assigned_to_role: Assignee's role
notice_not_authorized_archived_project: The project you're trying to access has been archived. notice_not_authorized_archived_project: The project you're trying to access has been archived.
field_start_date: Start date field_start_date: Start date
label_principal_search: "Search for user or group:"
label_user_search: "Search for user:"
...@@ -987,3 +987,5 @@ lt: ...@@ -987,3 +987,5 @@ lt:
field_assigned_to_role: Assignee's role field_assigned_to_role: Assignee's role
notice_not_authorized_archived_project: The project you're trying to access has been archived. notice_not_authorized_archived_project: The project you're trying to access has been archived.
field_start_date: Start date field_start_date: Start date
label_principal_search: "Search for user or group:"
label_user_search: "Search for user:"
...@@ -918,3 +918,5 @@ lv: ...@@ -918,3 +918,5 @@ lv:
field_assigned_to_role: Assignee's role field_assigned_to_role: Assignee's role
notice_not_authorized_archived_project: The project you're trying to access has been archived. notice_not_authorized_archived_project: The project you're trying to access has been archived.
field_start_date: Start date field_start_date: Start date
label_principal_search: "Search for user or group:"
label_user_search: "Search for user:"
...@@ -923,3 +923,5 @@ mk: ...@@ -923,3 +923,5 @@ mk:
field_assigned_to_role: Assignee's role field_assigned_to_role: Assignee's role
notice_not_authorized_archived_project: The project you're trying to access has been archived. notice_not_authorized_archived_project: The project you're trying to access has been archived.
field_start_date: Start date field_start_date: Start date
label_principal_search: "Search for user or group:"
label_user_search: "Search for user:"
...@@ -924,3 +924,5 @@ mn: ...@@ -924,3 +924,5 @@ mn:
field_assigned_to_role: Assignee's role field_assigned_to_role: Assignee's role
notice_not_authorized_archived_project: The project you're trying to access has been archived. notice_not_authorized_archived_project: The project you're trying to access has been archived.
field_start_date: Start date field_start_date: Start date
label_principal_search: "Search for user or group:"
label_user_search: "Search for user:"
...@@ -905,3 +905,5 @@ nl: ...@@ -905,3 +905,5 @@ nl:
field_assigned_to_role: Assignee's role field_assigned_to_role: Assignee's role
notice_not_authorized_archived_project: The project you're trying to access has been archived. notice_not_authorized_archived_project: The project you're trying to access has been archived.
field_start_date: Start date field_start_date: Start date
label_principal_search: "Search for user or group:"
label_user_search: "Search for user:"
...@@ -914,3 +914,5 @@ ...@@ -914,3 +914,5 @@
field_assigned_to_role: Assignee's role field_assigned_to_role: Assignee's role
notice_not_authorized_archived_project: The project you're trying to access has been archived. notice_not_authorized_archived_project: The project you're trying to access has been archived.
field_start_date: Start date field_start_date: Start date
label_principal_search: "Search for user or group:"
label_user_search: "Search for user:"
...@@ -944,3 +944,5 @@ pl: ...@@ -944,3 +944,5 @@ pl:
field_assigned_to_role: Assignee's role field_assigned_to_role: Assignee's role
notice_not_authorized_archived_project: The project you're trying to access has been archived. notice_not_authorized_archived_project: The project you're trying to access has been archived.
field_start_date: Start date field_start_date: Start date
label_principal_search: "Search for user or group:"
label_user_search: "Search for user:"
...@@ -947,3 +947,5 @@ pt-BR: ...@@ -947,3 +947,5 @@ pt-BR:
field_assigned_to_role: Assignee's role field_assigned_to_role: Assignee's role
notice_not_authorized_archived_project: The project you're trying to access has been archived. notice_not_authorized_archived_project: The project you're trying to access has been archived.
field_start_date: Start date field_start_date: Start date
label_principal_search: "Search for user or group:"
label_user_search: "Search for user:"
...@@ -931,3 +931,5 @@ pt: ...@@ -931,3 +931,5 @@ pt:
field_assigned_to_role: Assignee's role field_assigned_to_role: Assignee's role
notice_not_authorized_archived_project: The project you're trying to access has been archived. notice_not_authorized_archived_project: The project you're trying to access has been archived.
field_start_date: Start date field_start_date: Start date
label_principal_search: "Search for user or group:"
label_user_search: "Search for user:"
...@@ -916,3 +916,5 @@ ro: ...@@ -916,3 +916,5 @@ ro:
field_assigned_to_role: Assignee's role field_assigned_to_role: Assignee's role
notice_not_authorized_archived_project: The project you're trying to access has been archived. notice_not_authorized_archived_project: The project you're trying to access has been archived.
field_start_date: Start date field_start_date: Start date
label_principal_search: "Search for user or group:"
label_user_search: "Search for user:"
...@@ -1041,3 +1041,5 @@ ru: ...@@ -1041,3 +1041,5 @@ ru:
field_assigned_to_role: Роль назначенного field_assigned_to_role: Роль назначенного
notice_not_authorized_archived_project: Запрашиваемый проект был архивирован. notice_not_authorized_archived_project: Запрашиваемый проект был архивирован.
label_principal_search: "Search for user or group:"
label_user_search: "Search for user:"
...@@ -918,3 +918,5 @@ sk: ...@@ -918,3 +918,5 @@ sk:
field_assigned_to_role: Assignee's role field_assigned_to_role: Assignee's role
notice_not_authorized_archived_project: The project you're trying to access has been archived. notice_not_authorized_archived_project: The project you're trying to access has been archived.
field_start_date: Start date field_start_date: Start date
label_principal_search: "Search for user or group:"
label_user_search: "Search for user:"
...@@ -919,3 +919,5 @@ sl: ...@@ -919,3 +919,5 @@ sl:
field_assigned_to_role: Assignee's role field_assigned_to_role: Assignee's role
notice_not_authorized_archived_project: The project you're trying to access has been archived. notice_not_authorized_archived_project: The project you're trying to access has been archived.
field_start_date: Start date field_start_date: Start date
label_principal_search: "Search for user or group:"
label_user_search: "Search for user:"
...@@ -923,3 +923,5 @@ sr-YU: ...@@ -923,3 +923,5 @@ sr-YU:
field_assigned_to_role: Assignee's role field_assigned_to_role: Assignee's role
notice_not_authorized_archived_project: The project you're trying to access has been archived. notice_not_authorized_archived_project: The project you're trying to access has been archived.
field_start_date: Start date field_start_date: Start date
label_principal_search: "Search for user or group:"
label_user_search: "Search for user:"
...@@ -924,3 +924,5 @@ sr: ...@@ -924,3 +924,5 @@ sr:
field_assigned_to_role: Assignee's role field_assigned_to_role: Assignee's role
notice_not_authorized_archived_project: The project you're trying to access has been archived. notice_not_authorized_archived_project: The project you're trying to access has been archived.
field_start_date: Start date field_start_date: Start date
label_principal_search: "Search for user or group:"
label_user_search: "Search for user:"
...@@ -968,3 +968,5 @@ sv: ...@@ -968,3 +968,5 @@ sv:
enumeration_activities: Aktiviteter (tidsuppföljning) enumeration_activities: Aktiviteter (tidsuppföljning)
enumeration_system_activity: Systemaktivitet enumeration_system_activity: Systemaktivitet
field_start_date: Start date field_start_date: Start date
label_principal_search: "Search for user or group:"
label_user_search: "Search for user:"
...@@ -920,3 +920,5 @@ th: ...@@ -920,3 +920,5 @@ th:
field_assigned_to_role: Assignee's role field_assigned_to_role: Assignee's role
notice_not_authorized_archived_project: The project you're trying to access has been archived. notice_not_authorized_archived_project: The project you're trying to access has been archived.
field_start_date: Start date field_start_date: Start date
label_principal_search: "Search for user or group:"
label_user_search: "Search for user:"
...@@ -946,3 +946,5 @@ tr: ...@@ -946,3 +946,5 @@ tr:
field_assigned_to_role: Assignee's role field_assigned_to_role: Assignee's role
notice_not_authorized_archived_project: The project you're trying to access has been archived. notice_not_authorized_archived_project: The project you're trying to access has been archived.
field_start_date: Start date field_start_date: Start date
label_principal_search: "Search for user or group:"
label_user_search: "Search for user:"
...@@ -919,3 +919,5 @@ uk: ...@@ -919,3 +919,5 @@ uk:
field_assigned_to_role: Assignee's role field_assigned_to_role: Assignee's role
notice_not_authorized_archived_project: The project you're trying to access has been archived. notice_not_authorized_archived_project: The project you're trying to access has been archived.
field_start_date: Start date field_start_date: Start date
label_principal_search: "Search for user or group:"
label_user_search: "Search for user:"
...@@ -978,3 +978,5 @@ vi: ...@@ -978,3 +978,5 @@ vi:
field_assigned_to_role: Assignee's role field_assigned_to_role: Assignee's role
notice_not_authorized_archived_project: The project you're trying to access has been archived. notice_not_authorized_archived_project: The project you're trying to access has been archived.
field_start_date: Start date field_start_date: Start date
label_principal_search: "Search for user or group:"
label_user_search: "Search for user:"
...@@ -1009,3 +1009,5 @@ ...@@ -1009,3 +1009,5 @@
enumeration_activities: 活動 (時間追蹤) enumeration_activities: 活動 (時間追蹤)
enumeration_system_activity: 系統活動 enumeration_system_activity: 系統活動
label_principal_search: "Search for user or group:"
label_user_search: "Search for user:"
...@@ -941,3 +941,5 @@ zh: ...@@ -941,3 +941,5 @@ zh:
field_assigned_to_role: Assignee's role field_assigned_to_role: Assignee's role
notice_not_authorized_archived_project: The project you're trying to access has been archived. notice_not_authorized_archived_project: The project you're trying to access has been archived.
field_start_date: Start date field_start_date: Start date
label_principal_search: "Search for user or group:"
label_user_search: "Search for user:"
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment