[GRASS-SVN] r40728 - grass/trunk/general/g.parser

svn_grass at osgeo.org svn_grass at osgeo.org
Thu Jan 28 15:44:52 EST 2010


Author: glynn
Date: 2010-01-28 15:44:51 -0500 (Thu, 28 Jan 2010)
New Revision: 40728

Modified:
   grass/trunk/general/g.parser/main.c
Log:
Restore GRASS_TRANSLATION_DOMAIN to the default once we're done with it


Modified: grass/trunk/general/g.parser/main.c
===================================================================
--- grass/trunk/general/g.parser/main.c	2010-01-28 20:38:36 UTC (rev 40727)
+++ grass/trunk/general/g.parser/main.c	2010-01-28 20:44:51 UTC (rev 40728)
@@ -61,7 +61,9 @@
 #if defined(HAVE_LIBINTL_H) && defined(USE_NLS)
     if (!domain) {
 	domain = getenv("GRASS_TRANSLATION_DOMAIN");
-	if (!domain)
+	if (domain)
+	    G_putenv("GRASS_TRANSLATION_DOMAIN", "grassmods");
+	else
 	    domain = PACKAGE;
     }
 



More information about the grass-commit mailing list