Explorar o código

update MakeIconeFrom name with good icone path
add transaltion for remated_problems_list

git-svn-id: http://svn.code.sf.net/p/itop/code/trunk@2425 a333f486-631f-4898-b8df-5754b55c2be0

etaloc %!s(int64=12) %!d(string=hai) anos
pai
achega
bc93702708

+ 1 - 1
datamodels/2.x/itop-change-mgmt-itil/datamodel.itop-change-mgmt-itil.xml

@@ -982,7 +982,7 @@
 		$sIcon = '';
 		if ($sIconName != '')
 		{
-			$sPath = '../modules/itop-change-mgmt-itil/images/'.$sIconName;
+			$sPath = '../env-'.utils::GetCurrentEnvironment().'/itop-change-mgmt-itil/images/'.$sIconName;
 			if ($bImgTag)
 			{
 				$sIcon = "<img src=\"$sPath\" style=\"vertical-align:middle;\"/>";

+ 2 - 0
datamodels/2.x/itop-change-mgmt-itil/en.dict.itop-change-mgmt-itil.php

@@ -130,6 +130,8 @@ Dict::Add('EN US', 'English', 'English', array(
 	'Class:Change/Attribute:related_request_list+' => '',
 	'Class:Change/Attribute:related_problems_list' => 'Related problems',
 	'Class:Change/Attribute:related_problems_list+' => '',
+	'Class:Change/Attribute:related_incident_list' => 'Related incidents',
+	'Class:Change/Attribute:related_incident_list+' => '',
 	'Class:Change/Attribute:child_changes_list' => 'Child changes',
 	'Class:Change/Attribute:child_changes_list+' => '',
 	'Class:Change/Attribute:parent_id_friendlyname' => 'Parent friendly name',

+ 2 - 0
datamodels/2.x/itop-change-mgmt-itil/fr.dict.itop-change-mgmt-itil.php

@@ -92,6 +92,8 @@ Dict::Add('FR FR', 'French', 'Français', array(
 	'Class:Change/Attribute:related_request_list+' => '',
 	'Class:Change/Attribute:related_problems_list' => 'Problèmes liés',
 	'Class:Change/Attribute:related_problems_list+' => '',
+	'Class:Change/Attribute:related_incident_list' => 'Incidents liés',
+	'Class:Change/Attribute:related_incident_list+' => '',
 	'Class:Change/Attribute:child_changes_list' => 'Changements fils',
 	'Class:Change/Attribute:child_changes_list+' => '',
 	'Class:Change/Attribute:parent_id_friendlyname' => 'Nom commun du changement parent',