* 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
|
@ -673,13 +673,13 @@ void
|
|||
grub_dns_init (void)
|
||||
{
|
||||
cmd = grub_register_command ("net_nslookup", grub_cmd_nslookup,
|
||||
"ADDRESS DNSSERVER",
|
||||
N_("ADDRESS DNSSERVER"),
|
||||
N_("Perform a DNS lookup"));
|
||||
cmd_add = grub_register_command ("net_add_dns", grub_cmd_add_dns,
|
||||
"DNSSERVER",
|
||||
N_("DNSSERVER"),
|
||||
N_("Add a DNS server"));
|
||||
cmd_del = grub_register_command ("net_del_dns", grub_cmd_del_dns,
|
||||
"DNSSERVER",
|
||||
N_("DNSSERVER"),
|
||||
N_("Remove a DNS server"));
|
||||
cmd_list = grub_register_command ("net_ls_dns", grub_cmd_list_dns,
|
||||
NULL, N_("List DNS servers"));
|
||||
|
|
|
@ -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