Defect #3167

Incorrect labels/translations

Added by Mischa The Evil over 11 years ago. Updated over 11 years ago.

Status:ClosedStart date:2009-04-14
Priority:NormalDue date:
Assignee:-% Done:

0%

Category:UI
Target version:-
Resolution:Fixed Affected version:

Description

Today I came around two errors related to the implementation of Rail i18n:

  1. In source:trunk/app/views/issues/destroy.rhtml#L1 the incorrect label :confirmation is used instead of the correct :label_confirmation.
  2. In source:trunk/config/locales/en.yml#L753 the following incorrect ("un-enumerated") translation is used:
      text_destroy_time_entries_question: %.02f hours were reported on the issues you are about to delete. What do you want to do ?
    The %0.2f is rendered as plain text in the view instead of being enumerated to the correct, rounded value. I tried to fix it myself but couldn't get it done... ;)

Related issues

Duplicated by Redmine - Defect #3307: When deleting issue which has reported time-log, several ... Closed 2009-05-07

Associated revisions

Revision 2684
Added by Jean-Philippe Lang over 11 years ago

Fixes a translation key (#3167).

Revision 2685
Added by Jean-Philippe Lang over 11 years ago

Fixed: %0.2f is rendered as plain text in issues/destroy view (#3167).

History

#1 Updated by Jean-Philippe Lang over 11 years ago

  • Status changed from New to Closed
  • Resolution set to Fixed

Fixed in r2684 and r2685.
Thanks for pointing this out.

Also available in: Atom PDF