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
This commit is contained in:
Jean-Baptiste Barth 2010-10-30 16:47:33 +00:00
parent abb83f4c4f
commit 7c5497db65
45 changed files with 88 additions and 2 deletions

View File

@ -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,

View File

@ -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,

View File

@ -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:"

View File

@ -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:"

View File

@ -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:"

View File

@ -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:"

View File

@ -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:"

View File

@ -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

View File

@ -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:"

View File

@ -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:"

View File

@ -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

View File

@ -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:"

View File

@ -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:"

View File

@ -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:"

View File

@ -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

View File

@ -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:"

View File

@ -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:"

View File

@ -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:"

View File

@ -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:"

View File

@ -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:"

View File

@ -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:"

View File

@ -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:"

View File

@ -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:"

View File

@ -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:"

View File

@ -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:"

View File

@ -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:"

View File

@ -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:"

View File

@ -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:"

View File

@ -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:"

View File

@ -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:"

View File

@ -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:"

View File

@ -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:"

View File

@ -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:"

View File

@ -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:"

View File

@ -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:"

View File

@ -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:"

View File

@ -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:"

View File

@ -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:"

View File

@ -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:"

View File

@ -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:"

View File

@ -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:"

View File

@ -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:"

View File

@ -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:"

View File

@ -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:"

View File

@ -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:"