浏览代码

Added attribute types into the dictionary

git-svn-id: http://svn.code.sf.net/p/itop/code/trunk@952 a333f486-631f-4898-b8df-5754b55c2be0
romainq 14 年之前
父节点
当前提交
3b242193e8

+ 9 - 49
core/attributedef.class.inc.php

@@ -72,8 +72,15 @@ define('DEL_AUTO', 2);
  */
 abstract class AttributeDefinition
 {
-	abstract public function GetType();
-	abstract public function GetTypeDesc();
+	public function GetType()
+	{
+		return Dict::S('Core:'.get_class($this));
+	}
+	public function GetTypeDesc()
+	{
+		return Dict::S('Core:'.get_class($this).'+');
+	}
+
 	abstract public function GetEditClass();
 
 	protected $m_sCode;
@@ -311,8 +318,6 @@ class AttributeLinkedSet extends AttributeDefinition
 		return array_merge(parent::ListExpectedParams(), array("allowed_values", "depends_on", "linked_class", "ext_key_to_me", "count_min", "count_max"));
 	}
 
-	public function GetType() {return "Array of objects";}
-	public function GetTypeDesc() {return "Any kind of objects [subclass] of the same class";}
 	public function GetEditClass() {return "List";}
 
 	public function IsWritable() {return true;} 
@@ -394,8 +399,6 @@ class AttributeDBFieldVoid extends AttributeDefinition
 	// To be overriden, used in GetSQLColumns
 	protected function GetSQLCol() {return "VARCHAR(255)";}
 
-	public function GetType() {return "Void";}
-	public function GetTypeDesc() {return "Any kind of value, from the DB";}
 	public function GetEditClass() {return "String";}
 	
 	public function GetValuesDef() {return $this->Get("allowed_values");} 
@@ -495,8 +498,6 @@ class AttributeInteger extends AttributeDBField
 		//return array_merge(parent::ListExpectedParams(), array());
 	}
 
-	public function GetType() {return "Integer";}
-	public function GetTypeDesc() {return "Numeric value (could be negative)";}
 	public function GetEditClass() {return "String";}
 	protected function GetSQLCol() {return "INT(11)";}
 	
@@ -592,8 +593,6 @@ class AttributeDecimal extends AttributeDBField
 		return array_merge(parent::ListExpectedParams(), array('digits', 'decimals' /* including precision */));
 	}
 
-	public function GetType() {return "Decimal";}
-	public function GetTypeDesc() {return "Decimal value (could be negative)";}
 	public function GetEditClass() {return "String";}
 	protected function GetSQLCol() {return "DECIMAL(".$this->Get('digits').",".$this->Get('decimals').")";}
 	
@@ -690,8 +689,6 @@ class AttributeBoolean extends AttributeInteger
 		//return array_merge(parent::ListExpectedParams(), array());
 	}
 
-	public function GetType() {return "Boolean";}
-	public function GetTypeDesc() {return "Boolean";}
 	public function GetEditClass() {return "Integer";}
 	protected function GetSQLCol() {return "TINYINT(1)";}
 	
@@ -723,8 +720,6 @@ class AttributeString extends AttributeDBField
 		//return array_merge(parent::ListExpectedParams(), array());
 	}
 
-	public function GetType() {return "String";}
-	public function GetTypeDesc() {return "Alphanumeric string";}
 	public function GetEditClass() {return "String";}
 	protected function GetSQLCol() {return "VARCHAR(255)";}
 
