Have the command line 'synfig' tool run 'setlocale()' whether or not gettext is avail...
authordooglus <dooglus@1f10aa63-cdf2-0310-b900-c93c546f37ac>
Tue, 1 Jan 2008 15:57:32 +0000 (15:57 +0000)
committerdooglus <dooglus@1f10aa63-cdf2-0310-b900-c93c546f37ac>
Tue, 1 Jan 2008 15:57:32 +0000 (15:57 +0000)
git-svn-id: http://svn.voria.com/code@1257 1f10aa63-cdf2-0310-b900-c93c546f37ac

synfig-core/trunk/src/tool/main.cpp

index 04bf905..afda522 100644 (file)
@@ -845,8 +845,9 @@ int main(int argc, char *argv[])
        arg_list_t arg_list;
        job_list_t job_list;
 
-#ifdef ENABLE_NLS
        setlocale(LC_ALL, "");
+
+#ifdef ENABLE_NLS
        bindtextdomain("synfig", LOCALEDIR);
        textdomain("synfig");
 #endif