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:Preferences:Title' => 'Předvolby',
'UI:Preferences:UserInterface:Title' => 'Uživatelské rozhraní',
'UI:Preferences:General:Title' => 'Obecné',
@@ -45,5 +46,5 @@ Dict::Add('CS CZ', 'Czech', 'Čeština', array(
'UI:Preferences:ChooseAPlaceholder:Success:Message' => 'Váš zástupný obrázek byl úspěšně aktualizován',
'UI:Preferences:Notifications' => 'Upozornění',
'UI:Preferences:Notifications+' => 'Nastavení upozornění, která chcete dostávat <a href="%1$s">na této stránce</a>.',
));
]);

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:Preferences:Title' => 'Preferences~~',
'UI:Preferences:UserInterface:Title' => 'User interface~~',
'UI:Preferences:General:Title' => 'General~~',
@@ -45,5 +46,5 @@ Dict::Add('DA DA', 'Danish', 'Dansk', array(
'UI:Preferences:ChooseAPlaceholder:Success:Message' => 'Your placeholder image has been successfully updated~~',
'UI:Preferences:Notifications' => 'Notifications~~',
'UI:Preferences:Notifications+' => 'Configure the notifications you want to receive <a href="%1$s">on this page</a>.~~',
));
]);

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:Preferences:Title' => 'Einstellungen',
'UI:Preferences:UserInterface:Title' => 'Benutzerinterface',
'UI:Preferences:General:Title' => 'Generell',
@@ -45,5 +46,5 @@ Dict::Add('DE DE', 'German', 'Deutsch', array(
'UI:Preferences:ChooseAPlaceholder:Success:Message' => 'Ihr Platzhalterbild wurde erfolgreich aktualisiert.',
'UI:Preferences:Notifications' => 'Benachrichtigungen',
'UI:Preferences:Notifications+' => 'Konfigurieren Sie die Benachrichtigungen, die Sie erhalten möchten. <a href="%1$s">auf dieser Seite</a>.',
));
]);

View File

