bugGNU GRUB - Bugs: bug #28614, Strings out of localization in...

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #28614: Strings out of localization in normal/menu_entry.c

Submitted by:  Jorma Karvonen <karvjorm>
Submitted on:  Fri 15 Jan 2010 06:06:57 PM UTC  
 
Category: NoneSeverity: Major
Priority: 5 - NormalItem Group: None
Status: InvalidPrivacy: Public
Assigned to: NoneOriginator Name: Karvjorm
Open/Closed: ClosedRelease: 
Release: 1.97Reproducibility: None
Planned Release: None

Fri 15 Jan 2010 08:42:27 PM UTC, comment #3:

It's not enought because if the same word appears in another context gettext will unify them rendering separate translations impossible

Vladimir Serbinenko <phcoder>
Project Administrator
Fri 15 Jan 2010 06:36:22 PM UTC, comment #2:

That's the reason I showed the context of the words in comments. Translators know semantics and grammatical role from the context.

Thanks,

Jorma Karvonen

Jorma Karvonen <karvjorm>
Fri 15 Jan 2010 06:23:38 PM UTC, comment #1:

It was already fixed few days ago. And the separate words are untranslatable even with comments since same word may translate differently depending on its semantics and grammatical role

Vladimir Serbinenko <phcoder>
Project Administrator
Fri 15 Jan 2010 06:06:57 PM UTC, original submission:

Hello,

In the following code snippet there are some strings that are not included with the localized strings.

Here below I have fixed those "commands", "devices", "files", "partitions", "arguments" and "things". I also inserted a comment for translators prior to each fix.

if (count == 0)
{
/* If this is the first time, print a label. */
const char *what;

switch (type)
{
case GRUB_COMPLETION_TYPE_COMMAND:
/* TRANSLATORS: Part of text: "Possible commands are:" */
what = N_("commands");
break;
case GRUB_COMPLETION_TYPE_DEVICE:
/* TRANSLATORS: Part of text: "Possible devices are:" */
what = N_("devices");
break;
case GRUB_COMPLETION_TYPE_FILE:
/* TRANSLATORS: Part of text: "Possible files are:" */
what = N_("files");
break;
case GRUB_COMPLETION_TYPE_PARTITION:
/* TRANSLATORS: Part of text: "Possible partitions are:" */
what = N_("partitions");
break;
case GRUB_COMPLETION_TYPE_ARGUMENT:
/* TRANSLATORS: Part of text: "Possible arguments are:" */
what = N_("arguments");
break;
default:
/* TRANSLATORS: Part of text: "Possible things are:" */
what = N_("things");
break;
}

grub_gotoxy (0, GRUB_TERM_HEIGHT - 3);
grub_printf (" ");
grub_printf_ (N_("Possible %s are:"), what);
grub_printf ("\n ");
}

PLS, could you add localization to Category and Item groups within details page here.

Best regards,

Jorma Karvonen

Jorma Karvonen <karvjorm>

 

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by phcoder (Posted a comment)
  • -unavailable- added by karvjorm (Submitted the item)
  • -unavailable- added by karvjorm (Strings out of localization in normal/menu_entry.c)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 3 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Fri 15 Jan 2010 06:23:38 PM UTCphcoderStatusNone=>Invalid
      Open/ClosedOpen=>Closed
    Fri 15 Jan 2010 06:06:57 PM UTCkarvjormCarbon-Copy-=>Added karvjorm

    Back to the top


    Powered by Savane 3.1-cleanup1