Bug 702595 - I18n 'ago' should be parameterized
Summary: I18n 'ago' should be parameterized
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: RHQ Project
Classification: Other
Component: Core UI
Version: 4.0.0
Hardware: Unspecified
OS: Unspecified
medium
unspecified
Target Milestone: ---
: RHQ 4.4.0
Assignee: Heiko W. Rupp
QA Contact: Mike Foley
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-05-06 09:51 UTC by Heiko W. Rupp
Modified: 2013-09-01 10:10 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-09-01 10:10:39 UTC
Embargoed:


Attachments (Terms of Use)

Description Heiko W. Rupp 2011-05-06 09:51:24 UTC
Ui formatter (org.rhq.enterprise.gui.coregui.client.util.GwtRelativeDurationConverter#format )
uses:

   } else {
            // <time> "ago"
            result = getRelativeTimeAgo(eventMillis) + " " + MSG.common_label_ago();

Which results in e.g. " 2 minutes ago".

This is not valid for German or French, where it would be

Vor 2 Minuten
I'y a 2 Minutes

Dunno about the requirements for Japanese - Minamoto-san, can you chime in please?

Comment 1 Heiko W. Rupp 2011-05-06 14:16:04 UTC
Also applies to :

repeat every XX - Alle XX wiederholen
schedule using XX - Mittels XX planen

Comment 2 Heiko W. Rupp 2012-03-21 19:51:38 UTC
master dcf10788231

Comment 3 Heiko W. Rupp 2013-09-01 10:10:39 UTC
Bulk closing of items that are on_qa and in old RHQ releases, which are out for a long time and where the issue has not been re-opened since.


Note You need to log in before you can comment on or make changes to this bug.