Ver Fonte

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@2424 a333f486-631f-4898-b8df-5754b55c2be0

etaloc há 12 anos atrás
pai
commit
82cd90ad66

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

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

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

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

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

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