Package up2date_client :: Module rhnreg_constants
[hide private]
[frames] | no frames]

Source Code for Module up2date_client.rhnreg_constants

  1  # -*- coding: utf-8 -*- 
  2  # 
  3  # String constants for the RHN Register TUI/GUI. 
  4  # Copyright (c) 2000--2016 Red Hat, Inc. 
  5  # 
  6  # Author: 
  7  #       James Slagle <jslagle@redhat.com> 
  8   
  9   
 10  from up2date_client.pmPlugin import PM_PLUGIN_NAME, PM_NAME 
 11   
 12  import gettext 
 13  t = gettext.translation('rhn-client-tools', fallback=True) 
 14  # Python 3 translations don't have a ugettext method 
 15  if not hasattr(t, 'ugettext'): 
 16      t.ugettext = t.gettext 
 17  _ = t.ugettext 
 18   
 19  COPYRIGHT_TEXT        = _(u"Copyright © 2006--2014 Red Hat, Inc. All rights reserved.") 
 20   
 21  # Satellite URL Window 
 22  SATELLITE_URL_WINDOW  = _("Enter your Red Hat Satellite URL.") 
 23  SATELLITE_URL_TEXT    = _("Please enter the location of your Red Hat Satellite " 
 24                            "server and of its SSL " 
 25                            "certificate. The SSL certificate is only required " 
 26                            "if you will be connecting over https (recommended).") 
 27  SATELLITE_URL_PROMPT  = _("Satellite URL:") 
 28  SATELLITE_URL_PROMPT2 = _("SSL certificate:") 
 29  SATELLITE_REQUIRED    = _("You must enter a valid Satellite URL.") 
 30  SSL_REQUIRED          = _("If you are using https you must enter the location " 
 31                            "of a valid SSL certificate.") 
 32   
 33  # Connect Window 
 34  CONNECT_WINDOW        = _("Attempting to contact the Spacewalk server.") 
 35  CONNECT_WINDOW_TEXT   = _("We are attempting to contact the Red Hat " 
 36                            "Network server at %s.") 
 37  CONNECT_WINDOW_TEXT2  = _("A proxy was specified at %s.") 
 38   
 39  # Start Window 
 40  START_REGISTER_WINDOW = _("System Registration") 
 41  START_REGISTER_TEXT   = _("This assistant will guide you through " 
 42                            "connecting your system to " 
 43                            "Red Hat Satellite to receive software " 
 44                            "updates, including " 
 45                            "security updates, to keep your system supported " 
 46                            "and compliant.  " 
 47                            "You will need the following at this time:\n\n" 
 48                            " * A network connection\n" 
 49                            " * Your Red Hat Login & password\n" 
 50                            " * The location of a Red Hat Satellite " 
 51                            "or Proxy\n\n") 
 52   
 53  # Why Register Window 
 54  WHY_REGISTER          = _("Why Should I Connect to RHN? ...") 
 55  WHY_REGISTER_WINDOW   = _("Why Register") 
 56  WHY_REGISTER_TEXT     = _("Connecting your system to Red Hat Satellite allows you to take full " 
 57                            "advantage of the benefits of a paid subscription, including:") 
 58  WHY_REGISTER_SEC      = _("Security & Updates:") 
 59  WHY_REGISTER_DLD      = _("Downloads & Upgrades:") 
 60  WHY_REGISTER_SUPP     = _("Support:") 
 61  WHY_REGISTER_COMP     = _("Compliance:") 
 62  WHY_REGISTER_SEC_TXT  = _("Receive the latest software updates, including security updates, keeping this " 
 63                            "Red Hat Enterprise Linux system updated and secure.") 
 64  WHY_REGISTER_DLD_TXT  = _("Download installation images for Red Hat Enterprise Linux releases, " 
 65                            "including new releases.") 
 66  WHY_REGISTER_SUPP_TXT = _("Access to the technical support experts at Red Hat or Red Hat's partners for help " 
 67                            "with any issues you might encounter with this system.") 
 68  WHY_REGISTER_COMP_TXT = _("Stay in compliance with your subscription agreement " 
 69                            "and manage subscriptions " 
 70                            "for systems connected to your account.") 
 71  WHY_REGISTER_TIP      = _("Tip: Red Hat values your privacy: " 
 72                            "http://www.redhat.com/legal/privacy_statement.html") 
 73  BACK_REGISTER         = _("Take me back to the registration") 
 74   
 75  # Confirm Quit Window 
 76  CONFIRM_QUIT           = _("Software Update Not Set Up") 
 77  CONFIRM_QUIT_SURE       = _("Are you sure you don't want to connect your system to Red Hat Satellite? " 
 78                             "You'll miss out on the benefits of a Red Hat Enterprise Linux subscription:\n") 
 79  CONFIRM_QUIT_WILLNOT       = _("You will not be able to take advantage of these subscription privileges without connecting " 
 80                             "your system to Red Hat Satellite.\n") 
 81  CONTINUE_REGISTERING   = _("Take me back to the setup process.") 
 82  REGISTER_LATER2        = _("I'll register later.") 
 83   
 84  # Info Window 
 85  REGISTER_WINDOW   = _("Red Hat Account") 
 86  LOGIN_PROMPT      = _("Please enter your login information for the %s Red " 
 87                      "Hat Network Satellite:\n\n") 
 88  HOSTED_LOGIN      = _("Red Hat Login:") 
 89  LOGIN             = _("Login:") 
 90  PASSWORD          = _("Password:") 
 91  LOGIN_TIP         = _("Tip: Forgot your login or password?  Contact your " 
 92                        "Satellite's Organization Administrator.") 
 93  USER_REQUIRED     = _("Please enter a desired login.") 
 94  PASSWORD_REQUIRED = _("Please enter and verify a password.") 
 95   
 96  # OS Release Window 
 97  SELECT_OSRELEASE             = _("Operating System Release Version") 
 98  OS_VERSION                   = _("Operating System version:") 
 99  MINOR_RELEASE                = _(" Minor Release: ") 
