N°7459 optimize memory consumption during compilation with php 8.1+ (#650)

N°7459 optimize memory consumption during compilation with PHP 8.1+
This commit is contained in:
jf-cbd
2024-06-05 11:03:43 +02:00
committed by GitHub
parent 6f42b4aafc
commit ffcc8ff32a
58 changed files with 6277 additions and 10329 deletions

View File

@@ -1,74 +1,44 @@
<?php
/**
* Copyright (C) 2013-2024 Combodo SAS
* Localized data
*
* This file is part of iTop.
*
* iTop is free software; you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* iTop is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Affero General Public License for more details.
*
* You should have received a copy of the GNU Affero General Public License
* @copyright Copyright (C) 2010-2024 Combodo SAS
* @license https://opensource.org/licenses/AGPL-3.0
*
*/
Dict::Add('SK SK', 'Slovak', 'Slovenčina', array(
// Placeholders
// $%1s : host object class name
// $%2s : host object friendlyname
// $%3s : current tab name
// $%4s : remote object class name
// $%5s : remote object friendlyname
'UI:Links:Object:New:Modal:Title' => 'Create an object~~',
// Create
'UI:Links:Create:Button' => 'Create~~',
'UI:Links:Create:Button+' => 'Create a %4$s~~',
'UI:Links:Create:Modal:Title' => 'Create a %4$s in %2$s~~',
// Add
/**
*
*/
Dict::Add('SK SK', 'Slovak', 'Slovenčina', [
'UI:Links:Add:Button' => 'Add~~',
'UI:Links:Add:Button+' => 'Add a %4$s~~',
'UI:Links:Add:Modal:Title' => 'Add a %4$s to %2$s~~',
// Modify link
'UI:Links:ModifyLink:Button' => 'Modify~~',
'UI:Links:ModifyLink:Button+' => 'Modify this link~~',
'UI:Links:ModifyLink:Modal:Title' => 'Modify the link between %2$s and %5$s~~',
// Modify object
'UI:Links:ModifyObject:Button' => 'Modify~~',
'UI:Links:ModifyObject:Button+' => 'Modify this object~~',
'UI:Links:ModifyObject:Modal:Title' => '%5$s~~',
// Remove
'UI:Links:Remove:Button' => 'Remove~~',
'UI:Links:Remove:Button+' => 'Remove this %4$s~~',
'UI:Links:Remove:Modal:Title' => 'Remove a %4$s from its %1$s~~',
'UI:Links:Remove:Modal:Message' => 'Do you really want to remove %5$s from %2$s?~~',
// Delete
'UI:Links:Delete:Button' => 'Delete~~',
'UI:Links:Delete:Button+' => 'Delete this %4$s~~',
'UI:Links:Delete:Modal:Title' => 'Delete a %4$s~~',
'UI:Links:Delete:Modal:Message' => 'Do you really want to delete %5$s?~~',
// Bulk
'UI:Links:Bulk:LinkWillBeCreatedForAllObjects' => 'Add to all objects~~',
'UI:Links:Bulk:LinkWillBeDeletedFromAllObjects' => 'Remove from all objects~~',
'UI:Links:Bulk:LinkWillBeCreatedFor1Object' => 'Add to one object~~',
'UI:Links:Bulk:LinkWillBeDeletedFrom1Object' => 'Remove from one object~~',
'UI:Links:Bulk:LinkWillBeCreatedForXObjects' => 'Add {count} objects~~',
'UI:Links:Bulk:LinkWillBeDeletedFromXObjects' => 'Remove {count} objects~~',
'UI:Links:Bulk:LinkExistForAllObjects' => 'All objets are already linked~~',
'UI:Links:Bulk:LinkExistForOneObject' => 'One object is linked~~',
'UI:Links:Bulk:LinkExistForXObjects' => '{count} objects are linked~~',
// New item
'UI:Links:Bulk:LinkWillBeCreatedFor1Object' => 'Add to one object~~',
'UI:Links:Bulk:LinkWillBeCreatedForAllObjects' => 'Add to all objects~~',
'UI:Links:Bulk:LinkWillBeCreatedForXObjects' => 'Add {count} objects~~',
'UI:Links:Bulk:LinkWillBeDeletedFrom1Object' => 'Remove from one object~~',
'UI:Links:Bulk:LinkWillBeDeletedFromAllObjects' => 'Remove from all objects~~',
'UI:Links:Bulk:LinkWillBeDeletedFromXObjects' => 'Remove {count} objects~~',
'UI:Links:Create:Button' => 'Create~~',
'UI:Links:Create:Button+' => 'Create a %4$s~~',
'UI:Links:Create:Modal:Title' => 'Create a %4$s in %2$s~~',
'UI:Links:Delete:Button' => 'Delete~~',
'UI:Links:Delete:Button+' => 'Delete this %4$s~~',
'UI:Links:Delete:Modal:Message' => 'Do you really want to delete %5$s?~~',
'UI:Links:Delete:Modal:Title' => 'Delete a %4$s~~',
'UI:Links:ModifyLink:Button' => 'Modify~~',
'UI:Links:ModifyLink:Button+' => 'Modify this link~~',
'UI:Links:ModifyLink:Modal:Title' => 'Modify the link between %2$s and %5$s~~',
'UI:Links:ModifyObject:Button' => 'Modify~~',
'UI:Links:ModifyObject:Button+' => 'Modify this object~~',
'UI:Links:ModifyObject:Modal:Title' => '%5$s~~',
'UI:Links:NewItem' => 'New item~~',
));
'UI:Links:Object:New:Modal:Title' => 'Create an object~~',
'UI:Links:Remove:Button' => 'Remove~~',
'UI:Links:Remove:Button+' => 'Remove this %4$s~~',
'UI:Links:Remove:Modal:Message' => 'Do you really want to remove %5$s from %2$s?~~',
'UI:Links:Remove:Modal:Title' => 'Remove a %4$s from its %1$s~~',
]);