76. GfxMenu

Routines to maintain translations in the graphical bootloader menu

76.1. 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

    76.2. Global Functions

    76.2.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

    76.2.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

    76.2.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

    76.2.4. getTranslationsToDiacritics

    Get translated section names, including diacritics

    Function parameters

    • string loader

    Return value

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

    76.2.5. translateSectionTitle

    Create translated name of a section

    Function parameters

    • string orig

    • string loader

    Return value

    • string - translated section name

    76.3. Global Variables

    76.4. Module Requirements

    76.4.1. Module Imports

    • Mode
    • Product
    • Product
    • Product

    76.4.2. Module Includes