[Fusionforge-commits] r9661 - trunk/gforge/www/admin

Thorsten Glaser mirabilos at libremir.placard.fr.eu.org
Fri Apr 30 09:44:38 CEST 2010


Author: mirabilos
Date: 2010-04-30 09:44:38 +0200 (Fri, 30 Apr 2010)
New Revision: 9661

Modified:
   trunk/gforge/www/admin/vhost.php
Log:
make this string translate-able (sentence structure differs between languages)

might want to put this into 5.0 and fix all translations for this line?\226?\128?\166
ours are coming soon


Modified: trunk/gforge/www/admin/vhost.php
===================================================================
--- trunk/gforge/www/admin/vhost.php	2010-04-30 06:15:44 UTC (rev 9660)
+++ trunk/gforge/www/admin/vhost.php	2010-04-30 07:44:38 UTC (rev 9661)
@@ -74,7 +74,8 @@
 			if (!$res || db_affected_rows($res) < 1) {
 				$feedback .= _('Error adding VHOST:') .db_error();
 			} else {
-				$feedback .= _('Virtual Host:'). "<strong>".$vhost_name."</strong>" ._('scheduled for creation on group'). "<em>".$group->getUnixName()."</em>";
+				$feedback .= sprintf(_("Virtual host <strong>%s</strong> scheduled for creation on group <em>%s</em>"),
+				    $vhost_name, $group->getUnixName());
 			}
 		} else {
 




More information about the Fusionforge-commits mailing list