[Fusionforge-commits] r11303 - in trunk/src/www: forum tracker

Alain Peyrat aljeux at libremir.placard.fr.eu.org
Tue Nov 2 11:59:16 CET 2010


Author: aljeux
Date: 2010-11-02 11:59:15 +0100 (Tue, 02 Nov 2010)
New Revision: 11303

Modified:
   trunk/src/www/forum/monitor.php
   trunk/src/www/tracker/detail.php
Log:
Translate monitoring messages.

Modified: trunk/src/www/forum/monitor.php
===================================================================
--- trunk/src/www/forum/monitor.php	2010-11-02 10:59:10 UTC (rev 11302)
+++ trunk/src/www/forum/monitor.php	2010-11-02 10:59:15 UTC (rev 11303)
@@ -57,10 +57,12 @@
 			}
 			if (!$confirm) {
 				forum_header(array('title'=>_('Stop Monitoring')));
-				echo $HTML->confirmBox('You are about to stop monitoring the '.$f->getName().
-					' forum.<br/><br/>Do you really want to unsubscribe ?', 
+			echo $HTML->confirmBox(
+				sprintf(_('You are about to stop monitoring the %1$s forum.'),$f->getName()).
+					'<br/><br/>'.
+					_('Do you really want to unsubscribe ?'),
 					array('group_id' => $group_id, 'forum_id' => $forum_id, 'stop' => 1),
-					array('confirm' => 'Unsubscribe', 'cancel' => 'Cancel') );
+			array('confirm' => _('Unsubscribe'), 'cancel' => _('Cancel')) );
 				forum_footer(array());
 				exit;
 			}

Modified: trunk/src/www/tracker/detail.php
===================================================================
--- trunk/src/www/tracker/detail.php	2010-11-02 10:59:10 UTC (rev 11302)
+++ trunk/src/www/tracker/detail.php	2010-11-02 10:59:15 UTC (rev 11303)
@@ -42,13 +42,15 @@
 					if ($ah->isMonitoring()) {
 						$img="xmail16w.png";
 						$key="monitorstop";
+						$text=_('Stop monitor');
 					} else {
 						$img="mail16w.png";
 						$key="monitor";
+						$text=_('Monitor');
 					}
 					echo '
 					<a id="tracker-monitor" href="index.php?group_id='.$group_id.'&amp;artifact_id='.$ah->getID().'&amp;atid='.$ath->getID().'&amp;func=monitor" title="'.html_get_tooltip_description('monitor').'"><strong>'.
-						html_image('ic/'.$img.'','20','20').' '.$key.'</strong></a>';
+						html_image('ic/'.$img.'','20','20').' '.$text.'</strong></a>';
 					?>
 			</td>
 			<td>




More information about the Fusionforge-commits mailing list