Bug 874804

Summary: String Updates: Subscribe -> Attach
Product: Red Hat Enterprise Linux 6 Reporter: Matt Reid <mreid>
Component: subscription-managerAssignee: candlepin-bugs
Status: CLOSED ERRATA QA Contact: IDM QE LIST <seceng-idm-qe-list>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 6.4CC: alikins, bkearney, jsefler
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: subscription-manager-1.1.7-1 Doc Type: Release Note
Doc Text:
In Red Hat Enterprise Linux 6.4, several strings have been renamed in Subscription Manager: subscribe was renamed to attach auto-subscribe was renamed to auto-attach unsubscribe was renamed to remove consumer was renamed to system or unit
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-02-21 09:00:16 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: 771481, 840993    

Description Matt Reid 2012-11-08 20:59:14 UTC
Description of problem:

As part of our terminology updates, subscribing to a subscription is being replaced with attaching a subscription, which leaves us with some cleanup to do.

#: ../src/subscription_manager/gui/firstboot/rhsm_login.py:66
#, python-format
msgid ""
"Unable to subscribe to any additional products at current service level: %s"
1. "Unable to attach any additional subscriptions at current service level: %s"

#: ../src/subscription_manager/gui/firstboot/rhsm_login.py:79
msgid ""
"No service levels will cover all installed products. Please run "
"'Subscription Manager' to manually subscribe this system."
2. "No service levels will cover all installed products. Please run Subscription Manager to manually attach subscriptions."

#: ../src/subscription_manager/gui/registergui.py:367
#: ../src/subscription_manager/gui/data/allsubs.glade.h:7
#: ../src/subscription_manager/gui/data/contract_selection.glade.h:6
msgid "Subscribe"
3. "Attach"

#: ../src/subscription_manager/gui/registergui.py:488
#, python-format
msgid ""
"No available subscriptions at the current service level: %s. Please use the "
"\"All Available Subscriptions\" tab to manually subscribe this system."
msgstr ""
4. "No available subscriptions at the current service level: %s. Please use the All Available Subscriptions tab to manually attach subscriptions."

#: ../src/subscription_manager/gui/registergui.py:506
msgid ""
"No service level will cover all installed products. Please use the \"All "
"Available Subscriptions\" tab to manually subscribe this system."
5. "No service level will cover all installed products. Please use the All  Available Subscriptions tab to manually attach subscriptions."

#: ../src/subscription_manager/managercli.py:857
#: ../src/subscription_manager/managercli.py:1237
msgid ""
"automatically subscribe this system to                                     "
"compatible subscriptions."
6. "automatically attach compatible subscriptions to this system"

#: ../src/subscription_manager/managercli.py:1226
msgid "Subscribe the registered machine to a specified product"
7. "Attach a specified subscription to the registered system."

#: ../src/subscription_manager/managercli.py:1233
msgid "the id of the pool to subscribe to"
8. "the id of the pool to attach"

#: ../src/subscription_manager/gui/data/selectsla.glade.h:3
msgid "<b>Subscribe all detected products as:</b>"
msgstr ""
9. "Attach subscriptions with service level:"

#: ../src/subscription_manager/gui/data/confirmsubs.glade.h:5
msgid "You will be subscribed to:"
10. "The following subscriptions will be attached:"

#: ../src/subscription_manager/gui/data/autobind.glade.h:4
msgid "Subscribe System" (is this used somewhere?? I only remember seeing a button for Subscribe)
11. "Attach Subscriptions" (may need to revise based on context)

#: ../src/subscription_manager/gui/data/manually_subscribe.glade.h:1
msgid ""
"After opening Red Hat Subscription Manager, manually subscribe via the "
"<b>All Available Subscriptions</b> tab."
12. "After opening Red Hat Subscription Manager, manually attach subscriptions via the All Available Subscriptions tab."

#: ../src/subscription_manager/gui/data/manually_subscribe.glade.h:2
msgid ""
"You will need to use Red Hat Subscription Manager to manually subscribe this "
"system after completing firstboot."
13. "You will need to use Red Hat Subscription Manager to manually attach subscriptions to this system after completing firstboot."

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

Comment 1 Adrian Likins 2012-11-12 16:48:11 UTC
commit 1b51fecf6940bdb0d2fce791ed2b591bbd1ab0a0
Author: Bryan Kearney <bkearney>
Date:   Fri Nov 9 14:16:04 2012 -0500

    874749, 874804: Use the terms Attach and Remove instead of Subscibe and Unsubscribe.
    
    For the GUI, this is a basic string change. For the CLI, the terms subscirbe and unsubscribe are command names. To resolve t
    
    The only other nutty change is around auto-subscribe at register. Now, either autosubscibe or autoattach  can be used.

Comment 2 Matt Reid 2012-11-13 20:26:31 UTC
Looking into renaming --autoattach to --auto-attach (see 874776), I noticed that 6. "automatically attach compatible subscriptions to this system" was implemented as "automatically attach this system to compatible subscriptions." 

While this is minor, the usage of attach is focused on attaching subscriptions rather than attaching systems. I tried to ensure that all string updates I filed followed that format (attach subscriptions to system).

