N°8796 - Add PHP code style validation in iTop and extensions - format whole code base

This commit is contained in:
odain
2025-11-07 15:39:53 +01:00
parent 12f23113f5
commit 890a2568c8
2110 changed files with 53099 additions and 63885 deletions

View File

@@ -1,17 +1,18 @@
<?php
/**
* Localized data
*
* @copyright Copyright (C) 2010-2024 Combodo SAS
* @license https://opensource.org/licenses/AGPL-3.0
*
*
*/
/**
* @author Lukáš Dvořák <lukas.dvorak@itopportal.cz>
* @author Daniel Rokos <daniel.rokos@itopportal.cz>
*
*/
Dict::Add('CS CZ', 'Czech', 'Čeština', array(
Dict::Add('CS CZ', 'Czech', 'Čeština', [
'Class:Ticket' => 'Tiket',
'Class:Ticket+' => '',
'Class:Ticket/Attribute:ref' => 'ID',
@@ -63,14 +64,13 @@ Dict::Add('CS CZ', 'Czech', 'Čeština', array(
'Class:Ticket/Attribute:operational_status/Value:closed' => 'Uzavřený',
'Class:Ticket/Attribute:operational_status/Value:closed+' => '',
'Ticket:ImpactAnalysis' => 'Analýza dopadů',
));
]);
//
// Class: lnkContactToTicket
//
Dict::Add('CS CZ', 'Czech', 'Čeština', array(
Dict::Add('CS CZ', 'Czech', 'Čeština', [
'Class:lnkContactToTicket' => 'Spojení (Kontakt / Tiket)',
'Class:lnkContactToTicket+' => '',
'Class:lnkContactToTicket/Name' => '%1$s / %2$s~~',
@@ -90,13 +90,13 @@ Dict::Add('CS CZ', 'Czech', 'Čeština', array(
'Class:lnkContactToTicket/Attribute:role_code/Value:manual' => 'Přidán manuálně',
'Class:lnkContactToTicket/Attribute:role_code/Value:computed' => 'Automaticky',
'Class:lnkContactToTicket/Attribute:role_code/Value:do_not_notify' => 'Neupozorňovat',
));
]);
//
// Class: WorkOrder
//
Dict::Add('CS CZ', 'Czech', 'Čeština', array(
Dict::Add('CS CZ', 'Czech', 'Čeština', [
'Class:WorkOrder' => 'Pracovní příkaz',
'Class:WorkOrder+' => '',
'Class:WorkOrder/Attribute:name' => 'Název',
@@ -129,11 +129,10 @@ Dict::Add('CS CZ', 'Czech', 'Čeština', array(
'Class:WorkOrder/Attribute:log+' => '',
'Class:WorkOrder/Stimulus:ev_close' => 'Uzavřít',
'Class:WorkOrder/Stimulus:ev_close+' => '',
));
]);
// Fieldset translation
Dict::Add('CS CZ', 'Czech', 'Čeština', array(
Dict::Add('CS CZ', 'Czech', 'Čeština', [
'Ticket:baseinfo' => 'Obecné informace',
'Ticket:date' => 'Data',
'Ticket:contact' => 'Kontakty',
@@ -223,14 +222,13 @@ Dict::Add('CS CZ', 'Czech', 'Čeština', array(
'Class:ResponseTicketTTO/Interface:iMetricComputer+' => 'Cíl úrovně služeb typu TTO',
'Class:ResponseTicketTTR/Interface:iMetricComputer' => 'Čas pro vyřešení (TTR)',
'Class:ResponseTicketTTR/Interface:iMetricComputer+' => 'Cíl úrovně služeb typu TTR',
));
]);
//
// Class: Ticket
//
Dict::Add('CS CZ', 'Czech', 'Čeština', array(
Dict::Add('CS CZ', 'Czech', 'Čeština', [
'Class:Ticket/Attribute:team_email' => 'Team email~~',
'Class:Ticket/Attribute:team_email+' => '~~',
));
]);

View File

@@ -1,16 +1,17 @@
<?php
/**
* Localized data
*
* @copyright Copyright (C) 2010-2024 Combodo SAS
* @license https://opensource.org/licenses/AGPL-3.0
*
*
*/
/**
* @author Erik Bøg <erik@boegmoeller.dk>
*
*/
Dict::Add('DA DA', 'Danish', 'Dansk', array(
Dict::Add('DA DA', 'Danish', 'Dansk', [
'Class:Ticket' => 'Ticket',
'Class:Ticket+' => '',
'Class:Ticket/Attribute:ref' => 'Reference',
@@ -62,14 +63,13 @@ Dict::Add('DA DA', 'Danish', 'Dansk', array(
'Class:Ticket/Attribute:operational_status/Value:closed' => 'Closed~~',
'Class:Ticket/Attribute:operational_status/Value:closed+' => '~~',
'Ticket:ImpactAnalysis' => 'Impact Analysis~~',
));
]);
//
// Class: lnkContactToTicket
//
Dict::Add('DA DA', 'Danish', 'Dansk', array(
Dict::Add('DA DA', 'Danish', 'Dansk', [
'Class:lnkContactToTicket' => 'Sammenhæng Kontakt/Ticket',
'Class:lnkContactToTicket+' => '',
'Class:lnkContactToTicket/Name' => '%1$s / %2$s~~',
@@ -89,13 +89,13 @@ Dict::Add('DA DA', 'Danish', 'Dansk', array(
'Class:lnkContactToTicket/Attribute:role_code/Value:manual' => 'Added manually~~',
'Class:lnkContactToTicket/Attribute:role_code/Value:computed' => 'Computed~~',
'Class:lnkContactToTicket/Attribute:role_code/Value:do_not_notify' => 'Do not notify~~',
));
]);
//
// Class: WorkOrder
//
Dict::Add('DA DA', 'Danish', 'Dansk', array(
Dict::Add('DA DA', 'Danish', 'Dansk', [
'Class:WorkOrder' => 'Arbejdsordre',
'Class:WorkOrder+' => '',
'Class:WorkOrder/Attribute:name' => 'Navn',
@@ -128,11 +128,10 @@ Dict::Add('DA DA', 'Danish', 'Dansk', array(
'Class:WorkOrder/Attribute:log+' => '',
'Class:WorkOrder/Stimulus:ev_close' => 'Luk',
'Class:WorkOrder/Stimulus:ev_close+' => '',
));
]);
// Fieldset translation
Dict::Add('DA DA', 'Danish', 'Dansk', array(
Dict::Add('DA DA', 'Danish', 'Dansk', [
'Ticket:baseinfo' => 'Almindelig information',
'Ticket:date' => 'Dato',
'Ticket:contact' => 'Kontakt',
@@ -222,14 +221,13 @@ Dict::Add('DA DA', 'Danish', 'Dansk', array(
'Class:ResponseTicketTTO/Interface:iMetricComputer+' => 'Goal based on a SLT of type TTO~~',
'Class:ResponseTicketTTR/Interface:iMetricComputer' => 'Time To Resolve~~',
'Class:ResponseTicketTTR/Interface:iMetricComputer+' => 'Goal based on a SLT of type TTR~~',
));
]);
//
// Class: Ticket
//
Dict::Add('DA DA', 'Danish', 'Dansk', array(
Dict::Add('DA DA', 'Danish', 'Dansk', [
'Class:Ticket/Attribute:team_email' => 'Team email~~',
'Class:Ticket/Attribute:team_email+' => '~~',
));
]);

View File

@@ -1,16 +1,17 @@
<?php
/**
* Localized data
*
* @copyright Copyright (C) 2010-2024 Combodo SAS
* @license https://opensource.org/licenses/AGPL-3.0
*
*
*/
/**
* @author ITOMIG GmbH <martin.raenker@itomig.de>
*
*/
Dict::Add('DE DE', 'German', 'Deutsch', array(
Dict::Add('DE DE', 'German', 'Deutsch', [
'Class:Ticket' => 'Ticket',
'Class:Ticket+' => '',
'Class:Ticket/Attribute:ref' => 'Referenz',
@@ -62,14 +63,13 @@ Dict::Add('DE DE', 'German', 'Deutsch', array(
'Class:Ticket/Attribute:operational_status/Value:closed' => 'Geschlossen',
'Class:Ticket/Attribute:operational_status/Value:closed+' => 'Geschlossen',
'Ticket:ImpactAnalysis' => 'Auswirkungsanalyse',
));
]);
//
// Class: lnkContactToTicket
//
Dict::Add('DE DE', 'German', 'Deutsch', array(
Dict::Add('DE DE', 'German', 'Deutsch', [
'Class:lnkContactToTicket' => 'Verknüpfung Kontakt/Ticket',
'Class:lnkContactToTicket+' => '',
'Class:lnkContactToTicket/Name' => '%1$s / %2$s',
@@ -89,13 +89,13 @@ Dict::Add('DE DE', 'German', 'Deutsch', array(
'Class:lnkContactToTicket/Attribute:role_code/Value:manual' => 'Manuell hinzugefügt',
'Class:lnkContactToTicket/Attribute:role_code/Value:computed' => 'Berechnet',
'Class:lnkContactToTicket/Attribute:role_code/Value:do_not_notify' => 'Nicht ändern',
));
]);
//
// Class: WorkOrder
//
Dict::Add('DE DE', 'German', 'Deutsch', array(
Dict::Add('DE DE', 'German', 'Deutsch', [
'Class:WorkOrder' => 'Arbeitsauftrag',
'Class:WorkOrder+' => '',
'Class:WorkOrder/Attribute:name' => 'Name',
@@ -128,11 +128,10 @@ Dict::Add('DE DE', 'German', 'Deutsch', array(
'Class:WorkOrder/Attribute:log+' => '',
'Class:WorkOrder/Stimulus:ev_close' => 'Schließen',
'Class:WorkOrder/Stimulus:ev_close+' => '',
));
]);
// Fieldset translation
Dict::Add('DE DE', 'German', 'Deutsch', array(
Dict::Add('DE DE', 'German', 'Deutsch', [
'Ticket:baseinfo' => 'Allgemeine Informationen',
'Ticket:date' => 'Daten',
'Ticket:contact' => 'Kontakte',
@@ -222,14 +221,13 @@ Dict::Add('DE DE', 'German', 'Deutsch', array(
'Class:ResponseTicketTTO/Interface:iMetricComputer+' => 'Zielvorgabe (SLT) vom Typ TTO',
'Class:ResponseTicketTTR/Interface:iMetricComputer' => 'Time To Resolve (Erstlösungszeit)',
'Class:ResponseTicketTTR/Interface:iMetricComputer+' => 'Zielvorgabe (SLT) vom Typ TTR',
));
]);
//
// Class: Ticket
//
Dict::Add('DE DE', 'German', 'Deutsch', array(
Dict::Add('DE DE', 'German', 'Deutsch', [
'Class:Ticket/Attribute:team_email' => 'Team email~~',
'Class:Ticket/Attribute:team_email+' => '~~',
));
]);

View File

@@ -1,4 +1,5 @@
<?php
/**
* Localized data
*
@@ -31,12 +32,11 @@
// Class:<class_name>/Stimulus:<stimulus_code>
// Class:<class_name>/Stimulus:<stimulus_code>+
//
// Class: Ticket
//
Dict::Add('EN US', 'English', 'English', array(
Dict::Add('EN US', 'English', 'English', [
'Class:Ticket' => 'Ticket',
'Class:Ticket+' => '',
'Class:Ticket/Attribute:ref' => 'Ref',
@@ -88,14 +88,13 @@ Dict::Add('EN US', 'English', 'English', array(
'Class:Ticket/Attribute:operational_status/Value:closed' => 'Closed',
'Class:Ticket/Attribute:operational_status/Value:closed+' => '',
'Ticket:ImpactAnalysis' => 'Impact Analysis',
));
]);
//
// Class: lnkContactToTicket
//
Dict::Add('EN US', 'English', 'English', array(
Dict::Add('EN US', 'English', 'English', [
'Class:lnkContactToTicket' => 'Link Contact / Ticket',
'Class:lnkContactToTicket+' => '',
'Class:lnkContactToTicket/Name' => '%1$s / %2$s',
@@ -115,13 +114,13 @@ Dict::Add('EN US', 'English', 'English', array(
'Class:lnkContactToTicket/Attribute:role_code/Value:manual' => 'Added manually',
'Class:lnkContactToTicket/Attribute:role_code/Value:computed' => 'Computed',
'Class:lnkContactToTicket/Attribute:role_code/Value:do_not_notify' => 'Do not notify',
));
]);
//
// Class: WorkOrder
//
Dict::Add('EN US', 'English', 'English', array(
Dict::Add('EN US', 'English', 'English', [
'Class:WorkOrder' => 'Work Order',
'Class:WorkOrder+' => '',
'Class:WorkOrder/Attribute:name' => 'Name',
@@ -154,11 +153,10 @@ Dict::Add('EN US', 'English', 'English', array(
'Class:WorkOrder/Attribute:log+' => '',
'Class:WorkOrder/Stimulus:ev_close' => 'Close',
'Class:WorkOrder/Stimulus:ev_close+' => '',
));
]);
// Fieldset translation
Dict::Add('EN US', 'English', 'English', array(
Dict::Add('EN US', 'English', 'English', [
'Ticket:baseinfo' => 'General Information',
'Ticket:date' => 'Dates',
'Ticket:contact' => 'Contacts',
@@ -248,14 +246,13 @@ Dict::Add('EN US', 'English', 'English', array(
'Class:ResponseTicketTTO/Interface:iMetricComputer+' => 'Goal based on a SLT of type TTO',
'Class:ResponseTicketTTR/Interface:iMetricComputer' => 'Time To Resolve',
'Class:ResponseTicketTTR/Interface:iMetricComputer+' => 'Goal based on a SLT of type TTR',
));
]);
//
// Class: Ticket
//
Dict::Add('EN US', 'English', 'English', array(
Dict::Add('EN US', 'English', 'English', [
'Class:Ticket/Attribute:team_email' => 'Team email',
'Class:Ticket/Attribute:team_email+' => '',
));
]);

View File

@@ -1,4 +1,5 @@
<?php
/**
* Localized data
*
@@ -31,12 +32,11 @@
// Class:<class_name>/Stimulus:<stimulus_code>
// Class:<class_name>/Stimulus:<stimulus_code>+
//
// Class: Ticket
//
Dict::Add('EN GB', 'British English', 'British English', array(
Dict::Add('EN GB', 'British English', 'British English', [
'Class:Ticket' => 'Ticket',
'Class:Ticket+' => '',
'Class:Ticket/Attribute:ref' => 'Ref',
@@ -88,14 +88,13 @@ Dict::Add('EN GB', 'British English', 'British English', array(
'Class:Ticket/Attribute:operational_status/Value:closed' => 'Closed',
'Class:Ticket/Attribute:operational_status/Value:closed+' => '',
'Ticket:ImpactAnalysis' => 'Impact Analysis',
));
]);
//
// Class: lnkContactToTicket
//
Dict::Add('EN GB', 'British English', 'British English', array(
Dict::Add('EN GB', 'British English', 'British English', [
'Class:lnkContactToTicket' => 'Link Contact / Ticket',
'Class:lnkContactToTicket+' => '',
'Class:lnkContactToTicket/Name' => '%1$s / %2$s',
@@ -115,13 +114,13 @@ Dict::Add('EN GB', 'British English', 'British English', array(
'Class:lnkContactToTicket/Attribute:role_code/Value:manual' => 'Added manually',
'Class:lnkContactToTicket/Attribute:role_code/Value:computed' => 'Computed',
'Class:lnkContactToTicket/Attribute:role_code/Value:do_not_notify' => 'Do not notify',
));
]);
//
// Class: WorkOrder
//
Dict::Add('EN GB', 'British English', 'British English', array(
Dict::Add('EN GB', 'British English', 'British English', [
'Class:WorkOrder' => 'Work Order',
'Class:WorkOrder+' => '',
'Class:WorkOrder/Attribute:name' => 'Name',
@@ -154,11 +153,10 @@ Dict::Add('EN GB', 'British English', 'British English', array(
'Class:WorkOrder/Attribute:log+' => '',
'Class:WorkOrder/Stimulus:ev_close' => 'Close',
'Class:WorkOrder/Stimulus:ev_close+' => '',
));
]);
// Fieldset translation
Dict::Add('EN GB', 'British English', 'British English', array(
Dict::Add('EN GB', 'British English', 'British English', [
'Ticket:baseinfo' => 'General Information',
'Ticket:date' => 'Dates',
'Ticket:contact' => 'Contacts',
@@ -248,5 +246,4 @@ Dict::Add('EN GB', 'British English', 'British English', array(
'Class:ResponseTicketTTO/Interface:iMetricComputer+' => 'Goal based on a SLT of type TTO',
'Class:ResponseTicketTTR/Interface:iMetricComputer' => 'Time To Resolve',
'Class:ResponseTicketTTR/Interface:iMetricComputer+' => 'Goal based on a SLT of type TTR',
));
]);

View File

@@ -1,13 +1,14 @@
<?php
/**
* Spanish Localized data
*
* @copyright Copyright (C) 2010-2024 Combodo SAS
* @license https://opensource.org/licenses/AGPL-3.0
* @author Miguel Turrubiates <miguel_tf@yahoo.com>
* @notas Utilizar codificación UTF-8 para mostrar acentos y otros caracteres especiales
* @notas Utilizar codificación UTF-8 para mostrar acentos y otros caracteres especiales
*/
Dict::Add('ES CR', 'Spanish', 'Español, Castellano', array(
Dict::Add('ES CR', 'Spanish', 'Español, Castellano', [
'Class:Ticket' => 'Ticket',
'Class:Ticket+' => 'Ticket',
'Class:Ticket/Attribute:ref' => 'Ref',
@@ -59,14 +60,13 @@ Dict::Add('ES CR', 'Spanish', 'Español, Castellano', array(
'Class:Ticket/Attribute:operational_status/Value:closed' => 'Cerrado',
'Class:Ticket/Attribute:operational_status/Value:closed+' => 'Cerrado',
'Ticket:ImpactAnalysis' => 'Análisis de Impacto',
));
]);
//
// Class: lnkContactToTicket
//
Dict::Add('ES CR', 'Spanish', 'Español, Castellano', array(
Dict::Add('ES CR', 'Spanish', 'Español, Castellano', [
'Class:lnkContactToTicket' => 'Relación Contacto y Ticket',
'Class:lnkContactToTicket+' => 'Relación Contacto y Ticket',
'Class:lnkContactToTicket/Name' => '%1$s / %2$s',
@@ -86,13 +86,13 @@ Dict::Add('ES CR', 'Spanish', 'Español, Castellano', array(
'Class:lnkContactToTicket/Attribute:role_code/Value:manual' => 'Agregado Manualmente',
'Class:lnkContactToTicket/Attribute:role_code/Value:computed' => 'Calculado',
'Class:lnkContactToTicket/Attribute:role_code/Value:do_not_notify' => 'No notificar',
));
]);
//
// Class: WorkOrder
//
Dict::Add('ES CR', 'Spanish', 'Español, Castellano', array(
Dict::Add('ES CR', 'Spanish', 'Español, Castellano', [
'Class:WorkOrder' => 'Orden de Trabajo',
'Class:WorkOrder+' => 'Orden de Trabajo',
'Class:WorkOrder/Attribute:name' => 'Nombre',
@@ -125,11 +125,10 @@ Dict::Add('ES CR', 'Spanish', 'Español, Castellano', array(
'Class:WorkOrder/Attribute:log+' => 'Bitácora',
'Class:WorkOrder/Stimulus:ev_close' => 'Cerrar',
'Class:WorkOrder/Stimulus:ev_close+' => 'Cerrar',
));
]);
// Fieldset translation
Dict::Add('ES CR', 'Spanish', 'Español, Castellano', array(
Dict::Add('ES CR', 'Spanish', 'Español, Castellano', [
'Ticket:baseinfo' => 'Información General',
'Ticket:date' => 'Fechas',
'Ticket:contact' => 'Contactos',
@@ -219,14 +218,13 @@ Dict::Add('ES CR', 'Spanish', 'Español, Castellano', array(
'Class:ResponseTicketTTO/Interface:iMetricComputer+' => 'Objetivo basado en SLT de tipo TTO',
'Class:ResponseTicketTTR/Interface:iMetricComputer' => 'Tiempo a Resolución',
'Class:ResponseTicketTTR/Interface:iMetricComputer+' => 'Objetivo basado en SLT de tipo TTR',
));
]);
//
// Class: Ticket
//
Dict::Add('ES CR', 'Spanish', 'Español, Castellano', array(
Dict::Add('ES CR', 'Spanish', 'Español, Castellano', [
'Class:Ticket/Attribute:team_email' => 'Team email~~',
'Class:Ticket/Attribute:team_email+' => '~~',
));
]);

View File

@@ -1,15 +1,16 @@
<?php
/**
* Localized data
*
* @copyright Copyright (C) 2010-2024 Combodo SAS
* @license https://opensource.org/licenses/AGPL-3.0
*
*
*/
/**
*
*/
Dict::Add('FR FR', 'French', 'Français', array(
Dict::Add('FR FR', 'French', 'Français', [
'Class:Ticket' => 'Ticket',
'Class:Ticket+' => '',
'Class:Ticket/Attribute:ref' => 'Référence',
@@ -66,15 +67,14 @@ Dict::Add('FR FR', 'French', 'Français', array(
'Class:Ticket/Attribute:operational_status/Value:resolved+' => '',
'Class:Ticket/Attribute:operational_status/Value:closed' => 'Clos',
'Class:Ticket/Attribute:operational_status/Value:closed+' => 'Fermé',
'Ticket:ImpactAnalysis' => 'Analyse d\'Impact'
));
'Ticket:ImpactAnalysis' => 'Analyse d\'Impact',
]);
//
// Class: lnkContactToTicket
//
Dict::Add('FR FR', 'French', 'Français', array(
Dict::Add('FR FR', 'French', 'Français', [
'Class:lnkContactToTicket' => 'Lien Contact / Ticket',
'Class:lnkContactToTicket+' => '',
'Class:lnkContactToTicket/Name' => '%1$s / %2$s',
@@ -94,13 +94,13 @@ Dict::Add('FR FR', 'French', 'Français', array(
'Class:lnkContactToTicket/Attribute:role_code/Value:manual' => 'Ajouté manuellement',
'Class:lnkContactToTicket/Attribute:role_code/Value:computed' => 'Calculé',
'Class:lnkContactToTicket/Attribute:role_code/Value:do_not_notify' => 'Ne pas notifier',
));
]);
//
// Class: WorkOrder
//
Dict::Add('FR FR', 'French', 'Français', array(
Dict::Add('FR FR', 'French', 'Français', [
'Class:WorkOrder' => 'Tâche',
'Class:WorkOrder+' => '',
'Class:WorkOrder/Attribute:name' => 'Nom',
@@ -133,11 +133,10 @@ Dict::Add('FR FR', 'French', 'Français', array(
'Class:WorkOrder/Attribute:log+' => '',
'Class:WorkOrder/Stimulus:ev_close' => 'Fermer',
'Class:WorkOrder/Stimulus:ev_close+' => '',
));
]);
// Fieldset translation
Dict::Add('FR FR', 'French', 'Français', array(
Dict::Add('FR FR', 'French', 'Français', [
'Ticket:baseinfo' => 'Informations générales',
'Ticket:date' => 'Dates',
'Ticket:contact' => 'Contacts',
@@ -238,15 +237,14 @@ Dict::Add('FR FR', 'French', 'Français', array(
'Class:Team/Attribute:tickets_list/UI:Links:Delete:Button+' => 'Supprimer ce %4$s',
'Class:Team/Attribute:tickets_list/UI:Links:Delete:Modal:Title' => 'Supprimer un %4$s',
'Class:Team/Attribute:tickets_list/UI:Links:Remove:Button+' => 'Retirer ce %4$s',
'Class:Team/Attribute:tickets_list/UI:Links:Remove:Modal:Title' => 'Retirer ce %4$s de son %1$s'
));
'Class:Team/Attribute:tickets_list/UI:Links:Remove:Modal:Title' => 'Retirer ce %4$s de son %1$s',
]);
//
// Class: Ticket
//
Dict::Add('FR FR', 'French', 'Français', array(
Dict::Add('FR FR', 'French', 'Français', [
'Class:Ticket/Attribute:team_email' => 'Team email~~',
'Class:Ticket/Attribute:team_email+' => '~~',
));
]);

View File

@@ -1,15 +1,16 @@
<?php
/**
* Localized data
*
* @copyright Copyright (C) 2010-2024 Combodo SAS
* @license https://opensource.org/licenses/AGPL-3.0
*
*
*/
/**
*
*/
Dict::Add('HU HU', 'Hungarian', 'Magyar', array(
Dict::Add('HU HU', 'Hungarian', 'Magyar', [
'Class:Ticket' => 'Hibajegy',
'Class:Ticket+' => '',
'Class:Ticket/Attribute:ref' => 'Referenciaszám',
@@ -61,14 +62,13 @@ Dict::Add('HU HU', 'Hungarian', 'Magyar', array(
'Class:Ticket/Attribute:operational_status/Value:closed' => 'Lezárva',
'Class:Ticket/Attribute:operational_status/Value:closed+' => '',
'Ticket:ImpactAnalysis' => 'Hatáselemzés',
));
]);
//
// Class: lnkContactToTicket
//
Dict::Add('HU HU', 'Hungarian', 'Magyar', array(
Dict::Add('HU HU', 'Hungarian', 'Magyar', [
'Class:lnkContactToTicket' => 'Kapcsolattartó / Hibajegy',
'Class:lnkContactToTicket+' => '~~',
'Class:lnkContactToTicket/Name' => '%1$s / %2$s~~',
@@ -88,13 +88,13 @@ Dict::Add('HU HU', 'Hungarian', 'Magyar', array(
'Class:lnkContactToTicket/Attribute:role_code/Value:manual' => 'Kézzel hozzáadva',
'Class:lnkContactToTicket/Attribute:role_code/Value:computed' => 'Számított',
'Class:lnkContactToTicket/Attribute:role_code/Value:do_not_notify' => 'Ne értesítsen',
));
]);
//
// Class: WorkOrder
//
Dict::Add('HU HU', 'Hungarian', 'Magyar', array(
Dict::Add('HU HU', 'Hungarian', 'Magyar', [
'Class:WorkOrder' => 'Munkaelrendelő',
'Class:WorkOrder+' => '~~',
'Class:WorkOrder/Attribute:name' => 'Név',
@@ -127,11 +127,10 @@ Dict::Add('HU HU', 'Hungarian', 'Magyar', array(
'Class:WorkOrder/Attribute:log+' => '~~',
'Class:WorkOrder/Stimulus:ev_close' => 'Bezárás',
'Class:WorkOrder/Stimulus:ev_close+' => '~~',
));
]);
// Fieldset translation
Dict::Add('HU HU', 'Hungarian', 'Magyar', array(
Dict::Add('HU HU', 'Hungarian', 'Magyar', [
'Ticket:baseinfo' => 'Általános információk',
'Ticket:date' => 'Dátum',
'Ticket:contact' => 'Kapcsolattartók',
@@ -221,14 +220,13 @@ Dict::Add('HU HU', 'Hungarian', 'Magyar', array(
'Class:ResponseTicketTTO/Interface:iMetricComputer+' => 'Goal based on a SLT of type TTO~~',
'Class:ResponseTicketTTR/Interface:iMetricComputer' => 'Megoldási idő',
'Class:ResponseTicketTTR/Interface:iMetricComputer+' => 'Goal based on a SLT of type TTR~~',
));
]);
//
// Class: Ticket
//
Dict::Add('HU HU', 'Hungarian', 'Magyar', array(
Dict::Add('HU HU', 'Hungarian', 'Magyar', [
'Class:Ticket/Attribute:team_email' => 'Team email~~',
'Class:Ticket/Attribute:team_email+' => '~~',
));
]);

View File

@@ -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', [
'Class:Ticket' => 'Ticket',
'Class:Ticket+' => '~~',
'Class:Ticket/Attribute:ref' => 'Rif',
@@ -61,14 +62,13 @@ Dict::Add('IT IT', 'Italian', 'Italiano', array(
'Class:Ticket/Attribute:operational_status/Value:closed' => 'Chiuso',
'Class:Ticket/Attribute:operational_status/Value:closed+' => '~~',
'Ticket:ImpactAnalysis' => 'Analisi dell\'impatto',
));
]);
//
// Class: lnkContactToTicket
//
Dict::Add('IT IT', 'Italian', 'Italiano', array(
Dict::Add('IT IT', 'Italian', 'Italiano', [
'Class:lnkContactToTicket' => 'Link Contact / Ticket',
'Class:lnkContactToTicket+' => '~~',
'Class:lnkContactToTicket/Name' => '%1$s / %2$s',
@@ -88,13 +88,13 @@ Dict::Add('IT IT', 'Italian', 'Italiano', array(
'Class:lnkContactToTicket/Attribute:role_code/Value:manual' => 'Aggiunto manualmente',
'Class:lnkContactToTicket/Attribute:role_code/Value:computed' => 'Calcolato',
'Class:lnkContactToTicket/Attribute:role_code/Value:do_not_notify' => 'Non notificare',
));
]);
//
// Class: WorkOrder
//
Dict::Add('IT IT', 'Italian', 'Italiano', array(
Dict::Add('IT IT', 'Italian', 'Italiano', [
'Class:WorkOrder' => 'Work Order~~',
'Class:WorkOrder+' => '~~',
'Class:WorkOrder/Attribute:name' => 'Nome',
@@ -127,11 +127,10 @@ Dict::Add('IT IT', 'Italian', 'Italiano', array(
'Class:WorkOrder/Attribute:log+' => '~~',
'Class:WorkOrder/Stimulus:ev_close' => 'Chiudi',
'Class:WorkOrder/Stimulus:ev_close+' => '~~',
));
]);
// Fieldset translation
Dict::Add('IT IT', 'Italian', 'Italiano', array(
Dict::Add('IT IT', 'Italian', 'Italiano', [
'Ticket:baseinfo' => 'Infomazioni Generali',
'Ticket:date' => 'Data',
'Ticket:contact' => 'Contatti',
@@ -221,14 +220,13 @@ Dict::Add('IT IT', 'Italian', 'Italiano', array(
'Class:ResponseTicketTTO/Interface:iMetricComputer+' => 'Goal based on a SLT of type TTO~~',
'Class:ResponseTicketTTR/Interface:iMetricComputer' => 'Tempo Per Risolvere',
'Class:ResponseTicketTTR/Interface:iMetricComputer+' => 'Goal based on a SLT of type TTR~~',
));
]);
//
// Class: Ticket
//
Dict::Add('IT IT', 'Italian', 'Italiano', array(
Dict::Add('IT IT', 'Italian', 'Italiano', [
'Class:Ticket/Attribute:team_email' => 'Team email~~',
'Class:Ticket/Attribute:team_email+' => '~~',
));
]);

View File

@@ -1,15 +1,16 @@
<?php
/**
* Localized data
*
* @copyright Copyright (C) 2010-2024 Combodo SAS
* @license https://opensource.org/licenses/AGPL-3.0
*
*
*/
/**
*
*/
Dict::Add('JA JP', 'Japanese', '日本語', array(
Dict::Add('JA JP', 'Japanese', '日本語', [
'Class:Ticket' => 'チケット',
'Class:Ticket+' => '',
'Class:Ticket/Attribute:ref' => '参照',
@@ -61,14 +62,13 @@ Dict::Add('JA JP', 'Japanese', '日本語', array(
'Class:Ticket/Attribute:operational_status/Value:closed' => 'Closed~~',
'Class:Ticket/Attribute:operational_status/Value:closed+' => '~~',
'Ticket:ImpactAnalysis' => 'Impact Analysis~~',
));
]);
//
// Class: lnkContactToTicket
//
Dict::Add('JA JP', 'Japanese', '日本語', array(
Dict::Add('JA JP', 'Japanese', '日本語', [
'Class:lnkContactToTicket' => 'リンク 連絡先/チケット',
'Class:lnkContactToTicket+' => '',
'Class:lnkContactToTicket/Name' => '%1$s / %2$s~~',
@@ -88,13 +88,13 @@ Dict::Add('JA JP', 'Japanese', '日本語', array(
'Class:lnkContactToTicket/Attribute:role_code/Value:manual' => 'Added manually~~',
'Class:lnkContactToTicket/Attribute:role_code/Value:computed' => 'Computed~~',
'Class:lnkContactToTicket/Attribute:role_code/Value:do_not_notify' => 'Do not notify~~',
));
]);
//
// Class: WorkOrder
//
Dict::Add('JA JP', 'Japanese', '日本語', array(
Dict::Add('JA JP', 'Japanese', '日本語', [
'Class:WorkOrder' => '作業指示',
'Class:WorkOrder+' => '',
'Class:WorkOrder/Attribute:name' => '名前',
@@ -127,11 +127,10 @@ Dict::Add('JA JP', 'Japanese', '日本語', array(
'Class:WorkOrder/Attribute:log+' => '',
'Class:WorkOrder/Stimulus:ev_close' => 'クローズ',
'Class:WorkOrder/Stimulus:ev_close+' => '',
));
]);
// Fieldset translation
Dict::Add('JA JP', 'Japanese', '日本語', array(
Dict::Add('JA JP', 'Japanese', '日本語', [
'Ticket:baseinfo' => '基本情報',
'Ticket:date' => '日付',
'Ticket:contact' => '連絡先',
@@ -221,14 +220,13 @@ Dict::Add('JA JP', 'Japanese', '日本語', array(
'Class:ResponseTicketTTO/Interface:iMetricComputer+' => 'Goal based on a SLT of type TTO~~',
'Class:ResponseTicketTTR/Interface:iMetricComputer' => 'Time To Resolve~~',
'Class:ResponseTicketTTR/Interface:iMetricComputer+' => 'Goal based on a SLT of type TTR~~',
));
]);
//
// Class: Ticket
//
Dict::Add('JA JP', 'Japanese', '日本語', array(
Dict::Add('JA JP', 'Japanese', '日本語', [
'Class:Ticket/Attribute:team_email' => 'Team email~~',
'Class:Ticket/Attribute:team_email+' => '~~',
));
]);

View File

@@ -1,17 +1,18 @@
<?php
/**
* Localized data
*
* @copyright Copyright (C) 2010-2024 Combodo SAS
* @license https://opensource.org/licenses/AGPL-3.0
*
*
*/
/**
* @author LinProfs <info@linprofs.com>
* @author Jeffrey Bostoen <info@jeffreybostoen.be> (2018 - 2022)
* @author Thomas Casteleyn <thomas.casteleyn@super-visions.com>
*/
Dict::Add('NL NL', 'Dutch', 'Nederlands', array(
Dict::Add('NL NL', 'Dutch', 'Nederlands', [
'Class:Ticket' => 'Ticket',
'Class:Ticket+' => '',
'Class:Ticket/Attribute:ref' => 'Nummer',
@@ -63,14 +64,13 @@ Dict::Add('NL NL', 'Dutch', 'Nederlands', array(
'Class:Ticket/Attribute:operational_status/Value:closed' => 'Afgesloten',
'Class:Ticket/Attribute:operational_status/Value:closed+' => '',
'Ticket:ImpactAnalysis' => 'Impactanalyse',
));
]);
//
// Class: lnkContactToTicket
//
Dict::Add('NL NL', 'Dutch', 'Nederlands', array(
Dict::Add('NL NL', 'Dutch', 'Nederlands', [
'Class:lnkContactToTicket' => 'Link Contact / Ticket',
'Class:lnkContactToTicket+' => '',
'Class:lnkContactToTicket/Name' => '%1$s / %2$s',
@@ -90,13 +90,13 @@ Dict::Add('NL NL', 'Dutch', 'Nederlands', array(
'Class:lnkContactToTicket/Attribute:role_code/Value:manual' => 'Manueel toegevoegd',
'Class:lnkContactToTicket/Attribute:role_code/Value:computed' => 'Automatisch afgeleid',
'Class:lnkContactToTicket/Attribute:role_code/Value:do_not_notify' => 'Niet verwittigen',
));
]);
//
// Class: WorkOrder
//
Dict::Add('NL NL', 'Dutch', 'Nederlands', array(
Dict::Add('NL NL', 'Dutch', 'Nederlands', [
'Class:WorkOrder' => 'Werkopdracht',
'Class:WorkOrder+' => '',
'Class:WorkOrder/Attribute:name' => 'Naam',
@@ -129,11 +129,10 @@ Dict::Add('NL NL', 'Dutch', 'Nederlands', array(
'Class:WorkOrder/Attribute:log+' => '',
'Class:WorkOrder/Stimulus:ev_close' => 'Sluiten',
'Class:WorkOrder/Stimulus:ev_close+' => '',
));
]);
// Fieldset translation
Dict::Add('NL NL', 'Dutch', 'Nederlands', array(
Dict::Add('NL NL', 'Dutch', 'Nederlands', [
'Ticket:baseinfo' => 'Globale informatie',
'Ticket:date' => 'Data',
'Ticket:contact' => 'Contacten',
@@ -223,14 +222,13 @@ Dict::Add('NL NL', 'Dutch', 'Nederlands', array(
'Class:ResponseTicketTTO/Interface:iMetricComputer+' => 'Doel gebaseerd op een SLT (TTO)',
'Class:ResponseTicketTTR/Interface:iMetricComputer' => 'Time To Resolve',
'Class:ResponseTicketTTR/Interface:iMetricComputer+' => 'Doel gebaseerd op een SLT (TTR)',
));
]);
//
// Class: Ticket
//
Dict::Add('NL NL', 'Dutch', 'Nederlands', array(
Dict::Add('NL NL', 'Dutch', 'Nederlands', [
'Class:Ticket/Attribute:team_email' => 'Team email~~',
'Class:Ticket/Attribute:team_email+' => '~~',
));
]);

View File

@@ -1,15 +1,16 @@
<?php
/**
* Localized data
*
* @copyright Copyright (C) 2010-2024 Combodo SAS
* @license https://opensource.org/licenses/AGPL-3.0
*
*
*/
/**
*
*/
Dict::Add('PL PL', 'Polish', 'Polski', array(
Dict::Add('PL PL', 'Polish', 'Polski', [
'Class:Ticket' => 'Zgłoszenie',
'Class:Ticket+' => '',
'Class:Ticket/Attribute:ref' => 'Powiązanie',
@@ -61,14 +62,13 @@ Dict::Add('PL PL', 'Polish', 'Polski', array(
'Class:Ticket/Attribute:operational_status/Value:closed' => 'Zamknięty',
'Class:Ticket/Attribute:operational_status/Value:closed+' => '',
'Ticket:ImpactAnalysis' => 'Analiza wpływu',
));
]);
//
// Class: lnkContactToTicket
//
Dict::Add('PL PL', 'Polish', 'Polski', array(
Dict::Add('PL PL', 'Polish', 'Polski', [
'Class:lnkContactToTicket' => 'Połączenie Kontakt / Zgłoszenie',
'Class:lnkContactToTicket+' => '',
'Class:lnkContactToTicket/Name' => '%1$s / %2$s',
@@ -88,13 +88,13 @@ Dict::Add('PL PL', 'Polish', 'Polski', array(
'Class:lnkContactToTicket/Attribute:role_code/Value:manual' => 'Dodane ręcznie',
'Class:lnkContactToTicket/Attribute:role_code/Value:computed' => 'Obliczone',
'Class:lnkContactToTicket/Attribute:role_code/Value:do_not_notify' => 'Nie powiadamiaj',
));
]);
//
// Class: WorkOrder
//
Dict::Add('PL PL', 'Polish', 'Polski', array(
Dict::Add('PL PL', 'Polish', 'Polski', [
'Class:WorkOrder' => 'Porządek pracy',
'Class:WorkOrder+' => '',
'Class:WorkOrder/Attribute:name' => 'Nazwa',
@@ -127,11 +127,10 @@ Dict::Add('PL PL', 'Polish', 'Polski', array(
'Class:WorkOrder/Attribute:log+' => '',
'Class:WorkOrder/Stimulus:ev_close' => 'Zamknij',
'Class:WorkOrder/Stimulus:ev_close+' => '',
));
]);
// Fieldset translation
Dict::Add('PL PL', 'Polish', 'Polski', array(
Dict::Add('PL PL', 'Polish', 'Polski', [
'Ticket:baseinfo' => 'Informacje ogólne',
'Ticket:date' => 'Daty',
'Ticket:contact' => 'Kontakty',
@@ -221,14 +220,13 @@ Dict::Add('PL PL', 'Polish', 'Polski', array(
'Class:ResponseTicketTTO/Interface:iMetricComputer+' => 'Cel oparty na SLT typu TTO',
'Class:ResponseTicketTTR/Interface:iMetricComputer' => 'Czas na rozwiązanie TTR',
'Class:ResponseTicketTTR/Interface:iMetricComputer+' => 'Cel oparty na SLT typu TTR',
));
]);
//
// Class: Ticket
//
Dict::Add('PL PL', 'Polish', 'Polski', array(
Dict::Add('PL PL', 'Polish', 'Polski', [
'Class:Ticket/Attribute:team_email' => 'Team email~~',
'Class:Ticket/Attribute:team_email+' => '~~',
));
]);

View File

@@ -1,15 +1,16 @@
<?php
/**
* Localized data
*
* @copyright Copyright (C) 2010-2024 Combodo SAS
* @license https://opensource.org/licenses/AGPL-3.0
*
*
*/
/**
*
*/
Dict::Add('PT BR', 'Brazilian', 'Brazilian', array(
Dict::Add('PT BR', 'Brazilian', 'Brazilian', [
'Class:Ticket' => 'Solicitação',
'Class:Ticket+' => '',
'Class:Ticket/Attribute:ref' => 'Ref.',
@@ -61,14 +62,13 @@ Dict::Add('PT BR', 'Brazilian', 'Brazilian', array(
'Class:Ticket/Attribute:operational_status/Value:closed' => 'Fechado',
'Class:Ticket/Attribute:operational_status/Value:closed+' => '',
'Ticket:ImpactAnalysis' => 'Análise de impacto',
));
]);
//
// Class: lnkContactToTicket
//
Dict::Add('PT BR', 'Brazilian', 'Brazilian', array(
Dict::Add('PT BR', 'Brazilian', 'Brazilian', [
'Class:lnkContactToTicket' => 'Link Contato / Solicitação',
'Class:lnkContactToTicket+' => '',
'Class:lnkContactToTicket/Name' => '%1$s / %2$s~~',
@@ -88,13 +88,13 @@ Dict::Add('PT BR', 'Brazilian', 'Brazilian', array(
'Class:lnkContactToTicket/Attribute:role_code/Value:manual' => 'Adicionado manualmente',
'Class:lnkContactToTicket/Attribute:role_code/Value:computed' => 'Computado',
'Class:lnkContactToTicket/Attribute:role_code/Value:do_not_notify' => 'Não notificar',
));
]);
//
// Class: WorkOrder
//
Dict::Add('PT BR', 'Brazilian', 'Brazilian', array(
Dict::Add('PT BR', 'Brazilian', 'Brazilian', [
'Class:WorkOrder' => 'Ordem de serviço',
'Class:WorkOrder+' => '',
'Class:WorkOrder/Attribute:name' => 'Nome',
@@ -127,11 +127,10 @@ Dict::Add('PT BR', 'Brazilian', 'Brazilian', array(
'Class:WorkOrder/Attribute:log+' => '',
'Class:WorkOrder/Stimulus:ev_close' => 'Fechar',
'Class:WorkOrder/Stimulus:ev_close+' => '',
));
]);
// Fieldset translation
Dict::Add('PT BR', 'Brazilian', 'Brazilian', array(
Dict::Add('PT BR', 'Brazilian', 'Brazilian', [
'Ticket:baseinfo' => 'Informações gerais',
'Ticket:date' => 'Datas',
'Ticket:contact' => 'Contatos',
@@ -221,14 +220,13 @@ Dict::Add('PT BR', 'Brazilian', 'Brazilian', array(
'Class:ResponseTicketTTO/Interface:iMetricComputer+' => 'Objetivo baseado em um SLT do tipo TTO',
'Class:ResponseTicketTTR/Interface:iMetricComputer' => 'Time To Resolve',
'Class:ResponseTicketTTR/Interface:iMetricComputer+' => 'Objetivo baseado em um SLT do tipo TTR',
));
]);
//
// Class: Ticket
//
Dict::Add('PT BR', 'Brazilian', 'Brazilian', array(
Dict::Add('PT BR', 'Brazilian', 'Brazilian', [
'Class:Ticket/Attribute:team_email' => 'Team email~~',
'Class:Ticket/Attribute:team_email+' => '~~',
));
]);

View File

@@ -1,16 +1,17 @@
<?php
/**
* Localized data
*
* @copyright Copyright (C) 2010-2024 Combodo SAS
* @license https://opensource.org/licenses/AGPL-3.0
*
*
*/
/**
* @author Vladimir Kunin <v.b.kunin@gmail.com>
*
*/
Dict::Add('RU RU', 'Russian', 'Русский', array(
Dict::Add('RU RU', 'Russian', 'Русский', [
'Class:Ticket' => 'Тикет',
'Class:Ticket+' => '',
'Class:Ticket/Attribute:ref' => 'Номер',
@@ -62,14 +63,13 @@ Dict::Add('RU RU', 'Russian', 'Русский', array(
'Class:Ticket/Attribute:operational_status/Value:closed' => 'Закрыт',
'Class:Ticket/Attribute:operational_status/Value:closed+' => '',
'Ticket:ImpactAnalysis' => 'Анализ влияния',
));
]);
//
// Class: lnkContactToTicket
//
Dict::Add('RU RU', 'Russian', 'Русский', array(
Dict::Add('RU RU', 'Russian', 'Русский', [
'Class:lnkContactToTicket' => 'Связь Контакт/Тикет',
'Class:lnkContactToTicket+' => '',
'Class:lnkContactToTicket/Name' => '%1$s / %2$s~~',
@@ -89,13 +89,13 @@ Dict::Add('RU RU', 'Russian', 'Русский', array(
'Class:lnkContactToTicket/Attribute:role_code/Value:manual' => 'Добавлено вручную',
'Class:lnkContactToTicket/Attribute:role_code/Value:computed' => 'Вычислено',
'Class:lnkContactToTicket/Attribute:role_code/Value:do_not_notify' => 'Не уведомлять',
));
]);
//
// Class: WorkOrder
//
Dict::Add('RU RU', 'Russian', 'Русский', array(
Dict::Add('RU RU', 'Russian', 'Русский', [
'Class:WorkOrder' => 'Наряд на работу',
'Class:WorkOrder+' => '',
'Class:WorkOrder/Attribute:name' => 'Название',
@@ -128,11 +128,10 @@ Dict::Add('RU RU', 'Russian', 'Русский', array(
'Class:WorkOrder/Attribute:log+' => '',
'Class:WorkOrder/Stimulus:ev_close' => 'Закрыть',
'Class:WorkOrder/Stimulus:ev_close+' => '',
));
]);
// Fieldset translation
Dict::Add('RU RU', 'Russian', 'Русский', array(
Dict::Add('RU RU', 'Russian', 'Русский', [
'Ticket:baseinfo' => 'Общая информация',
'Ticket:date' => 'Даты',
'Ticket:contact' => 'Контакты',
@@ -222,14 +221,13 @@ Dict::Add('RU RU', 'Russian', 'Русский', array(
'Class:ResponseTicketTTO/Interface:iMetricComputer+' => 'Goal based on a SLT of type TTO~~',
'Class:ResponseTicketTTR/Interface:iMetricComputer' => 'Time To Resolve~~',
'Class:ResponseTicketTTR/Interface:iMetricComputer+' => 'Goal based on a SLT of type TTR~~',
));
]);
//
// Class: Ticket
//
Dict::Add('RU RU', 'Russian', 'Русский', array(
Dict::Add('RU RU', 'Russian', 'Русский', [
'Class:Ticket/Attribute:team_email' => 'Team email~~',
'Class:Ticket/Attribute:team_email+' => '~~',
));
]);

View File

@@ -1,15 +1,16 @@
<?php
/**
* Localized data
*
* @copyright Copyright (C) 2010-2024 Combodo SAS
* @license https://opensource.org/licenses/AGPL-3.0
*
*
*/
/**
*
*/
Dict::Add('SK SK', 'Slovak', 'Slovenčina', array(
Dict::Add('SK SK', 'Slovak', 'Slovenčina', [
'Class:Ticket' => 'Ticket',
'Class:Ticket+' => '~~',
'Class:Ticket/Attribute:ref' => 'Referencia',
@@ -61,14 +62,13 @@ Dict::Add('SK SK', 'Slovak', 'Slovenčina', array(
'Class:Ticket/Attribute:operational_status/Value:closed' => 'Closed~~',
'Class:Ticket/Attribute:operational_status/Value:closed+' => '~~',
'Ticket:ImpactAnalysis' => 'Impact Analysis~~',
));
]);
//
// Class: lnkContactToTicket
//
Dict::Add('SK SK', 'Slovak', 'Slovenčina', array(
Dict::Add('SK SK', 'Slovak', 'Slovenčina', [
'Class:lnkContactToTicket' => 'väzba - Kontakt / Ticket',
'Class:lnkContactToTicket+' => '~~',
'Class:lnkContactToTicket/Name' => '%1$s / %2$s~~',
@@ -88,13 +88,13 @@ Dict::Add('SK SK', 'Slovak', 'Slovenčina', array(
'Class:lnkContactToTicket/Attribute:role_code/Value:manual' => 'Added manually~~',
'Class:lnkContactToTicket/Attribute:role_code/Value:computed' => 'Computed~~',
'Class:lnkContactToTicket/Attribute:role_code/Value:do_not_notify' => 'Do not notify~~',
));
]);
//
// Class: WorkOrder
//
Dict::Add('SK SK', 'Slovak', 'Slovenčina', array(
Dict::Add('SK SK', 'Slovak', 'Slovenčina', [
'Class:WorkOrder' => 'Pracovný príkaz',
'Class:WorkOrder+' => '~~',
'Class:WorkOrder/Attribute:name' => 'Názov',
@@ -127,11 +127,10 @@ Dict::Add('SK SK', 'Slovak', 'Slovenčina', array(
'Class:WorkOrder/Attribute:log+' => '~~',
'Class:WorkOrder/Stimulus:ev_close' => 'Zatvoriť',
'Class:WorkOrder/Stimulus:ev_close+' => '~~',
));
]);
// Fieldset translation
Dict::Add('SK SK', 'Slovak', 'Slovenčina', array(
Dict::Add('SK SK', 'Slovak', 'Slovenčina', [
'Ticket:baseinfo' => 'Všeobecné informácia',
'Ticket:date' => 'Dátumy',
'Ticket:contact' => 'Kontakt',
@@ -221,14 +220,13 @@ Dict::Add('SK SK', 'Slovak', 'Slovenčina', array(
'Class:ResponseTicketTTO/Interface:iMetricComputer+' => 'Goal based on a SLT of type TTO~~',
'Class:ResponseTicketTTR/Interface:iMetricComputer' => 'Time To Resolve~~',
'Class:ResponseTicketTTR/Interface:iMetricComputer+' => 'Goal based on a SLT of type TTR~~',
));
]);
//
// Class: Ticket
//
Dict::Add('SK SK', 'Slovak', 'Slovenčina', array(
Dict::Add('SK SK', 'Slovak', 'Slovenčina', [
'Class:Ticket/Attribute:team_email' => 'Team email~~',
'Class:Ticket/Attribute:team_email+' => '~~',
));
]);

View File

@@ -1,16 +1,17 @@
<?php
/**
* Localized data
*
* @copyright Copyright (C) 2010-2024 Combodo SAS
* @license https://opensource.org/licenses/AGPL-3.0
*
*
*/
/**
* @author Izzet Sirin <izzet.sirin@htr.com.tr>
*
*/
Dict::Add('TR TR', 'Turkish', 'Türkçe', array(
Dict::Add('TR TR', 'Turkish', 'Türkçe', [
'Class:Ticket' => 'Kayıt',
'Class:Ticket+' => '',
'Class:Ticket/Attribute:ref' => 'Referans',
@@ -62,14 +63,13 @@ Dict::Add('TR TR', 'Turkish', 'Türkçe', array(
'Class:Ticket/Attribute:operational_status/Value:closed' => 'Closed~~',
'Class:Ticket/Attribute:operational_status/Value:closed+' => '~~',
'Ticket:ImpactAnalysis' => 'Etki Analizi',
));
]);
//
// Class: lnkContactToTicket
//
Dict::Add('TR TR', 'Turkish', 'Türkçe', array(
Dict::Add('TR TR', 'Turkish', 'Türkçe', [
'Class:lnkContactToTicket' => 'Kişi / Çağrı kaydı bağla',
'Class:lnkContactToTicket+' => '~~',
'Class:lnkContactToTicket/Name' => '%1$s / %2$s~~',
@@ -89,13 +89,13 @@ Dict::Add('TR TR', 'Turkish', 'Türkçe', array(
'Class:lnkContactToTicket/Attribute:role_code/Value:manual' => 'Elle eklendi',
'Class:lnkContactToTicket/Attribute:role_code/Value:computed' => 'Hesaplandı',
'Class:lnkContactToTicket/Attribute:role_code/Value:do_not_notify' => 'Bildirme',
));
]);
//
// Class: WorkOrder
//
Dict::Add('TR TR', 'Turkish', 'Türkçe', array(
Dict::Add('TR TR', 'Turkish', 'Türkçe', [
'Class:WorkOrder' => 'İş emri',
'Class:WorkOrder+' => '~~',
'Class:WorkOrder/Attribute:name' => 'İsim',
@@ -128,11 +128,10 @@ Dict::Add('TR TR', 'Turkish', 'Türkçe', array(
'Class:WorkOrder/Attribute:log+' => '~~',
'Class:WorkOrder/Stimulus:ev_close' => 'Kapat',
'Class:WorkOrder/Stimulus:ev_close+' => '~~',
));
]);
// Fieldset translation
Dict::Add('TR TR', 'Turkish', 'Türkçe', array(
Dict::Add('TR TR', 'Turkish', 'Türkçe', [
'Ticket:baseinfo' => 'Genel Bilgi',
'Ticket:date' => 'Tarihler',
'Ticket:contact' => 'Kişiler',
@@ -222,14 +221,13 @@ Dict::Add('TR TR', 'Turkish', 'Türkçe', array(
'Class:ResponseTicketTTO/Interface:iMetricComputer+' => 'TTO tipi bir SLT\'ye dayalı hedef',
'Class:ResponseTicketTTR/Interface:iMetricComputer' => 'Çözme zamanı',
'Class:ResponseTicketTTR/Interface:iMetricComputer+' => 'TTR tipi bir SLT\'ye dayalı hedef',
));
]);
//
// Class: Ticket
//
Dict::Add('TR TR', 'Turkish', 'Türkçe', array(
Dict::Add('TR TR', 'Turkish', 'Türkçe', [
'Class:Ticket/Attribute:team_email' => 'Team email~~',
'Class:Ticket/Attribute:team_email+' => '~~',
));
]);

View File

@@ -1,4 +1,5 @@
<?php
/**
* Localized data
*
@@ -32,7 +33,7 @@
//
// Class: Ticket
//
Dict::Add('ZH CN', 'Chinese', '简体中文', array(
Dict::Add('ZH CN', 'Chinese', '简体中文', [
'Class:Ticket' => '工单',
'Class:Ticket+' => '',
'Class:Ticket/Attribute:ref' => '编号',
@@ -84,14 +85,13 @@ Dict::Add('ZH CN', 'Chinese', '简体中文', array(
'Class:Ticket/Attribute:operational_status/Value:closed' => '已关闭',
'Class:Ticket/Attribute:operational_status/Value:closed+' => '',
'Ticket:ImpactAnalysis' => '影响分析',
));
]);
//
// Class: lnkContactToTicket
//
Dict::Add('ZH CN', 'Chinese', '简体中文', array(
Dict::Add('ZH CN', 'Chinese', '简体中文', [
'Class:lnkContactToTicket' => '关联联系人/工单',
'Class:lnkContactToTicket+' => '',
'Class:lnkContactToTicket/Name' => '%1$s / %2$s',
@@ -111,13 +111,13 @@ Dict::Add('ZH CN', 'Chinese', '简体中文', array(
'Class:lnkContactToTicket/Attribute:role_code/Value:manual' => '手动添加',
'Class:lnkContactToTicket/Attribute:role_code/Value:computed' => '自动添加',
'Class:lnkContactToTicket/Attribute:role_code/Value:do_not_notify' => '不通知',
));
]);
//
// Class: WorkOrder
//
Dict::Add('ZH CN', 'Chinese', '简体中文', array(
Dict::Add('ZH CN', 'Chinese', '简体中文', [
'Class:WorkOrder' => '工作任务',
'Class:WorkOrder+' => '',
'Class:WorkOrder/Attribute:name' => '名称',
@@ -150,11 +150,10 @@ Dict::Add('ZH CN', 'Chinese', '简体中文', array(
'Class:WorkOrder/Attribute:log+' => '',
'Class:WorkOrder/Stimulus:ev_close' => '关闭',
'Class:WorkOrder/Stimulus:ev_close+' => '',
));
]);
// Fieldset translation
Dict::Add('ZH CN', 'Chinese', '简体中文', array(
Dict::Add('ZH CN', 'Chinese', '简体中文', [
'Ticket:baseinfo' => '基本信息',
'Ticket:date' => '日期信息',
'Ticket:contact' => '联系人',
@@ -244,14 +243,13 @@ Dict::Add('ZH CN', 'Chinese', '简体中文', array(
'Class:ResponseTicketTTO/Interface:iMetricComputer+' => '响应时限',
'Class:ResponseTicketTTR/Interface:iMetricComputer' => 'TTR',
'Class:ResponseTicketTTR/Interface:iMetricComputer+' => '解决时限',
));
]);
//
// Class: Ticket
//
Dict::Add('ZH CN', 'Chinese', '简体中文', array(
Dict::Add('ZH CN', 'Chinese', '简体中文', [
'Class:Ticket/Attribute:team_email' => 'Team email~~',
'Class:Ticket/Attribute:team_email+' => '~~',
));
]);

View File

@@ -1,4 +1,5 @@
<?php
// Copyright (C) 2010-2024 Combodo SAS
//
// This file is part of iTop.
@@ -18,7 +19,6 @@
use Combodo\iTop\Application\UI\Base\Layout\TabContainer\Tab\AjaxTab;
use Combodo\iTop\Application\WebPage\WebPage;
/**
* Base class for computing TTO or TTR on a ticket
*/
@@ -32,15 +32,11 @@ class ResponseTicketSLT
protected static function ComputeSLT($oTicket, $sMetric = 'TTO')
{
$iDeadline = null;
if (MetaModel::IsValidClass('SLT'))
{
$sType=get_class($oTicket);
if ($sType == 'Incident')
{
if (MetaModel::IsValidClass('SLT')) {
$sType = get_class($oTicket);
if ($sType == 'Incident') {
$sRequestType = 'incident';
}
else
{
} else {
$sRequestType = $oTicket->Get('request_type');
}
@@ -49,43 +45,40 @@ class ResponseTicketSLT
$aArgs['request_type'] = $sRequestType;
//echo "<p>Managing:".$sMetric."-".$this->Get('request_type')."-".$this->Get('importance')."</p>\n";
$oSLTSet = new DBObjectSet(DBObjectSearch::FromOQL(RESPONSE_TICKET_SLT_QUERY),
array(),
$aArgs
);
$oSLTSet = new DBObjectSet(
DBObjectSearch::FromOQL(RESPONSE_TICKET_SLT_QUERY),
[],
$aArgs
);
$iMinDuration = PHP_INT_MAX;
$sSLTName = '';
while($oSLT = $oSLTSet->Fetch())
{
while ($oSLT = $oSLTSet->Fetch()) {
$iDuration = (int)$oSLT->Get('value');
$sUnit = $oSLT->Get('unit');
switch($sUnit)
{
switch ($sUnit) {
case 'days':
$iDuration = $iDuration * 24; // 24 hours in 1 days
// Fall though
$iDuration = $iDuration * 24; // 24 hours in 1 days
// Fall though
// no break
case 'hours':
$iDuration = $iDuration * 60; // 60 minutes in 1 hour
// Fall though
$iDuration = $iDuration * 60; // 60 minutes in 1 hour
// Fall though
// no break
case 'minutes':
$iDuration = $iDuration * 60;
$iDuration = $iDuration * 60;
}
if ($iDuration < $iMinDuration)
{
if ($iDuration < $iMinDuration) {
$iMinDuration = $iDuration;
$sSLTName = $oSLT->GetName();
}
}
if ($iMinDuration == PHP_INT_MAX)
{
if ($iMinDuration == PHP_INT_MAX) {
$iDeadline = null;
}
else
{
} else {
// Store $sSLTName to keep track of which SLT has been used
$iDeadline = $iMinDuration;
}
@@ -129,33 +122,26 @@ class ResponseTicketTTR extends ResponseTicketSLT implements iMetricComputer
}
}
class _Ticket extends cmdbAbstractObject
{
public function UpdateImpactedItems()
{
require_once(APPROOT.'core/displayablegraph.class.inc.php');
/** @var ormLinkSet $oContactsSet */
$oContactsSet = $this->Get('contacts_list');
$aCIsToImpactCode = array();
$aSources = array();
$aExcluded = array();
if (MetaModel::IsValidClass('FunctionalCI'))
{
$aCIsToImpactCode = [];
$aSources = [];
$aExcluded = [];
if (MetaModel::IsValidClass('FunctionalCI')) {
/** @var ormLinkSet $oCIsSet */
$oCIsSet = $this->Get('functionalcis_list');
foreach ($oCIsSet as $oLink)
{
foreach ($oCIsSet as $oLink) {
$iKey = $oLink->Get('functionalci_id');
$aCIsToImpactCode[$iKey] = array('link' => $oLink->GetKey(), 'code' => $oLink->Get('impact_code'));
if ($oLink->Get('impact_code') == 'manual')
{
$aCIsToImpactCode[$iKey] = ['link' => $oLink->GetKey(), 'code' => $oLink->Get('impact_code')];
if ($oLink->Get('impact_code') == 'manual') {
$oObj = MetaModel::GetObject('FunctionalCI', $iKey);
$aSources[$iKey] = $oObj;
}
else if ($oLink->Get('impact_code') == 'not_impacted')
{
} elseif ($oLink->Get('impact_code') == 'not_impacted') {
$oObj = MetaModel::GetObject('FunctionalCI', $iKey);
$aExcluded[] = $oObj;
}
@@ -163,128 +149,111 @@ class _Ticket extends cmdbAbstractObject
}
$aContactsToRoleCode = array();
foreach ($oContactsSet as $oLink)
{
$aContactsToRoleCode = [];
foreach ($oContactsSet as $oLink) {
$iKey = $oLink->Get('contact_id');
$aContactsToRoleCode[$iKey] = array('link' => $oLink->GetKey(), 'code' => $oLink->Get('role_code'));
if ($oLink->Get('role_code') == 'do_not_notify')
{
$aContactsToRoleCode[$iKey] = ['link' => $oLink->GetKey(), 'code' => $oLink->Get('role_code')];
if ($oLink->Get('role_code') == 'do_not_notify') {
$oObj = MetaModel::GetObject('Contact', $iKey);
$aExcluded[] = $oObj;
}
}
$sContextKey = 'itop-tickets/relation_context/'.get_class($this).'/impacts/down';
$aContextDefs = DisplayableGraph::GetContextDefinitions($sContextKey, true, array('this' => $this));
$aDefaultContexts = array();
foreach($aContextDefs as $sKey => $aDefinition)
{
$aContextDefs = DisplayableGraph::GetContextDefinitions($sContextKey, true, ['this' => $this]);
$aDefaultContexts = [];
foreach ($aContextDefs as $sKey => $aDefinition) {
// Add the default context queries to the computation
if (array_key_exists('default', $aDefinition) && ($aDefinition['default'] == 'yes'))
{
if (array_key_exists('default', $aDefinition) && ($aDefinition['default'] == 'yes')) {
$aDefaultContexts[] = $aDefinition['oql'];
}
}
// Merge the directly impacted items with the "new" ones added by the "context" queries
$aGraphObjects = array();
$oRawGraph = MetaModel::GetRelatedObjectsDown('impacts', $aSources, 10, true /* bEnableRedundancy */, $aExcluded);
$oIterator = new RelationTypeIterator($oRawGraph, 'Node');
foreach ($oIterator as $oNode)
{
// Any object node reached AND different from a source will do
if ( ($oNode instanceof RelationObjectNode) && ($oNode->GetProperty('is_reached')) && (!$oNode->GetProperty('source')) )
{
$this->StoreComputedObject($aGraphObjects, $oNode->GetProperty('object'));
}
}
if (count($aDefaultContexts) > 0)
{
$aGraphObjects = [];
$oRawGraph = MetaModel::GetRelatedObjectsDown('impacts', $aSources, 10, true /* bEnableRedundancy */, $aExcluded);
$oIterator = new RelationTypeIterator($oRawGraph, 'Node');
foreach ($oIterator as $oNode) {
// Any object node reached AND different from a source will do
if (($oNode instanceof RelationObjectNode) && ($oNode->GetProperty('is_reached')) && (!$oNode->GetProperty('source'))) {
$this->StoreComputedObject($aGraphObjects, $oNode->GetProperty('object'));
}
}
if (count($aDefaultContexts) > 0) {
$oAnnotatedGraph = MetaModel::GetRelatedObjectsDown('impacts', $aSources, 10, true /* bEnableRedundancy */, $aExcluded, $aDefaultContexts);
$oIterator = new RelationTypeIterator($oAnnotatedGraph, 'Node');
foreach ($oIterator as $oNode)
{
// Only pick the nodes which are NOT impacted by a context root cause, and merge them in the list
if (($oNode instanceof RelationObjectNode) && ($oNode->GetProperty('is_reached')) && (!$oNode->GetProperty('source')) && ($oNode->GetProperty('context_root_causes', null) == null))
{
$this->StoreComputedObject($aGraphObjects, $oNode->GetProperty('object'));
}
foreach ($oIterator as $oNode) {
// Only pick the nodes which are NOT impacted by a context root cause, and merge them in the list
if (($oNode instanceof RelationObjectNode) && ($oNode->GetProperty('is_reached')) && (!$oNode->GetProperty('source')) && ($oNode->GetProperty('context_root_causes', null) == null)) {
$this->StoreComputedObject($aGraphObjects, $oNode->GetProperty('object'));
}
}
}
// Remove unnecessary "computed" CIs and Contacts
foreach($aCIsToImpactCode as $iKey => $aCode)
{
if (($aCode['code'] == 'computed') && (!isset($aGraphObjects['FunctionalCI']) || (!array_key_exists($iKey, $aGraphObjects['FunctionalCI']))))
{
$oCIsSet->RemoveItem($aCode['link']);
}
}
foreach($aContactsToRoleCode as $iKey => $aCode)
{
if (($aCode['code'] == 'computed') && (!isset($aGraphObjects['Contact']) || (!array_key_exists($iKey, $aGraphObjects['Contact']))))
{
$oContactsSet->RemoveItem($aCode['link']);
}
}
// Add new nodes
foreach ($aGraphObjects as $sRootClass => $aObjects)
{
switch ($sRootClass)
{
case 'FunctionalCI':
// Only FunctionalCIs which are not already linked to the ticket
foreach($aObjects as $iKey => $oObj)
{
if (!array_key_exists($iKey, $aCIsToImpactCode))
{
$oNewLink = new lnkFunctionalCIToTicket();
$oNewLink->Set('functionalci_id', $iKey);
$oNewLink->Set('impact_code', 'computed');
$oCIsSet->AddItem($oNewLink);
}
}
break;
case 'Contact':
// Only link Contacts which are not already linked to the ticket
foreach($aObjects as $iKey => $oObj)
{
if (!array_key_exists($iKey, $aContactsToRoleCode))
{
$oNewLink = new lnkContactToTicket();
$oNewLink->Set('contact_id', $iKey);
$oNewLink->Set('role_code', 'computed');
$oContactsSet->AddItem($oNewLink);
}
}
break;
foreach ($aCIsToImpactCode as $iKey => $aCode) {
if (($aCode['code'] == 'computed') && (!isset($aGraphObjects['FunctionalCI']) || (!array_key_exists($iKey, $aGraphObjects['FunctionalCI'])))) {
$oCIsSet->RemoveItem($aCode['link']);
}
}
if (MetaModel::IsValidClass('FunctionalCI'))
{
foreach ($aContactsToRoleCode as $iKey => $aCode) {
if (($aCode['code'] == 'computed') && (!isset($aGraphObjects['Contact']) || (!array_key_exists($iKey, $aGraphObjects['Contact'])))) {
$oContactsSet->RemoveItem($aCode['link']);
}
}
// Add new nodes
foreach ($aGraphObjects as $sRootClass => $aObjects) {
switch ($sRootClass) {
case 'FunctionalCI':
// Only FunctionalCIs which are not already linked to the ticket
foreach ($aObjects as $iKey => $oObj) {
if (!array_key_exists($iKey, $aCIsToImpactCode)) {
$oNewLink = new lnkFunctionalCIToTicket();
$oNewLink->Set('functionalci_id', $iKey);
$oNewLink->Set('impact_code', 'computed');
$oCIsSet->AddItem($oNewLink);
}
}
break;
case 'Contact':
// Only link Contacts which are not already linked to the ticket
foreach ($aObjects as $iKey => $oObj) {
if (!array_key_exists($iKey, $aContactsToRoleCode)) {
$oNewLink = new lnkContactToTicket();
$oNewLink->Set('contact_id', $iKey);
$oNewLink->Set('role_code', 'computed');
$oContactsSet->AddItem($oNewLink);
}
}
break;
}
}
if (MetaModel::IsValidClass('FunctionalCI')) {
$this->Set('functionalcis_list', $oCIsSet);
}
$this->Set('contacts_list', $oContactsSet);
}
private function StoreComputedObject(&$aGraphObjects, $oObj)
{
$iKey = $oObj->GetKey();
$sRootClass = MetaModel::GetRootClass(get_class($oObj));
$aGraphObjects[$sRootClass][$iKey] = $oObj;
}
{
$iKey = $oObj->GetKey();
$sRootClass = MetaModel::GetRootClass(get_class($oObj));
$aGraphObjects[$sRootClass][$iKey] = $oObj;
}
public function DisplayBareRelations(WebPage $oPage, $bEditMode = false)
{
parent::DisplayBareRelations($oPage, $bEditMode);
// Display the impact analysis for tickets not in 'closed' or 'resolved' status... and not in edition
if ((!$bEditMode) && (!in_array($this->Get('status'), array('resolved', 'closed'))))
{
$oPage->AddAjaxTab('Ticket:ImpactAnalysis',
if ((!$bEditMode) && (!in_array($this->Get('status'), ['resolved', 'closed']))) {
$oPage->AddAjaxTab(
'Ticket:ImpactAnalysis',
utils::GetAbsoluteUrlAppRoot().'pages/ajax.render.php?operation=ticket_impact&class='.get_class($this).'&id='.$this->GetKey(),
true, null, AjaxTab::ENUM_TAB_PLACEHOLDER_MISC);
true,
null,
AjaxTab::ENUM_TAB_PLACEHOLDER_MISC
);
}
}
}

View File

@@ -1,10 +1,9 @@
<?php
SetupWebPage::AddModule(
__FILE__,
'itop-tickets/3.2.1',
array(
[
// Identification
//
'label' => 'Tickets Management',
@@ -12,24 +11,24 @@ SetupWebPage::AddModule(
// Setup
//
'dependencies' => array(
'dependencies' => [
'itop-structure/2.7.1',
),
],
'mandatory' => false,
'visible' => true,
'installer' => 'TicketsInstaller',
// Components
//
'datamodel' => array(
'datamodel' => [
'main.itop-tickets.php',
),
'data.struct' => array(
],
'data.struct' => [
// 'data.struct.ta-actions.xml',
),
'data.sample' => array(
),
],
'data.sample' => [
],
// Documentation
//
'doc.manual_setup' => '',
@@ -37,9 +36,9 @@ SetupWebPage::AddModule(
// Default settings
//
'settings' => array(
),
)
'settings' => [
],
]
);
// Module installation handler
@@ -52,17 +51,12 @@ class TicketsInstaller extends ModuleInstallerAPI
CMDBObject::SetTrackInfo('Uninstallation');
$oSearch = new DBObjectSearch('TriggerOnObject');
$oSet = new DBObjectSet($oSearch);
while($oTrigger = $oSet->Fetch())
{
try
{
if (!MetaModel::IsValidClass($oTrigger->Get('target_class')))
{
while ($oTrigger = $oSet->Fetch()) {
try {
if (!MetaModel::IsValidClass($oTrigger->Get('target_class'))) {
$oTrigger->DBDelete();
}
}
catch(Exception $e)
{
} catch (Exception $e) {
utils::EnrichRaisedException($oTrigger, $e);
}
}