diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2009-01-27 17:30:27 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2009-01-27 17:30:27 +0000 |
commit | 7c9548a4dd03b6a38ace3a2e6812952742319c3b (patch) | |
tree | 61b7517e2fd5a893e666e793b27190707cc42915 | |
parent | 0fed9ddcbc36d5db744ee6b6cc181dfbd7a4dcae (diff) | |
download | bootloader-theme-7c9548a4dd03b6a38ace3a2e6812952742319c3b.tar bootloader-theme-7c9548a4dd03b6a38ace3a2e6812952742319c3b.tar.gz bootloader-theme-7c9548a4dd03b6a38ace3a2e6812952742319c3b.tar.bz2 bootloader-theme-7c9548a4dd03b6a38ace3a2e6812952742319c3b.tar.xz bootloader-theme-7c9548a4dd03b6a38ace3a2e6812952742319c3b.zip |
dynamic renaming of bootloader entries
- rename "linux" to "Boot Mandriva Linux 2009 Spring"
- rename "windows" to "Boot Microsoft Windows"
- rename "2.6.xx" to "Linux with kernel 2.6.xx"
- replace "Installation" with "Install Mandriva Linux 2009 Spring"
-rw-r--r-- | po/bootloader.pot | 15 | ||||
-rw-r--r-- | src/common.inc | 8 |
2 files changed, 20 insertions, 3 deletions
diff --git a/po/bootloader.pot b/po/bootloader.pot index 849c213..21781d3 100644 --- a/po/bootloader.pot +++ b/po/bootloader.pot @@ -31,8 +31,21 @@ msgstr "" msgid "Continue" msgstr "" +#. txt_linux +msgid "Boot Mandriva Linux 2009 Spring" +msgstr "" + +#. txt_windows +msgid "Boot Microsoft Windows" +msgstr "" + +#. txt_linux_kernel_version +#, c-format +msgid "Linux with kernel %s" +msgstr "" + #. txt_install -msgid "Installation" +msgid "Install Mandriva Linux 2009 Spring" msgstr "" #. txt_manual_install diff --git a/src/common.inc b/src/common.inc index 7a7ba6b..cf6bc2e 100644 --- a/src/common.inc +++ b/src/common.inc @@ -875,6 +875,8 @@ } def +/kernel_str 256 string def + % - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - % ( text ) == > ( new_text ) /menuitemmap { @@ -908,9 +910,11 @@ dup "mediachk" eq { pop txt_mediacheck return } if dup "mediacheck" eq { pop txt_mediacheck return } if } { - dup "linux" eq { pop "Linux" return } if + dup "linux" eq { pop txt_linux return } if dup "failsafe" eq { pop txt_safe_linux return } if - dup "windows" eq { pop "Windows" return } if + dup "windows" eq { pop txt_windows return } if + dup "2.6" strstr 1 eq { txt_linux_kernel_version kernel_str sprintf + kernel_str return } if } ifelse } def |