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 1372839

Summary: [pt_BR][it] msgids containing "subscription-manager" should NOT translate this substring
Product: Red Hat Enterprise Linux 7 Reporter: John Sefler <jsefler>
Component: subscription-managerAssignee: candlepin-bugs
Status: CLOSED CURRENTRELEASE QA Contact: John Sefler <jsefler>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 7.3CC: redakkan, skallesh, sshedmak
Target Milestone: rcKeywords: Translation
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: 2020-12-11 10:20:36 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:

Description John Sefler 2016-09-02 21:03:27 UTC
Description of problem:
Following the precedence from bug 906552, two occurrences were found where the term "Red Hat" should not be translated.

201609021559:00.425 - WARNING: Substring "subscription-manager" should remain untranslated in the /usr/share/locale/pt_BR/LC_MESSAGES/rhsm.mo translation: msgid='This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register.' msgstr='Este sistema não está registrado no Red Hat Subscription Management. Você pode usar o gerenciador de subscrições para registrar.   ' (rhsm.cli.tests.TranslationTests.VerifyTranslationsDoNotTranslateSubStrings_Test)
201609021559:00.425 - WARNING: Substring "subscription-manager" should remain untranslated in the /usr/share/locale/pt_BR/LC_MESSAGES/rhsm.mo translation: msgid='This system is registered to Red Hat Subscription Management, but is not receiving updates. You can use subscription-manager to assign subscriptions.' msgstr='Este sistema está registrado no Red Hat Subscription Management, porém não está recebendo atualizações. Você pode usar o gerenciador de subscrições para designar subscrições.' (rhsm.cli.tests.TranslationTests.VerifyTranslationsDoNotTranslateSubStrings_Test)


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


How reproducible:


Steps to Reproduce:
[root@jsefler-rhel7 ~]# msgunfmt --no-wrap /usr/share/locale/pt_BR/LC_MESSAGES/rhsm.mo | grep "use subscription-manager" -A1
msgid "This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register."
msgstr "Este sistema não está registrado no Red Hat Subscription Management. Você pode usar o gerenciador de subscrições para registrar.   "
--
msgid "This system is registered to Red Hat Subscription Management, but is not receiving updates. You can use subscription-manager to assign subscriptions."
msgstr "Este sistema está registrado no Red Hat Subscription Management, porém não está recebendo atualizações. Você pode usar o gerenciador de subscrições para designar subscrições."


Actual results:
  above

Expected results:
  the value for both msgstr should contain "subscription-manager", not "gerenciador de subscrições"

Additional info:

Comment 1 John Sefler 2016-09-02 21:03:58 UTC
I have manually corrected the translations in Zanata.  Dev simply needs to re-pull the translations and do a new build of subscription-manager.

Comment 2 John Sefler 2016-09-02 21:11:27 UTC
Same error in Italian too...

[root@jsefler-rhel7 ~]# msgunfmt --no-wrap /usr/share/locale/it/LC_MESSAGES/rhsm.mo | grep "use subscription-manager" -A1
msgid "This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register."
msgstr "Questo sistema non è registrato a Red Hat Subscription Management. È possibile utilizzare Subscription Manager per effettuare la registrazione."
--
msgid "This system is registered to Red Hat Subscription Management, but is not receiving updates. You can use subscription-manager to assign subscriptions."
msgstr "Questo sistema è registrato a Red Hat Subscription Management, ma non sta ricevendo gli aggiornamenti. È possibile utilizzare Subscription Manager per assegnare le sottoscrizioni."

Comment 3 John Sefler 2016-09-07 12:54:01 UTC
The fix for this was included in subscription-manager RHEL7.3 commit...

Author: Christopher Snyder <csnyder>  2016-09-06 11:47:43
Committer: Christopher Snyder <csnyder>  2016-09-06 11:47:43
Parent: d212f95b1f5eaa88fc99de7f6948edf648ada403 (Automatic commit of package [subscription-manager] release [1.17.12-1].)
Child:  6915477432e2324d75c83c4550294be4e0ab7fa9 (Automatic commit of package [subscription-manager] release [1.17.13-1].)
Branches: RHEL7.3, remotes/origin/RHEL7.3
Follows: subscription-manager-1.17.12-1
Precedes: subscription-manager-1.17.13-1

    1340135: Updates translations, removes unnecessary whitespace

Comment 4 Rehana 2016-09-08 09:04:11 UTC
Reproducing the failure against :

# subscription-manager version
server type: This system is currently not registered.
subscription management server: 0.9.51.11-1
subscription management rules: 5.15
subscription-manager: 1.17.12-1.el7
python-rhsm: 1.17.7-1.el7

Case 1 ) 
========
# msgunfmt --no-wrap /usr/share/locale/pt_BR/LC_MESSAGES/rhsm.mo | grep "use subscription-manager" -A1msgid "This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register."
msgstr "Este sistema não está registrado no Red Hat Subscription Management. Você pode usar o gerenciador de subscrições para registrar.   "
--
msgid "This system is registered to Red Hat Subscription Management, but is not receiving updates. You can use subscription-manager to assign subscriptions."
msgstr "Este sistema está registrado no Red Hat Subscription Management, porém não está recebendo atualizações. Você pode usar o gerenciador de subscrições para designar subscrições."

Case 2 ) 
=========
#  msgunfmt --no-wrap /usr/share/locale/it/LC_MESSAGES/rhsm.mo | grep "use subscription-manager" -A1msgid "This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register."
msgstr "Questo sistema non è registrato a Red Hat Subscription Management. È possibile utilizzare Subscription Manager per effettuare la registrazione."
--
msgid "This system is registered to Red Hat Subscription Management, but is not receiving updates. You can use subscription-manager to assign subscriptions."
msgstr "Questo sistema è registrato a Red Hat Subscription Management, ma non sta ricevendo gli aggiornamenti. È possibile utilizzare Subscription Manager per assegnare le sottoscrizioni."


Retesting with updated subscription-manaager packages :

subscription-manager: 1.17.14-1.el7
python-rhsm: 1.17.9-1.el7


Fix 1 )
=========
# msgunfmt --no-wrap /usr/share/locale/pt_BR/LC_MESSAGES/rhsm.mo | grep "use subscription-manager" -A1
msgid "This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register."
msgstr "Este sistema não está registrado no Red Hat Subscription Management. Você pode usar o subscription-manager para registrar."
--
msgid "This system is registered to Red Hat Subscription Management, but is not receiving updates. You can use subscription-manager to assign subscriptions."
msgstr "Este sistema está registrado no Red Hat Subscription Management, porém não está recebendo atualizações. Você pode usar o subscription-manager para designar subscrições.

Fix 2 )
========
#  msgunfmt --no-wrap /usr/share/locale/it/LC_MESSAGES/rhsm.mo | grep "use subscription-manager" -A1
msgid "This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register."
msgstr "Questo sistema non è registrato a Red Hat Subscription Management. È possibile utilizzare subscription-manager per effettuare la registrazione."
--
msgid "This system is registered to Red Hat Subscription Management, but is not receiving updates. You can use subscription-manager to assign subscriptions."
msgstr "Questo sistema è registrato a Red Hat Subscription Management, ma non sta ricevendo gli aggiornamenti. È possibile utilizzare subscription-manager per assegnare le sottoscrizioni."


Marking as Verified !!

Comment 6 Rehana 2020-12-11 10:20:36 UTC
Old bug clean up :
================

Closing the bug with Current release ,the bug was verified by QE during a RHEL release cycle but was not closed.