Actions
Defect #21069
closedHard-coded label for hour
Start date:
Due date:
% Done:
0%
Estimated time:
Resolution:
Fixed
Affected version:
Description
The commit r14273, which has been merged into the 3.1 branch, introduced an error as a "h" label is hard-coded in the function l_hours_short:
"%.2f h" % hours.to_f
This label should be translated through i18n. Asian users will surely report this anomaly.
Updated by Jean-Philippe Lang about 9 years ago
- Subject changed from hard-coded label for hour to Hard-coded label for hour
- Status changed from New to Closed
- Assignee set to Jean-Philippe Lang
- Resolution set to Fixed
Translation string added in r14759.
Updated by Daniel Ritz about 9 years ago
Errm...it's now showing stuff like "2.5 h h":
def l_hours_short(hours) - "%.2f h" % hours.to_f + l(:label_f_hour_short, :value => ("%.2f h" % hours.to_f)) end
i.e. the format string still contains the " h"...
Updated by Toshi MARUYAMA about 9 years ago
- Status changed from Closed to Reopened
Actions