[Fusionforge-commits] r18444 - trunk/src/common/tracker/include

Marc-Etienne VARGENAU vargenau at fusionforge.org
Wed Nov 13 15:15:55 CET 2013


Author: vargenau
Date: 2013-11-13 15:15:55 +0100 (Wed, 13 Nov 2013)
New Revision: 18444

Modified:
   trunk/src/common/tracker/include/ArtifactTypeHtml.class.php
   trunk/src/common/tracker/include/build_submission_form.php
Log:
Translate ":"

Modified: trunk/src/common/tracker/include/ArtifactTypeHtml.class.php
===================================================================
--- trunk/src/common/tracker/include/ArtifactTypeHtml.class.php	2013-11-12 17:35:18 UTC (rev 18443)
+++ trunk/src/common/tracker/include/ArtifactTypeHtml.class.php	2013-11-13 14:15:55 UTC (rev 18444)
@@ -312,7 +312,7 @@
 		$taskcount = db_numrows($ah->getRelatedTasks());
 		db_result_reset($ah->getRelatedTasks());
 
-		if (forge_check_perm ('tracker_admin', $ah->ArtifactType->Group->getID())) {
+		if (forge_check_perm('tracker_admin', $ah->ArtifactType->Group->getID())) {
 			$is_admin=true;
 		} else {
 			$is_admin=false;
@@ -322,7 +322,7 @@
 
 		if ($taskcount > 0) {
 			echo '<tr><td colspan="2">';
-			echo '<b>'._("Related Tasks").':</b>'.'<br/>';
+			echo '<b>'._("Related Tasks")._(':').'</b><br/>';
 			$title_arr = array();
 			$title_arr[] = _('Task Id and Summary');
 			$title_arr[] = _('Progress');

Modified: trunk/src/common/tracker/include/build_submission_form.php
===================================================================
--- trunk/src/common/tracker/include/build_submission_form.php	2013-11-12 17:35:18 UTC (rev 18443)
+++ trunk/src/common/tracker/include/build_submission_form.php	2013-11-13 14:15:55 UTC (rev 18444)
@@ -63,21 +63,21 @@
 		echo $ath->technicianBox('assigned_to');
 		echo ' '.util_make_link ('/tracker/admin/?group_id='.$group->getID().'&atid='.$ath->getID().'&update_users=1', '('._('Admin').')' );
 
-		echo '</td><td><strong>'._('Priority').':</strong><br />';
+		echo '</td><td><strong>'._('Priority')._(':').'</strong><br />';
 		build_priority_select_box('priority');
 		echo '</td></tr>';
 	}
 ?>
 	<tr>
-		<td colspan="2"><strong><?php echo _('Summary'); echo utils_requiredField(); ?> :</strong><br />
-			<input id="tracker-summary" type="text" name="summary" size="80" maxlength="255" title="<?php echo util_html_secure(html_get_tooltip_description('summary')); ?>" />
+		<td colspan="2"><strong><?php echo _('Summary').utils_requiredField()._(':'); ?></strong><br />
+			<input id="tracker-summary" required="required" type="text" name="summary" size="80" maxlength="255" title="<?php echo util_html_secure(html_get_tooltip_description('summary')); ?>" />
 		</td>
 	</tr>
 
 	<tr>
 		<td colspan="2">
-			<strong> <?php echo _('Detailed description'); echo utils_requiredField(); ?> :</strong><?php notepad_button('document.forms.trackeraddform.details'); ?><br />
-			<textarea id="tracker-description" name="details" rows="20" cols="79" title="<?php echo util_html_secure(html_get_tooltip_description('description')); ?> "></textarea>
+			<strong><?php echo _('Detailed description').utils_requiredField()._(':'); ?></strong><?php notepad_button('document.forms.trackeraddform.details'); ?><br />
+			<textarea id="tracker-description" required="required" name="details" rows="20" cols="79" title="<?php echo util_html_secure(html_get_tooltip_description('description')); ?> "></textarea>
 		</td>
 	</tr>
 
@@ -119,7 +119,7 @@
 		</td>
 	</tr>
 
-	<tr><td colspan="2"><br/><?php echo utils_requiredField(); echo _('Indicates required fields.'); ?></td></tr>
+	<tr><td colspan="2"><br/><?php echo utils_requiredField() . ' ' . _('Indicates required fields.'); ?></td></tr>
 	</table></form>
 <?php
 }




More information about the Fusionforge-commits mailing list