Improve gettext support. Stylistic fixes and error handling fixes while

on it.
This commit is contained in:
Vladimir 'phcoder' Serbinenko 2012-02-08 19:26:01 +01:00
parent 215c90cb82
commit 9c4b5c13e6
184 changed files with 1175 additions and 959 deletions

View file

@ -389,7 +389,7 @@ SUFFIX (relocate_addresses) (Elf_Ehdr *e, Elf_Shdr *sections,
*target, offset);
break;
default:
grub_util_error ("unknown relocation type 0x%x",
grub_util_error (_("relocation 0x%x is not implemented yet"),
ELF_R_TYPE (info));
break;
}
@ -432,7 +432,7 @@ SUFFIX (relocate_addresses) (Elf_Ehdr *e, Elf_Shdr *sections,
}
default:
grub_util_error ("unknown relocation type %d",
grub_util_error (_("relocation 0x%x is not implemented yet"),
ELF_R_TYPE (info));
break;
}
@ -505,7 +505,7 @@ SUFFIX (relocate_addresses) (Elf_Ehdr *e, Elf_Shdr *sections,
break;
default:
grub_util_error ("unknown relocation type 0x%x",
grub_util_error (_("relocation 0x%x is not implemented yet"),
ELF_R_TYPE (info));
break;
}
@ -730,7 +730,7 @@ SUFFIX (make_reloc_section) (Elf_Ehdr *e, void **out,
#endif
break;
default:
grub_util_error ("unknown relocation type 0x%x",
grub_util_error (_("relocation 0x%x is not implemented yet"),
ELF_R_TYPE (info));
break;
}