5#ifndef BITCOIN_UTIL_TRANSLATION_H
6#define BITCOIN_UTIL_TRANSLATION_H
37 return {original, original};
44template <
typename... Args>
T GetRand(T nMax=std::numeric_limits< T >::max()) noexcept
Generate a uniform random integer of type T in the range [0..nMax) nMax defaults to std::numeric_limi...
bilingual_str & operator+=(const bilingual_str &rhs)
const std::function< std::string(const char *)> G_TRANSLATION_FUN
Translate a message to the native language of the user.
bilingual_str _(const char *psz)
Translation function.
bilingual_str operator+(bilingual_str lhs, const bilingual_str &rhs)
bilingual_str Untranslated(std::string original)
Mark a bilingual_str as untranslated.