[Fusionforge-commits] r18756 - in trunk/src/plugins/admssw: include www

Marc-Etienne VARGENAU vargenau at fusionforge.org
Mon Jan 6 17:14:01 CET 2014


Author: vargenau
Date: 2014-01-06 17:14:01 +0100 (Mon, 06 Jan 2014)
New Revision: 18756

Modified:
   trunk/src/plugins/admssw/include/admsswPlugin.class.php
   trunk/src/plugins/admssw/www/projectturtle.php
   trunk/src/plugins/admssw/www/trove.php
Log:
%s is enough

Modified: trunk/src/plugins/admssw/include/admsswPlugin.class.php
===================================================================
--- trunk/src/plugins/admssw/include/admsswPlugin.class.php	2014-01-06 15:56:05 UTC (rev 18755)
+++ trunk/src/plugins/admssw/include/admsswPlugin.class.php	2014-01-06 16:14:01 UTC (rev 18756)
@@ -147,7 +147,7 @@
 	 */
 	public function project_after_description (&$params) {
 		$group_id = $params['group_id'];
-		print '<br />'. sprintf( _('Preview <a href="%1$s">ADMS.SW meta-data</a> about the project'), util_make_url ('/plugins/'. $this->name .'/projectturtle.php?group_id='.$group_id));
+		print '<br />'. sprintf( _('Preview <a href="%s">ADMS.SW meta-data</a> about the project'), util_make_url ('/plugins/'. $this->name .'/projectturtle.php?group_id='.$group_id));
 	}
 
 	//
@@ -631,7 +631,7 @@
 			$doc = '<p>'. _('The following is a preview of (machine-readable) RDF meta-data, in Turtle format (see at the bottom for more details)') .'<br />';
 
 			$html_limit = '<span style="text-align:center;font-size:smaller">';
-			$html_limit .= sprintf(_('<strong>%1$s</strong> projects in result set.'), $projectsnum);
+			$html_limit .= sprintf(_('<strong>%d</strong> projects in result set.'), $projectsnum);
 			// only display pages stuff if there is more to display
 			if ($projectsnum > $pl) {
 				$html_limit .= html_trove_limit_navigation_box($scripturl, $projectsnum, $pl, $p);

Modified: trunk/src/plugins/admssw/www/projectturtle.php
===================================================================
--- trunk/src/plugins/admssw/www/projectturtle.php	2014-01-06 15:56:05 UTC (rev 18755)
+++ trunk/src/plugins/admssw/www/projectturtle.php	2014-01-06 16:14:01 UTC (rev 18756)
@@ -45,7 +45,7 @@
 
 $plugin = plugin_get_object($pluginname);
 
-echo '<p>'. sprintf( _('The following is a preview of the (machine-readable) RDF meta-data which can be obtained at <tt>%1$s</tt> as Turtle'), util_make_url_g($projectname, $group_id)) .'</p>';
+echo '<p>'. sprintf( _('The following is a preview of the (machine-readable) RDF meta-data which can be obtained at <tt>%s</tt> as Turtle'), util_make_url_g($projectname, $group_id)) .'</p>';
 
 echo $plugin->htmlPreviewProjectAsTurtle($group_id);
 

Modified: trunk/src/plugins/admssw/www/trove.php
===================================================================
--- trunk/src/plugins/admssw/www/trove.php	2014-01-06 15:56:05 UTC (rev 18755)
+++ trunk/src/plugins/admssw/www/trove.php	2014-01-06 16:14:01 UTC (rev 18756)
@@ -39,7 +39,7 @@
 
 $plugin = plugin_get_object ($pluginname);
 
-echo '<p>'. sprintf( _('The following is a preview of the (machine-readable) RDF meta-data which can be obtained at <tt>%1$s</tt> as Turtle'), util_make_url('/softwaremap/trove_list.php')) .'</p>';
+echo '<p>'. sprintf( _('The following is a preview of the (machine-readable) RDF meta-data which can be obtained at <tt>%s</tt> as Turtle'), util_make_url('/softwaremap/trove_list.php')) .'</p>';
 
 echo $plugin->htmlPreviewTroveCatsAsTurtle();
 




More information about the Fusionforge-commits mailing list