grub2/grub-core/efiemu
Miguel Ángel Arruga Vivas 837fe48deb i18n: Format large integers before the translation message
The GNU gettext only supports the ISO C99 macros for integral
types. If there is a need to use unsupported formatting macros,
e.g. PRIuGRUB_UINT64_T, according to [1] the number to a string
conversion should be separated from the code printing message
requiring the internationalization. So, the function grub_snprintf()
is used to print the numeric values to an intermediate buffer and
the internationalized message contains a string format directive.

[1] https://www.gnu.org/software/gettext/manual/html_node/Preparing-Strings.html#No-string-concatenation

Signed-off-by: Miguel Ángel Arruga Vivas <rosen644835@gmail.com>
Reviewed-by: Daniel Kiper <daniel.kiper@oracle.com>
2021-04-13 17:16:04 +02:00
..
i386 i18n: Format large integers before the translation message 2021-04-13 17:16:04 +02:00
runtime asm: Replace "__asm__ __volatile__" with "asm volatile" 2019-03-12 20:04:07 +01:00
loadcore32.c automake commit without merge history 2010-05-06 11:34:04 +05:30
loadcore64.c automake commit without merge history 2010-05-06 11:34:04 +05:30
loadcore_common.c Efiemu stylistic fixes and gettext. 2012-02-12 18:43:39 +01:00
loadcore.c calloc: Use calloc() at most places 2020-07-29 16:55:47 +02:00
main.c verifiers: File type for fine-grained signature-verification controlling 2018-11-09 13:25:31 +01:00
mm.c calloc: Use calloc() at most places 2020-07-29 16:55:47 +02:00
pnvram.c misc: Make grub_strtol() "end" pointers have safer const qualifiers 2020-02-28 12:41:29 +01:00
prepare32.c automake commit without merge history 2010-05-06 11:34:04 +05:30
prepare64.c automake commit without merge history 2010-05-06 11:34:04 +05:30
prepare.c efiemu: check return value of grub_efiemu_write_value 2016-01-09 11:36:42 +03:00
symbols.c Efiemu stylistic fixes and gettext. 2012-02-12 18:43:39 +01:00