Author: juhliarik Date: Tue Jul 17 17:36:09 2007 New Revision: 39474 URL: http://svn.opensuse.org/viewcvs/yast?rev=39474&view=rev Log: added part of help texts Modified: trunk/kdump/src/dialogs.ycp trunk/kdump/src/helps.ycp Modified: trunk/kdump/src/dialogs.ycp URL: http://svn.opensuse.org/viewcvs/yast/trunk/kdump/src/dialogs.ycp?rev=39474&r1=39473&r2=39474&view=diff ============================================================================== --- trunk/kdump/src/dialogs.ycp (original) +++ trunk/kdump/src/dialogs.ycp Tue Jul 17 17:36:09 2007 @@ -59,7 +59,7 @@ "EnableDisalbeKdump" : $[ //TRANSLATORS: RadioButtonGroup Label - "label" : _("Enable/Disable kdump"), + "label" : _("Enable/Disable Kdump"), "widget" : `radio_buttons, "items" : [ ["enable_kdump", _("Enable kd&ump") ], @@ -73,71 +73,50 @@ ], - "RunLevel" : $[ - //TRANSLATORS: ComboBox Label - "label" : _("&The Run-level to Boot the Kdump Kernel"), - "widget" : `combobox, - "items" : [ - [ "run_level1", _("1 - Single User Mode") ], - [ "run_level2", _("2 - Local Multiuser Without Remote Network") ], - [ "run_level3", _("3 - Full Multiuser With Network") ], - [ "run_level5", _("5 - Full Multiuser With Network and xdm") ], - [ "run_levelS", _("s - ") ], - ], - "init" : InitRunLevel, - //"handle" : - "store" : StoreRunLevel, - "help" : HelpKdump("RunLevel"), - ], -/* - "RawDisk" : $[ - //TRANSLATORS: ComboBox Label - "label" : _("&The list of available paritions without any filesystem"), - "widget" : `combobox, - "items" : [ - ], - "init" : InitRawDisk, - //"handle" : - "store" : StoreRawDisk, - "help" : HelpKdump("RawDisk"), - ], -*/ - "EnableReboot" : $[ - //TRANSLATORS: CheckBox Label - "label" : _("&Enable Immediate Reboot After Saving the Core"), - "widget" : `checkbox, - "init" : InitEnableReboot, - //"handle" : - "store" : StoreEnableReboot, - "help" : HelpKdump("EnableReboot"), - ], - - - "EnableDeleteImages" : $[ - //TRANSLATORS: CheckBox Label - "label" : _("Enable &Delete Old Dump Images"), - "widget" : `checkbox, - "init" : InitEnableDeleteImages, - "handle" : HandleEnableDeleteImages, - "store" : StoreEnableDeleteImages, - "help" : HelpKdump("EnableDeleteImages"), + "KdumpMemory" : $[ + "widget" : `custom, + "custom_widget" : `HSquash(`VBox( + `Left(`HBox( + `Left(`Label("Total System Memory [MB]:")), + `Left(`Label(`id("total_memory"),"0123456789")), + `HStretch () + )), + `Left(`HBox( + `Left(`Label("Usable Memory [MB]:")), + `Left(`Label(`id("usable_memory"),"0123456789")), + `HStretch () + )), + `Left(`IntField(`id("memory_buffer"), `opt(`notify), _("Kdump Memor&y [MB]"),128,1048576,128)) + )), + "init" : InitKdumpMemory, + "handle" : HandleKdumpMemory, + //"store" : + "help" : HelpKdump("KdumpMemory"), ], - "FreeDiskSize" : $[ - //TRANSLATORS: IntField Label - "label" : _("Fr&ee Disk Size [MB]"), - "widget" : `intfield, - "minimum" : 0, - "maximum" : 10, - //"init" : - //"handle" : - //"store" : - "help" : HelpKdump("FreeDiskSize"), + "DumpLevel" : $[ + "widget" : `custom, + "custom_widget" : `VBox( + `Frame ( _("Include in Dumping"), `VBox( + `Left(`HBox(`HSpacing(1),`VBox( + `Left(`CheckBox(`id("zero_page"), "&Pages Filled with Zero")), + `Left(`CheckBox(`id("cache_page"), `opt(`notify), "Cach&e Pages")), + `HBox(`HSpacing(2),`VBox( + `Left(`CheckBox(`id("cache_private"), `opt(`notify), "Cache Priva&te Pages")) + )), + `Left(`CheckBox(`id("user_data"), "&User Data Pages")), + `Left(`CheckBox(`id("free_page"), "&Free Pages")) + //`VStretch () + ))) + ))), + "init" : InitDumpLevel, + "handle" : HandleDumpLevel, + "store" : StoreDumpLevel, + "help" : HelpKdump("DumpLevel"), ], - "DumpFormat" : $[ //TRANSLATORS: TextEntry Label "label" : _("&Dump Format"), @@ -153,13 +132,10 @@ "help" : HelpKdump("DumpFormat"), ], - - - - "TargetKdump" : $[ + "TargetKdump" : $[ "widget" : `custom, "custom_widget" : `VBox( - `Frame(_("Saving Target for kdump Image"),`HBox(`HSpacing(1),`VBox( + `Frame(_("Saving Target for Kdump Image"),`HBox(`HSpacing(1),`VBox( `RadioButtonGroup(`id("DumpTarget"), `HBox( `Left(`RadioButton(`id("local_filesystem"), `opt(`notify), "&Local Filesytem")), `Left(`RadioButton(`id("ftp"), `opt(`notify), "F&TP")), @@ -183,7 +159,7 @@ ], - "RawPartitions" : $[ + "RawPartitions" : $[ //TRANSLATORS: ComboBox Label "widget" : `custom, "custom_widget" : `VBox( @@ -200,6 +176,57 @@ "help" : HelpKdump("RawPartitions"), ], + "RunLevel" : $[ + //TRANSLATORS: ComboBox Label + "label" : _("&The Run-level to Boot the Kdump Kernel"), + "widget" : `combobox, + "items" : [ + [ "run_level1", _("1 - Single User Mode") ], + [ "run_level2", _("2 - Local Multiuser Without Remote Network") ], + [ "run_level3", _("3 - Full Multiuser With Network") ], + [ "run_level5", _("5 - Full Multiuser With Network and xdm") ], + [ "run_levelS", _("s - ") ], + ], + "init" : InitRunLevel, + //"handle" : + "store" : StoreRunLevel, + "help" : HelpKdump("RunLevel"), + ], + + "EnableReboot" : $[ + //TRANSLATORS: CheckBox Label + "label" : _("&Enable Immediate Reboot After Saving the Core"), + "widget" : `checkbox, + "init" : InitEnableReboot, + //"handle" : + "store" : StoreEnableReboot, + "help" : HelpKdump("EnableReboot"), + ], + + + "EnableDeleteImages" : $[ + //TRANSLATORS: CheckBox Label + "label" : _("Enable &Delete Old Dump Images"), + "widget" : `checkbox, + "init" : InitEnableDeleteImages, + "handle" : HandleEnableDeleteImages, + "store" : StoreEnableDeleteImages, + "help" : HelpKdump("EnableDeleteImages"), + ], + + + "FreeDiskSize" : $[ + //TRANSLATORS: IntField Label + "label" : _("Fr&ee Disk Size [MB]"), + "widget" : `intfield, + "minimum" : 0, + "maximum" : 10, + //"init" : + //"handle" : + //"store" : + "help" : HelpKdump("FreeDiskSize"), + ], + "NumberDumps" : $[ //TRANSLATORS: IntField Label "label" : _("N&umber of Old Dumps"), @@ -243,47 +270,9 @@ - "KdumpMemory" : $[ - "widget" : `custom, - "custom_widget" : `HSquash(`VBox( - `Left(`HBox( - `Left(`Label("Total System Memory [MB]:")), - `Left(`Label(`id("total_memory"),"0123456789")), - `HStretch () - )), - `Left(`HBox( - `Left(`Label("Usable Memory [MB]:")), - `Left(`Label(`id("usable_memory"),"0123456789")), - `HStretch () - )), - `Left(`IntField(`id("memory_buffer"), `opt(`notify), _("Kdump Memor&y [MB]"),128,1048576,128)) - )), - "init" : InitKdumpMemory, - "handle" : HandleKdumpMemory, - //"store" : - "help" : HelpKdump("KdumpMemory"), - ], + - "DumpLevel" : $[ - "widget" : `custom, - "custom_widget" : `VBox( - `Frame ( _("Include in Dumping"), `VBox( - `Left(`HBox(`HSpacing(1),`VBox( - `Left(`CheckBox(`id("zero_page"), "&Pages Filled with Zero")), - `Left(`CheckBox(`id("cache_page"), `opt(`notify), "Cach&e Pages")), - `HBox(`HSpacing(2),`VBox( - `Left(`CheckBox(`id("cache_private"), `opt(`notify), "Cache Priva&te Pages")) - )), - `Left(`CheckBox(`id("user_data"), "&User Data Pages")), - `Left(`CheckBox(`id("free_page"), "&Free Pages")) - //`VStretch () - ))) - ))), - "init" : InitDumpLevel, - "handle" : HandleDumpLevel, - "store" : StoreDumpLevel, - "help" : HelpKdump("DumpLevel"), - ], + "InitrdKernel" : $[ //TRANSLATORS: TextEntry Label Modified: trunk/kdump/src/helps.ycp URL: http://svn.opensuse.org/viewcvs/yast/trunk/kdump/src/helps.ycp?rev=39474&r1=39473&r2=39474&view=diff ============================================================================== --- trunk/kdump/src/helps.ycp (original) +++ trunk/kdump/src/helps.ycp Tue Jul 17 17:36:09 2007 @@ -36,8 +36,71 @@ */ map HELPS = $[ + /*Enable/Disable Kdump - RadioButtons 1/1*/ + "StartRadioBut" : _("<p><b>Enable/Disable Kdump</b><br> + Enable or disable kdump. The boot option crashkernel parameter is added/removed. + For applying changes is necessary reboot.<br></p>"), + + + /* Kdump Memor&y [MB] - IntField 1/1*/ + "KdumpMemory" : _("<p><b>Kdump Memory</b><br> + Alocating of memory for kdump kernel. <br></p>"), + + /* Kdump Memor&y [MB] - IntField 1/1*/ + "DumpLevel" : _("<p><b>Dump Level</b><br> + Specify the type of necessary page for analysis. + Pages of the specified type are copied to dumpfile. + The page type marked in the following table is included. <br></p>"), + + /* Dump Format - RadioButtons 1/1*/ + "DumpFormat" : _("<p><b>Dump Format</b><br> + <i>Compressed Format</i> - Compress dump data by each page. + <i>ELF Format</i> - Create dumpfile in the ELF format<br></p>"), + + /* Dump Format - RadioButtons 1/6*/ + "TargetKdump" : _("<p><b>Saving Target for Kdump Image</b><br> + The target for saving kdump images.<br></p>")+ + /* Dump Format - RadioButtons 2/6*/ + _("<p><b>Local Filestem</b> - Save kdump image in the local filesystem. + <i>Directory for Saving Dumps</i> - The path for saving kdump images. + If user push <i>Browse</i> he can select directory for saving kdump images + via dialog.<br></p>")+ + /* Dump Format - RadioButtons 3/6*/ + _("<p><b>FTP</b> - Save kdump image via FTP. + <i>Server Name</i> - The name of ftp server. + <i>Port</i> - The port number for connection. + <i>Directory on Server</i> - The path for saving kdump images. + <i>Enable Anonymous FTP</i> enables anonymous connection to server. + <i>User Name</i> for ftp connection. <i>Password</i> for ftp connection.<br></p>")+ + /* Dump Format - RadioButtons 4/6*/ + _("<p><b>SSH</b> - Save kdump image via SSH. + <i>Server Name</i> - The name of server. + <i>Port</i> - The port number for connection. + <i>Directory on Server</i> - The path for saving kdump images. + <i>User Name</i> for ssh connection.<br></p>")+ + /* Dump Format - RadioButtons 5/6*/ + _("<p><b>NFS</b> - Save kdump image on NFS. + <i>Server Name</i> - The name of nfs server. + <i>Directory on Server</i> - The path for saving kdump images.<br></p>")+ + /* Dump Format - RadioButtons 6/6*/ + _("<p><b>CIFS</b> - Save kdump image via CIFS. + <i>Server Name</i> - The name of server. + <i>Exported Share</i> - The windows share name. + <i>Directory on Server</i> - The path for saving kdump images. + <i>Use Authentication</i> enables authenticated connection to server. + <i>User Name</i> for connection. <i>Password</i> for connection.<br></p>"), + + + /* Enable Raw Saving in Initrd - ComboBox 1/1*/ + "RawPartitions": _("<p><b>Enable Raw Saving in Initrd</b> - allows to save + the dump in initrd before mounting any filesystem. Then the system is rebooted, and + if filesystem doesn't mount user can repair it with a rescue system. On first normal + boot, the dump is saved to the final dump destination.<br></p>""), + + + /* Read dialog help 1/2 */ - "read" : _("<p><b><big>Initializing kdump Configuration</big></b><br> + "read" : _("<p><b><big>Initializing Kdump Configuration</big></b><br> Please wait...<br></p> ") + @@ -47,7 +110,7 @@ "), /* Write dialog help 1/2 */ - "write" : _("<p><b><big>Saving kdump Configuration</big></b><br> + "write" : _("<p><b><big>Saving Kdump Configuration</big></b><br> Please wait...<br></p> ") + @@ -64,7 +127,7 @@ ") + /* Summary dialog help 2/3 */ - _("<p><b><big>Adding a kdump:</big></b><br> + _("<p><b><big>Adding a Kdump:</big></b><br> Choose an kdump from the list of detected kdumps. If your kdump was not detected, use <b>Other (not detected)</b>. Then press <b>Configure</b>.</p> @@ -83,7 +146,7 @@ ") + /* Ovreview dialog help 2/3 */ -_("<p><b><big>Adding a kdump:</big></b><br> +_("<p><b><big>Adding a Kdump:</big></b><br> Press <b>Add</b> to configure a kdump.</p>") + /* Ovreview dialog help 3/3 */ @@ -92,26 +155,6 @@ Then press <b>Edit</b> or <b>Delete</b> as desired.</p> "), - /* Configure1 dialog help 1/2 */ - "c1" : _("<p><b><big>Configuration Part One</big></b><br> -Press <b>Next</b> to continue. -<br></p>") + - - /* Configure1 dialog help 2/2 */ -_("<p><b><big>Selecting Something</big></b><br> -It is not possible. You must code it first. :-) -</p>"), - - /* Configure2 dialog help 1/2 */ - "c2" : _("<p><b><big>Configuration Part Two</big></b><br> -Press <b>Next</b> to continue. -<br></p> -") + - - /* Configure2 dialog help 2/2 */ -_("<p><b><big>Selecting Something</big></b><br> -It is not possible. You must code it first. :-) -</p>"), ]; string HelpKdump (string identification) { -- To unsubscribe, e-mail: yast-commit+unsubscribe@opensuse.org For additional commands, e-mail: yast-commit+help@opensuse.org