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,4 +1,5 @@
<?php
/**
* Copyright (C) 2013-2024 Combodo SARL
*
@@ -17,7 +18,7 @@
* You should have received a copy of the GNU Affero General Public License
*/
Dict::Add('CS CZ', 'Czech', 'Čeština', array(
Dict::Add('CS CZ', 'Czech', 'Čeština', [
'UI:NotificationsCenter:Page:Title' => 'Notifications center~~',
'UI:NotificationsCenter:Panel:Title' => 'Notifications center~~',
'UI:NotificationsCenter:Panel:SubTitle' => 'Manage Notifications that you have received : unsubscribe or limit them to a single channel~~',
@@ -29,4 +30,4 @@ Dict::Add('CS CZ', 'Czech', 'Čeština', array(
'UI:NotificationsCenter:Subscribe:Error' => 'An error occurred while subscribing to the selected notifications.~~',
'UI:NotificationsCenter:Channel:OutOf:Text' => '%1$s out of %2$s~~',
'UI:NotificationsCenter:Advanced:Input:Label' => '%1$s: %2$s~~',
));
]);

View File

@@ -1,4 +1,5 @@
<?php
/**
* Copyright (C) 2013-2024 Combodo SARL
*
@@ -17,7 +18,7 @@
* You should have received a copy of the GNU Affero General Public License
*/
Dict::Add('DA DA', 'Danish', 'Dansk', array(
Dict::Add('DA DA', 'Danish', 'Dansk', [
'UI:NotificationsCenter:Page:Title' => 'Notifications center~~',
'UI:NotificationsCenter:Panel:Title' => 'Notifications center~~',
'UI:NotificationsCenter:Panel:SubTitle' => 'Manage Notifications that you have received : unsubscribe or limit them to a single channel~~',
@@ -29,4 +30,4 @@ Dict::Add('DA DA', 'Danish', 'Dansk', array(
'UI:NotificationsCenter:Subscribe:Error' => 'An error occurred while subscribing to the selected notifications.~~',
'UI:NotificationsCenter:Channel:OutOf:Text' => '%1$s out of %2$s~~',
'UI:NotificationsCenter:Advanced:Input:Label' => '%1$s: %2$s~~',
));
]);

View File

@@ -1,4 +1,5 @@
<?php
/**
* Copyright (C) 2013-2024 Combodo SARL
*
@@ -17,7 +18,7 @@
* You should have received a copy of the GNU Affero General Public License
*/
Dict::Add('DE DE', 'German', 'Deutsch', array(
Dict::Add('DE DE', 'German', 'Deutsch', [
'UI:NotificationsCenter:Page:Title' => 'Notifications center~~',
'UI:NotificationsCenter:Panel:Title' => 'Notifications center~~',
'UI:NotificationsCenter:Panel:SubTitle' => 'Manage Notifications that you have received : unsubscribe or limit them to a single channel~~',
@@ -29,4 +30,4 @@ Dict::Add('DE DE', 'German', 'Deutsch', array(
'UI:NotificationsCenter:Subscribe:Error' => 'An error occurred while subscribing to the selected notifications.~~',
'UI:NotificationsCenter:Channel:OutOf:Text' => '%1$s out of %2$s~~',
'UI:NotificationsCenter:Advanced:Input:Label' => '%1$s: %2$s~~',
));
]);

View File

@@ -1,4 +1,5 @@
<?php
/**
* Copyright (C) 2013-2024 Combodo SARL
*
@@ -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', [
'UI:NotificationsCenter:Page:Title' => 'Notifications center',
'UI:NotificationsCenter:Panel:Title' => 'Notifications center',
'UI:NotificationsCenter:Panel:SubTitle' => 'Manage Notifications that you have received : unsubscribe or limit them to a single channel',
@@ -29,4 +30,4 @@ Dict::Add('EN US', 'English', 'English', array(
'UI:NotificationsCenter:Subscribe:Error' => 'An error occurred while subscribing to the selected notifications.',
'UI:NotificationsCenter:Channel:OutOf:Text' => '%1$s out of %2$s',
'UI:NotificationsCenter:Advanced:Input:Label' => '%1$s: %2$s',
));
]);

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', [
'UI:NotificationsCenter:Page:Title' => 'Notifications centre',
'UI:NotificationsCenter:Panel:Title' => 'Notifications centre',
'UI:NotificationsCenter:Panel:SubTitle' => 'Manage Notifications that you have received : unsubscribe or limit them to a single channel',
@@ -16,4 +17,4 @@ Dict::Add('EN GB', 'British English', 'British English', array(
'UI:NotificationsCenter:Subscribe:Error' => 'An error occurred while subscribing to the selected notifications.',
'UI:NotificationsCenter:Channel:OutOf:Text' => '%1$s out of %2$s',
'UI:NotificationsCenter:Advanced:Input:Label' => '%1$s: %2$s',
));
]);

View File

@@ -1,4 +1,5 @@
<?php
/**
* Spanish Localized data
*
@@ -7,7 +8,7 @@
* @author Miguel Turrubiates <miguel_tf@yahoo.com>
* @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:NotificationsCenter:Page:Title' => 'Centro de notificaciones',
'UI:NotificationsCenter:Panel:Title' => 'Centro de notificaciones',
'UI:NotificationsCenter:Panel:SubTitle' => 'Gestionar las notificaciones que ha recibido: cancelar la suscripción o limitarlas a un solo canal',
@@ -19,4 +20,4 @@ Dict::Add('ES CR', 'Spanish', 'Español, Castellano', array(
'UI:NotificationsCenter:Subscribe:Error' => 'Se produjo un error al suscribirse a las notificaciones seleccionadas.',
'UI:NotificationsCenter:Channel:OutOf:Text' => '%1$s de %2$s',
'UI:NotificationsCenter:Advanced:Input:Label' => '%1$s: %2$s',
));
]);

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:NotificationsCenter:Page:Title' => 'Notifications',
'UI:NotificationsCenter:Panel:Title' => 'Notifications',
'UI:NotificationsCenter:Panel:SubTitle' => 'Gérer les Notifications dont vous êtes destinataire : désabonnez-vous des news, des méls ou des deux',
@@ -21,4 +22,4 @@ Dict::Add('FR FR', 'French', 'Français', array(
'UI:NotificationsCenter:Subscribe:Error' => 'Une erreur c\'est produite, lors de votre ré-inscription.',
'UI:NotificationsCenter:Channel:OutOf:Text' => '%1$s sur %2$s',
'UI:NotificationsCenter:Advanced:Input:Label' => '%1$s: %2$s',
));
]);

View File

@@ -1,4 +1,5 @@
<?php
/**
* Copyright (C) 2013-2024 Combodo SARL
*
@@ -17,7 +18,7 @@
* You should have received a copy of the GNU Affero General Public License
*/
Dict::Add('HU HU', 'Hungarian', 'Magyar', array(
Dict::Add('HU HU', 'Hungarian', 'Magyar', [
'UI:NotificationsCenter:Page:Title' => 'Notifications center~~',
'UI:NotificationsCenter:Panel:Title' => 'Notifications center~~',
'UI:NotificationsCenter:Panel:SubTitle' => 'Manage Notifications that you have received : unsubscribe or limit them to a single channel~~',
@@ -29,4 +30,4 @@ Dict::Add('HU HU', 'Hungarian', 'Magyar', array(
'UI:NotificationsCenter:Subscribe:Error' => 'An error occurred while subscribing to the selected notifications.~~',
'UI:NotificationsCenter:Channel:OutOf:Text' => '%1$s out of %2$s~~',
'UI:NotificationsCenter:Advanced:Input:Label' => '%1$s: %2$s~~',
));
]);

View File

@@ -1,4 +1,5 @@
<?php
/**
* Copyright (C) 2013-2024 Combodo SARL
*
@@ -17,7 +18,7 @@
* You should have received a copy of the GNU Affero General Public License
*/
Dict::Add('IT IT', 'Italian', 'Italiano', array(
Dict::Add('IT IT', 'Italian', 'Italiano', [
'UI:NotificationsCenter:Page:Title' => 'Notifications center~~',
'UI:NotificationsCenter:Panel:Title' => 'Notifications center~~',
'UI:NotificationsCenter:Panel:SubTitle' => 'Manage Notifications that you have received : unsubscribe or limit them to a single channel~~',
@@ -29,4 +30,4 @@ Dict::Add('IT IT', 'Italian', 'Italiano', array(
'UI:NotificationsCenter:Subscribe:Error' => 'An error occurred while subscribing to the selected notifications.~~',
'UI:NotificationsCenter:Channel:OutOf:Text' => '%1$s out of %2$s~~',
'UI:NotificationsCenter:Advanced:Input:Label' => '%1$s: %2$s~~',
));
]);

View File

@@ -1,4 +1,5 @@
<?php
/**
* Copyright (C) 2013-2024 Combodo SARL
*
@@ -17,7 +18,7 @@
* You should have received a copy of the GNU Affero General Public License
*/
Dict::Add('JA JP', 'Japanese', '日本語', array(
Dict::Add('JA JP', 'Japanese', '日本語', [
'UI:NotificationsCenter:Page:Title' => 'Notifications center~~',
'UI:NotificationsCenter:Panel:Title' => 'Notifications center~~',
'UI:NotificationsCenter:Panel:SubTitle' => 'Manage Notifications that you have received : unsubscribe or limit them to a single channel~~',
@@ -29,4 +30,4 @@ Dict::Add('JA JP', 'Japanese', '日本語', array(
'UI:NotificationsCenter:Subscribe:Error' => 'An error occurred while subscribing to the selected notifications.~~',
'UI:NotificationsCenter:Channel:OutOf:Text' => '%1$s out of %2$s~~',
'UI:NotificationsCenter:Advanced:Input:Label' => '%1$s: %2$s~~',
));
]);

View File

@@ -1,4 +1,5 @@
<?php
/**
* Copyright (C) 2013-2024 Combodo SARL
*
@@ -17,7 +18,7 @@
* You should have received a copy of the GNU Affero General Public License
*/
Dict::Add('NL NL', 'Dutch', 'Nederlands', array(
Dict::Add('NL NL', 'Dutch', 'Nederlands', [
'UI:NotificationsCenter:Page:Title' => 'Notifications center~~',
'UI:NotificationsCenter:Panel:Title' => 'Notifications center~~',
'UI:NotificationsCenter:Panel:SubTitle' => 'Manage Notifications that you have received : unsubscribe or limit them to a single channel~~',
@@ -29,4 +30,4 @@ Dict::Add('NL NL', 'Dutch', 'Nederlands', array(
'UI:NotificationsCenter:Subscribe:Error' => 'An error occurred while subscribing to the selected notifications.~~',
'UI:NotificationsCenter:Channel:OutOf:Text' => '%1$s out of %2$s~~',
'UI:NotificationsCenter:Advanced:Input:Label' => '%1$s: %2$s~~',
));
]);

View File

@@ -1,4 +1,5 @@
<?php
/**
* Copyright (C) 2013-2024 Combodo SARL
*
@@ -16,7 +17,7 @@
*
* You should have received a copy of the GNU Affero General Public License
*/
Dict::Add('PL PL', 'Polish', 'Polski', array(
Dict::Add('PL PL', 'Polish', 'Polski', [
'UI:NotificationsCenter:Page:Title' => 'Centrum powiadomień',
'UI:NotificationsCenter:Panel:Title' => 'Centrum powiadomień',
'UI:NotificationsCenter:Panel:SubTitle' => 'Zarządzaj otrzymanymi powiadomieniami: zrezygnuj z subskrypcji lub ogranicz je do jednego kanału',
@@ -28,4 +29,4 @@ Dict::Add('PL PL', 'Polish', 'Polski', array(
'UI:NotificationsCenter:Subscribe:Error' => 'Wystąpił błąd podczas subskrybowania wybranych powiadomień.',
'UI:NotificationsCenter:Channel:OutOf:Text' => '%1$s poza %2$s',
'UI:NotificationsCenter:Advanced:Input:Label' => '%1$s: %2$s',
));
]);

View File

@@ -1,4 +1,5 @@
<?php
/**
* Copyright (C) 2013-2024 Combodo SARL
*
@@ -17,7 +18,7 @@
* You should have received a copy of the GNU Affero General Public License
*/
Dict::Add('PT BR', 'Brazilian', 'Brazilian', array(
Dict::Add('PT BR', 'Brazilian', 'Brazilian', [
'UI:NotificationsCenter:Page:Title' => 'Notifications center~~',
'UI:NotificationsCenter:Panel:Title' => 'Notifications center~~',
'UI:NotificationsCenter:Panel:SubTitle' => 'Manage Notifications that you have received : unsubscribe or limit them to a single channel~~',
@@ -29,4 +30,4 @@ Dict::Add('PT BR', 'Brazilian', 'Brazilian', array(
'UI:NotificationsCenter:Subscribe:Error' => 'An error occurred while subscribing to the selected notifications.~~',
'UI:NotificationsCenter:Channel:OutOf:Text' => '%1$s out of %2$s~~',
'UI:NotificationsCenter:Advanced:Input:Label' => '%1$s: %2$s~~',
));
]);

View File

@@ -1,4 +1,5 @@
<?php
/**
* Copyright (C) 2013-2024 Combodo SARL
*
@@ -17,7 +18,7 @@
* You should have received a copy of the GNU Affero General Public License
*/
Dict::Add('RU RU', 'Russian', 'Русский', array(
Dict::Add('RU RU', 'Russian', 'Русский', [
'UI:NotificationsCenter:Page:Title' => 'Notifications center~~',
'UI:NotificationsCenter:Panel:Title' => 'Notifications center~~',
'UI:NotificationsCenter:Panel:SubTitle' => 'Manage Notifications that you have received : unsubscribe or limit them to a single channel~~',
@@ -29,4 +30,4 @@ Dict::Add('RU RU', 'Russian', 'Русский', array(
'UI:NotificationsCenter:Subscribe:Error' => 'An error occurred while subscribing to the selected notifications.~~',
'UI:NotificationsCenter:Channel:OutOf:Text' => '%1$s out of %2$s~~',
'UI:NotificationsCenter:Advanced:Input:Label' => '%1$s: %2$s~~',
));
]);

View File

@@ -1,4 +1,5 @@
<?php
/**
* Copyright (C) 2013-2024 Combodo SARL
*
@@ -17,7 +18,7 @@
* You should have received a copy of the GNU Affero General Public License
*/
Dict::Add('SK SK', 'Slovak', 'Slovenčina', array(
Dict::Add('SK SK', 'Slovak', 'Slovenčina', [
'UI:NotificationsCenter:Page:Title' => 'Notifications center~~',
'UI:NotificationsCenter:Panel:Title' => 'Notifications center~~',
'UI:NotificationsCenter:Panel:SubTitle' => 'Manage Notifications that you have received : unsubscribe or limit them to a single channel~~',
@@ -29,4 +30,4 @@ Dict::Add('SK SK', 'Slovak', 'Slovenčina', array(
'UI:NotificationsCenter:Subscribe:Error' => 'An error occurred while subscribing to the selected notifications.~~',
'UI:NotificationsCenter:Channel:OutOf:Text' => '%1$s out of %2$s~~',
'UI:NotificationsCenter:Advanced:Input:Label' => '%1$s: %2$s~~',
));
]);

View File

@@ -1,4 +1,5 @@
<?php
/**
* Copyright (C) 2013-2024 Combodo SARL
*
@@ -17,7 +18,7 @@
* You should have received a copy of the GNU Affero General Public License
*/
Dict::Add('TR TR', 'Turkish', 'Türkçe', array(
Dict::Add('TR TR', 'Turkish', 'Türkçe', [
'UI:NotificationsCenter:Page:Title' => 'Notifications center~~',
'UI:NotificationsCenter:Panel:Title' => 'Notifications center~~',
'UI:NotificationsCenter:Panel:SubTitle' => 'Manage Notifications that you have received : unsubscribe or limit them to a single channel~~',
@@ -29,4 +30,4 @@ Dict::Add('TR TR', 'Turkish', 'Türkçe', array(
'UI:NotificationsCenter:Subscribe:Error' => 'An error occurred while subscribing to the selected notifications.~~',
'UI:NotificationsCenter:Channel:OutOf:Text' => '%1$s out of %2$s~~',
'UI:NotificationsCenter:Advanced:Input:Label' => '%1$s: %2$s~~',
));
]);

View File

@@ -1,4 +1,5 @@
<?php
/**
* Copyright (C) 2013-2024 Combodo SARL
*
@@ -17,7 +18,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', '简体中文', [
'UI:NotificationsCenter:Page:Title' => 'Notifications center~~',
'UI:NotificationsCenter:Panel:Title' => 'Notifications center~~',
'UI:NotificationsCenter:Panel:SubTitle' => 'Manage Notifications that you have received : unsubscribe or limit them to a single channel~~',
@@ -29,4 +30,4 @@ Dict::Add('ZH CN', 'Chinese', '简体中文', array(
'UI:NotificationsCenter:Subscribe:Error' => 'An error occurred while subscribing to the selected notifications.~~',
'UI:NotificationsCenter:Channel:OutOf:Text' => '%1$s out of %2$s~~',
'UI:NotificationsCenter:Advanced:Input:Label' => '%1$s: %2$s~~',
));
]);