From dea905d4f430aae549aa7e951b9598d18af422a1 Mon Sep 17 00:00:00 2001 From: driAn Date: Thu, 14 Jan 2010 22:43:31 +0000 Subject: [PATCH] removed test code git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@4770 e016b1c5-ed68-44aa-a2f7-31cac88cffde --- source/src/i18n.cpp | 6 ------ 1 file changed, 6 deletions(-) diff --git a/source/src/i18n.cpp b/source/src/i18n.cpp index ee335219..d865c3ab 100644 --- a/source/src/i18n.cpp +++ b/source/src/i18n.cpp @@ -11,12 +11,6 @@ i18nmanager::i18nmanager(const char *domain, const char *basepath) : domain(doma bind_textdomain_codeset(domain, "UTF-8"); // we use the utf-8 charset only printf("current locale: %s\n", locale); - - const char *test = _("About"); - std::string test2(test); - bool valid = utf8::is_valid(test2.begin(), test2.end()); - - printf("is valid: %s", valid ? "true" : "false"); } // export gettext to cubescript