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', [
'bkp-backup-running' => 'Probíhá záloha. Vyčkejte prosím...',
'bkp-restore-running' => 'Probíhá obnova ze zálohy. Vyčkejte prosím...',
'Menu:BackupStatus' => 'Plánované zálohování',
@@ -46,4 +47,4 @@ Dict::Add('CS CZ', 'Czech', 'Čeština', array(
'bkp-wait-backup' => 'Vyčkejte prosím na dokončení zálohy...',
'bkp-wait-restore' => 'Vyčkejte prosím na dokončení obnovy',
'bkp-success-restore' => 'Obnova úspěšně dokončena.',
));
]);

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', [
'bkp-backup-running' => 'A backup is running. Please wait...~~',
'bkp-restore-running' => 'A restore is running. Please wait...~~',
'Menu:BackupStatus' => 'Backups~~',
@@ -44,4 +45,4 @@ Dict::Add('DA DA', 'Danish', 'Dansk', array(
'bkp-wait-backup' => 'Please wait for the backup to complete...~~',
'bkp-wait-restore' => 'Please wait for the restore to complete...~~',
'bkp-success-restore' => 'Restore successfully completed.~~',
));
]);

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', [
'bkp-backup-running' => 'Backup wird durchgeführt. Bitte warten ...',
'bkp-restore-running' => 'Wiederherstellung läuft. Bitte warten ...',
'Menu:BackupStatus' => 'Geplante Backups',
@@ -45,4 +46,4 @@ Dict::Add('DE DE', 'German', 'Deutsch', array(
'bkp-wait-backup' => 'Bitte warten, bis das Backup abgeschlossen ist ...',
'bkp-wait-restore' => 'Bitte warten, bis die Wiederherstellung abgeschlossen ist ...',
'bkp-success-restore' => 'Wiederherstellung erfolgreich.',
));
]);

View File