@@ -1,4 +1,5 @@
<?php
/**
* Copyright (C) 2013-2024 Combodo SAS
*
@@ -18,7 +19,7 @@
*/
// Navigation menu
Dict::Add('EN US', 'English', 'English', array(
Dict::Add('EN US', 'English', 'English', [
'UI:Preferences:Title' => 'Preferences',
'UI:Preferences:UserInterface:Title' => 'User interface',
'UI:Preferences:General:Title' => 'General',
@@ -54,5 +55,5 @@ Dict::Add('EN US', 'English', 'English', array(
'UI:Preferences:ChooseAPlaceholder:Success:Message' => 'Your placeholder image has been successfully updated',
'UI:Preferences:Notifications' => 'Notifications',
'UI:Preferences:Notifications+' => 'Configure the notifications you want to receive <a href="%1$s">on this page</a>.',
));
]);

View File

@@ -1,11 +1,12 @@
<?php
/**
* @copyright Copyright (C) 2024 Combodo SAS
* @license https://opensource.org/licenses/AGPL-3.0
*/
// Navigation menu
Dict::Add('EN GB', 'British English', 'British English', array(
Dict::Add('EN GB', 'British English', 'British English', [
'UI:Preferences:Title' => 'Preferences',
'UI:Preferences:UserInterface:Title' => 'User interface',
'UI:Preferences:General:Title' => 'General',
@@ -41,5 +42,5 @@ Dict::Add('EN GB', 'British English', 'British English', array(
'UI:Preferences:ChooseAPlaceholder:Success:Message' => 'Your placeholder image has been successfully updated',
'UI:Preferences:Notifications' => 'Notifications',
'UI:Preferences:Notifications+' => 'Configure the notifications you want to receive <a href="%1$s">on this page</a>.',
));
]);

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:Preferences:Title' => 'Preferencias',
'UI:Preferences:UserInterface:Title' => 'Interfaz de Usuario',
'UI:Preferences:General:Title' => 'General',
@@ -43,5 +44,5 @@ Dict::Add('ES CR', 'Spanish', 'Español, Castellano', array(
'UI:Preferences:ChooseAPlaceholder:Success:Message' => 'Imagen de marcador de posición se ha actualizado correctamente.',
'UI:Preferences:Notifications' => 'Notificaciones',
'UI:Preferences:Notifications+' => 'Configure las notificaciones que desea recibir <a href="%1$s">en esta página</a>.',
));
]);

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:Preferences:Title' => 'Préférences',
'UI:Preferences:UserInterface:Title' => 'Interface utilisateur',
'UI:Preferences:General:Title' => 'Général',
@@ -45,5 +46,5 @@ Dict::Add('FR FR', 'French', 'Français', array(
'UI:Preferences:ChooseAPlaceholder:Success:Message' => 'Votre avatar a été mis à jour avec succès',
'UI:Preferences:Notifications' => 'Notifications',
'UI:Preferences:Notifications+' => 'Désabonnez-vous des notifications qui vous importunent (emails et news) en suivant <a href="%1$s">ce lien</a>.',
));
]);

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:Preferences:Title' => 'Beállítások',
'UI:Preferences:UserInterface:Title' => 'Felhasználói felület',
'UI:Preferences:General:Title' => 'Általános beállítások',
@@ -45,5 +46,5 @@ Dict::Add('HU HU', 'Hungarian', 'Magyar', array(
'UI:Preferences:ChooseAPlaceholder:Success:Message' => 'Your placeholder image has been successfully updated~~',
'UI:Preferences:Notifications' => 'Notifications~~',
'UI:Preferences:Notifications+' => 'Configure the notifications you want to receive <a href="%1$s">on this page</a>.~~',
));
]);

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:Preferences:Title' => 'Preferenze',
'UI:Preferences:UserInterface:Title' => 'Interfaccia utente',
'UI:Preferences:General:Title' => 'Generale',
@@ -45,5 +46,5 @@ Dict::Add('IT IT', 'Italian', 'Italiano', array(
'UI:Preferences:ChooseAPlaceholder:Success:Message' => 'Your placeholder image has been successfully updated~~',
'UI:Preferences:Notifications' => 'Notifications~~',
'UI:Preferences:Notifications+' => 'Configure the notifications you want to receive <a href="%1$s">on this page</a>.~~',
));
]);

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:Preferences:Title' => 'Preferences~~',
'UI:Preferences:UserInterface:Title' => 'User interface~~',
'UI:Preferences:General:Title' => 'General~~',
@@ -45,5 +46,5 @@ Dict::Add('JA JP', 'Japanese', '日本語', array(
'UI:Preferences:ChooseAPlaceholder:Success:Message' => 'Your placeholder image has been successfully updated~~',
'UI:Preferences:Notifications' => 'Notifications~~',
'UI:Preferences:Notifications+' => 'Configure the notifications you want to receive <a href="%1$s">on this page</a>.~~',
));
]);

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:Preferences:Title' => 'Voorkeuren',
'UI:Preferences:UserInterface:Title' => 'Gebruikersinterface',
'UI:Preferences:General:Title' => 'Algemeen',
@@ -45,5 +46,5 @@ Dict::Add('NL NL', 'Dutch', 'Nederlands', array(
'UI:Preferences:ChooseAPlaceholder:Success:Message' => 'Your placeholder image has been successfully updated~~',
'UI:Preferences:Notifications' => 'Notifications~~',
'UI:Preferences:Notifications+' => 'Configure the notifications you want to receive <a href="%1$s">on this page</a>.~~',
));
]);

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:Preferences:Title' => 'Preferencje',
'UI:Preferences:UserInterface:Title' => 'Interfejs użytkownika',
'UI:Preferences:General:Title' => 'Ogólne',
@@ -45,5 +46,5 @@ Dict::Add('PL PL', 'Polish', 'Polski', array(
'UI:Preferences:ChooseAPlaceholder:Success:Message' => 'Twój obraz zastępczy został pomyślnie zaktualizowany',
'UI:Preferences:Notifications' => 'Powiadomienia',
'UI:Preferences:Notifications+' => 'Skonfiguruj powiadomienia, które chcesz otrzymywać <a href="%1$s">na tej stronie</a>.',
));
]);

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:Preferences:Title' => 'Preferências',
'UI:Preferences:UserInterface:Title' => 'Interface de usuário',
'UI:Preferences:General:Title' => 'Geral',
@@ -45,5 +46,5 @@ Dict::Add('PT BR', 'Brazilian', 'Brazilian', array(
'UI:Preferences:ChooseAPlaceholder:Success:Message' => 'Your placeholder image has been successfully updated~~',
'UI:Preferences:Notifications' => 'Notifications~~',
'UI:Preferences:Notifications+' => 'Configure the notifications you want to receive <a href="%1$s">on this page</a>.~~',
));
]);

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:Preferences:Title' => 'Предпочтения',
'UI:Preferences:UserInterface:Title' => 'Пользовательский интерфейс',
'UI:Preferences:General:Title' => 'Основные',
@@ -45,5 +46,5 @@ Dict::Add('RU RU', 'Russian', 'Русский', array(
'UI:Preferences:ChooseAPlaceholder:Success:Message' => 'Your placeholder image has been successfully updated~~',
'UI:Preferences:Notifications' => 'Notifications~~',
'UI:Preferences:Notifications+' => 'Configure the notifications you want to receive <a href="%1$s">on this page</a>.~~',
));
]);

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:Preferences:Title' => 'Preferences~~',
'UI:Preferences:UserInterface:Title' => 'User interface~~',
'UI:Preferences:General:Title' => 'General~~',
@@ -45,5 +46,5 @@ Dict::Add('SK SK', 'Slovak', 'Slovenčina', array(
'UI:Preferences:ChooseAPlaceholder:Success:Message' => 'Your placeholder image has been successfully updated~~',
'UI:Preferences:Notifications' => 'Notifications~~',
'UI:Preferences:Notifications+' => 'Configure the notifications you want to receive <a href="%1$s">on this page</a>.~~',
));
]);

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:Preferences:Title' => 'Preferences~~',
'UI:Preferences:UserInterface:Title' => 'User interface~~',
'UI:Preferences:General:Title' => 'General~~',
@@ -45,5 +46,5 @@ Dict::Add('TR TR', 'Turkish', 'Türkçe', array(
'UI:Preferences:ChooseAPlaceholder:Success:Message' => 'Your placeholder image has been successfully updated~~',
'UI:Preferences:Notifications' => 'Notifications~~',
'UI:Preferences:Notifications+' => 'Configure the notifications you want to receive <a href="%1$s">on this page</a>.~~',
));
]);

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
*/
// Navigation menu
Dict::Add('ZH CN', 'Chinese', '简体中文', array(
Dict::Add('ZH CN', 'Chinese', '简体中文', [
'UI:Preferences:Title' => '首选项',
'UI:Preferences:UserInterface:Title' => '用户界面',
'UI:Preferences:General:Title' => '概况',
@@ -53,5 +54,5 @@ Dict::Add('ZH CN', 'Chinese', '简体中文', array(
'UI:Preferences:ChooseAPlaceholder:Success:Message' => 'Your placeholder image has been successfully updated~~',
'UI:Preferences:Notifications' => 'Notifications~~',
'UI:Preferences:Notifications+' => 'Configure the notifications you want to receive <a href="%1$s">on this page</a>.~~',
));
]);