[Fusionforge-commits] r17744 - trunk/src/www/include

Marc-Etienne VARGENAU vargenau at fusionforge.org
Tue Aug 20 19:21:31 CEST 2013


Author: vargenau
Date: 2013-08-20 19:21:31 +0200 (Tue, 20 Aug 2013)
New Revision: 17744

Modified:
   trunk/src/www/include/html.php
Log:
Translate "Select One"

Modified: trunk/src/www/include/html.php
===================================================================
--- trunk/src/www/include/html.php	2013-08-20 17:16:16 UTC (rev 17743)
+++ trunk/src/www/include/html.php	2013-08-20 17:21:31 UTC (rev 17744)
@@ -615,7 +615,10 @@
 	if ($text_100 == 'none') {
 		$text_100 = _('None');
 	}
-	return html_build_select_box_from_arrays (util_result_column_to_array($result,0),util_result_column_to_array($result,1),$name,$checked_val,$show_100,$text_100, $show_any, $text_any);
+	if ($text_any == 'Select One') {
+		$text_any = _('Select One');
+	}
+	return html_build_select_box_from_arrays(util_result_column_to_array($result, 0), util_result_column_to_array($result, 1), $name, $checked_val, $show_100, $text_100, $show_any, $text_any);
 }
 
 /**




More information about the Fusionforge-commits mailing list