* grub-core/commands/ls.c: Gettextize.
* grub-core/commands/setpci.c: Likewise. * grub-core/commands/videotest.c: Likewise. * grub-core/disk/geli.c: Likewise. * grub-core/kern/mm.c: Likewise. * grub-core/lib/relocator.c: Likewise. * grub-core/loader/efi/appleloader.c: Likewise. * grub-core/loader/i386/xnu.c: Likewise. * grub-core/loader/ia64/efi/linux.c: Likewise. * grub-core/loader/xnu.c: Likewise. * grub-core/net/dns.c: Likewise. * grub-core/net/net.c: Likewise. * grub-core/script/lexer.c: Likewise. * grub-core/script/parser.y: Likewise. * grub-core/script/yylex.l: Likewise. * util/getroot.c: Likewise. * util/grub-setup.c: Likewise.
This commit is contained in:
parent
a646a366bb
commit
4a9f8346c9
18 changed files with 68 additions and 45 deletions
|
@ -676,7 +676,8 @@ grub_net_addr_to_str (const grub_net_network_level_address_t *target, char *buf)
|
|||
switch (target->type)
|
||||
{
|
||||
case GRUB_NET_NETWORK_LEVEL_PROTOCOL_DHCP_RECV:
|
||||
grub_strcpy (buf, "temporary");
|
||||
/* TRANSLATORS: it refers to the network address. */
|
||||
grub_strcpy (buf, _("temporary"));
|
||||
return;
|
||||
case GRUB_NET_NETWORK_LEVEL_PROTOCOL_IPV6:
|
||||
{
|
||||
|
@ -732,7 +733,7 @@ grub_net_hwaddr_to_str (const grub_net_link_level_address_t *addr, char *str)
|
|||
return;
|
||||
}
|
||||
}
|
||||
grub_printf ("Unsupported hw address type %d\n", addr->type);
|
||||
grub_printf (_("Unsupported hw address type %d\n"), addr->type);
|
||||
}
|
||||
|
||||
int
|
||||
|
@ -748,7 +749,7 @@ grub_net_hwaddr_cmp (const grub_net_link_level_address_t *a,
|
|||
case GRUB_NET_LINK_LEVEL_PROTOCOL_ETHERNET:
|
||||
return grub_memcmp (a->mac, b->mac, sizeof (a->mac));
|
||||
}
|
||||
grub_printf ("Unsupported hw address type %d\n", a->type);
|
||||
grub_printf (_("Unsupported hw address type %d\n"), a->type);
|
||||
return 1;
|
||||
}
|
||||
|
||||
|
@ -769,7 +770,7 @@ grub_net_addr_cmp (const grub_net_network_level_address_t *a,
|
|||
case GRUB_NET_NETWORK_LEVEL_PROTOCOL_DHCP_RECV:
|
||||
return 0;
|
||||
}
|
||||
grub_printf ("Unsupported address type %d\n", a->type);
|
||||
grub_printf (_("Unsupported address type %d\n"), a->type);
|
||||
return 1;
|
||||
}
|
||||
|
||||
|
@ -1036,7 +1037,8 @@ print_net_address (const grub_net_network_level_netaddress_t *target)
|
|||
switch (target->type)
|
||||
{
|
||||
case GRUB_NET_NETWORK_LEVEL_PROTOCOL_DHCP_RECV:
|
||||
grub_printf ("temporary\n");
|
||||
/* TRANSLATORS: it refers to the network address. */
|
||||
grub_printf ("%s\n", _("temporary"));
|
||||
return;
|
||||
case GRUB_NET_NETWORK_LEVEL_PROTOCOL_IPV4:
|
||||
{
|
||||
|
@ -1059,7 +1061,7 @@ print_net_address (const grub_net_network_level_netaddress_t *target)
|
|||
}
|
||||
return;
|
||||
}
|
||||
grub_printf ("Unknown address type %d\n", target->type);
|
||||
grub_printf (_("Unknown address type %d\n"), target->type);
|
||||
}
|
||||
|
||||
static void
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue