diff options
author | Daniel Wilhelm <shieldwed@outlook.com> | 2018-05-09 00:09:55 +0200 |
---|---|---|
committer | Daniel Wilhelm <shieldwed@outlook.com> | 2018-05-09 00:09:55 +0200 |
commit | 9b623ea3943165fe7efb5e47a0b5b9452c1599e6 (patch) | |
tree | dde40e07e907ac6e0ca9ea32524f2cd4810d4be6 /zen/i18n.h | |
parent | 9.7 (diff) | |
download | FreeFileSync-9b623ea3943165fe7efb5e47a0b5b9452c1599e6.tar.gz FreeFileSync-9b623ea3943165fe7efb5e47a0b5b9452c1599e6.tar.bz2 FreeFileSync-9b623ea3943165fe7efb5e47a0b5b9452c1599e6.zip |
9.8
Diffstat (limited to 'zen/i18n.h')
-rwxr-xr-x | zen/i18n.h | 7 |
1 files changed, 4 insertions, 3 deletions
@@ -13,6 +13,7 @@ #include "string_tools.h" #include "format_unit.h" + //minimal layer enabling text translation - without platform/library dependencies! #define ZEN_TRANS_CONCAT_SUB(X, Y) X ## Y @@ -55,7 +56,7 @@ std::shared_ptr<const TranslationHandler> getTranslator(); //######################## implementation ############################## -namespace implementation +namespace impl { inline Global<const TranslationHandler>& refGlobalTranslationHandler() @@ -69,14 +70,14 @@ Global<const TranslationHandler>& refGlobalTranslationHandler() inline std::shared_ptr<const TranslationHandler> getTranslator() { - return implementation::refGlobalTranslationHandler().get(); + return impl::refGlobalTranslationHandler().get(); } inline void setTranslator(std::unique_ptr<const TranslationHandler>&& newHandler) { - implementation::refGlobalTranslationHandler().set(std::move(newHandler)); + impl::refGlobalTranslationHandler().set(std::move(newHandler)); } |