[Fusionforge-commits] r18437 - trunk/src/common/tracker/actions

Marc-Etienne VARGENAU vargenau at fusionforge.org
Tue Nov 12 10:14:27 CET 2013


Author: vargenau
Date: 2013-11-12 10:14:27 +0100 (Tue, 12 Nov 2013)
New Revision: 18437

Modified:
   trunk/src/common/tracker/actions/detail.php
   trunk/src/common/tracker/actions/mod.php
Log:
Translate ":"

Modified: trunk/src/common/tracker/actions/detail.php
===================================================================
--- trunk/src/common/tracker/actions/detail.php	2013-11-10 20:45:35 UTC (rev 18436)
+++ trunk/src/common/tracker/actions/detail.php	2013-11-12 09:14:27 UTC (rev 18437)
@@ -65,12 +65,21 @@
 <?php } ?>
 	<table border="0" width="80%">
 		<tr>
-			<td><strong><?php echo _('Date') ?>:</strong><br /><?php echo date( _('Y-m-d H:i'), $ah->getOpenDate() ); ?></td>
-			<td><strong><?php echo _('Priority') ?>:</strong><br /><?php echo $ah->getPriority(); ?></td>
+			<td>
+				<strong><?php echo _('Date')._(': ') ?></strong><br />
+				<?php echo date( _('Y-m-d H:i'), $ah->getOpenDate() ); ?>
+			</td>
+			<td>
+				<strong><?php echo _('Priority')._(': ') ?></strong><br />
+				<?php echo $ah->getPriority(); ?>
+			</td>
 		</tr>
 
 		<tr>
-			<td><strong><?php echo _('State') ?>:</strong><br /><?php echo $ah->getStatusName(); ?></td>
+			<td>
+				<strong><?php echo _('State')._(': ') ?></strong><br />
+				<?php echo $ah->getStatusName(); ?>
+			</td>
 			<td></td>
 		</tr>
 		<tr>
@@ -84,8 +93,10 @@
 				(<tt><?php echo util_make_link_u ($submittedUnixName,$submittedBy,$submittedUnixName); ?></tt>)
 			<?php } ?>
 			</td>
-			<td><strong><?php echo _('Assigned to') ?>:</strong><br />
-			<?php echo $ah->getAssignedRealName(); ?> (<?php echo $ah->getAssignedUnixName(); ?>)</td>
+			<td>
+				<strong><?php echo _('Assigned to')._(': ') ?></strong><br />
+				<?php echo $ah->getAssignedRealName(); ?> (<?php echo $ah->getAssignedUnixName(); ?>)
+			</td>
 		</tr>
 
 		<?php
@@ -93,7 +104,12 @@
 			$ath->renderRelatedTasks($group, $ah);
 		?>
 
-		<tr><td colspan="2"><strong><?php echo _('Summary') ?>:</strong><br /><?php echo $ah->getSummary(); ?></td></tr>
+		<tr>
+			<td colspan="2">
+				<strong><?php echo _('Summary')._(': ') ?></strong><br />
+				<?php echo $ah->getSummary(); ?>
+			</td>
+		</tr>
 
 		<tr><td colspan="2">
 			<br />
@@ -145,9 +161,9 @@
 		<p />
 	<?php } ?>
 	<h2><?php echo _('Attached Files') ?>:</h2>
-	<?php
+<?php
 	//
-	//  print a list of files attached to this Artifact
+	// print a list of files attached to this Artifact
 	//
 		$ath->renderFiles($group_id, $ah);
 	?>
@@ -168,7 +184,7 @@
 	<h2><?php echo _('Changes') ?></h2>
 	<?php $ah->showHistory(); ?>
 </div>
-<?php $ah->showRelations(); ?>
+	<?php $ah->showRelations(); ?>
 </div>
 </form>
 <?php

Modified: trunk/src/common/tracker/actions/mod.php
===================================================================
--- trunk/src/common/tracker/actions/mod.php	2013-11-10 20:45:35 UTC (rev 18436)
+++ trunk/src/common/tracker/actions/mod.php	2013-11-12 09:14:27 UTC (rev 18437)
@@ -82,7 +82,7 @@
 </table>
 <p/>
 <?php } ?>
-<table border="0" width="80%">
+<table width="80%">
 	<tr>
 		<td>
 			<strong><?php echo _('Submitted by') ?>:</strong><br />
@@ -108,10 +108,10 @@
 	</tr>
 
 	<tr>
-		<td><strong><?php echo _('Data Type') ?>:</strong><br />
-		<?php
+		<td><strong><?php echo _('Data Type'). _(': ') ?></strong><br />
+<?php
 
-$atf = new ArtifactTypeFactory ($group) ;
+$atf = new ArtifactTypeFactory ($group);
 $tids = array () ;
 foreach ($atf->getArtifactTypes() as $at) {
 	if (forge_check_perm ('tracker', $at->getID(), 'manager')) {
@@ -126,7 +126,7 @@
 
 echo html_build_select_box ($res,'new_artifact_type_id',$ath->getID(),false);
 
-		?>
+?>
 		</td>
 		<td>
 		</td>
@@ -137,7 +137,7 @@
 	?>
 
 	<tr>
-		<td><strong><?php echo _('Assigned to')?>:</strong><br />
+		<td><strong><?php echo _('Assigned to')._(': ') ?></strong><br />
 		<?php
 		echo $ath->technicianBox('assigned_to', $ah->getAssignedTo() );
 		echo " ";
@@ -270,7 +270,7 @@
 	<h2><?php echo _('Changes') ?></h2>
 	<?php $ah->showHistory(); ?>
 </div>
-<?php $ah->showRelations(); ?>
+	<?php $ah->showRelations(); ?>
 </div>
 </form>
 <?php




More information about the Fusionforge-commits mailing list