home *** CD-ROM | disk | FTP | other *** search
/ Chip 2007 January, February, March & April / Chip-Cover-CD-2007-02.iso / boot / i386 / root / usr / share / YaST2 / data / you_layout.ycp < prev   
Text File  |  2006-11-29  |  3KB  |  96 lines

  1. /**
  2.  * File:        you_layout.ycp
  3.  * Package:     
  4.  * Authors:     Gabriele Strattner <gs@suse.de>
  5.  *
  6.  * Purpose:
  7.  *
  8.  * ncurses layout for YOU
  9.  *
  10.  * $Id: you_layout.ycp 34118 2006-11-07 13:37:19Z gs $
  11.  */
  12. {
  13.     textdomain "packages";
  14.  
  15.     return `VBox( `VSpacing(0.3),
  16.           `HBox( `HSpacing(0.4),
  17.              // Labels and menu entries for the YaST Online Update
  18.              // label of the Online Update 'Filter' menu (keep it short)
  19.              `Left(`MenuButton( `opt(`key_F4), _( "&Filter" ),
  20.                         // menu items - keep them short and use unique hotkeys from begin: to end:
  21.                         // begin:
  22.                         [ `item( `id("installablepatches"), _( "&Installable Patches" ) ),
  23.                           `item( `id("instpatches"), _( "Installed &Patches" ) ),
  24.                           `item( `id("allpatches"), _( "&All Patches" ) ),
  25.                           `item( `id("newpatches"), _( "&New Patches" ) ),
  26.                           `item( `id("recommended"), _( "&Recommended" )),
  27.                           `item( `id("security"), _( "&Security" ) ),
  28.                           `item( `id("optional"), _( "&Optional" ) ),
  29.                           // end:
  30.                           `item( `id("yast2"), _( "YaS&T2" ) )
  31.                           ]
  32.                           )),
  33.              // label of the Online Update 'Actions' menu (keep it short)
  34.              `Left(`MenuButton( `opt(`key_F5), _( "&Actions" ),
  35.                         // menu items
  36.                         [`item( `id("toggle"),  _( "&Toggle   [SPACE]" ) ),
  37.                          `item( `id("select"),  _( "&Select     [+]" ) ),
  38.                          `item( `id("delete"),  _( "Dese&lect   [-]" ) ),
  39.                          `item( `id("update"),  _( "&Update     [>]" ) )
  40.                          ]
  41.                         )),
  42.              // label of the Online Update 'Information' menu (keep it short)
  43.              `Left(`MenuButton( `opt(`key_F6), _( "&Information" ),
  44.                         // menu items
  45.                         [`item( `id("patchdescr"), _( "&Long Description" ) ),
  46.                          `item( `id("patchpackages"), _( "&Package List" ) ),
  47.                          `item( `id("packagesversions"), _("&Versions") )
  48.                          ]
  49.                         )),
  50.               // label of the Online Update 'Etc' menu (keep it short)
  51.              `Left(`MenuButton( `opt(`key_F7), _( "&Etc." ),
  52.                         [`item( `id("testcase"),     _( "Generate Dependency Resolver &Test Case" ) )
  53.                          ]
  54.                    )),
  55.              `HStretch()
  56.              ),
  57.           `VSpacing(0.3),
  58.           `VWeight( 50, `HBox(`HSpacing(0.3),
  59.                       `PkgSpecial( `id("packages"), `opt(`notify), "pkgTable" ), 
  60.                       `HSpacing(0.3)
  61.                       )
  62.                 ),
  63.           `HBox(
  64.             // label text - keep it short
  65.             `HWeight(1, `HBox(`Label( _( "Filter: " ) ),
  66.                       `Label( `id("filter"), "........................." ),
  67.                       `HSpacing( 0.1 )
  68.                       )
  69.                  ),
  70.             // label text - keep it short (use abbreviation if necessary)
  71.             // It's the total -download- size of the patches (not the installed size)
  72.             `HWeight(1, `HBox(`Label( _( "Total Download Size: " ) ),
  73.                       `Label( `id("diskspace"), "         " ),
  74.                       `HSpacing( 0.1 )
  75.                       )
  76.                  )
  77.             ),
  78.           `VBox(`VWeight( 40, `ReplacePoint( `id(`replaceinfo),
  79.                              `RichText( `id("description")," ")
  80.                              )
  81.                   ),
  82.             // button label
  83.             `VWeight( 5, `HBox(`Left(`PushButton(`id("youhelp"), `opt(`key_F1), _( "&Help" )) ), 
  84.                        `HSpacing(5.0),
  85.                        // button label
  86.                        `Right( `PushButton(`id("cancel"), `opt(`key_F9), _( "&Cancel" )) ),
  87.                        // button label
  88.                        `Right( `PushButton(`id("ok"), `opt(`key_F10), _( "&OK" )) )
  89.                        )
  90.                   )
  91.             )
  92.           );
  93. }
  94.  
  95.  
  96.