summaryrefslogtreecommitdiff
path: root/zen/i18n.h
diff options
context:
space:
mode:
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