Bug 1189950

Summary: [ko_KR] bad translation for "{dateexample}" prevents error message from rendering
Product: Red Hat Enterprise Linux 6 Reporter: John Sefler <jsefler>
Component: subscription-managerAssignee: Adrian Likins <alikins>
Status: CLOSED ERRATA QA Contact: John Sefler <jsefler>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 6.7CC: alikins, dgoodwin, wpoteat
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: 2015-07-22 06:52:54 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1125249    

Description John Sefler 2015-02-05 23:20:41 UTC
Description of problem:
Lang ko_KR has a bad translation in Zanata for msgid "Date entered is invalid. Date should be in YYYY-MM-DD format (example: {dateexample})"

Version-Release number of selected component (if applicable):
[root@jsefler-os7 ~]# rpm -q subscription-manager
subscription-manager-1.13.19-1.el7.x86_64

https://translate.zanata.org/zanata/iteration/view/subscription-manager/1.13.X/languages/ko



Steps to Reproduce:

[root@jsefler-os7 ~]# msgunfmt --no-wrap /usr/share/locale/ko/LC_MESSAGES/rhsm.mo | grep -A1 -i "dateexample"
msgid "Date entered is invalid. Date should be in YYYY-MM-DD format (example: {dateexample})"
msgstr "입력한 날짜가 유효하지 않습니다. YYYY-MM-DD 형식으로 날짜를 입력해 주십시오. (예: {2014-11-20})"

^^ This translation is bad. The substring "{dateexample}" should not have been translated.  This needs to be fixed in Zanata.  This mistake causes the following Actual results...


Actual results:
[root@jsefler-os7 ~]# LANG=ko_KR.utf8 subscription-manager list --available --ondate=12345
'2014-11-20'


Expected results:
[root@jsefler-os7 ~]# LANG=ko_KR.utf8 subscription-manager list --available --ondate=12345
입력한 날짜가 유효하지 않습니다. YYYY-MM-DD 형식으로 날짜를 입력해 주십시오. (예: 2015-02-05)

where today's date is substituted for the python variable {dateexample}

Comment 1 John Sefler 2015-02-06 14:58:06 UTC
I have updated both...
  https://translate.zanata.org/zanata/iteration/view/subscription-manager/1.13.X/languages/ko
  https://translate.zanata.org/zanata/iteration/view/subscription-manager/1.14.X/languages/ko

Please pull the translated strings from Zanata to apply the fix to subscription-manager.

Comment 2 Adrian Likins 2015-04-08 16:01:25 UTC
in master:

commit 3123746725b1ccdb980560118b84ce5ded6274a8
Author: Adrian Likins <alikins>
Date:   Wed Apr 8 09:47:58 2015 -0400

    1117525,1189950,1188961 latest strings from zanata

Comment 4 John Sefler 2015-05-04 18:25:58 UTC
Verifying Version....
[root@jsefler-os6 ~]# rpm -q subscription-manager
subscription-manager-1.14.6-1.el6.x86_64


[root@jsefler-os6 ~]# msgunfmt --no-wrap /usr/share/locale/ko/LC_MESSAGES/rhsm.mo | grep -A1 -i "dateexample"
msgid "Date entered is invalid. Date should be in YYYY-MM-DD format (example: {dateexample})"
msgstr "입력한 날짜가 유효하지 않습니다. YYYY-MM-DD 형식으로 날짜를 입력해 주십시오. (예: {dateexample})"



VERIFIED: The "{dateexample}" is no longer translated in Korean.

Comment 5 errata-xmlrpc 2015-07-22 06:52:54 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://rhn.redhat.com/errata/RHBA-2015-1345.html