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 - [ko_KR] bad translation for "{dateexample}" prevents error message from rendering
Summary: [ko_KR] bad translation for "{dateexample}" prevents error message from rende...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: subscription-manager
Version: 6.7
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: ---
Assignee: Adrian Likins
QA Contact: John Sefler
URL:
Whiteboard:
Depends On:
Blocks: rhsm-rhel67
TreeView+ depends on / blocked
 
Reported: 2015-02-05 23:20 UTC by John Sefler
Modified: 2015-07-22 06:52 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-07-22 06:52:54 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2015:1345 0 normal SHIPPED_LIVE subscription-manager and python-rhsm bug fix and enhancement update 2015-07-20 17:59:53 UTC

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


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