haiku/headers/os/locale
PulkoMandy 7d5b913b51 BCatalog: declare GetString as format_printf function
This tells the compiler that this function takes a format string as a
parameter, and returns a "similar" string with the same formatting
operations. This allows the format string to "propagate" to prinf-file
functions (including BString::SetToFormat) and the format string to be
actually checked with the arguments passed to that function.

Without this, all translated strings were not checked to match with
their arguments.

Change-Id: I5c3c5cbfe7dfede9a6f45cad47a7524f9138fac0
Reviewed-on: https://review.haiku-os.org/c/haiku/+/7663
Reviewed-by: Adrien Destugues <pulkomandy@pulkomandy.tk>
Haiku-Format: Haiku-format Bot <no-reply+haikuformatbot@haiku-os.org>
Reviewed-by: waddlesplash <waddlesplash@gmail.com>
2024-05-03 16:38:23 +00:00
..
tools
Catalog.h BCatalog: declare GetString as format_printf function 2024-05-03 16:38:23 +00:00
CatalogData.h
Collator.h
Country.h BCountry: add a GetPreferredLanguage method. 2021-07-21 07:20:39 +00:00
DateFormat.h
DateTimeFormat.h
DurationFormat.h
Format.h
FormattingConventions.h
Language.h
Locale.h
LocaleRoster.h
LocaleStrings.h
NumberFormat.h NumberFormat: add floating-point precision support 2024-02-27 19:27:56 +00:00
RelativeDateTimeFormat.h
StringFormat.h
TextEncoding.h
TimeFormat.h
TimeUnitFormat.h
TimeZone.h
UnicodeChar.h