SOURCES: squirrelmail-plugin-username-locale_support.patch (NEW) -...

hawk hawk at pld-linux.org
Mon Oct 2 14:57:24 CEST 2006


Author: hawk                         Date: Mon Oct  2 12:57:24 2006 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- patch to add support for locales

---- Files affected:
SOURCES:
   squirrelmail-plugin-username-locale_support.patch (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SOURCES/squirrelmail-plugin-username-locale_support.patch
diff -u /dev/null SOURCES/squirrelmail-plugin-username-locale_support.patch:1.1
--- /dev/null	Mon Oct  2 14:57:24 2006
+++ SOURCES/squirrelmail-plugin-username-locale_support.patch	Mon Oct  2 14:57:19 2006
@@ -0,0 +1,20 @@
+--- functions.php.orig	2003-08-30 03:09:34.000000000 +0200
++++ functions.php	2006-10-02 14:52:58.024631750 +0200
+@@ -48,6 +48,8 @@
+       if (! $show_username)
+          return;
+ 	 
++      bindtextdomain ('username', SM_PATH . 'locale');
++      textdomain ('username');
+       ?>
+ <table align="center" cellpadding="0" cellspacing="0" border="0" bgcolor="<?php echo $color[10] ?>"><tr><td>
+ <table width="100%" cellpadding="2" cellspacing="1" border="0" bgcolor="<?php echo $color[5] ?>"><tr><td align="center">
+@@ -65,6 +67,8 @@
+ </td></tr></table>
+ <br>
+ <?php
++      bindtextdomain ('squirrelmail', SM_PATH . 'locale');
++      textdomain ('squirrelmail');
+    }
+ 
+ 
================================================================


More information about the pld-cvs-commit mailing list