100  LIMITED_UPDATES              = _("Limited Updates Only") 
101  ALL_UPDATES                  = _("All available updates") 
102  CONFIRM_OS_RELEASE_SELECTION = _("Confirm operating system release selection") 
103  CONFIRM_OS_ALL               = _("Your system will be subscribed to the base" 
104                                   " software channel to receive all available" 
105                                   " updates.") 
106   
107  # Hardware Window 
108  HARDWARE_WINDOW = _("Create Profile - Hardware") 
109  HARDWARE_WINDOW_DESC1 = _("A Profile Name is a descriptive name that" 
110                            " you choose to identify this System Profile" 
111                            " on the Red Hat Satellite web pages. Optionally," 
112                            " include a computer serial or identification number.") 
113  HARDWARE_WINDOW_DESC2 = _("Additional hardware information including PCI" 
114                            " devices, disk sizes and mount points will be" 
115                            " included in the profile.") 
116  HARDWARE_WINDOW_CHECKBOX = _("Include the following information about hardware" 
117                               " and network:") 
118   
119  # Packages Window 
120  PACKAGES_WINDOW         = _("Create Profile - Packages") 
121  PACKAGES_WINDOW_DESC1   = _("RPM information is important to determine what" 
122                            " updated software packages are relevant to this" 
123                            " system.") 
124  PACKAGES_WINDOW_DESC2   = _("Include RPM packages installed on this system" 
125                            " in my System Profile") 
126  PACKAGES_WINDOW_UNCHECK = _("You may deselect individual packages by" 
127                              " unchecking them below.") 
128  PACKAGES_WINDOW_PKGLIST = _("Building Package List") 
129   
130  # Product Window 
131  EMAIL                  = _("*Email Address:") 
132   
133  SYSTEM_ALREADY_SETUP = _("System Already Registered") 
134  SYSTEM_ALREADY_REGISTERED = _("It appears this system has already been set up for software updates:") 
135  SYSTEM_ALREADY_REGISTERED_CONT = _("Are you sure you would like to continue?") 
136   
137  RHSM_SYSTEM_ALREADY_REGISTERED = _("This system has already been registered using Red Hat Subscription Management.\n\n" 
138                                  "Your system is being registered again using Red Hat Satellite" 
139                                  " or Red Hat Satellite Proxy technology. Red Hat recommends that customers only register once.\n\n" 
140                                  "To learn more about RHN Classic/Red Hat Satellite registration and technologies please consult this" 
141                                  " Knowledge Base Article: https://access.redhat.com/kb/docs/DOC-45563") 
142   
143  # Send Window 
144  SEND_WINDOW      = _("Send Profile Information to Red Hat Satellite") 
145  SEND_WINDOW_DESC = _("We are finished collecting information for the System Profile.\n\n" 
146                       "Press \"Next\" to send this System Profile to Red Hat Satellite.  " 
147                       "Click \"Cancel\" and no information will be sent.  " 
148                       "You can run the registration program later by " 
149                       "typing `rhn_register` at the command line.") 
150   
151  # Sending Window 
152  SENDING_WINDOW = _("Sending Profile to Red Hat Satellite") 
153   
154  # Finish Window 
155  FINISH_WINDOW           = _("Updates Configured") 
156  FINISH_WINDOW_TEXT_TUI  = _("You may now run '%s update' from this system's " 
157                              "command line to get the latest " 
158                              "software updates from Red Hat Satellite. You will need to run this " 
159                              "periodically to " 
160                              "get the latest updates. Alternatively, you may configure this " 
161                              "system for automatic software updates (also known as 'auto errata update') " 
162                              "via the Red Hat Satellite web interface.  (Instructions for this are in chapter 6 " 
163                              "of the RHN Reference Guide, available from the 'Help' button in the main Red " 
164                              "Hat Network Satellite web interface.)") % PM_NAME 
165   
166  # Review Window 
167  REVIEW_WINDOW           = _("Review Subscription") 
168  REVIEW_WINDOW_PROMPT    = _("Please review the subscription details below:") 
169  SUB_NUM                 = _("The installation number %s was activated during " 
170                              "this system's initial connection to Red Hat Satellite.") 
171  SUB_NUM_RESULT          = _("Subscriptions have been activated for the following " 
172                              "Red Hat products/services:") 
173  CHANNELS_TITLE          = _("Software Channel Subscriptions:") 
174  OK_CHANNELS             = _("This system will receive updates from the " 
175                              "following software channels:") 
176  CHANNELS_SAT_WARNING    = _("Warning: Only installed product listed above will receive " 
177                              "updates and support. If you would like " 
178                              "to receive updates for additional products, please " 
179                              "login to your satellite web interface " 
180                              "and subscribe this system to the appropriate " 
181                              "software channels. See Kbase article " 
182                              "for more details. " 
183                              "(http://kbase.redhat.com/faq/docs/DOC-11313)") 
184  PM_PLUGIN_WARNING       = _("Warning: %s is not present, could not enable it.\n" 
185                              "Automatic updates will not work.") % (PM_PLUGIN_NAME) 
186  PM_PLUGIN_CONF_CHANGED  = _("Note: %s has been enabled.") % (PM_PLUGIN_NAME) 
187  PM_PLUGIN_CONF_ERROR    = _("Warning: An error occurred during enabling %s.\n" 
188                              "%s is not enabled.\n" 
189                              "Automatic updates will not work.") % (PM_PLUGIN_NAME, PM_PLUGIN_NAME) 
190  FAILED_CHANNELS         = _("You were unable to be subscribed to the following " 
191                              "software channels because there were insufficient " 
192                              "subscriptions available in your account:") 
193  NO_BASE_CHANNEL            = _( 
194  "This system was unable to subscribe to any software channels. Your system " 
195  "will not receive any software updates to keep it secure and supported. " 
196  "Contact your Satellite administrator about this problem. Once you make the " 
197  "appropriate active subscriptions available in your account, you may browse " 
198  "to this system's profile in the RHN web interface and subscribe this system " 
199  "to software channels via the software > software channels tab.") 
200  SLOTS_TITLE             = _("Service Level:") 
201  OK_SLOTS                = _("Depending on what Red Hat Satellite modules are associated with a system, you'll " 
202                              "enjoy different benefits. The following are the " 
203                              "Red Hat Satellite modules associated with this system:") 
204  SLOTS                   =  SLOTS_TITLE + "\n" + OK_SLOTS + "\n%s" 
205  FAILED_SLOTS            = _("This system was unable to be associated with the " 
206                              "following RHN module(s) because there were " 
207                              "insufficient subscriptions available in your account:") 
208  MANAGEMENT              = _("Management module: automatic updates, systems " 
209                              "grouping, systems permissions, system package profiling, " 
210                              "bare-metal provisioning, existing state provisioning, " 
211                              "rollbacks, configuration management") 
212   
213  VIRT = _("Virtualization module: software updates for a limited number of " 
214          "virtual guests on this system.") 
215   
216   
217  VIRT_FAILED = _("<b>Warning:</b> Any guest systems you create on this system " 
218          "and register to RHN will consume Red Hat Enterprise Linux " 
219          "subscriptions beyond this host system's subscription. You will need " 
220          "to: (1) make a virtualization system entitlement available and " 
221          "(2) apply that system entitlement to this " 
222          "system in RHN's web interface if you do not want virtual guests of " 
223          "this system to consume additional subscriptions.") 
224   
225  NO_SYS_ENTITLEMENT         = _("This system was unable to be associated with " 
226  "any RHN service level modules. This system will not receive any software " 
227  "updates to keep it secure and supported. Contace your Satellite administrator " 
228  "about this problem. Once you make the " 
229  "appropriate active subscriptions available in your account, you may browse " 
230  "to this system's profile in the RHN web interface, delete the profile, and " 
231  "re-connect this system to Red Hat Satellite.") 
232  ACTIVATION_KEY          = _("Universal default activation key detected\n" 
233                              "A universal default activation key was detected in your account. " 
234                              "This means that a set of properties (software channel subscriptions, " 
235                              "package installations, system group memberships, etc.) " 
236                              "for your system's connection to Red Hat Satellite or Red Hat Satellite Proxy" 
237                              "have been determined by the activation key rather than your " 
238                              "installation number.  " 
239                              "You may also refer to the RHN Reference Guide, section 6.4.6 for more details " 
240                              "about activation keys (http://access.redhat.com/knowledge/docs/Red_Hat_Network/)\n" 
241                              "Universal Default activation key: %s") 
242   
243  # Error Messages. 
244  FATAL_ERROR                = _("Fatal Error") 
245  WARNING                    = _("Warning") 
246  HOSTED_CONNECTION_ERROR    = _("We can't contact the Red Hat Satellite.\n\n" 
247                                 "Double check the location provided - is '%s' correct?\n" 
248                                 "If not, you can correct it and try again.\n\n" 
249                                 "Make sure that the network connection on this system is operational.\n\n" 
250                                 "This system will not be able to successfully receive software updates " 
251                                 "from Red Hat without connecting to a Red Hat Satellite server") 
252   
253  BASECHANNELERROR           = _("Architecture: %s, OS Release: %s, OS " 
254                                 "Version: %s") 
255  SERVER_TOO_OLD             = _("This server doesn't support functionality " 
256                                 "needed by this version of the software update" 
257                                 " setup client. Please try again with a newer " 
258                                 "server.") 
259   
260   
261  SSL_CERT_ERROR_MSG         = _("<b><span size=\"16000\">Incompatible Certificate File</span></b>\n\n" 
262                                 "The certificate you provided, <b>%s</b>, is not compatible with " 
263                                 " the Red Hat Satellite server at <b>%s</b>. You may want to double-check" 
264                                 " that you have provided a valid certificate file." 
265                                 " Are you sure you have provided the correct certificate, and that" 
266                                 " the certificate file has not been corrupted?\n\n" 
267                                 "Please try again with a different certificate file.") 
268   
269  SSL_CERT_EXPIRED           = _("<b><span size=\"12000\">Incompatible Certificate File</span></b>\n\n" 
270                                 " The certificate is expired. Please ensure you have the correct " 
271                                 " certificate and your system time is correct.") 
272   
273  SSL_CERT_FILE_NOT_FOUND_ERRER = _("Please verify the values of sslCACert and serverURL in " 
274                                    "/etc/sysconfig/rhn/up2date. You can either make the " 
275                                    "serverURL use http instead of https, or you can " 
276                                    "download the SSL cert from your Satellite, place it " 
277                                    "in /usr/share/rhn, and ensure sslCACert points to it.") 
278   
279  ACT_KEY_USAGE_LIMIT_ERROR = _("Problem registering system.\n\n" 
280                                "A universal default activation key limits the " 
281                                "number of systems which can connect to " 
282                                "the RHN organization associated with your " 
283                                "login. To allow this system to connect, " 
284                                "please contact your RHN organization " 
285                                "administrator to increase the number of " 
286                                "systems allowed to connect or to disable " 
287                                "this universal default activation key. " 
288                                "More details can be found in Red Hat " 
289                                "Knowledgebase Article #7924 at " 
290                                "http://kbase.redhat.com/faq/FAQ_61_7924.shtm ") 
291   
292  CHANNEL_PAGE_TIP       = _("\n Tip: Minor releases with a '*' are currently" 
293                             " supported by Red Hat.\n\n") 
294   
295  CHANNEL_PAGE_WARNING = _("Warning:You will not be able to limit this" 
296                            " system to minor release that is older than" 
297                            " the recent minor release if you select this" 
298                            " option.\n") 
299   
300  CONFIRM_OS_WARNING      = _("Your system will be subscribed to %s \n" 
301                              "base software channel. You will not be\n" 
302                              "able to move this system to an earlier release\n" 
303                              "(you will be able to move to a newer release).\n" 
304                              "Are you sure you would like to continue?") 
305   
306   
307   
308  # Navigation 
309  OK        = _("OK") 
310  ERROR     = _("Error") 
311  NEXT      = _("Next") 
312  BACK      = _("Back") 
313  CANCEL    = _("Cancel") 
314  NO_CANCEL = _("No, Cancel") 
315  YES_CONT  = _("Yes, Continue") 
316  DESELECT  = _("Press <space> to deselect the option.") 
317