|
From: | Ronny Standtke |
Subject: | Re: Working gettext example for grub.cfg? |
Date: | Sun, 3 Mar 2013 22:35:32 +0100 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130221 Thunderbird/17.0.3 |
Hi Jordan
Thank you for the example and sorry for the late response... menuentry $"This menu entry will be translated!" { example_variable=5 echo $"The value of \$example_variable is: $example_variable !" my_favorite_color_translated=$"blue" echo $"$my_favorite_color_translated is my favorite color!" } I just tried your example with grub2 (version 1.99) in Debian testing (see http://packages.debian.org/wheezy/grub2) and all I get is a bunch of error messages like: ------------------------ error: $. error: syntax error. error: Incorrect command. error: syntax error. error: $. ... ------------------------ It looks like there is still something missing. Is the $"string" gettext syntax already supported in grub2 version 1.99? Does your example need some boilerplate code somewhere else in the grub script to support this gettext syntax? Cheers Ronny --
erreichbar von Mo-Fr, Büro B.105 Fachhochschule Nordwestschweiz Pädagogische Hochschule Institut Weiterbildung und Beratung Dr. des. Ronny Standtke Dozent für Medienpädagogik Obere Sternengasse 7 4500 Solothurn T +41 32 628 67 08 M +41 79 786 81 82 F +41 32 627 28 64 address@hidden http://www.imedias.ch |
[Prev in Thread] | Current Thread | [Next in Thread] |