[Fusionforge-commits] r10573 - trunk/src/common/widget

Alain Peyrat aljeux at libremir.placard.fr.eu.org
Mon Sep 20 22:52:27 CEST 2010


Author: aljeux
Date: 2010-09-20 22:52:27 +0200 (Mon, 20 Sep 2010)
New Revision: 10573

Modified:
   trunk/src/common/widget/Widget_MyBookmarks.class.php
   trunk/src/common/widget/Widget_MyProjects.class.php
Log:
Replace Codendi with the forge_name when possible.

Modified: trunk/src/common/widget/Widget_MyBookmarks.class.php
===================================================================
--- trunk/src/common/widget/Widget_MyBookmarks.class.php	2010-09-20 20:52:22 UTC (rev 10572)
+++ trunk/src/common/widget/Widget_MyBookmarks.class.php	2010-09-20 20:52:27 UTC (rev 10573)
@@ -65,7 +65,7 @@
         return $html_my_bookmarks;
     }
     function getDescription() {
-        return _("List your favorite bookmarks (your favorite pages in Codendi or external).<br />Note that in many cases Codendi uses URL with enough embedded information to bookmark sophisticated items like Software Map browsing, typical search in your project Bug or Task database, etc. <br />Bookmarked items can be edited which means that both the title of the bookmark and its destination URL can be modified.");
+        return printf(_('List your favorite bookmarks (your favorite pages in %1$s or external).<br />Note that in many cases %1$s uses URL with enough embedded information to bookmark sophisticated items like Software Map browsing, typical search in your project Bug or Task database, etc. <br />Bookmarked items can be edited which means that both the title of the bookmark and its destination URL can be modified.'), forge_get_config('forge_name'));
     }
 }
 ?>

Modified: trunk/src/common/widget/Widget_MyProjects.class.php
===================================================================
--- trunk/src/common/widget/Widget_MyProjects.class.php	2010-09-20 20:52:22 UTC (rev 10572)
+++ trunk/src/common/widget/Widget_MyProjects.class.php	2010-09-20 20:52:27 UTC (rev 10573)
@@ -97,7 +97,7 @@
     }
     function displayRss() {
 	    $rss = new RSS(array(
-				    'title'       => 'Codendi - MyProjects',
+            		'title'       => forge_get_config('forge_name').' - MyProjects',
 				    'description' => 'My projects',
 				    'link'        => get_server_url(),
 				    'language'    => 'en-us',




More information about the Fusionforge-commits mailing list