[Fusionforge-commits] r7126 - trunk/gforge/www/my

Julien HEYMAN jheyman at libremir.placard.fr.eu.org
Fri Mar 6 13:00:31 CET 2009


Author: jheyman
Date: 2009-03-06 13:00:30 +0100 (Fri, 06 Mar 2009)
New Revision: 7126

Modified:
   trunk/gforge/www/my/diary.php
Log:
Add translations

Modified: trunk/gforge/www/my/diary.php
===================================================================
--- trunk/gforge/www/my/diary.php	2009-03-06 12:00:24 UTC (rev 7125)
+++ trunk/gforge/www/my/diary.php	2009-03-06 12:00:30 UTC (rev 7126)
@@ -93,12 +93,11 @@
 
 						util_send_message($to, $subject, $body, $to, $tolist);
 
-						$feedback .= " email sent - ($rows) people monitoring ";
 
 					} else {
-						$feedback .= ' email not sent - no one monitoring ';
 						echo db_error();
 					}
+					$feedback .= " ".sprintf(ngettext("email not sent - no one monitoring","email sent - %s people monitoring",$rows), $rows);
 
 				} else {
 					//don't send an email to monitoring users




More information about the Fusionforge-commits mailing list