steffen: server/kolab-webadmin/kolab-webadmin/www/admin/user vacation.php, 1.14, 1.15

cvs at intevation.de cvs at intevation.de
Thu May 19 15:10:26 CEST 2005


Author: steffen

Update of /kolabrepository/server/kolab-webadmin/kolab-webadmin/www/admin/user
In directory doto:/tmp/cvs-serv835/kolab-webadmin/www/admin/user

Modified Files:
	vacation.php 
Log Message:
translated vacation message -- no idea why it refuses to translate the first line :-(

Index: vacation.php
===================================================================
RCS file: /kolabrepository/server/kolab-webadmin/kolab-webadmin/www/admin/user/vacation.php,v
retrieving revision 1.14
retrieving revision 1.15
diff -u -d -r1.14 -r1.15
--- vacation.php	12 Apr 2005 10:50:17 -0000	1.14
+++ vacation.php	19 May 2005 13:10:24 -0000	1.15
@@ -80,14 +80,14 @@
   if( $days === false ) $days = 7;
   if( $text === false ) {
 	$date = strftime(_('%x'));
-	$text = _("I am out of office till $date.\r\n".
-	  "In urgent cases, please contact Mrs. <vacation replacement>\r\n\r\n".
-	  "email: <email address of vacation replacement>\r\n".
-	  "phone: +49 711 1111 11\r\n".
-	  "fax.:  +49 711 1111 12\r\n\r\n".
-	  "Yours sincerely,\r\n".
-	  "-- \r\n".
-	  "<enter your name and email address here>");
+	$text = sprintf(_("I am out of office until %1\$s.\r\n").
+					_("In urgent cases, please contact Mrs. <vacation replacement>\r\n\r\n").
+					_("email: <email address of vacation replacement>\r\n").
+					_("phone: +49 711 1111 11\r\n").
+					_("fax.:  +49 711 1111 12\r\n\r\n").
+					_("Yours sincerely,\r\n").
+					_("-- \r\n").
+					_("<enter your name and email address here>"),$date);
   }
   $active = ( $sieve->getActive() === $scriptname );  
 }





More information about the commits mailing list