Bug 704305

Summary: translation is needed for "Invalid date format: Please re-enter a valid date. Example:"
Product: Red Hat Enterprise Linux 5 Reporter: John Sefler <jsefler>
Component: subscription-managerAssignee: John Sefler <jsefler>
Status: CLOSED ERRATA QA Contact: John Sefler <jsefler>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 5.7CC: alikins, cduryee, ktakemur, spandey
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-07-21 08:46:41 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Bug Depends On:    
Bug Blocks: 675214    
Attachments:
Description Flags
missing translation for Invalid date format message
none
Example of a language (LANG=te_IN.UTF8) with full translation for the invalid date format error message.
none
Example of a language (LANG=it_IT.UTF8) with full translation for the invalid date format error message. none

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