Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.

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