Ooops, forgot to change something after testing.
authorRicardo Cruz <rick2@aeiou.pt>
Mon, 12 Jul 2004 22:04:26 +0000 (22:04 +0000)
committerRicardo Cruz <rick2@aeiou.pt>
Mon, 12 Jul 2004 22:04:26 +0000 (22:04 +0000)
SVN-Revision: 1569

src/lispreader.cpp

index e9a150d..58913e5 100644 (file)
@@ -1218,7 +1218,7 @@ LispReader::read_string (const char* name, std::string& str, bool translatable)
      (text-fr "Bonjour Monde!")
      being fr the value of LANG (echo $LANG) for the language we want to translate to */
 
      (text-fr "Bonjour Monde!")
      being fr the value of LANG (echo $LANG) for the language we want to translate to */
 
-    char* lang = getenv("tt");
+    char* lang = getenv("LANG");
 
     char str_[1024];  // check, for instance, for (title-fr_FR "Bonjour")
     sprintf(str_, "%s-%s", name, lang);
 
     char str_[1024];  // check, for instance, for (title-fr_FR "Bonjour")
     sprintf(str_, "%s-%s", name, lang);