Feature/9138 display details cmdb (#839)

* N°9138 - Align presentation details of CMDB classes
This commit is contained in:
Vincent Dumas
2026-03-13 17:19:34 +01:00
committed by GitHub
parent 0f7540dec8
commit 32ddf1c980
21 changed files with 1714 additions and 904 deletions

View File

@@ -57,26 +57,7 @@ Dict::Add('EN US', 'English', 'English', [
//////////////////////////////////////////////////////////////////////
// Classes in 'bizmodel'
//////////////////////////////////////////////////////////////////////
//
// Dictionnay conventions
// Class:<class_name>
// Class:<class_name>+
// Class:<class_name>/Attribute:<attribute_code>
// Class:<class_name>/Attribute:<attribute_code>+
// Class:<class_name>/Attribute:<attribute_code>/Value:<value>
// Class:<class_name>/Attribute:<attribute_code>/Value:<value>+
// Class:<class_name>/Stimulus:<stimulus_code>
// Class:<class_name>/Stimulus:<stimulus_code>+
// Class:<class_name>/UniquenessRule:<rule_code>
// Class:<class_name>/UniquenessRule:<rule_code>+
//////////////////////////////////////////////////////////////////////
// Note: The classes have been grouped by categories: bizmodel
//////////////////////////////////////////////////////////////////////
//////////////////////////////////////////////////////////////////////
// Classes in 'bizmodel'
//////////////////////////////////////////////////////////////////////
//
//
@@ -1535,6 +1516,17 @@ Dict::Add('EN US', 'English', 'English', [
'Class:Group/Attribute:parent_id_friendlyname+' => '',
]);
//
// Class: PhysicalInterface
//
Dict::Add('EN US', 'English', 'English', [
'Class:PhysicalInterface/Attribute:org_id' => 'Org id',
'Class:PhysicalInterface/Attribute:org_id+' => '',
'Class:PhysicalInterface/Attribute:location_id' => 'Location id',
'Class:PhysicalInterface/Attribute:location_id+' => '',
]);
//
// Class: lnkGroupToCI
//
@@ -1555,23 +1547,6 @@ Dict::Add('EN US', 'English', 'English', [
'Class:lnkGroupToCI/Attribute:reason+' => '',
]);
// Add translation for Fieldsets
Dict::Add('EN US', 'English', 'English', [
'Server:baseinfo' => 'General information',
'Server:Date' => 'Dates',
'Server:moreinfo' => 'More information',
'Server:otherinfo' => 'Other information',
'Server:power' => 'Power supply',
'Class:Subnet/Tab:IPUsage' => 'IP Usage',
'Class:Subnet/Tab:IPUsage+' => 'Which IP within this Subnet is used or not',
'Class:Subnet/Tab:IPUsage-explain' => 'Interfaces having an IP in the range: <em>%1$s</em> to <em>%2$s</em>',
'Class:Subnet/Tab:FreeIPs' => 'Free IPs',
'Class:Subnet/Tab:FreeIPs-count' => 'Free IPs: %1$s',
'Class:Subnet/Tab:FreeIPs-explain' => 'Here is an extract of 10 free IP addresses',
'Class:Document:PreviewTab' => 'Preview',
]);
//
// Class: lnkDocumentToFunctionalCI
//
@@ -1590,6 +1565,29 @@ Dict::Add('EN US', 'English', 'English', [
'Class:lnkDocumentToFunctionalCI/Attribute:document_name+' => '',
]);
// Add translation for Fieldsets
Dict::Add('EN US', 'English', 'English', [
'ConfigMgnt:baseinfo' => 'General',
'ConfigMgnt:moreinfo' => 'CI specifics',
'ConfigMgnt:otherinfo' => 'Dates and description',
'Storage:moreinfo' => 'Storage specifics',
'Software:moreinfo' => 'Software specifics',
'Phone:moreinfo' => 'Phone specifics',
'Server:baseinfo' => 'General',
'Server:moreinfo' => 'Device specifics',
'Server:Date' => 'Dates',
'Server:otherinfo' => 'Description',
'Server:power' => 'Power supply',
'Class:Subnet/Tab:IPUsage' => 'IP Usage',
'Class:Subnet/Tab:IPUsage+' => 'Which IP within this Subnet is used or not',
'Class:Subnet/Tab:IPUsage-explain' => 'Interfaces having an IP in the range: <em>%1$s</em> to <em>%2$s</em>',
'Class:Subnet/Tab:FreeIPs' => 'Free IPs',
'Class:Subnet/Tab:FreeIPs-count' => 'Free IPs: %1$s',
'Class:Subnet/Tab:FreeIPs-explain' => 'Here is an extract of 10 free IP addresses',
'Class:Document:PreviewTab' => 'Preview',
]);
//
// Application Menu
//
@@ -1640,14 +1638,3 @@ Dict::Add('EN US', 'English', 'English', [
'Menu:Software' => 'Software catalog',
'Menu:Software+' => 'Software catalog',
]);
//
// Class: PhysicalInterface
//
Dict::Add('EN US', 'English', 'English', [
'Class:PhysicalInterface/Attribute:org_id' => 'Org id',
'Class:PhysicalInterface/Attribute:org_id+' => '',
'Class:PhysicalInterface/Attribute:location_id' => 'Location id',
'Class:PhysicalInterface/Attribute:location_id+' => '',
]);