Bug 1545442

Summary: [zh_CN][fr][de][ru][pt_BR][pa][kn] unwanted trailing colon characters have been appended to some translations
Product: Red Hat Enterprise Linux 7 Reporter: John Sefler <jsefler>
Component: subscription-managerAssignee: candlepin-bugs
Status: CLOSED ERRATA QA Contact: Red Hat subscription-manager QE Team <rhsm-qe>
Severity: low Docs Contact:
Priority: low    
Version: 7.5CC: csnyder, khowell, lijli, ljanda, skallesh
Target Milestone: rcKeywords: EasyFix, i18n, Translation, Triaged
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-10-30 10:36:03 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: 1549951    

Description John Sefler 2018-02-14 22:31:46 UTC
Description of problem:
Some of the translated msgstr values in the rhsm.mo files from the Zanata translators have appended unwanted trailing colons.  Below is a report of all of the failures from langs [zh_CN][fr][de][ru][pt_BR][pa][kn]... 


WARNING: Colon character ":" should not be randomly appended to the end of /usr/share/locale/zh_CN/LC_MESSAGES/rhsm.mo translation: msgid='Email Address Text' msgstr='电子邮件地址文本:'
WARNING: Colon character ":" should not be randomly appended to the end of /usr/share/locale/zh_CN/LC_MESSAGES/rhsm.mo translation: msgid='WARNING' msgstr='警告:'
WARNING: Colon character ":" should not be randomly appended to the end of /usr/share/locale/zh_CN/LC_MESSAGES/rhsm.mo translation: msgid='_Attach' msgstr='添加(_A):'
WARNING: Colon character ":" should not be randomly appended to the end of /usr/share/locale/zh_CN/LC_MESSAGES/rhsm.mo translation: msgid='_Manually attach subscriptions after registration' msgstr='注册后手动添加订阅(_M):'
WARNING: Colon character ":" should not be randomly appended to the end of /usr/share/locale/zh_CN/LC_MESSAGES/rhsm.mo translation: msgid='_Next' msgstr='下一个(_N):'


WARNING: Colon character ":" should not be randomly appended to the end of /usr/share/locale/fr/LC_MESSAGES/rhsm.mo translation: msgid='I would like to connect via an _HTTP proxy.' msgstr='Je voudrais me connecter via un proxy _HTTP :'


WARNING: Colon character ":" should not be randomly appended to the end of /usr/share/locale/de/LC_MESSAGES/rhsm.mo translation: msgid='Subscription Type Text' msgstr='Subskriptionstyp Text:'


WARNING: Colon character ":" should not be randomly appended to the end of /usr/share/locale/ru/LC_MESSAGES/rhsm.mo translation: msgid='Email Address Text' msgstr='Поле email:'
WARNING: Colon character ":" should not be randomly appended to the end of /usr/share/locale/ru/LC_MESSAGES/rhsm.mo translation: msgid='Overall Status' msgstr='Общий статус:'


WARNING: Colon character ":" should not be randomly appended to the end of /usr/share/locale/pt_BR/LC_MESSAGES/rhsm.mo translation: msgid='System Identity Value' msgstr='Valor da Identidade do Sistema:'


WARNING: Colon character ":" should not be randomly appended to the end of /usr/share/locale/pa/LC_MESSAGES/rhsm.mo translation: msgid='Quantity must be a positive number.' msgstr='ਮਾਤਰਾ ਧਨਾਤਮਕ ਅੰਕ ਹੋਣਾ ਜਰੂਰੀ ਹੈ:'


WARNING: Colon character ":" should not be randomly appended to the end of /usr/share/locale/kn/LC_MESSAGES/rhsm.mo translation: msgid='Account' msgstr='ಖಾತೆ:'


Version-Release number of selected component (if applicable):
subscription-manager-1.20.10-1.el7


How reproducible:


Steps to Reproduce:
Here is an example for one of the reported failures for lang [zh_CN]...
# msgunfmt --no-wrap /usr/share/locale/zh_CN/LC_MESSAGES/rhsm.mo | grep "_Next" -A1
msgid "_Next"
msgstr "下一个(_N):"

Actual results:
msgstr "下一个(_N):"

Expected results:
msgstr "下一个(_N)"

Comment 1 Kevin Howell 2018-02-15 15:15:40 UTC
Dev: fixing the issue in http://vendors.zanata.redhat.com/ will ensure the next build ends up with fixed translations.

Comment 2 Kevin Howell 2018-02-15 15:16:06 UTC
*** Bug 1544335 has been marked as a duplicate of this bug. ***

Comment 3 Kevin Howell 2018-02-15 15:16:13 UTC
*** Bug 1544327 has been marked as a duplicate of this bug. ***

Comment 4 Kevin Howell 2018-02-15 15:16:23 UTC
*** Bug 1544324 has been marked as a duplicate of this bug. ***

Comment 8 Chris Snyder 2018-08-17 20:13:14 UTC
Translations for locales [pa][kn] are no longer supported per Bug 1195824#c2.

Failures for these two languages will not be fixed.

Comment 9 Shwetha Kallesh 2018-08-20 10:01:42 UTC
Reproducer:

[root@localhost ~]# msgunfmt --no-wrap /usr/share/locale/zh_CN/LC_MESSAGES/rhsm.mo | grep "_Next" -A1
msgid "_Next"
msgstr "下一个(_N):"


[root@localhost ~]# msgunfmt --no-wrap /usr/share/locale/zh_CN/LC_MESSAGES/rhsm.mo | grep "Email Address Text" -A1
msgid "Email Address Text"
msgstr "电子邮件地址文本:"

[root@localhost ~]# msgunfmt --no-wrap /usr/share/locale/zh_CN/LC_MESSAGES/rhsm.mo | grep "WARNING" -A1
msgid "WARNING"
msgstr "警告:"


