diff options
| author | Martin Whitaker <mageia@martin-whitaker.me.uk> | 2026-02-12 16:36:56 +0000 |
|---|---|---|
| committer | Martin Whitaker <mageia@martin-whitaker.me.uk> | 2026-02-12 16:36:56 +0000 |
| commit | 93333d46a43a5a1e529dc8e102c4684eae3435d7 (patch) | |
| tree | e0c39df18c6739a0ef5806de299830ef28c6bdfe | |
| parent | 8a80ba11fb971457e03e4f9d70148cd0852572d8 (diff) | |
| download | drakiso-93333d46a43a5a1e529dc8e102c4684eae3435d7.tar drakiso-93333d46a43a5a1e529dc8e102c4684eae3435d7.tar.gz drakiso-93333d46a43a5a1e529dc8e102c4684eae3435d7.tar.bz2 drakiso-93333d46a43a5a1e529dc8e102c4684eae3435d7.tar.xz drakiso-93333d46a43a5a1e529dc8e102c4684eae3435d7.zip | |
Add "starting" messages to translation catalogue and enable translation.
This allows the messages specified in {media}{bootloader_entries} to be
displayed in the selected language.
| -rw-r--r-- | NEWS | 2 | ||||
| -rw-r--r-- | bootloader/po/bootloader.pot | 15 | ||||
| -rw-r--r-- | lib/MGA/DrakISO/BuildBoot.pm | 2 |
3 files changed, 17 insertions, 2 deletions
@@ -1,5 +1,5 @@ - add {media}{bootloader_entries}{message} key to display a message - whilst loading the Linux kernel + whilst loading the selected program 1.22 diff --git a/bootloader/po/bootloader.pot b/bootloader/po/bootloader.pot index 565dd85..f7649c7 100644 --- a/bootloader/po/bootloader.pot +++ b/bootloader/po/bootloader.pot @@ -69,6 +69,21 @@ msgstr "" msgid "Press 'c' for command line, 'e' to edit." msgstr "" +msgid "Starting Mageia installer ..." +msgstr "" + +msgid "Starting Mageia rescue system ..." +msgstr "" + +msgid "Starting Mageia Live system ..." +msgstr "" + +msgid "Starting Mageia Live installer ..." +msgstr "" + +msgid "Starting memory tester ..." +msgstr "" + # NOTE: The Mageia grub2 package replaces one of the upstream messages # with this, but doesn't provide any translations. This doesn't need # to fit on a single line. diff --git a/lib/MGA/DrakISO/BuildBoot.pm b/lib/MGA/DrakISO/BuildBoot.pm index c64d3f0..f42d96b 100644 --- a/lib/MGA/DrakISO/BuildBoot.pm +++ b/lib/MGA/DrakISO/BuildBoot.pm @@ -412,7 +412,7 @@ sub build_grub2_cfg { ), "menuentry $gettext\"$name\" {", if_($message, - " echo \"$message\"" + " echo $gettext\"$message\"" ), " $command $image " . join(' ', get_default_append($build), $append), if_($initrd ne 'none' && defined $initrd_command{$command}, |
