Project

General

Profile

Actions

Defect #4982

closed

Hard coded English string at the selection of issue watchers

Added by Yuki Kita about 14 years ago. Updated about 14 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
Translations
Target version:
Start date:
2010-03-04
Due date:
% Done:

0%

Estimated time:
Resolution:
Fixed
Affected version:

Description

I found a bug that hard coded English string "Please select" is displayed at the selection of issue watchers on a issue form, and tried to fix it like this.

Now

(redmine/app/views/watchers/_watchers.rhtml :20)

<p><%= f.select :user_id, (watched.addable_watcher_users.collect {|m| [m.name, m.id]}), :prompt => true %>

->Revised

(redmine/app/views/watchers/_watchers.rhtml :20)

<p><%= f.select :user_id, (watched.addable_watcher_users.collect {|m| [m.name, m.id]}) %>

or maybe

<p><%= f.select :user_id, (watched.addable_watcher_users.collect {|m| [m.name, m.id]}), :prompt=>l(:label_please_select) %>

Regards

Actions

Also available in: Atom PDF