mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-03-12 02:07:39 +01:00
util: Cleanup translation.h
This commit is contained in:
parent
e95e658b8e
commit
18bd83b1fe
1 changed files with 3 additions and 3 deletions
|
@ -26,11 +26,11 @@ inline bilingual_str operator+(const bilingual_str& lhs, const bilingual_str& rh
|
||||||
}
|
}
|
||||||
|
|
||||||
/** Mark a bilingual_str as untranslated */
|
/** Mark a bilingual_str as untranslated */
|
||||||
inline static bilingual_str Untranslated(std::string original) { return {original, original}; }
|
inline bilingual_str Untranslated(std::string original) { return {original, original}; }
|
||||||
/** Unary operator to return the original */
|
/** Unary operator to return the original */
|
||||||
inline static std::string OpOriginal(const bilingual_str& b) { return b.original; }
|
inline std::string OpOriginal(const bilingual_str& b) { return b.original; }
|
||||||
/** Unary operator to return the translation */
|
/** Unary operator to return the translation */
|
||||||
inline static std::string OpTranslated(const bilingual_str& b) { return b.translated; }
|
inline std::string OpTranslated(const bilingual_str& b) { return b.translated; }
|
||||||
|
|
||||||
namespace tinyformat {
|
namespace tinyformat {
|
||||||
template <typename... Args>
|
template <typename... Args>
|
||||||
|
|
Loading…
Add table
Reference in a new issue