1 #ifndef LIBFILEZILLA_TRANSLATE_HEADER
2 #define LIBFILEZILLA_TRANSLATE_HEADER
18 std::wstring(*s) (
char const*
const t),
19 std::wstring(*pf)(
char const*
const singular,
char const*
const plural, int64_t n)
26 std::wstring FZ_PUBLIC_SYMBOL
translate(
char const*
const source);
27 std::wstring FZ_PUBLIC_SYMBOL
translate(
char const*
const singular,
char const *
const plural, int64_t n);
31 #define fztranslate fz::translate
32 #define fztranslate fz::translate
33 #define fztranslate_mark
Sets some global macros and further includes string.hpp.
The namespace used by libfilezilla.
Definition: apply.hpp:17
std::wstring translate(char const *const source)
Translates the input string with the configured translator.
void set_translators(std::wstring(*s)(char const *const t), std::wstring(*pf)(char const *const singular, char const *const plural, int64_t n))
Sets translators for strings.