@@ -1052,8 +1047,6 @@ class AttributeEncryptedString extends AttributeString
  */
 class AttributeText extends AttributeString
 {
-	public function GetType() {return "Text";}
-	public function GetTypeDesc() {return "Multiline character string";}
 	public function GetEditClass() {return "Text";}
 	protected function GetSQLCol() {return "TEXT";}
 
@@ -1082,8 +1075,6 @@ class AttributeText extends AttributeString
  */
 class AttributeHTML extends AttributeText
 {
-	public function GetType() {return "HTML";}
-	public function GetTypeDesc() {return "HTML string";}
 	public function GetEditClass() {return "HTML";}
 
 	public function GetAsHTML($sValue)
@@ -1099,8 +1090,6 @@ class AttributeHTML extends AttributeText
  */
 class AttributeEmailAddress extends AttributeString
 {
-	public function GetTypeDesc() {return "Email address(es)";}
-
 	public function GetValidationPattern()
 	{
 		return "^([0-9a-zA-Z]([-.\\w]*[0-9a-zA-Z])*@([0-9a-zA-Z][-\\w]*[0-9a-zA-Z]\\.)+[a-zA-Z]{2,9})$";
@@ -1120,8 +1109,6 @@ class AttributeEmailAddress extends AttributeString
  */
 class AttributeIPAddress extends AttributeString
 {
-	public function GetTypeDesc() {return "IP address";}
-
 	public function GetValidationPattern()
 	{
 		$sNum = '(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])';
@@ -1136,7 +1123,6 @@ class AttributeIPAddress extends AttributeString
  */
 class AttributeOQL extends AttributeText
 {
-	public function GetTypeDesc() {return "OQL expression";}
 }
 
 /**
@@ -1146,7 +1132,6 @@ class AttributeOQL extends AttributeText
  */
 class AttributeTemplateString extends AttributeString
 {
-	public function GetTypeDesc() {return "Template string";}
 }
 
 /**
@@ -1156,7 +1141,6 @@ class AttributeTemplateString extends AttributeString
  */
 class AttributeTemplateText extends AttributeText
 {
-	public function GetTypeDesc() {return "Multiline template string";}
 }
 
 /**
@@ -1166,8 +1150,6 @@ class AttributeTemplateText extends AttributeText
  */
 class AttributeTemplateHTML extends AttributeText
 {
-	public function GetType() {return "HTML";}
-	public function GetTypeDesc() {return "HTML template";}
 	public function GetEditClass() {return "HTML";}
 
 	public function GetAsHTML($sValue)
@@ -1184,8 +1166,6 @@ class AttributeTemplateHTML extends AttributeText
  */
 class AttributeWikiText extends AttributeText
 {
-	public function GetTypeDesc() {return "Multiline string with special formatting such as links to objects";}
-
 	public function GetAsHTML($value)
 	{
 		// [SELECT xxxx.... [label]] => hyperlink to a result list
@@ -1210,8 +1190,6 @@ class AttributeEnum extends AttributeString
 		//return array_merge(parent::ListExpectedParams(), array());
 	}
 
-	public function GetType() {return "Enum";}
-	public function GetTypeDesc() {return "List of predefined alphanumeric strings";}
 	public function GetEditClass() {return "String";}
 	protected function GetSQLCol()
 	{
@@ -1352,8 +1330,6 @@ class AttributeDateTime extends AttributeDBField
 		//return array_merge(parent::ListExpectedParams(), array());
 	}
 
-	public function GetType() {return "Date";}
-	public function GetTypeDesc() {return "Date and time";}
 	public function GetEditClass() {return "DateTime";}
 	protected function GetSQLCol() {return "TIMESTAMP";}
 	public static function GetAsUnixSeconds($value)
@@ -1594,8 +1570,6 @@ class AttributeDate extends AttributeDateTime
 		//return array_merge(parent::ListExpectedParams(), array());
 	}
 
-	public function GetType() {return "Date";}
-	public function GetTypeDesc() {return "Date";}
 	public function GetEditClass() {return "Date";}
 	protected function GetSQLCol() {return "DATE";}
 
@@ -1684,8 +1658,6 @@ class AttributeExternalKey extends AttributeDBFieldVoid
 		return array_merge(parent::ListExpectedParams(), array("targetclass", "is_null_allowed", "on_target_delete"));
 	}
 
-	public function GetType() {return "Extkey";}
-	public function GetTypeDesc() {return "Link to another object";}
 	public function GetEditClass() {return "ExtKey";}
 	protected function GetSQLCol() {return "INT(11)";}
 	public function RequiresIndex()
@@ -1789,8 +1761,6 @@ class AttributeExternalField extends AttributeDefinition
 		return array_merge(parent::ListExpectedParams(), array("extkey_attcode", "target_attcode"));
 	}
 
-	public function GetType() {return "ExtkeyField";}
-	public function GetTypeDesc() {return "Field of an object pointed to by the current object";}
 	public function GetEditClass() {return "ExtField";}
 	protected function GetSQLCol()
 	{
@@ -1988,8 +1958,6 @@ class AttributeURL extends AttributeString
 		return array_merge(parent::ListExpectedParams(), array("target"));
 	}
 
-	public function GetType() {return "Url";}
-	public function GetTypeDesc() {return "Absolute or relative URL as a text string";}
 	public function GetEditClass() {return "String";}
 
 	public function GetAsHTML($sValue)
@@ -2023,8 +1991,6 @@ class AttributeBlob extends AttributeDefinition
 		return array_merge(parent::ListExpectedParams(), array("depends_on"));
 	}
 
-	public function GetType() {return "Blob";}
-	public function GetTypeDesc() {return "Document";}
 	public function GetEditClass() {return "Document";}
 	
 	public function IsDirectField() {return true;} 
@@ -2168,8 +2134,6 @@ class AttributeOneWayPassword extends AttributeDefinition
 		return array_merge(parent::ListExpectedParams(), array("depends_on"));
 	}
 
-	public function GetType() {return "One Way Password";}
-	public function GetTypeDesc() {return "One Way Password";}
 	public function GetEditClass() {return "One Way Password";}
 	
 	public function IsDirectField() {return true;} 
@@ -2292,8 +2256,6 @@ class AttributeOneWayPassword extends AttributeDefinition
 // Indexed array having two dimensions
 class AttributeTable extends AttributeText
 {
-	public function GetType() {return "Table";}
-	public function GetTypeDesc() {return "Array with 2 dimensions";}
 	public function GetEditClass() {return "Text";}
 	protected function GetSQLCol() {return "TEXT";}
 
@@ -2369,8 +2331,6 @@ class AttributeTable extends AttributeText
 // The PHP value is a hash array, it is stored as a TEXT column
 class AttributePropertySet extends AttributeTable
 {
-	public function GetType() {return "PropertySet";}
-	public function GetTypeDesc() {return "List of properties (name and value)";}
 	public function GetEditClass() {return "Text";}
 	protected function GetSQLCol() {return "TEXT";}
 

+ 96 - 0
dictionaries/de.dictionary.itop.core.php

@@ -33,6 +33,102 @@
 // Class: CMDBChange
 //
 
+Dict::Add('EN US', 'English', 'English', array(
+	'Core:AttributeLinkedSet' => 'Array of objects',
+	'Core:AttributeLinkedSet+' => 'Any kind of objects [subclass] of the same class',
+
+	'Core:AttributeLinkedSetIndirect' => 'Array of objects (N-N)',
+	'Core:AttributeLinkedSetIndirect+' => 'Any kind of objects [subclass] of the same class',
+
+	'Core:AttributeInteger' => 'Integer',
+	'Core:AttributeInteger+' => 'Numeric value (could be negative)',
+
+	'Core:AttributeDecimal' => 'Decimal',
+	'Core:AttributeDecimal+' => 'Decimal value (could be negative)',
+
+	'Core:AttributeBoolean' => 'Boolean',
+	'Core:AttributeBoolean+' => 'Boolean',
+
+	'Core:AttributeString' => 'String',
+	'Core:AttributeString+' => 'Alphanumeric string',
+
+	'Core:AttributeClass' => 'Class',
+	'Core:AttributeClass+' => 'Class',
+
+	'Core:AttributeApplicationLanguage' => 'User language',
+	'Core:AttributeApplicationLanguage+' => 'Language and country (EN US)',
+
+	'Core:AttributeFinalClass' => 'Class (auto)',
+	'Core:AttributeFinalClass+' => 'Real class of the object (automatically created by the core)',
+
+	'Core:AttributePassword' => 'Password',
+	'Core:AttributePassword+' => 'Password of an external device',
+
+ 	'Core:AttributeEncryptedString' => 'Encrypted string',
+	'Core:AttributeEncryptedString+' => 'String encrypted with a local key',
+
+	'Core:AttributeText' => 'Text',
+	'Core:AttributeText+' => 'Multiline character string',
+
+	'Core:AttributeHTML' => 'HTML',
+	'Core:AttributeHTML+' => 'HTML string',
+
+	'Core:AttributeEmailAddress' => 'Email address',
+	'Core:AttributeEmailAddress+' => 'Email address',
+
+	'Core:AttributeIPAddress' => 'IP address',
+	'Core:AttributeIPAddress+' => 'IP address',
+
+	'Core:AttributeOQL' => 'OQL',
+	'Core:AttributeOQL+' => 'Object Query Langage expression',
+
+	'Core:AttributeEnum' => 'Enum',
+	'Core:AttributeEnum+' => 'List of predefined alphanumeric strings',
+
+	'Core:AttributeTemplateString' => 'Template string',
+	'Core:AttributeTemplateString+' => 'String containing placeholders',
+
+	'Core:AttributeTemplateText' => 'Template text',
+	'Core:AttributeTemplateText+' => 'Text containing placeholders',
+
+	'Core:AttributeTemplateHTML' => 'Template HTML',
+	'Core:AttributeTemplateHTML+' => 'HTML containing placeholders',
+
+	'Core:AttributeWikiText' => 'Wiki article',
+	'Core:AttributeWikiText+' => 'Wiki formatted text',
+
+	'Core:AttributeDateTime' => 'Date/time',
+	'Core:AttributeDateTime+' => 'Date and time (year-month-day hh:mm:ss)',
+
+	'Core:AttributeDate' => 'Date',
+	'Core:AttributeDate+' => 'Date (year-month-day)',
+
+	'Core:AttributeDeadline' => 'Deadline',
+	'Core:AttributeDeadline+' => 'Date, displayed relatively to the current time',
+
+	'Core:AttributeExternalKey' => 'External key',
+	'Core:AttributeExternalKey+' => 'External (or foreign) key',
+
+	'Core:AttributeExternalField' => 'External field',
+	'Core:AttributeExternalField+' => 'Field mapped from an external key',
+
+	'Core:AttributeURL' => 'URL',
+	'Core:AttributeURL+' => 'Absolute or relative URL as a text string',
+
+	'Core:AttributeBlob' => 'Blob',
+	'Core:AttributeBlob+' => 'Any binary content (document)',
+
+	'Core:AttributeOneWayPassword' => 'One way password',
+	'Core:AttributeOneWayPassword+' => 'One way encrypted (hashed) password',
+
+	'Core:AttributeTable' => 'Table',
+	'Core:AttributeTable+' => 'Indexed array having two dimensions',
+
+	'Core:AttributePropertySet' => 'Properties',
+	'Core:AttributePropertySet+' => 'List of untyped properties (name and value)',
+));
+
+
 Dict::Add('DE DE', 'German', 'Deutsch', array(
 	'Class:CMDBChange' => 'Change',
 	'Class:CMDBChange+' => 'Protokllierung der Changes',

+ 95 - 0
dictionaries/dictionary.itop.core.php

@@ -23,6 +23,101 @@
  * @license     http://www.opensource.org/licenses/gpl-3.0.html LGPL
  */
 
+Dict::Add('EN US', 'English', 'English', array(
+	'Core:AttributeLinkedSet' => 'Array of objects',
+	'Core:AttributeLinkedSet+' => 'Any kind of objects of the same class or subclass',
+
+	'Core:AttributeLinkedSetIndirect' => 'Array of objects (N-N)',
+	'Core:AttributeLinkedSetIndirect+' => 'Any kind of objects [subclass] of the same class',
+
+	'Core:AttributeInteger' => 'Integer',
+	'Core:AttributeInteger+' => 'Numeric value (could be negative)',
+
+	'Core:AttributeDecimal' => 'Decimal',
+	'Core:AttributeDecimal+' => 'Decimal value (could be negative)',
+
+	'Core:AttributeBoolean' => 'Boolean',
+	'Core:AttributeBoolean+' => 'Boolean',
+
+	'Core:AttributeString' => 'String',
+	'Core:AttributeString+' => 'Alphanumeric string',
+
+	'Core:AttributeClass' => 'Class',
+	'Core:AttributeClass+' => 'Class',
+
+	'Core:AttributeApplicationLanguage' => 'User language',
+	'Core:AttributeApplicationLanguage+' => 'Language and country (EN US)',
+
+	'Core:AttributeFinalClass' => 'Class (auto)',
+	'Core:AttributeFinalClass+' => 'Real class of the object (automatically created by the core)',
+
+	'Core:AttributePassword' => 'Password',
+	'Core:AttributePassword+' => 'Password of an external device',
+
+ 	'Core:AttributeEncryptedString' => 'Encrypted string',
+	'Core:AttributeEncryptedString+' => 'String encrypted with a local key',
+
+	'Core:AttributeText' => 'Text',
+	'Core:AttributeText+' => 'Multiline character string',
+
+	'Core:AttributeHTML' => 'HTML',
+	'Core:AttributeHTML+' => 'HTML string',
+
+	'Core:AttributeEmailAddress' => 'Email address',
+	'Core:AttributeEmailAddress+' => 'Email address',
+
+	'Core:AttributeIPAddress' => 'IP address',
+	'Core:AttributeIPAddress+' => 'IP address',
+
+	'Core:AttributeOQL' => 'OQL',
+	'Core:AttributeOQL+' => 'Object Query Langage expression',
+
+	'Core:AttributeEnum' => 'Enum',
+	'Core:AttributeEnum+' => 'List of predefined alphanumeric strings',
+
+	'Core:AttributeTemplateString' => 'Template string',
+	'Core:AttributeTemplateString+' => 'String containing placeholders',
+
+	'Core:AttributeTemplateText' => 'Template text',
+	'Core:AttributeTemplateText+' => 'Text containing placeholders',
+
+	'Core:AttributeTemplateHTML' => 'Template HTML',
+	'Core:AttributeTemplateHTML+' => 'HTML containing placeholders',
+
+	'Core:AttributeWikiText' => 'Wiki article',
+	'Core:AttributeWikiText+' => 'Wiki formatted text',
+
+	'Core:AttributeDateTime' => 'Date/time',
+	'Core:AttributeDateTime+' => 'Date and time (year-month-day hh:mm:ss)',
+
+	'Core:AttributeDate' => 'Date',
+	'Core:AttributeDate+' => 'Date (year-month-day)',
+
+	'Core:AttributeDeadline' => 'Deadline',
+	'Core:AttributeDeadline+' => 'Date, displayed relatively to the current time',
+
+	'Core:AttributeExternalKey' => 'External key',
+	'Core:AttributeExternalKey+' => 'External (or foreign) key',
+
+	'Core:AttributeExternalField' => 'External field',
+	'Core:AttributeExternalField+' => 'Field mapped to an external key',
+
+	'Core:AttributeURL' => 'URL',
+	'Core:AttributeURL+' => 'Absolute or relative URL as a text string',
+
+	'Core:AttributeBlob' => 'Blob',
+	'Core:AttributeBlob+' => 'Any binary content (document)',
+
+	'Core:AttributeOneWayPassword' => 'One way password',
+	'Core:AttributeOneWayPassword+' => 'One way encrypted (hashed) password',
+
+	'Core:AttributeTable' => 'Table',
+	'Core:AttributeTable+' => 'Indexed array having two dimensions',
+
+	'Core:AttributePropertySet' => 'Properties',
+	'Core:AttributePropertySet+' => 'List of untyped properties (name and value)',
+));
+
 
 //////////////////////////////////////////////////////////////////////
 // Classes in 'core/cmdb'

+ 96 - 0
dictionaries/es_cr.dictionary.itop.core.php

@@ -29,6 +29,102 @@
 //////////////////////////////////////////////////////////////////////
 //
 
+Dict::Add('EN US', 'English', 'English', array(
+	'Core:AttributeLinkedSet' => 'Array of objects',
+	'Core:AttributeLinkedSet+' => 'Any kind of objects [subclass] of the same class',
+
+	'Core:AttributeLinkedSetIndirect' => 'Array of objects (N-N)',
+	'Core:AttributeLinkedSetIndirect+' => 'Any kind of objects [subclass] of the same class',
+
+	'Core:AttributeInteger' => 'Integer',
+	'Core:AttributeInteger+' => 'Numeric value (could be negative)',
+
+	'Core:AttributeDecimal' => 'Decimal',
+	'Core:AttributeDecimal+' => 'Decimal value (could be negative)',
+
+	'Core:AttributeBoolean' => 'Boolean',
+	'Core:AttributeBoolean+' => 'Boolean',
+
+	'Core:AttributeString' => 'String',
+	'Core:AttributeString+' => 'Alphanumeric string',
+
+	'Core:AttributeClass' => 'Class',
+	'Core:AttributeClass+' => 'Class',
+
+	'Core:AttributeApplicationLanguage' => 'User language',
+	'Core:AttributeApplicationLanguage+' => 'Language and country (EN US)',
+
+	'Core:AttributeFinalClass' => 'Class (auto)',
+	'Core:AttributeFinalClass+' => 'Real class of the object (automatically created by the core)',
+
+	'Core:AttributePassword' => 'Password',
+	'Core:AttributePassword+' => 'Password of an external device',
+
+ 	'Core:AttributeEncryptedString' => 'Encrypted string',
+	'Core:AttributeEncryptedString+' => 'String encrypted with a local key',
+
+	'Core:AttributeText' => 'Text',
+	'Core:AttributeText+' => 'Multiline character string',
+
+	'Core:AttributeHTML' => 'HTML',
+	'Core:AttributeHTML+' => 'HTML string',
+
+	'Core:AttributeEmailAddress' => 'Email address',
+	'Core:AttributeEmailAddress+' => 'Email address',
+
+	'Core:AttributeIPAddress' => 'IP address',
+	'Core:AttributeIPAddress+' => 'IP address',
+
+	'Core:AttributeOQL' => 'OQL',
+	'Core:AttributeOQL+' => 'Object Query Langage expression',
+
+	'Core:AttributeEnum' => 'Enum',
+	'Core:AttributeEnum+' => 'List of predefined alphanumeric strings',
+
+	'Core:AttributeTemplateString' => 'Template string',
+	'Core:AttributeTemplateString+' => 'String containing placeholders',
+
+	'Core:AttributeTemplateText' => 'Template text',
+	'Core:AttributeTemplateText+' => 'Text containing placeholders',
+
+	'Core:AttributeTemplateHTML' => 'Template HTML',
+	'Core:AttributeTemplateHTML+' => 'HTML containing placeholders',
+
+	'Core:AttributeWikiText' => 'Wiki article',
+	'Core:AttributeWikiText+' => 'Wiki formatted text',
+
+	'Core:AttributeDateTime' => 'Date/time',
+	'Core:AttributeDateTime+' => 'Date and time (year-month-day hh:mm:ss)',
+
+	'Core:AttributeDate' => 'Date',
+	'Core:AttributeDate+' => 'Date (year-month-day)',
+
+	'Core:AttributeDeadline' => 'Deadline',
+	'Core:AttributeDeadline+' => 'Date, displayed relatively to the current time',
+
+	'Core:AttributeExternalKey' => 'External key',
+	'Core:AttributeExternalKey+' => 'External (or foreign) key',
+
+	'Core:AttributeExternalField' => 'External field',
+	'Core:AttributeExternalField+' => 'Field mapped from an external key',
+
+	'Core:AttributeURL' => 'URL',
+	'Core:AttributeURL+' => 'Absolute or relative URL as a text string',
+
+	'Core:AttributeBlob' => 'Blob',
+	'Core:AttributeBlob+' => 'Any binary content (document)',
+
+	'Core:AttributeOneWayPassword' => 'One way password',
+	'Core:AttributeOneWayPassword+' => 'One way encrypted (hashed) password',
+
+	'Core:AttributeTable' => 'Table',
+	'Core:AttributeTable+' => 'Indexed array having two dimensions',
+
+	'Core:AttributePropertySet' => 'Properties',
+	'Core:AttributePropertySet+' => 'List of untyped properties (name and value)',
+));
+
+
 //
 // Class: CMDBChange
 //

+ 96 - 0
dictionaries/fr.dictionary.itop.core.php

@@ -24,6 +24,102 @@
  */
 
 
+Dict::Add('EN US', 'English', 'English', array(
+	'Core:AttributeLinkedSet' => 'Objets liés (1-n)',
+	'Core:AttributeLinkedSet+' => 'Liste d'\'objets d\'une classe donnée et pointant sur l\'objet courant',
+
+	'Core:AttributeLinkedSetIndirect' => 'Objets liés (1-n)',
+	'Core:AttributeLinkedSetIndirect+' => 'Liste d'\'objets d\'une classe donnée et liés à l\'objet courant via une classe intermédiaire',
+
+	'Core:AttributeInteger' => 'Nombre entier',
+	'Core:AttributeInteger+' => 'Valeur numérique entière',
+
+	'Core:AttributeDecimal' => 'Nombre décimal',
+	'Core:AttributeDecimal+' => 'Valeur numérique décimale',
+
+	'Core:AttributeBoolean' => 'Booléen',
+	'Core:AttributeBoolean+' => 'Booléen',
+
+	'Core:AttributeString' => 'Chaîne de caractères',
+	'Core:AttributeString+' => 'Chaîne de caractères (limitée à une ligne)',
+
+	'Core:AttributeClass' => 'Classe',
+	'Core:AttributeClass+' => 'Classe d\'objets',
+
+	'Core:AttributeApplicationLanguage' => 'Langue',
+	'Core:AttributeApplicationLanguage+' => 'Codes langue et pays (EN US)',
+
+	'Core:AttributeFinalClass' => 'Classe',
+	'Core:AttributeFinalClass+' => 'Classe réelle de l\'objet (attribut créé automatiquement)',
+
+	'Core:AttributePassword' => 'Mot de passe',
+	'Core:AttributePassword+' => 'Mot de passe qui peut être lu en clair',
+
+ 	'Core:AttributeEncryptedString' => 'Chaîne encryptée',
+	'Core:AttributeEncryptedString+' => 'Chaîne encryptée avec une clé locale',
+
+	'Core:AttributeText' => 'Texte',
+	'Core:AttributeText+' => 'Chaîne de caractères de plusieurs lignes',
+
+	'Core:AttributeHTML' => 'HTML',
+	'Core:AttributeHTML+' => 'Texte formatté en HTML',
+
+	'Core:AttributeEmailAddress' => 'Adresse électronique',
+	'Core:AttributeEmailAddress+' => 'Adresse électronique (xxxx@yyy.zzz)',
+
+	'Core:AttributeIPAddress' => 'Adresse IP',
+	'Core:AttributeIPAddress+' => 'Adresse IP',
+
+	'Core:AttributeOQL' => 'Expression OQL',
+	'Core:AttributeOQL+' => 'Expression formattée en "Object Query Language"',
+
+	'Core:AttributeEnum' => 'Enumération',
+	'Core:AttributeEnum+' => 'Valeur choisie parmi un liste de chaîne de caractères',
+
+	'Core:AttributeTemplateString' => 'Modèle de chaîne de caractères',
+	'Core:AttributeTemplateString+' => 'Chaîne de caractères d\'une ligne, contenant des espaces réservés pour des données iTop',
+
+	'Core:AttributeTemplateText' => 'Modèle de texte',
+	'Core:AttributeTemplateText+' => 'Texte contenant des espaces réservés pour des données iTop',
+
+	'Core:AttributeTemplateHTML' => 'Modèle HTML',
+	'Core:AttributeTemplateHTML+' => 'HTML contenant des espaces réservés pour des données iTop',
+
+	'Core:AttributeWikiText' => 'Article Wiki',
+	'Core:AttributeWikiText+' => 'Texte formatté en Wiki',
+
+	'Core:AttributeDateTime' => 'Date/heure',
+	'Core:AttributeDateTime+' => 'Date et heure (année-mois-jour hh:mm:ss)',
+
+	'Core:AttributeDate' => 'Date',
+	'Core:AttributeDate+' => 'Date (année-mois-jour)',
+
+	'Core:AttributeDeadline' => 'Délai',
+	'Core:AttributeDeadline+' => 'Date/heure exprimée relativement à l\'heure courante',
+
+	'Core:AttributeExternalKey' => 'Clé externe',
+	'Core:AttributeExternalKey+' => 'Clé externe',
+
+	'Core:AttributeExternalField' => 'Attribut externe',
+	'Core:AttributeExternalField+' => 'Copie de la valeur d\'un attribut de l\'objet lié par une clé externe',
+
+	'Core:AttributeURL' => 'URL',
+	'Core:AttributeURL+' => 'URL absolue ou relative',
+
+	'Core:AttributeBlob' => 'Blob',
+	'Core:AttributeBlob+' => 'Contenu binaire (document)',
+
+	'Core:AttributeOneWayPassword' => 'Mot de passe "one way"',
+	'Core:AttributeOneWayPassword+' => 'Mot de passe qui peut être vérifié mais jamais lu en clair',
+
+	'Core:AttributeTable' => 'Table',
+	'Core:AttributeTable+' => 'Tableau à deux dimensions',
+
+	'Core:AttributePropertySet' => 'Propriétés',
+	'Core:AttributePropertySet+' => 'Liste de propriétés (nom et valeur) non typées',
+));
+
+
 //////////////////////////////////////////////////////////////////////
 // Classes in 'core/cmdb'
 //////////////////////////////////////////////////////////////////////

+ 96 - 0
dictionaries/pt_br.dictionary.itop.core.php

@@ -24,6 +24,102 @@
  */
 
 
+Dict::Add('EN US', 'English', 'English', array(
+	'Core:AttributeLinkedSet' => 'Array of objects',
+	'Core:AttributeLinkedSet+' => 'Any kind of objects [subclass] of the same class',
+
+	'Core:AttributeLinkedSetIndirect' => 'Array of objects (N-N)',
+	'Core:AttributeLinkedSetIndirect+' => 'Any kind of objects [subclass] of the same class',
+
+	'Core:AttributeInteger' => 'Integer',
+	'Core:AttributeInteger+' => 'Numeric value (could be negative)',
+
+	'Core:AttributeDecimal' => 'Decimal',
+	'Core:AttributeDecimal+' => 'Decimal value (could be negative)',
+
+	'Core:AttributeBoolean' => 'Boolean',
+	'Core:AttributeBoolean+' => 'Boolean',
+
+	'Core:AttributeString' => 'String',
+	'Core:AttributeString+' => 'Alphanumeric string',
+
+	'Core:AttributeClass' => 'Class',
+	'Core:AttributeClass+' => 'Class',
+
+	'Core:AttributeApplicationLanguage' => 'User language',
+	'Core:AttributeApplicationLanguage+' => 'Language and country (EN US)',
+
+	'Core:AttributeFinalClass' => 'Class (auto)',
+	'Core:AttributeFinalClass+' => 'Real class of the object (automatically created by the core)',
+
+	'Core:AttributePassword' => 'Password',
+	'Core:AttributePassword+' => 'Password of an external device',
+
+ 	'Core:AttributeEncryptedString' => 'Encrypted string',
+	'Core:AttributeEncryptedString+' => 'String encrypted with a local key',
+
+	'Core:AttributeText' => 'Text',
+	'Core:AttributeText+' => 'Multiline character string',
+
+	'Core:AttributeHTML' => 'HTML',
+	'Core:AttributeHTML+' => 'HTML string',
+
+	'Core:AttributeEmailAddress' => 'Email address',
+	'Core:AttributeEmailAddress+' => 'Email address',
+
+	'Core:AttributeIPAddress' => 'IP address',
+	'Core:AttributeIPAddress+' => 'IP address',
+
+	'Core:AttributeOQL' => 'OQL',
+	'Core:AttributeOQL+' => 'Object Query Langage expression',
+
+	'Core:AttributeEnum' => 'Enum',
+	'Core:AttributeEnum+' => 'List of predefined alphanumeric strings',
+
+	'Core:AttributeTemplateString' => 'Template string',
+	'Core:AttributeTemplateString+' => 'String containing placeholders',
+
+	'Core:AttributeTemplateText' => 'Template text',
+	'Core:AttributeTemplateText+' => 'Text containing placeholders',
+
+	'Core:AttributeTemplateHTML' => 'Template HTML',
+	'Core:AttributeTemplateHTML+' => 'HTML containing placeholders',
+
+	'Core:AttributeWikiText' => 'Wiki article',
+	'Core:AttributeWikiText+' => 'Wiki formatted text',
+
+	'Core:AttributeDateTime' => 'Date/time',
+	'Core:AttributeDateTime+' => 'Date and time (year-month-day hh:mm:ss)',
+
+	'Core:AttributeDate' => 'Date',
+	'Core:AttributeDate+' => 'Date (year-month-day)',
+
+	'Core:AttributeDeadline' => 'Deadline',
+	'Core:AttributeDeadline+' => 'Date, displayed relatively to the current time',
+
+	'Core:AttributeExternalKey' => 'External key',
+	'Core:AttributeExternalKey+' => 'External (or foreign) key',
+
+	'Core:AttributeExternalField' => 'External field',
+	'Core:AttributeExternalField+' => 'Field mapped from an external key',
+
+	'Core:AttributeURL' => 'URL',
+	'Core:AttributeURL+' => 'Absolute or relative URL as a text string',
+
+	'Core:AttributeBlob' => 'Blob',
+	'Core:AttributeBlob+' => 'Any binary content (document)',
+
+	'Core:AttributeOneWayPassword' => 'One way password',
+	'Core:AttributeOneWayPassword+' => 'One way encrypted (hashed) password',
+
+	'Core:AttributeTable' => 'Table',
+	'Core:AttributeTable+' => 'Indexed array having two dimensions',
+
+	'Core:AttributePropertySet' => 'Properties',
+	'Core:AttributePropertySet+' => 'List of untyped properties (name and value)',
+));
+
+
 //////////////////////////////////////////////////////////////////////
 // Classes in 'core/cmdb'
 //////////////////////////////////////////////////////////////////////