I'd like to see us move away from using ending punctuation (which we sporadically use) in these descriptions, but I haven't filed that bug yet, so this is just a heads up.

Comment 4 Matt Reid 2012-11-15 16:07:46 UTC
Looking at strings from a git pull this morning, there's a typo in #6 currently, it's missing the 'm' from system, and says "automatically attach compatible subscriptions to this syste".

Comment 5 Bryan Kearney 2012-11-15 17:12:36 UTC
commit 9f55b549631d2bc7435e380e82e63c7209d7a584
Author: Bryan Kearney <bkearney>
Date:   Thu Nov 15 12:13:58 2012 -0500

    874804: Typo in the help message

Comment 6 Matt Reid 2012-11-16 15:07:52 UTC
I'm seeing a typo in #10, where it reads 'susbcriptions'. (looks like it moved to confirmsubs.glade.h:4)

#: ../src/subscription_manager/gui/data/confirmsubs.glade.h:5
msgid "You will be subscribed to:"
10. "The following subscriptions will be attached:"

Comment 7 Bryan Kearney 2012-11-16 16:18:37 UTC
commit 0492a6efd70cf43acd8453b8f23635c5443f441c
Author: Bryan Kearney <bkearney>
Date:   Fri Nov 16 11:20:07 2012 -0500

    874804: Fix typos introduced during string updates

Comment 9 John Sefler 2012-12-18 21:27:50 UTC
Verifying Version....
[root@jsefler-6 ~]# rpm -q subscription-manager
subscription-manager-1.1.16-1.el6.x86_64

Using one of the translated language files to verify the extracted msgids...
[root@jsefler-6 ~]# cd /usr/share/locale/ja/LC_MESSAGES


