Bug 704305 - translation is needed for "Invalid date format: Please re-enter a valid date. Example:"
Summary: translation is needed for "Invalid date format: Please re-enter a valid date....
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 5
Classification: Red Hat
Component: subscription-manager
Version: 5.7
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: ---
Assignee: John Sefler
QA Contact: John Sefler
URL:
Whiteboard:
Depends On:
Blocks: 675214
TreeView+ depends on / blocked
 
Reported: 2011-05-12 17:52 UTC by John Sefler
Modified: 2011-07-21 12:30 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-07-21 08:46:41 UTC
Target Upstream Version:


Attachments (Terms of Use)
missing translation for Invalid date format message (30.20 KB, image/png)
2011-05-12 17:52 UTC, John Sefler
no flags Details
Example of a language (LANG=te_IN.UTF8) with full translation for the invalid date format error message. (75.94 KB, image/png)
2011-05-26 17:02 UTC, John Sefler
no flags Details
Example of a language (LANG=it_IT.UTF8) with full translation for the invalid date format error message. (48.09 KB, image/png)
2011-05-26 17:08 UTC, John Sefler
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHEA-2011:1078 0 normal SHIPPED_LIVE new package: subscription-manager 2011-07-21 08:45:07 UTC

Description John Sefler 2011-05-12 17:52:07 UTC
Created attachment 498601 [details]
missing translation for Invalid date format message

Description of problem:
See attached screenshot.

Detected in the rhel6.1 release, but reporting it to rhel5.7...
Be sure to include the fix into rhel62 as well.

We need translation for error message:
Invalid date format: Please re-enter a valid date. Example:

Version-Release number of selected component (if applicable):
[root@jsefler-onprem-6workstation ~]# rpm -qa | grep subscription-manager
subscription-manager-firstboot-0.95.11-1.el6.x86_64
subscription-manager-gnome-0.95.11-1.el6.x86_64
subscription-manager-0.95.11-1.el6.x86_64
subscription-manager-debuginfo-0.95.11-1.el6.x86_64


How reproducible:
all languages


Steps to Reproduce:
1. using any non-english LANG...
2. # LANG=or_IN.utf8 subscription-manager-gui
3. register and navigate to the Available Subscriptions tab an enter a bad date syntax and click the calendar icon
  
Actual results:
see screenshot

Expected results:


Additional info:

Comment 1 Chris Duryee 2011-05-13 20:25:38 UTC
I need to look into this more. However, the translation is already in the po file, so we don't have to worry about getting this in by string freeze.

Comment 2 Adrian Likins 2011-05-18 15:25:02 UTC
commit 7e444c3c25ca06ac40d2b97cd4e6de05e89357e7
Author: Adrian Likins <alikins>
Date:   Tue May 17 13:20:11 2011 -0400

    704305: fix translated string for "Invalid date format..."
    
    We were using a key with the current date in it as keyid, so
    seperate them.

(Note, no string changes were needed...)

(6b18ba47bdd19fb85d6b785b81e1986ac7057fe8 in master)

Comment 3 John Sefler 2011-05-26 17:02:45 UTC
Created attachment 501143 [details]
Example of a language (LANG=te_IN.UTF8) with full translation for the invalid date format error message.

Verifying Version....
[root@jsefler-onprem-6server ~]# rpm -qa | grep subscription-manager
subscription-manager-gnome-0.96.1-1.git.198.99d1857.el6.x86_64
subscription-manager-firstboot-0.96.1-1.git.198.99d1857.el6.x86_64
subscription-manager-0.96.1-1.git.198.99d1857.el6.x86_64

Using the following loop, I verified that all the languages fully displayed a translated message for the "Invalid date format" error dialog when the date string is blanked out.

[root@jsefler-onprem-6server ~]# for l in en_US de_DE es_ES fr_FR it_IT ja_JP ko_KR pt_BR ru_RU zh_CN zh_TW as_IN bn_IN hi_IN mr_IN gu_IN kn_IN ml_IN or_IN pa_IN ta_IN te_IN; do echo ""; echo ""; echo "# LANG=$l.UTF8 subscription-manager-gui"; LANG=$l.UTF8 subscription-manager-gui; done;

Comment 4 John Sefler 2011-05-26 17:08:45 UTC
Created attachment 501146 [details]
Example of a language (LANG=it_IT.UTF8) with full translation for the invalid date format error message.

Verifying Version...
[root@jsefler-onprem-5server ~]# rpm -q subscription-manager-gnome
subscription-manager-gnome-0.95.5.19-1.git.2.2a89d48.el5

Comment 5 errata-xmlrpc 2011-07-21 08:46:41 UTC
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on therefore solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.

http://rhn.redhat.com/errata/RHEA-2011-1078.html

Comment 6 errata-xmlrpc 2011-07-21 12:30:32 UTC
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on therefore solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.

http://rhn.redhat.com/errata/RHEA-2011-1078.html


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