diff options
author | Hennadii Stepanov <32963518+hebasto@users.noreply.github.com> | 2019-06-17 10:56:52 +0300 |
---|---|---|
committer | Hennadii Stepanov <32963518+hebasto@users.noreply.github.com> | 2019-07-24 16:32:53 +0300 |
commit | 0b86e517ad733c8740c519332aa4c0e9035dbaab (patch) | |
tree | b2e0e4ed7b07400231d9323419b0e8eeb3576490 /src/util/system.h | |
parent | 0626b8cbdf0aa971500eb5613c7ab4096c496966 (diff) |
Refactor out translation.h
This is a prerequisite for introducing bilingual error messages.
Note: #includes are arranged by clang-format-diff.py script.
Diffstat (limited to 'src/util/system.h')
-rw-r--r-- | src/util/system.h | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/src/util/system.h b/src/util/system.h index dda9156488..66a9eb4612 100644 --- a/src/util/system.h +++ b/src/util/system.h @@ -40,18 +40,6 @@ int64_t GetStartupTime(); extern const char * const BITCOIN_CONF_FILENAME; -/** Translate a message to the native language of the user. */ -const extern std::function<std::string(const char*)> G_TRANSLATION_FUN; - -/** - * Translation function. - * If no translation function is set, simply return the input. - */ -inline std::string _(const char* psz) -{ - return G_TRANSLATION_FUN ? (G_TRANSLATION_FUN)(psz) : psz; -} - void SetupEnvironment(); bool SetupNetworking(); |