* Default theme for GRUB 2
@ 2011-12-22 11:11 Dalet Omega
2011-12-22 11:13 ` Vladimir 'φ-coder/phcoder' Serbinenko
0 siblings, 1 reply; 2+ messages in thread
From: Dalet Omega @ 2011-12-22 11:11 UTC (permalink / raw)
To: grub-devel
[-- Attachment #1.1: Type: text/plain, Size: 314 bytes --]
Hello,
I composed a theme for GRUB2. You can find it at
http://download-mirror.savannah.gnu.org/releases/grub/daletomega/ (uploaded
by phcoder). In order to get rid of information texts in the theme.txt, the
attached patch is needed. No proprietary material has been used for the
theme.
Kind Regards
Daletomega
[-- Attachment #1.2: Type: text/html, Size: 419 bytes --]
[-- Attachment #2: temp.diff --]
[-- Type: text/x-patch, Size: 1148 bytes --]
=== modified file 'grub-core/gfxmenu/gui_label.c'
--- grub-core/gfxmenu/gui_label.c 2010-12-10 16:45:58 +0000
+++ grub-core/gfxmenu/gui_label.c 2011-12-15 12:15:31 +0000
@@ -22,6 +22,7 @@
#include <grub/gui.h>
#include <grub/font.h>
#include <grub/gui_string_util.h>
+#include <grub/i18n.h>
static const char *align_options[] =
{
@@ -176,6 +177,17 @@ label_set_property (void *vself, const c
}
else
{
+ if (grub_strcmp (value, "@KEYMAP_LONG@") == 0)
+ value = _("Press enter to boot the selected OS, "
+ "\'e\' to edit the commands before booting "
+ "or \'c\' for a command-line. ESC to return previous menu.");
+ else if (grub_strcmp (value, "@KEYMAP_MIDDLE@") == 0)
+ value = _("Press enter to boot the selected OS, "
+ "\'e\' to edit the commands before booting "
+ "or \'c\' for a command-line.");
+ else if (grub_strcmp (value, "@KEYMAP_SHORT@") == 0)
+ value = _("enter: boot, \'e\': options, \'c\': cmd-line");
+ /* FIXME: Add more templates here if needed. */
self->template = grub_strdup (value);
self->text = grub_xasprintf (value, self->value);
}
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Default theme for GRUB 2
2011-12-22 11:11 Default theme for GRUB 2 Dalet Omega
@ 2011-12-22 11:13 ` Vladimir 'φ-coder/phcoder' Serbinenko
0 siblings, 0 replies; 2+ messages in thread
From: Vladimir 'φ-coder/phcoder' Serbinenko @ 2011-12-22 11:13 UTC (permalink / raw)
To: grub-devel
Hello, Dalet Omega.
On 22.12.2011 12:11, Dalet Omega wrote:
> Hello,
>
> I composed a theme for GRUB2. You can find it at
> http://download-mirror.savannah.gnu.org/releases/grub/daletomega/
> (uploaded by phcoder). In order to get rid of information texts in the
> theme.txt, the attached patch is needed. No proprietary material has
> been used for the theme.
>
That's very good news. At last we have a theme that we can distribute
with GRUB. I intend to make it the default one.
> Kind Regards
>
> Daletomega
>
>
> _______________________________________________
> Grub-devel mailing list
> Grub-devel@gnu.org
> https://lists.gnu.org/mailman/listinfo/grub-devel
--
Regards
Vladimir 'φ-coder/phcoder' Serbinenko
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2011-12-22 11:13 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-12-22 11:11 Default theme for GRUB 2 Dalet Omega
2011-12-22 11:13 ` Vladimir 'φ-coder/phcoder' Serbinenko
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).