Bug 1117515
| Summary: | [ta_IN][zh_CN] bad translation for "%s is already running" causes a traceback | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 5 | Reporter: | John Sefler <jsefler> |
| Component: | subscription-manager | Assignee: | candlepin-bugs |
| Status: | CLOSED ERRATA | QA Contact: | John Sefler <jsefler> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 5.11 | CC: | bkearney |
| 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: | 2014-09-16 00:23:35 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: | 1039651 | ||
I have already fixed the upstream Zanata translation... https://translate.zanata.org/zanata/webtrans/translate?project=subscription-manager&iteration=1.11.X&localeId=ta-IN&locale=en#view:doc;doc:keys;search:is%20already%20running This needs to be pulled into a new subscription-manager build. This request was evaluated by Red Hat Product Management for inclusion in a Red Hat Enterprise Linux release. Product Management has requested further review of this request by Red Hat Engineering, for potential inclusion in a Red Hat Enterprise Linux release for currently deployed products. This request is not yet committed for inclusion in a release. similar failure for LANG=zh_CN
[root@jsefler-5 ~]# msgunfmt --no-wrap /usr/share/locale/zh_CN/LC_MESSAGES/rhsm.mo | grep -A1 "%s is already running"
msgid "%s is already running"
msgstr "% 已在运行中"
^ NEEDS THE LETTER s AFTER %
I have also fixed this in upstream Zanata...
https://translate.zanata.org/zanata/webtrans/translate?project=subscription-manager&iteration=1.11.X&localeId=zh-Hans-CN&locale=en#view:doc;doc:keys;search:is%20already%20running
Verifying Version... [root@jsefler-5 ~]# rpm -q subscription-manager subscription-manager-1.11.3-9.el5 [root@jsefler-5 ~]# msgunfmt --no-wrap /usr/share/locale/ta_IN/LC_MESSAGES/rhsm.mo | grep -A1 "is already running" msgid "%s is already running" msgstr "%s ஏற்கனவே இயக்கத்தில் உள்ளது" VERIFIED: "%s" is correctly left untranslated for lang ta_IN [root@jsefler-5 ~]# msgunfmt --no-wrap /usr/share/locale/zh_CN/LC_MESSAGES/rhsm.mo | grep -A1 "is already running" msgid "%s is already running" msgstr "%s 已在运行中" VERIFIED: "%s" is correctly left untranslated for lang zh_CN 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. http://rhn.redhat.com/errata/RHBA-2014-1225.html |
Description of problem: Version-Release number of selected component (if applicable): [root@jsefler-5 ~]# rpm -q subscription-manager subscription-manager-1.11.3-8.el5 How reproducible: Steps to Reproduce: [root@jsefler-5 ~]# subscription-manager-gui & [1] 28431 [root@jsefler-5 ~]# subscription-manager-gui subscription-manager-gui is already running [root@jsefler-5 ~]# LANG=ta_IN.utf8 subscription-manager-gui (subscription-manager-gui:28508): Gtk-WARNING **: Whoever translated default:LTR did so wrongly. Traceback (most recent call last): File "/usr/sbin/subscription-manager-gui", line 169, in ? if already_running(bus): File "/usr/sbin/subscription-manager-gui", line 148, in already_running print _("%s is already running") % "subscription-manager-gui" TypeError: not all arguments converted during string formatting Actual results: traceback above Expected results: subscription-manager-gui ஏற்கனவே இயக்கத்தில் உள்ளது Additional info: The source of the failure for this traceback is this bad translation... [root@jsefler-5 ~]# msgunfmt --no-wrap /usr/share/locale/ta_IN/LC_MESSAGES/rhsm.mo | grep -A1 "%s is already running" msgid "%s is already running" msgstr "%%s ஏற்கனவே இயக்கத்தில் உள்ளது" ^^ THERE SHOULD ONLY BE ONE % CHARACTER