80. GfxMenu

Routines to maintain translations in the graphical bootloader menu

80.1. Authors

  • Jiri Srain <jsrain@suse.cz>

  • Olaf Dabrunz <od@suse.de>

80.2. Summary of Module Globals

List of Global Functions

  • ReplaceRegexMatch - Replace every match of given regular expression in a string with a replacement string

  • Update - Updates GFX menu without requiring any information, reads loader type from sysconfig, calls /sbin/lilo if LILO is being used directly

  • UpdateGfxMenuContents - Update graphical bootloader to contain translations for section labels in the currently selected installation language (set in /etc/sysconfig/language, RC_LANG) And make the selected installation language default

  • getTranslationsToDiacritics - Get translated section names, including diacritics

  • translateSectionTitle - Create translated name of a section

List of Global Variables

    80.3. Global Functions

    80.3.1. ReplaceRegexMatch

    Replace every match of given regular expression in a string with a replacement string

    Function parameters

    • string input

    • string regex

    • string repl

    Return value

    • string - that has matches replaced

    80.3.2. Update

    Updates GFX menu without requiring any information, reads loader type from sysconfig, calls /sbin/lilo if LILO is being used directly

    Return value

    • boolean - true on success

    80.3.3. UpdateGfxMenuContents

    Update graphical bootloader to contain translations for section labels in the currently selected installation language (set in /etc/sysconfig/language, RC_LANG) And make the selected installation language default

    Function parameters

    • string loader

    Return value

    • boolean - true on success

    80.3.4. getTranslationsToDiacritics

    Get translated section names, including diacritics

    Function parameters

    • string loader

    Return value

    • map<string,string> - a map section names translations

    80.3.5. translateSectionTitle

    Create translated name of a section

    Function parameters

    • string orig

    • string loader

    Return value

    • string - translated section name

    80.4. Global Variables

    80.5. Module Requirements

    80.5.1. Module Imports

    • Mode
    • Product
    • Product
    • Product

    80.5.2. Module Includes