grub-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Migrations to xorriso


From: Vladimir 'φ-coder/phcoder' Serbinenko
Subject: Re: Migrations to xorriso
Date: Wed, 19 May 2010 23:23:44 +0200
User-agent: Mozilla-Thunderbird 2.0.0.22 (X11/20091109)

Thomas Schmitt wrote:
> Hi,
>
> reviewing my grub-mkrescue 1.98 test script
> i see these options which will cause the files
> in /boot to have low block addresses:
>
>    xorriso ... -as mkisofs ... \
>    --sort-weight 0 / --sort-weight 1 /boot \
>    ...
>
> The boot catalog gets a low LBA by default.
>
> I remember Vladimir mentioned that some BIOSes
> need low addresses.
> So probably one should add these options to
> grub-mkrescue.in.
>
>   
Ok, will do.
> Vladimir Serbinenko wrote:
>   
>> @Thomas: grub-mkisofs was partially translated. Could you look into
>> reusing translation strings for xorriso?
>>     
>
> Currently there is no internationalization in
> xorriso. I would probably need some advise and
> an interested translator to make it ready for
> that.
>
>   
Actually it seems that xorriso doesn't have a lot of common strings with
grub-mkisofs so probably there is no much value in reusing strings.
As for advice: you already have automake so adding gettext should be
easy change in Makefile.am followed by marking all translatable strings
with _() and including proper header.
But the hic is if xorriso uses any like
printf("Device %s is %s.", devname, valid ? "valid" : "invalid");
will need to be changed to:
printf(valid ?_("Device %s is valid."):_("Device %s is invalid."), devname);
since string operations are untranslatable.

>
> Have a nice day :)
>
> Thomas
>
>
> _______________________________________________
> Grub-devel mailing list
> address@hidden
> http://lists.gnu.org/mailman/listinfo/grub-devel
>
>   


-- 
Regards
Vladimir 'φ-coder/phcoder' Serbinenko


Attachment: signature.asc
Description: OpenPGP digital signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]