[root@localhost ~]# msgunfmt --no-wrap /usr/share/locale/zh_CN/LC_MESSAGES/rhsm.mo | grep "Attach" -A1
msgid "_Attach"
msgstr "添加(_A):"

[root@localhost ~]# msgunfmt --no-wrap /usr/share/locale/zh_CN/LC_MESSAGES/rhsm.mo | grep "_Manually attach subscriptions after registration" -A1
msgid "_Manually attach subscriptions after registration"
msgstr "注册后手动添加订阅(_M):"

[root@localhost ~]# msgunfmt --no-wrap /usr/share/locale/fr/LC_MESSAGES/rhsm.mo | grep "I would like to connect via an _HTTP proxy." -A1
msgid "I would like to connect via an _HTTP proxy."
msgstr "Je voudrais me connecter via un proxy _HTTP :"

[root@localhost ~]# msgunfmt --no-wrap /usr/share/locale/de/LC_MESSAGES/rhsm.mo | grep "Subscription Type Text" -A1
msgid "Subscription Type Text"
msgstr "Subskriptionstyp Text:"

[root@localhost ~]# msgunfmt --no-wrap /usr/share/locale/ru/LC_MESSAGES/rhsm.mo | grep "Email Address Text" -A1
msgid "Email Address Text"
msgstr "Поле email:"

[root@localhost ~]# msgunfmt --no-wrap /usr/share/locale/ru/LC_MESSAGES/rhsm.mo | grep "Overall Status" -A1
msgid "Overall Status"
msgstr "Общий статус:"

[root@localhost ~]# msgunfmt --no-wrap /usr/share/locale/pt_BR/LC_MESSAGES/rhsm.mo | grep "System Identity Value" -A1
msgid "System Identity Value"
msgstr "Valor da Identidade do Sistema:"

Comment 10 Shwetha Kallesh 2018-08-20 10:06:51 UTC
Verified for all the locales mentioned in c0 except for [pa] and [kn] which are no longer supported

[root@localhost ~]# subscription-manager version
server type: This system is currently not registered.
subscription management server: 2.3.9-1
subscription management rules: 5.26
subscription-manager: 1.21.7-1.el7


[root@localhost ~]# msgunfmt --no-wrap /usr/share/locale/zh_CN/LC_MESSAGES/rhsm.mo | grep "WARNING" -A1
"*** WARNING ***\n"
"The subscription for following product(s) has expired:\n"
--
msgid "WARNING"
msgstr "警告"
[root@localhost ~]# 
[root@localhost ~]# msgunfmt --no-wrap /usr/share/locale/zh_CN/LC_MESSAGES/rhsm.mo | grep "Attach" -A1
msgid "<b>Attaching</b>"
msgstr "<b>附加中</b>"
--
msgid "<b>Next System Auto Attach:</b> %s"
msgstr "<b>下一次自动附加:</b> %s"
--
msgid "Attach"
msgstr "附加"
--
msgid "Attach a specified subscription to the registered system"
msgstr "在注册的系统中附加指定的订阅"
--
msgid "Attached subscriptions do not provide any repositories."
msgstr "附加的订阅不提供任何软件仓库。"
--
msgid "Attaching"
msgstr "附加中"
--
msgid "Attaching subscription. Please wait."
msgstr "正在附加订阅,请稍候。"
--
msgid "Attaching subscriptions"
msgstr "正在附加订阅"
--
msgid "Subscription Attachment"
msgstr "订阅附件"
--
msgid "_Attach"
msgstr "附加(_A)"
[root@localhost ~]# msgunfmt --no-wrap /usr/share/locale/zh_CN/LC_MESSAGES/rhsm.mo | grep "Email Address Text" -A1
msgid "Email Address Text"
msgstr "电子邮件地址文本"
[root@localhost ~]# msgunfmt --no-wrap /usr/share/locale/zh_CN/LC_MESSAGES/rhsm.mo | grep "_Next" -A1
msgid "_Next"
msgstr "下一步(_N)"
[root@localhost ~]#  msgunfmt --no-wrap /usr/share/locale/zh_CN/LC_MESSAGES/rhsm.mo | grep "_Manually attach subscriptions after registration" -A1
msgid "_Manually attach subscriptions after registration"
msgstr "注册后手动添加订阅(_M)"
[root@localhost ~]# msgunfmt --no-wrap /usr/share/locale/fr/LC_MESSAGES/rhsm.mo | grep "I would like to connect via an _HTTP proxy." -A1
msgid "I would like to connect via an _HTTP proxy."
msgstr "Je voudrais me connecter via un proxy _HTTP."
[root@localhost ~]# msgunfmt --no-wrap /usr/share/locale/de/LC_MESSAGES/rhsm.mo | grep "Subscription Type Text" -A1
msgid "Subscription Type Text"
msgstr "Subskriptionstyp Text"
[root@localhost ~]# msgunfmt --no-wrap /usr/share/locale/ru/LC_MESSAGES/rhsm.mo | grep "Email Address Text" -A1
msgid "Email Address Text"
msgstr "Поле email"
[root@localhost ~]#  msgunfmt --no-wrap /usr/share/locale/ru/LC_MESSAGES/rhsm.mo | grep "Overall Status" -A1
msgid "Overall Status"
msgstr "Общий статус"
--
"Overall Status: %s\n"
"%s"
[root@localhost ~]# msgunfmt --no-wrap /usr/share/locale/pt_BR/LC_MESSAGES/rhsm.mo | grep "System Identity Value" -A1
msgid "System Identity Value"
msgstr "Valor da Identidade do Sistema"

Comment 12 errata-xmlrpc 2018-10-30 10:36:03 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://access.redhat.com/errata/RHBA-2018:3153