]> git.lizzy.rs Git - dragonfireclient.git/blobdiff - src/translation.h
Refactor utf8_to_wide/wide_to_utf8 functions
[dragonfireclient.git] / src / translation.h
index 18fc6c38fed5f874d2c68d967a1e60cc9f4f0b74..f1a336fca63ff4954b5d41aa26aad521600865fe 100644 (file)
@@ -23,15 +23,13 @@ with this program; if not, write to the Free Software Foundation, Inc.,
 #include <string>
 
 class Translations;
-extern Translations *g_translations;
+#ifndef SERVER
+extern Translations *g_client_translations;
+#endif
 
 class Translations
 {
 public:
-       Translations() = default;
-
-       ~Translations();
-
        void loadTranslation(const std::string &data);
        void clear();
        const std::wstring &getTranslation(