[Fusionforge-commits] FusionForge branch master updated. f234a74a269061a99d52e298650e0579cff4e9b3

Alain Peyrat aljeux at fusionforge.org
Wed May 22 16:12:41 CEST 2013


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "FusionForge".

The branch, master has been updated
       via  f234a74a269061a99d52e298650e0579cff4e9b3 (commit)
      from  84080095ad65f7c94dea619f04683fc2566c9fdd (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit f234a74a269061a99d52e298650e0579cff4e9b3
Author: Alain Peyrat <alain.peyrat at alcatel-lucent.com>
Date:   Wed May 22 16:12:34 2013 +0200

    String change

diff --git a/src/common/tracker/ArtifactMessage.class.php b/src/common/tracker/ArtifactMessage.class.php
index bc2b300..c1b87a9 100644
--- a/src/common/tracker/ArtifactMessage.class.php
+++ b/src/common/tracker/ArtifactMessage.class.php
@@ -86,7 +86,7 @@ class ArtifactMessage extends Error {
 			$user_id=user_getid();
 			$user =& user_get_object($user_id);
 			if (!$user || !is_object($user)) {
-				$this->setError('ERROR - Logged In User Bug Could Not Get User Object');
+				$this->setError('Error: Logged In User Bug Could Not Get User Object');
 				return false;
 			}
 			$body=_('Logged In: YES')." \nuser_id=$user_id\n\n".$body;
diff --git a/src/common/tracker/ArtifactQuery.class.php b/src/common/tracker/ArtifactQuery.class.php
index 29587e3..a80f3cb 100644
--- a/src/common/tracker/ArtifactQuery.class.php
+++ b/src/common/tracker/ArtifactQuery.class.php
@@ -325,7 +325,7 @@ class ArtifactQuery extends Error {
 
 		//MOD DATE RANGE  YYYY-MM-DD YYYY-MM-DD format
 		if ($moddaterange && !$this->validateDateRange($moddaterange)) {
-			$this->setError('Invalid Mod Date Range');
+			$this->setError(_('Invalid Last Modified Date Range'));
 			return false;
 		}
 		$res = db_query_params ('INSERT INTO artifact_query_fields
@@ -341,7 +341,7 @@ class ArtifactQuery extends Error {
 
 		//OPEN DATE RANGE YYYY-MM-DD YYYY-MM-DD format
 		if ($opendaterange && !$this->validateDateRange($opendaterange)) {
-			$this->setError('Invalid Open Date Range');
+			$this->setError(_('Invalid Open Date Range'));
 			return false;
 		}
 		$res = db_query_params ('INSERT INTO artifact_query_fields
@@ -357,7 +357,7 @@ class ArtifactQuery extends Error {
 
 		//CLOSE DATE RANGE YYYY-MM-DD YYYY-MM-DD format
 		if ($closedaterange && !$this->validateDateRange($closedaterange)) {
-			$this->setError('Invalid Close Date Range');
+			$this->setError(_('Invalid Close Date Range'));
 			return false;
 		}
 		$res = db_query_params ('INSERT INTO artifact_query_fields

-----------------------------------------------------------------------

Summary of changes:
 src/common/tracker/ArtifactMessage.class.php |    2 +-
 src/common/tracker/ArtifactQuery.class.php   |    6 +++---
 2 files changed, 4 insertions(+), 4 deletions(-)


hooks/post-receive
-- 
FusionForge



More information about the Fusionforge-commits mailing list