(In reply to comment #0)
> #: ../src/subscription_manager/gui/firstboot/rhsm_login.py:66
> #, python-format
> msgid ""
> "Unable to subscribe to any additional products at current service level: %s"
> 1. "Unable to attach any additional subscriptions at current service level:
> %s"

[root@jsefler-6 LC_MESSAGES]# msgunfmt --no-wrap rhsm.mo | grep -i "at current service level"
msgid "Unable to attach any additional subscriptions at current service level: %s"

VERIFIED


> #: ../src/subscription_manager/gui/firstboot/rhsm_login.py:79
> msgid ""
> "No service levels will cover all installed products. Please run "
> "'Subscription Manager' to manually subscribe this system."
> 2. "No service levels will cover all installed products. Please run
> Subscription Manager to manually attach subscriptions."

[root@jsefler-6 LC_MESSAGES]# msgunfmt --no-wrap rhsm.mo | grep -i "No service levels"
msgid "No service levels will cover all installed products. Please run 'Subscription Manager' to manually attach subscriptions."

VERIFIED


> #: ../src/subscription_manager/gui/registergui.py:367
> #: ../src/subscription_manager/gui/data/allsubs.glade.h:7
> #: ../src/subscription_manager/gui/data/contract_selection.glade.h:6
> msgid "Subscribe"
> 3. "Attach"

[root@jsefler-6 LC_MESSAGES]# msgunfmt --no-wrap rhsm.mo | grep  \"Subscribe\"
[root@jsefler-6 LC_MESSAGES]# msgunfmt --no-wrap rhsm.mo | grep  \"Attach\"
msgid "Attach"

VERIFIED


> #: ../src/subscription_manager/gui/registergui.py:488
> #, python-format
> msgid ""
> "No available subscriptions at the current service level: %s. Please use the
> "
> "\"All Available Subscriptions\" tab to manually subscribe this system."
> msgstr ""
> 4. "No available subscriptions at the current service level: %s. Please use
> the All Available Subscriptions tab to manually attach subscriptions."

[root@jsefler-6 LC_MESSAGES]# msgunfmt --no-wrap rhsm.mo | grep -i "No available subscriptions"
msgid "No available subscriptions at the current service level: %s. Please use the \"All Available Subscriptions\" tab to manually attach subscriptions."

VERIFIED


> #: ../src/subscription_manager/gui/registergui.py:506
> msgid ""
> "No service level will cover all installed products. Please use the \"All "
> "Available Subscriptions\" tab to manually subscribe this system."
> 5. "No service level will cover all installed products. Please use the All 
> Available Subscriptions tab to manually attach subscriptions."

[root@jsefler-6 LC_MESSAGES]# msgunfmt --no-wrap rhsm.mo | grep "No service level"
msgid "No service level preference"
msgid "No service level will cover all installed products. Please run Subscription Manager to manually attach subscriptions"    <========== USED IN SUBSCRIPTION-MANAGER-GUI  (SEEMS WRONG TO ME - WHY DOESN'T THIS SAY "Please use the All Available Subscriptions tab..."?  (src/subscription_manager/gui/registergui.py) OPENED BUG 888554
msgid "No service levels will cover all installed products. Please run 'Subscription Manager' to manually attach subscriptions."    <========== USED IN FIRSTBOOT (src/subscription_manager/gui/firstboot/rhsm_login.py)

VERIFIED ( and opened bug 888554 )


> #: ../src/subscription_manager/managercli.py:857
> #: ../src/subscription_manager/managercli.py:1237
> msgid ""
> "automatically subscribe this system to                                     "
> "compatible subscriptions."
> 6. "automatically attach compatible subscriptions to this system"

[root@jsefler-6 LC_MESSAGES]# msgunfmt --no-wrap rhsm.mo | grep -i  "automatically subscribe"
[root@jsefler-6 LC_MESSAGES]# msgunfmt --no-wrap rhsm.mo | grep -i  "automatically attach"
msgid "automatically attach compatible                                subscriptions to this system"
msgid "automatically attach this system to                                     compatible subscriptions."

VERIFIED subscribe=>attach; OPENED bug 886115


> #: ../src/subscription_manager/managercli.py:1226
> msgid "Subscribe the registered machine to a specified product"
> 7. "Attach a specified subscription to the registered system."

[root@jsefler-6 LC_MESSAGES]# msgunfmt --no-wrap rhsm.mo | grep -i  "Subscribe the"
[root@jsefler-6 LC_MESSAGES]# msgunfmt --no-wrap rhsm.mo | grep -i  "Attach a spec"
msgid "Attach a specified subscription to the registered system"

VERIFIED


> #: ../src/subscription_manager/managercli.py:1233
> msgid "the id of the pool to subscribe to"
> 8. "the id of the pool to attach"

[root@jsefler-6 LC_MESSAGES]# msgunfmt --no-wrap rhsm.mo | grep -i  "the id of the pool"
msgid "the id of the pool to attach (can be specified more than once)"

VERIFIED


> #: ../src/subscription_manager/gui/data/selectsla.glade.h:3
> msgid "<b>Subscribe all detected products as:</b>"
> msgstr ""
> 9. "Attach subscriptions with service level:"

[root@jsefler-6 LC_MESSAGES]# msgunfmt --no-wrap rhsm.mo | grep -i  "<b>Subscribe"
[root@jsefler-6 LC_MESSAGES]# msgunfmt --no-wrap rhsm.mo | grep -i  "<b>Attach"
msgid "<b>Attach subscriptions with service level:</b>"

VERIFIED


> #: ../src/subscription_manager/gui/data/confirmsubs.glade.h:5
> msgid "You will be subscribed to:"
> 10. "The following subscriptions will be attached:"

[root@jsefler-6 LC_MESSAGES]# msgunfmt --no-wrap rhsm.mo | grep -i  "The following sub"
msgid "The following subscriptions will be attached:"

VERIFIED


> #: ../src/subscription_manager/gui/data/autobind.glade.h:4
> msgid "Subscribe System" (is this used somewhere?? I only remember seeing a
> button for Subscribe)
> 11. "Attach Subscriptions" (may need to revise based on context)

[root@jsefler-6 LC_MESSAGES]# msgunfmt --no-wrap rhsm.mo | grep -i  "\"Subscribe System\""
[root@jsefler-6 LC_MESSAGES]# msgunfmt --no-wrap rhsm.mo | grep -i  "\"Attach Subscription\""
[root@jsefler-6 LC_MESSAGES]# 

DOES NOT EXIST


> #: ../src/subscription_manager/gui/data/manually_subscribe.glade.h:1
> msgid ""
> "After opening Red Hat Subscription Manager, manually subscribe via the "
> "<b>All Available Subscriptions</b> tab."
> 12. "After opening Red Hat Subscription Manager, manually attach
> subscriptions via the All Available Subscriptions tab."

[root@jsefler-6 LC_MESSAGES]# msgunfmt --no-wrap rhsm.mo | grep -i  "After opening"
msgid "After opening Red Hat Subscription Manager, manually attach subscriptions via the <b>All Available Subscriptions</b> tab."

VERIFIED


> #: ../src/subscription_manager/gui/data/manually_subscribe.glade.h:2
> msgid ""
> "You will need to use Red Hat Subscription Manager to manually subscribe
> this "
> "system after completing firstboot."
> 13. "You will need to use Red Hat Subscription Manager to manually attach
> subscriptions to this system after completing firstboot."

[root@jsefler-6 LC_MESSAGES]# msgunfmt --no-wrap rhsm.mo | grep -i  "You will need"
msgid "You will need to use Red Hat Subscription Manager to manually attach subscriptions to this system after completing firstboot."

VERIFIED
 

(In reply to comment #4)
> Looking at strings from a git pull this morning, there's a typo in #6
> currently, it's missing the 'm' from system, and says "automatically attach
> compatible subscriptions to this syste".

VERIFIED above


(In reply to comment #6)
> I'm seeing a typo in #10, where it reads 'susbcriptions'. (looks like it
> moved to confirmsubs.glade.h:4)
> #: ../src/subscription_manager/gui/data/confirmsubs.glade.h:5
> msgid "You will be subscribed to:"
> 10. "The following subscriptions will be attached:"

VERIFIED above

Comment 11 errata-xmlrpc 2013-02-21 09:00:16 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.

http://rhn.redhat.com/errata/RHBA-2013-0350.html