[med-svn] r566 - trunk/community/website/inc

hanska-guest at alioth.debian.org hanska-guest at alioth.debian.org
Thu Oct 4 18:59:18 UTC 2007


Author: hanska-guest
Date: 2007-10-04 18:59:18 +0000 (Thu, 04 Oct 2007)
New Revision: 566

Modified:
   trunk/community/website/inc/locale.inc.php
Log:
Still trying


Modified: trunk/community/website/inc/locale.inc.php
===================================================================
--- trunk/community/website/inc/locale.inc.php	2007-10-04 18:55:20 UTC (rev 565)
+++ trunk/community/website/inc/locale.inc.php	2007-10-04 18:59:18 UTC (rev 566)
@@ -51,8 +51,9 @@
 
 putenv("LC_ALL=$locale");
 setlocale(LC_ALL, $locale);
+$domain = "messages";
 //bindtextdomain("messages", $locales_dir);
-bindtextdomain("messages", "locale/");
-textdomain("messages");
+bindtextdomain($domain, "../locale/");
+textdomain($domain);
 
 ?>




More information about the debian-med-commit mailing list