summaryrefslogtreecommitdiff
path: root/zen/i18n.h
diff options
context:
space:
mode:
authorDaniel Wilhelm <shieldwed@outlook.com>2018-05-09 00:09:55 +0200
committerDaniel Wilhelm <shieldwed@outlook.com>2018-05-09 00:09:55 +0200
commit9b623ea3943165fe7efb5e47a0b5b9452c1599e6 (patch)
treedde40e07e907ac6e0ca9ea32524f2cd4810d4be6 /zen/i18n.h
parent9.7 (diff)
downloadFreeFileSync-9b623ea3943165fe7efb5e47a0b5b9452c1599e6.tar.gz
FreeFileSync-9b623ea3943165fe7efb5e47a0b5b9452c1599e6.tar.bz2
FreeFileSync-9b623ea3943165fe7efb5e47a0b5b9452c1599e6.zip
9.8
Diffstat (limited to 'zen/i18n.h')
-rwxr-xr-xzen/i18n.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/zen/i18n.h b/zen/i18n.h
index bb6dbac5..b67a3bb6 100755
--- a/zen/i18n.h
+++ b/zen/i18n.h
@@ -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));
}
bgstack15