summaryrefslogtreecommitdiff
path: root/zen/i18n.h
diff options
context:
space:
mode:
Diffstat (limited to 'zen/i18n.h')
-rw-r--r--zen/i18n.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/zen/i18n.h b/zen/i18n.h
index 3ab5748a..e58542c2 100644
--- a/zen/i18n.h
+++ b/zen/i18n.h
@@ -99,7 +99,7 @@ std::wstring translate(const std::wstring& singular, const std::wstring& plural,
inline
-std::unique_ptr<const TranslationHandler>& globalHandler()
+std::unique_ptr<const TranslationHandler>& globalTranslationHandler()
{
static std::unique_ptr<const TranslationHandler> inst; //external linkage even in header!
return inst;
@@ -108,11 +108,11 @@ std::unique_ptr<const TranslationHandler>& globalHandler()
inline
-void setTranslator(std::unique_ptr<const TranslationHandler>&& newHandler) { implementation::globalHandler() = std::move(newHandler); }
+void setTranslator(std::unique_ptr<const TranslationHandler>&& newHandler) { implementation::globalTranslationHandler() = std::move(newHandler); }
inline
-const TranslationHandler* getTranslator() { return implementation::globalHandler().get(); }
+const TranslationHandler* getTranslator() { return implementation::globalTranslationHandler().get(); }
}
#endif //I18_N_H_3843489325044253425456
bgstack15