@@ -1,4 +1,5 @@
<?php
/**
* Localized data
*
@@ -21,7 +22,7 @@
* along with iTop. If not, see <http://www.gnu.org/licenses/>
*/
Dict::Add('EN US', 'English', 'English', array(
Dict::Add('EN US', 'English', 'English', [
'bkp-backup-running' => 'A backup is running. Please wait...',
'bkp-restore-running' => 'A restore is running. Please wait...',
@@ -58,4 +59,4 @@ Dict::Add('EN US', 'English', 'English', array(
'bkp-wait-backup' => 'Please wait for the backup to complete...',
'bkp-wait-restore' => 'Please wait for the restore to complete...',
'bkp-success-restore' => 'Restore successfully completed.',
));
]);

View File

@@ -1,4 +1,5 @@
<?php
/**
* Localized data
*
@@ -21,7 +22,7 @@
* along with iTop. If not, see <http://www.gnu.org/licenses/>
*/
Dict::Add('EN GB', 'British English', 'British English', array(
Dict::Add('EN GB', 'British English', 'British English', [
'bkp-backup-running' => 'A backup is running. Please wait...',
'bkp-restore-running' => 'A restore is running. Please wait...',
@@ -58,4 +59,4 @@ Dict::Add('EN GB', 'British English', 'British English', array(
'bkp-wait-backup' => 'Please wait for the backup to complete...',
'bkp-wait-restore' => 'Please wait for the restore to complete...',
'bkp-success-restore' => 'Restore successfully completed.',
));
]);

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', [
'bkp-backup-running' => 'Un respaldo está en ejecuión. Por favor espere...',
'bkp-restore-running' => 'Una restauración está en ejecución. Por favor espere...',
'Menu:BackupStatus' => 'Respaldos programados',
@@ -42,4 +43,4 @@ Dict::Add('ES CR', 'Spanish', 'Español, Castellano', array(
'bkp-wait-backup' => 'Por favor espera a que se complete el respaldo...',
'bkp-wait-restore' => 'Por favor espera a que se complete la restauración...',
'bkp-success-restore' => 'Restauración completada exitosamente.',
));
]);

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', [
'bkp-backup-running' => 'Une sauvegarde est en cours. Veuillez patienter...',
'bkp-restore-running' => 'Une restauration des données est en cours. Veuillez patienter...',
'Menu:BackupStatus' => 'Sauvegardes',
@@ -44,4 +45,4 @@ Dict::Add('FR FR', 'French', 'Français', array(
'bkp-wait-backup' => 'Sauvegarde en cours...',
'bkp-wait-restore' => 'Restauration des données en cours...',
'bkp-success-restore' => 'Restauration des données terminée.',
));
]);

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', [
'bkp-backup-running' => 'A mentés fut. Kérem várjon...',
'bkp-restore-running' => 'A visszaállítás fut. Kérem várjon...',
'Menu:BackupStatus' => 'Biztonsági mentés',
@@ -44,4 +45,4 @@ Dict::Add('HU HU', 'Hungarian', 'Magyar', array(
'bkp-wait-backup' => 'Várjon a mentés befejezéséig...',
'bkp-wait-restore' => 'Várjon a visszaállítás befejezéséig...',
'bkp-success-restore' => 'A visszaállítás sikerült.',
));
]);

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', [
'bkp-backup-running' => 'Un backup è in corso. Attendere prego...',
'bkp-restore-running' => 'Un ripristino è in corso. Attendere prego...',
'Menu:BackupStatus' => 'Backup programmati',
@@ -44,4 +45,4 @@ Dict::Add('IT IT', 'Italian', 'Italiano', array(
'bkp-wait-backup' => 'Attendere il completamento del backup...',
'bkp-wait-restore' => 'Attendere il completamento del ripristino...',
'bkp-success-restore' => 'Ripristino completato con successo.',
));
]);

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', '日本語', [
'bkp-backup-running' => 'A backup is running. Please wait...~~',
'bkp-restore-running' => 'A restore is running. Please wait...~~',
'Menu:BackupStatus' => 'Backups~~',
@@ -44,4 +45,4 @@ Dict::Add('JA JP', 'Japanese', '日本語', array(
'bkp-wait-backup' => 'Please wait for the backup to complete...~~',
'bkp-wait-restore' => 'Please wait for the restore to complete...~~',
'bkp-success-restore' => 'Restore successfully completed.~~',
));
]);

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 Thomas Casteleyn <thomas.casteleyn@super-visions.com>
* @author Jeffrey Bostoen <info@jeffreybostoen.be> (2018 - 2022)
*/
Dict::Add('NL NL', 'Dutch', 'Nederlands', array(
Dict::Add('NL NL', 'Dutch', 'Nederlands', [
'bkp-backup-running' => 'Er wordt een backup gemaakt. Even geduld...',
'bkp-restore-running' => 'Er wordt een herstel uitgevoerd. Even geduld...',
'Menu:BackupStatus' => 'Geplande backups',
@@ -45,4 +46,4 @@ Dict::Add('NL NL', 'Dutch', 'Nederlands', array(
'bkp-wait-backup' => 'Wacht tot de backup gemaakt is...',
'bkp-wait-restore' => 'Wacht tot de backup hersteld is...',
'bkp-success-restore' => 'Herstel is succesvol voltooid.',
));
]);

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', [
'bkp-backup-running' => 'Kopia zapasowa jest uruchomiona. Proszę czekać...',
'bkp-restore-running' => 'Trwa przywracanie. Proszę czekać...',
'Menu:BackupStatus' => 'Kopie zapasowe',
@@ -44,4 +45,4 @@ Dict::Add('PL PL', 'Polish', 'Polski', array(
'bkp-wait-backup' => 'Poczekaj na zakończenie tworzenia kopii zapasowej...',
'bkp-wait-restore' => 'Poczekaj na zakończenie przywracania...',
'bkp-success-restore' => 'Przywracanie zakończone pomyślnie.',
));
]);

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', [
'bkp-backup-running' => 'Um backup está sendo executado. Por favor, espere...',
'bkp-restore-running' => 'Uma restauração está sendo executada. Por favor, espere...',
'Menu:BackupStatus' => 'Backups agendados',
@@ -44,4 +45,4 @@ Dict::Add('PT BR', 'Brazilian', 'Brazilian', array(
'bkp-wait-backup' => 'Por favor, aguarde a conclusão do backup...',
'bkp-wait-restore' => 'Por favor, aguarde a conclusão da restauração...',
'bkp-success-restore' => 'Restauração concluída com sucesso',
));
]);

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', 'Русский', [
'bkp-backup-running' => 'Выполняется резервное копирование. Пожалуйста, подождите...',
'bkp-restore-running' => 'Выполняется восстановление из резервной копии. Пожалуйста, подождите...',
'Menu:BackupStatus' => 'Резервное копирование',
@@ -45,4 +46,4 @@ Dict::Add('RU RU', 'Russian', 'Русский', array(
'bkp-wait-backup' => 'Пожалуйста, дождитесь завершения резервного копирования...',
'bkp-wait-restore' => 'Пожалуйста, дождитесь завершения восстановления...',
'bkp-success-restore' => 'Восстановление успешно завершено.',
));
]);

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', [
'bkp-backup-running' => 'A backup is running. Please wait...~~',
'bkp-restore-running' => 'A restore is running. Please wait...~~',
'Menu:BackupStatus' => 'Backups~~',
@@ -44,4 +45,4 @@ Dict::Add('SK SK', 'Slovak', 'Slovenčina', array(
'bkp-wait-backup' => 'Please wait for the backup to complete...~~',
'bkp-wait-restore' => 'Please wait for the restore to complete...~~',
'bkp-success-restore' => 'Restore successfully completed.~~',
));
]);

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', [
'bkp-backup-running' => 'A backup is running. Please wait...~~',
'bkp-restore-running' => 'A restore is running. Please wait...~~',
'Menu:BackupStatus' => 'Backups~~',
@@ -44,4 +45,4 @@ Dict::Add('TR TR', 'Turkish', 'Türkçe', array(
'bkp-wait-backup' => 'Please wait for the backup to complete...~~',
'bkp-wait-restore' => 'Please wait for the restore to complete...~~',
'bkp-success-restore' => 'Restore successfully completed.~~',
));
]);

View File

@@ -1,4 +1,5 @@
<?php
/**
* Localized data
*
@@ -20,7 +21,7 @@
* You should have received a copy of the GNU Affero General Public License
* along with iTop. If not, see <http://www.gnu.org/licenses/>
*/
Dict::Add('ZH CN', 'Chinese', '简体中文', array(
Dict::Add('ZH CN', 'Chinese', '简体中文', [
'bkp-backup-running' => '备份正在进行, 请稍候...',
'bkp-restore-running' => '还原正在进行, 请稍等...',
'Menu:BackupStatus' => '定时备份',
@@ -55,4 +56,4 @@ Dict::Add('ZH CN', 'Chinese', '简体中文', array(
'bkp-wait-backup' => '请等待备份完成...',
'bkp-wait-restore' => '请等待还原完成...',
'bkp-success-restore' => '还原成功.',
));
]);