Module: Yast::BootloaderRoutinesHelpsInclude
- Defined in:
- src/include/bootloader/routines/helps.rb
Instance Method Summary (collapse)
-
- (String) getAdvancedButtonHelp
Get help.
-
- (String) getExpertManualHelp
Get help.
-
- (String) getInitProgressHelp
Get help.
-
- (String) getManualEditHelp
Get help.
-
- (String) getSaveProgressHelp
Get help.
- - (Object) initialize_bootloader_routines_helps(_include_target)
-
- (String) InstDetailsHelp
Get help text.
-
- (String) LoaderOptionsHelp
Get help text.
-
- (String) LoaderTypeHelp
Get help text.
-
- (String) LocationsHelp
Get help.
-
- (String) SectionNameHelp
Get help text.
-
- (String) SectionsHelp
Get help.
-
- (String) SectionTypeHelp
Get help text.
Instance Method Details
- (String) getAdvancedButtonHelp
Get help
48 49 50 51 52 53 54 55 56 57 58 59 60 61 |
# File 'src/include/bootloader/routines/helps.rb', line 48 def getAdvancedButtonHelp ins = "" # help text 1/2 (%1 may be following sentence, optionally empty) help = Builtins.sformat( _( "<P>From <B>Other</B>,\n" \ "you can manually edit the boot loader configuration files, clear the current \n" \ "configuration and propose a new configuration, start from scratch, or reread\n" \ "the configuration saved on your disk. %1</P>" ), ins ) help end |
- (String) getExpertManualHelp
Get help
207 208 209 210 211 212 213 214 |
# File 'src/include/bootloader/routines/helps.rb', line 207 def getExpertManualHelp # help text 1/1 _( "<P><B>Expert Manual Configuration</B><BR>\n" \ "Here, manually edit the boot loader configuration.</P>\n" \ "<P>Note: The final configuration file may have different indenting.</P>" ) end |
- (String) getInitProgressHelp
Get help
30 31 32 33 34 35 |
# File 'src/include/bootloader/routines/helps.rb', line 30 def getInitProgressHelp # help text 1/1 (shown during settings reading progress) _( "<P><BIG><B>Boot Loader Configuration Tool</B></BIG><BR>\nChange the settings of your boot loader.</P>" ) end |
- (String) getManualEditHelp
Get help
65 66 67 68 69 70 |
# File 'src/include/bootloader/routines/helps.rb', line 65 def getManualEditHelp # help text 1/1 _( "<P>To edit boot loader configuration files\nmanually, click <B>Edit Configuration Files</B>.</P>" ) end |
- (String) getSaveProgressHelp
Get help
39 40 41 42 43 44 |
# File 'src/include/bootloader/routines/helps.rb', line 39 def getSaveProgressHelp # help text _( "<P><B><BIG>Saving Boot Loader Configuration</BIG></B><BR>\nPlease wait...<br></p>" ) end |
- (Object) initialize_bootloader_routines_helps(_include_target)
19 20 21 22 23 24 |
# File 'src/include/bootloader/routines/helps.rb', line 19 def initialize_bootloader_routines_helps(_include_target) textdomain "bootloader" Yast.import "StorageDevices" Yast.import "Arch" end |
- (String) InstDetailsHelp
Get help text
174 175 176 177 178 179 180 181 |
# File 'src/include/bootloader/routines/helps.rb', line 174 def InstDetailsHelp # help text 1/1 _( "<p><b>Boot Loader Installation Details</b><br>\n" \ "To adjust advanced boot loader installation options (such as the device\n" \ "mapping), click <b>Boot Loader Installation Details</b>.</p>" ) end |
- (String) LoaderOptionsHelp
Get help text
196 197 198 199 200 201 202 203 |
# File 'src/include/bootloader/routines/helps.rb', line 196 def LoaderOptionsHelp # help text 1/1 _( "<p><b>Boot Loader Options</b><br>\n" \ "To adjust options of the boot loader, such as the time-out, click\n" \ "<b>Boot Loader Options</b>.</p>" ) end |
- (String) LoaderTypeHelp
Get help text
185 186 187 188 189 190 191 192 |
# File 'src/include/bootloader/routines/helps.rb', line 185 def LoaderTypeHelp # help text 1/1 _( "<p><b>Boot Loader Type</b><br>\n" \ "To select whether to install a boot loader and which bootloader to install,\n" \ "use <b>Boot Loader</b>.</p>" ) end |
- (String) LocationsHelp
Get help
102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 |
# File 'src/include/bootloader/routines/helps.rb', line 102 def LocationsHelp # help text for the custom boot manager installation, 1 of 7 # %1 = name of boot loader (e.g. "LILO") # this should be per architecture helptext = Builtins.sformat( _( "<p><big><b>Boot Loader Location</b></big><br>\nThe boot manager (%1) can be installed in the following ways:</p>" ), BootCommon.getLoaderType(false) ) # custom bootloader help text, 2 of 7 helptext = Ops.add( helptext, _( "<p>- In the <b>Master Boot Record</b> (MBR).\n" \ "This is not recommended if there is another operating system installed\n" \ "on the computer.</p>" ) ) # custom bootloader help text, 3 of 7 helptext = Ops.add( helptext, _( "<p>\n" \ "- In the <b>Boot Sector</b> of the <tt>/boot</tt> or <tt>/</tt> (root) \n" \ "partition. This is the recommended option whenever there is a suitable\n" \ "partition. Either set <b>Activate Boot Loader Partition</b> and\n" \ "<b>Replace MBR with Generic Code</b> in <b>Boot Loader Installation Details</b>\n" \ "to update the master boot record\n" \ "if it is needed or configure your other boot manager\n" \ "to start &product;.</p>" ) ) # custom bootloader help text, 5 of 7 helptext = Ops.add( helptext, _( "<p>\n" \ "- In some <b>Other</b> partition. Consider your system's restrictions\n" \ "when selecting this option.</p>" ) ) if Arch.i386 # optional part, only inserted on x86 architectures. 6 of 7 helptext = Ops.add( helptext, _( "<p>For example, most PCs have a BIOS\n" \ "limit that restricts booting to\n" \ "hard disk cylinders smaller than 1024. Depending on the boot manager used,\n" \ "you may or may not be able to boot from a logical partition.</p>" ) ) end # custom bootloader help text, 7 of 7 helptext = Ops.add( helptext, _( "<p>\n" \ "Enter the device name of the partition (for example, <tt>/dev/hda3</tt> or\n" \ "<tt>/dev/sdb</tt>) in the input field.</p>" ) ) helptext end |
- (String) SectionNameHelp
Get help text
218 219 220 221 222 223 224 225 |
# File 'src/include/bootloader/routines/helps.rb', line 218 def SectionNameHelp # help text 1/1 _( "<p><b>Section Name</b><br>\n" \ "Use <b>Section Name</b> to specify the boot loader section name. The section\n" \ "name must be unique.</p>" ) end |
- (String) SectionsHelp
Get help
74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 |
# File 'src/include/bootloader/routines/helps.rb', line 74 def SectionsHelp # help 1/4 _( "<P> In the table, each section represents one item\nin the boot menu.</P>" ) + # help 2/4 _( "<P> Press <B>Edit</B> to display the properties of the\nselected section.</P>" ) + # help 3/4 _( "<P> By pressing <b>Set as Default</b>, mark the selected \n" \ "section as default. When booting, the boot loader will provide \n" \ "a boot menu and wait for the user to select the kernel or other \n" \ "OS to boot. If no key is pressed before the time-out, the default \n" \ "kernel or OS will be booted. The order of sections in the boot loader\n" \ "menu can be changed using the <B>Up</B> and <B>Down</B> buttons.</P>" ) + # help 4/4 _( "<P>Press <B>Add</B> to create a new boot loader section\nor <B>Delete</B> to delete the selected section.</P>" ) end |
- (String) SectionTypeHelp
Get help text
229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 |
# File 'src/include/bootloader/routines/helps.rb', line 229 def SectionTypeHelp # help text 1/5 _( "<p><big><b>Type of the New Section</b></big><br>\nSelect the type of the new section to create.</p>" ) + # help text 2/5 _( "<p>Select <b>Clone Selected Section</b> to clone the currently selected\n" \ "section. Then modify the options that should differ from the\n" \ "selected section.</p>" ) + # help text 3/5 _( "<p>Select <b>Image Section</b> to add a new Linux kernel or other image\nto load and start.</p>" ) + # help text 4/5 _( "<p>Select <b>Xen Section</b> to add a new Linux kernel or other image,\nbut to start it in a Xen environment.</p>" ) + # help text 5/5 _( "<p>Select <b>Other System (Chainloader)</b> to add a section that \n" \ "loads and starts a boot sector of a partition of the disk. This is used for\n" \ "booting other operating systems.</p>" ) + _( "<p>Select <b>Menu Section</b> to add a section that \n" \ "loads configuration file (the list of boot sections) from a partition of the disk. This is used for\n" \ "booting other operating systems.</p>" ) end |