* grub-core/net/net.c (grub_net_addr_to_str): Don't translate

"temporary" since it's used in identifier and is limited in space.
This commit is contained in:
Vladimir 'phcoder' Serbinenko 2012-03-08 18:51:39 +01:00
parent fda9d1012e
commit 55b20e588c
2 changed files with 6 additions and 1 deletions

View file

@ -1,3 +1,8 @@
2012-03-08 Vladimir Serbinenko <phcoder@gmail.com>
* grub-core/net/net.c (grub_net_addr_to_str): Don't translate
"temporary" since it's used in identifier and is limited in space.
2012-03-08 Vladimir Serbinenko <phcoder@gmail.com> 2012-03-08 Vladimir Serbinenko <phcoder@gmail.com>
* po/POTFILES.in: Regenerate. Include *.h since they contain * po/POTFILES.in: Regenerate. Include *.h since they contain

View file

@ -684,7 +684,7 @@ grub_net_addr_to_str (const grub_net_network_level_address_t *target, char *buf)
{ {
case GRUB_NET_NETWORK_LEVEL_PROTOCOL_DHCP_RECV: case GRUB_NET_NETWORK_LEVEL_PROTOCOL_DHCP_RECV:
/* TRANSLATORS: it refers to the network address. */ /* TRANSLATORS: it refers to the network address. */
grub_strcpy (buf, _("temporary")); grub_strncpy (buf, "temporary", GRUB_NET_MAX_STR_ADDR_LEN);
return; return;
case GRUB_NET_NETWORK_LEVEL_PROTOCOL_IPV6: case GRUB_NET_NETWORK_LEVEL_PROTOCOL_IPV6:
{ {