mirror of
https://github.com/Combodo/iTop.git
synced 2026-05-20 07:42:17 +02:00
N°8796 - Add PHP code style validation in iTop and extensions - format whole code base
This commit is contained in:
@@ -1,15 +1,16 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* Localized data
|
||||
*
|
||||
* @copyright Copyright (C) 2010-2024 Combodo SAS
|
||||
* @license https://opensource.org/licenses/AGPL-3.0
|
||||
*
|
||||
*
|
||||
*/
|
||||
/**
|
||||
*
|
||||
*/
|
||||
Dict::Add('IT IT', 'Italian', 'Italiano', array(
|
||||
Dict::Add('IT IT', 'Italian', 'Italiano', [
|
||||
'Menu:IncidentManagement' => 'Gestione incidente',
|
||||
'Menu:IncidentManagement+' => 'Gestione incidente',
|
||||
'Menu:Incident:Overview' => 'Overview',
|
||||
@@ -31,8 +32,7 @@ Dict::Add('IT IT', 'Italian', 'Italiano', array(
|
||||
'UI-IncidentManagementOverview-OpenIncidentByStatus' => 'Incidenti aperti per stato',
|
||||
'UI-IncidentManagementOverview-OpenIncidentByAgent' => 'Incidenti aperti per agente',
|
||||
'UI-IncidentManagementOverview-OpenIncidentByCustomer' => 'Incidenti aperti per cliente',
|
||||
));
|
||||
|
||||
]);
|
||||
|
||||
// Dictionnay conventions
|
||||
// Class:<class_name>
|
||||
@@ -48,7 +48,7 @@ Dict::Add('IT IT', 'Italian', 'Italiano', array(
|
||||
// Class: Incident
|
||||
//
|
||||
|
||||
Dict::Add('IT IT', 'Italian', 'Italiano', array(
|
||||
Dict::Add('IT IT', 'Italian', 'Italiano', [
|
||||
'Class:Incident' => 'Incidente',
|
||||
'Class:Incident+' => '~~',
|
||||
'Class:Incident/Attribute:status' => 'Stato',
|
||||
@@ -227,4 +227,4 @@ Dict::Add('IT IT', 'Italian', 'Italiano', array(
|
||||
'Class:Incident/Method:ResolveChildTickets' => 'ResolveChildTickets~~',
|
||||
'Class:Incident/Method:ResolveChildTickets+' => 'Risoluzione a cascata delle richieste figlie (ev_autoresolve), e allineare le seguenti caratteristiche: servizio, team, agente e risoluzione',
|
||||
'Tickets:Related:OpenIncidents' => 'Incidenti aperti',
|
||||
));
|
||||
]);
|
||||
|
||||
@@ -1,10 +1,9 @@
|
||||
<?php
|
||||
|
||||
|
||||
SetupWebPage::AddModule(
|
||||
__FILE__, // Path to the current file, all other file names are relative to the directory containing this file
|
||||
'itop-incident-mgmt-itil/3.3.0',
|
||||
array(
|
||||
[
|
||||
// Identification
|
||||
//
|
||||
'label' => 'Incident Management ITIL',
|
||||
@@ -12,25 +11,25 @@ SetupWebPage::AddModule(
|
||||
|
||||
// Setup
|
||||
//
|
||||
'dependencies' => array(
|
||||
'dependencies' => [
|
||||
'itop-config-mgmt/2.4.0',
|
||||
'itop-tickets/2.4.0',
|
||||
'itop-profiles-itil/2.3.0',
|
||||
),
|
||||
],
|
||||
'mandatory' => false,
|
||||
'visible' => true,
|
||||
|
||||
// Components
|
||||
//
|
||||
'datamodel' => array(
|
||||
),
|
||||
'data.struct' => array(
|
||||
'datamodel' => [
|
||||
],
|
||||
'data.struct' => [
|
||||
|
||||
),
|
||||
'data.sample' => array(
|
||||
],
|
||||
'data.sample' => [
|
||||
//'data.sample.itop-request-mgmt.xml',
|
||||
),
|
||||
|
||||
],
|
||||
|
||||
// Documentation
|
||||
//
|
||||
'doc.manual_setup' => '',
|
||||
@@ -38,7 +37,7 @@ SetupWebPage::AddModule(
|
||||
|
||||
// Default settings
|
||||
//
|
||||
'settings' => array(
|
||||
),
|
||||
)
|
||||
'settings' => [
|
||||
],
|
||||
]
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user