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,15 +1,16 @@
<?php
/**
* Localized data
*
* @copyright Copyright (C) 2010-2024 Combodo SAS
* @license https://opensource.org/licenses/AGPL-3.0
*
*
*/
/**
*
*/
Dict::Add('CS CZ', 'Czech', 'Čeština', array(
Dict::Add('CS CZ', 'Czech', 'Čeština', [
'UI:Links:Object:New:Modal:Title' => 'Create an object~~',
'UI:Links:Create:Button' => 'Create~~',
'UI:Links:Create:Button+' => 'Create a %4$s~~',
@@ -41,4 +42,4 @@ Dict::Add('CS CZ', 'Czech', 'Čeština', array(
'UI:Links:Bulk:LinkExistForOneObject' => 'One object is linked~~',
'UI:Links:Bulk:LinkExistForXObjects' => '{count} objects are linked~~',
'UI:Links:NewItem' => 'New item~~',
));
]);

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('DA DA', 'Danish', 'Dansk', array(
Dict::Add('DA DA', 'Danish', 'Dansk', [
'UI:Links:Object:New:Modal:Title' => 'Create an object~~',
'UI:Links:Create:Button' => 'Create~~',
'UI:Links:Create:Button+' => 'Create a %4$s~~',
@@ -41,4 +42,4 @@ Dict::Add('DA DA', 'Danish', 'Dansk', array(
'UI:Links:Bulk:LinkExistForOneObject' => 'One object is linked~~',
'UI:Links:Bulk:LinkExistForXObjects' => '{count} objects are linked~~',
'UI:Links:NewItem' => 'New item~~',
));
]);

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('DE DE', 'German', 'Deutsch', array(
Dict::Add('DE DE', 'German', 'Deutsch', [
'UI:Links:Object:New:Modal:Title' => 'Ein Objekt erstellen',
'UI:Links:Create:Button' => 'Erstellen',
'UI:Links:Create:Button+' => '%4$s erstellen',
@@ -41,4 +42,4 @@ Dict::Add('DE DE', 'German', 'Deutsch', array(
'UI:Links:Bulk:LinkExistForOneObject' => 'Ein Objekt ist verknüpft',
'UI:Links:Bulk:LinkExistForXObjects' => '{count} Objekte sind verknüpft',
'UI:Links:NewItem' => 'Neues Element',
));
]);

View File

@@ -1,4 +1,5 @@
<?php
/**
* Copyright (C) 2013-2024 Combodo SAS
*
@@ -17,7 +18,7 @@
* You should have received a copy of the GNU Affero General Public License
*/
Dict::Add('EN US', 'English', 'English', array(
Dict::Add('EN US', 'English', 'English', [
// Placeholders
// $%1s : host object class name
@@ -73,4 +74,4 @@ Dict::Add('EN US', 'English', 'English', array(
// New item
'UI:Links:NewItem' => 'New item',
));
]);

View File

@@ -1,10 +1,11 @@
<?php
/**
* @copyright Copyright (C) 2024 Combodo SAS
* @license https://opensource.org/licenses/AGPL-3.0
*/
Dict::Add('EN GB', 'British English', 'British English', array(
Dict::Add('EN GB', 'British English', 'British English', [
// Placeholders
// $%1s : host object class name
@@ -60,4 +61,4 @@ Dict::Add('EN GB', 'British English', 'British English', array(
// New item
'UI:Links:NewItem' => 'New item',
));
]);

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', [
'UI:Links:Object:New:Modal:Title' => 'Crear un objeto',
'UI:Links:Create:Button' => 'Crear',
'UI:Links:Create:Button+' => 'Crear un %4$s',
@@ -39,4 +40,4 @@ Dict::Add('ES CR', 'Spanish', 'Español, Castellano', array(
'UI:Links:Bulk:LinkExistForOneObject' => 'Un objeto está vinculado',
'UI:Links:Bulk:LinkExistForXObjects' => '{count} objetos están vinculados',
'UI:Links:NewItem' => 'Nuevo elemento',
));
]);

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', [
'UI:Links:Object:New:Modal:Title' => 'Créer un objet',
'UI:Links:Create:Button' => 'Créer',
'UI:Links:Create:Button+' => 'Créer un(e) %4$s',
@@ -41,4 +42,4 @@ Dict::Add('FR FR', 'French', 'Français', array(
'UI:Links:Bulk:LinkExistForOneObject' => 'Un objet est lié',
'UI:Links:Bulk:LinkExistForXObjects' => '{count} objets sont liés',
'UI:Links:NewItem' => 'Nouvel element',
));
]);

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', [
'UI:Links:Object:New:Modal:Title' => 'Create an object~~',
'UI:Links:Create:Button' => 'Create~~',
'UI:Links:Create:Button+' => 'Create a %4$s~~',
@@ -41,4 +42,4 @@ Dict::Add('HU HU', 'Hungarian', 'Magyar', array(
'UI:Links:Bulk:LinkExistForOneObject' => 'One object is linked~~',
'UI:Links:Bulk:LinkExistForXObjects' => '{count} objects are linked~~',
'UI:Links:NewItem' => 'New item~~',
));
]);

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', [
'UI:Links:Object:New:Modal:Title' => 'Crea un oggetto',
'UI:Links:Create:Button' => 'Crea',
'UI:Links:Create:Button+' => 'Crea un %4$s',
@@ -41,4 +42,4 @@ Dict::Add('IT IT', 'Italian', 'Italiano', array(
'UI:Links:Bulk:LinkExistForOneObject' => 'Un oggetto è collegato',
'UI:Links:Bulk:LinkExistForXObjects' => '{count} oggetti sono collegati',
'UI:Links:NewItem' => 'Nuovo elemento',
));
]);

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', '日本語', [
'UI:Links:Object:New:Modal:Title' => 'Create an object~~',
'UI:Links:Create:Button' => 'Create~~',
'UI:Links:Create:Button+' => 'Create a %4$s~~',
@@ -41,4 +42,4 @@ Dict::Add('JA JP', 'Japanese', '日本語', array(
'UI:Links:Bulk:LinkExistForOneObject' => 'One object is linked~~',
'UI:Links:Bulk:LinkExistForXObjects' => '{count} objects are linked~~',
'UI:Links:NewItem' => 'New item~~',
));
]);

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('NL NL', 'Dutch', 'Nederlands', array(
Dict::Add('NL NL', 'Dutch', 'Nederlands', [
'UI:Links:Object:New:Modal:Title' => 'Create an object~~',
'UI:Links:Create:Button' => 'Create~~',
'UI:Links:Create:Button+' => 'Create a %4$s~~',
@@ -41,4 +42,4 @@ Dict::Add('NL NL', 'Dutch', 'Nederlands', array(
'UI:Links:Bulk:LinkExistForOneObject' => 'One object is linked~~',
'UI:Links:Bulk:LinkExistForXObjects' => '{count} objects are linked~~',
'UI:Links:NewItem' => 'New item~~',
));
]);

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', [
'UI:Links:Object:New:Modal:Title' => 'Tworzy obiekt',
'UI:Links:Create:Button' => 'Utwórz',
'UI:Links:Create:Button+' => 'Tworzy %4$s',
@@ -41,4 +42,4 @@ Dict::Add('PL PL', 'Polish', 'Polski', array(
'UI:Links:Bulk:LinkExistForOneObject' => 'Jeden obiekt jest połączony',
'UI:Links:Bulk:LinkExistForXObjects' => '{count} obiekty są połączone',
'UI:Links:NewItem' => 'Nowy obiekt',
));
]);

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', [
'UI:Links:Object:New:Modal:Title' => 'Create an object~~',
'UI:Links:Create:Button' => 'Create~~',
'UI:Links:Create:Button+' => 'Create a %4$s~~',
@@ -41,4 +42,4 @@ Dict::Add('PT BR', 'Brazilian', 'Brazilian', array(
'UI:Links:Bulk:LinkExistForOneObject' => 'One object is linked~~',
'UI:Links:Bulk:LinkExistForXObjects' => '{count} objects are linked~~',
'UI:Links:NewItem' => 'New item~~',
));
]);

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('RU RU', 'Russian', 'Русский', array(
Dict::Add('RU RU', 'Russian', 'Русский', [
'UI:Links:Object:New:Modal:Title' => 'Create an object~~',
'UI:Links:Create:Button' => 'Create~~',
'UI:Links:Create:Button+' => 'Create a %4$s~~',
@@ -41,4 +42,4 @@ Dict::Add('RU RU', 'Russian', 'Русский', array(
'UI:Links:Bulk:LinkExistForOneObject' => 'One object is linked~~',
'UI:Links:Bulk:LinkExistForXObjects' => '{count} objects are linked~~',
'UI:Links:NewItem' => 'New item~~',
));
]);

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', [
'UI:Links:Object:New:Modal:Title' => 'Create an object~~',
'UI:Links:Create:Button' => 'Create~~',
'UI:Links:Create:Button+' => 'Create a %4$s~~',
@@ -41,4 +42,4 @@ Dict::Add('SK SK', 'Slovak', 'Slovenčina', array(
'UI:Links:Bulk:LinkExistForOneObject' => 'One object is linked~~',
'UI:Links:Bulk:LinkExistForXObjects' => '{count} objects are linked~~',
'UI:Links:NewItem' => 'New item~~',
));
]);

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('TR TR', 'Turkish', 'Türkçe', array(
Dict::Add('TR TR', 'Turkish', 'Türkçe', [
'UI:Links:Object:New:Modal:Title' => 'Create an object~~',
'UI:Links:Create:Button' => 'Create~~',
'UI:Links:Create:Button+' => 'Create a %4$s~~',
@@ -41,4 +42,4 @@ Dict::Add('TR TR', 'Turkish', 'Türkçe', array(
'UI:Links:Bulk:LinkExistForOneObject' => 'One object is linked~~',
'UI:Links:Bulk:LinkExistForXObjects' => '{count} objects are linked~~',
'UI:Links:NewItem' => 'New item~~',
));
]);

View File

@@ -1,4 +1,5 @@
<?php
/**
* Copyright (C) 2013-2024 Combodo SAS
*
@@ -16,7 +17,7 @@
*
* You should have received a copy of the GNU Affero General Public License
*/
Dict::Add('ZH CN', 'Chinese', '简体中文', array(
Dict::Add('ZH CN', 'Chinese', '简体中文', [
// Placeholders
// $%1s : host object class name
@@ -71,4 +72,4 @@ Dict::Add('ZH CN', 'Chinese', '简体中文', array(
// New item
'UI:Links:NewItem' => '新建条目',
));
]);