From c5a33a981c4656269151e5d88199e93ce38e47b5 Mon Sep 17 00:00:00 2001 From: Stanislas Date: Thu, 27 Feb 2020 10:06:29 +0100 Subject: [PATCH 1/9] fix right for translations --- front/labeltranslation.form.php | 4 +++- inc/labeltranslation.class.php | 8 ++++++++ 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/front/labeltranslation.form.php b/front/labeltranslation.form.php index be622c54..a6e8aa9f 100644 --- a/front/labeltranslation.form.php +++ b/front/labeltranslation.form.php @@ -28,12 +28,14 @@ include ('../../../inc/includes.php'); - $translation = new PluginFieldsLabelTranslation(); if (isset($_POST['add'])) { $translation->add($_POST); } else if (isset($_POST['update'])) { $translation->update($_POST); + +} else if (isset($_POST['purge'])) { + $translation->delete($_POST, true); } Html::back(); diff --git a/inc/labeltranslation.class.php b/inc/labeltranslation.class.php index d7ab7497..ffd496e7 100644 --- a/inc/labeltranslation.class.php +++ b/inc/labeltranslation.class.php @@ -3,6 +3,14 @@ class PluginFieldsLabelTranslation extends CommonDBTM { static $rightname = 'config'; + static function canCreate() { + return self::canUpdate(); + } + + static function canPurge() { + return self::canUpdate(); + } + /** * Install or update fields * From b87e405f09c6138f0406493c91ccdb5111b24a81 Mon Sep 17 00:00:00 2001 From: cconard96 Date: Thu, 24 Sep 2020 18:43:09 -0400 Subject: [PATCH 2/9] Allow fields on DCIM items and a few other types closes #383 closes #389 closes #392 closes #406 closes #409 --- inc/container.class.php | 27 ++++++++++++++++++--------- 1 file changed, 18 insertions(+), 9 deletions(-) diff --git a/inc/container.class.php b/inc/container.class.php index 4be432da..0dedb5c7 100644 --- a/inc/container.class.php +++ b/inc/container.class.php @@ -748,15 +748,19 @@ static function getItemtypes($is_domtab) { $tabs = []; $tabs[__('Assets')] = [ - 'Computer' => Computer::getTypeName(2), - 'Monitor' => Monitor::getTypeName(2), - 'Software' => Software::getTypeName(2), - 'NetworkEquipment' => NetworkEquipment::getTypeName(2), - 'Peripheral' => Peripheral::getTypeName(2), - 'Printer' => Printer::getTypeName(2), - 'CartridgeItem' => CartridgeItem::getTypeName(2), - 'ConsumableItem' => ConsumableItem::getTypeName(2), - 'Phone' => Phone::getTypeName(2) + 'Computer' => Computer::getTypeName(2), + 'Monitor' => Monitor::getTypeName(2), + 'Software' => Software::getTypeName(2), + 'NetworkEquipment' => NetworkEquipment::getTypeName(2), + 'Peripheral' => Peripheral::getTypeName(2), + 'Printer' => Printer::getTypeName(2), + 'CartridgeItem' => CartridgeItem::getTypeName(2), + 'ConsumableItem' => ConsumableItem::getTypeName(2), + 'Phone' => Phone::getTypeName(2), + 'Rack' => Rack::getTypeName(2), + 'Enclosure' => Enclosure::getTypeName(2), + 'PDU' => PDU::getTypeName(2), + 'PassiveDCEquipment' => PassiveDCEquipment::getTypeName(2), ]; $tabs[__('Assistance')] = [ @@ -774,6 +778,11 @@ static function getItemtypes($is_domtab) { 'Contract' => Contract::getTypeName(2), 'Document' => Document::getTypeName(2), 'Line' => Line::getTypeName(2), + 'Certificate' => Certificate::getTypeName(2), + 'Datacenter' => Datacenter::getTypeName(2), + 'Cluster' => Cluster::getTypeName(2), + 'Domain' => Domain::getTypeName(2), + 'Appliance' => Appliance::getTypeName(2), ]; $tabs[__('Tools')] = [ From e9ffe9cac03c023f57f5f5770219a7ef6a5e078a Mon Sep 17 00:00:00 2001 From: Stanislas Date: Mon, 26 Oct 2020 15:36:04 +0100 Subject: [PATCH 3/9] Fusion inventory compatibility (#377) * feat(core): add compatibility with fusioninventory Signed-off-by: Stanislas --- inc/inventory.class.php | 94 +++++++++++++++++++++++++++++++++++++++++ setup.php | 5 +++ 2 files changed, 99 insertions(+) create mode 100644 inc/inventory.class.php diff --git a/inc/inventory.class.php b/inc/inventory.class.php new file mode 100644 index 00000000..65db27b8 --- /dev/null +++ b/inc/inventory.class.php @@ -0,0 +1,94 @@ + $inventories) { + + if (in_array($itemtype, $availaibleItemType)) { + //retrive items id switch itemtype + switch ($itemtype) { + case Computer::getType(): + $items_id = $params['computers_id']; + break; + + case NetworkEquipment::getType(): + $items_id = $params['networkequipments_id']; + break; + + case Printer::getType(): + $items_id = $params['printers_id']; + break; + } + + //load inventory from DB because + //FI not update XML file if computer is not update + if ($itemtype == Computer::getType()) { + $db_info = new PluginFusioninventoryInventoryComputerComputer(); + if ($db_info->getFromDBByCrit(['computers_id' => $items_id])) { + + $arrayinventory = unserialize(gzuncompress($db_info->fields['serialized_inventory'])); + if (isset($arrayinventory['custom'])) { + self::updateFields($arrayinventory['custom']['container'], $itemtype, $items_id); + } + } + //Load XML file because FI always update XML file and don't store inventory into DB + } else { + $file = self::loadXMLFile($itemtype, $items_id); + if ($file !== false) { + $arrayinventory = PluginFusioninventoryFormatconvert::XMLtoArray($file); + if (isset($arrayinventory['CUSTOM'])) { + self::updateFields($arrayinventory['CUSTOM']['CONTAINER'], $itemtype, $items_id); + } + } + } + } + } + } + } + + static function updateFields($containersData, $itemtype, $items_id) { + if (isset($containersData['ID'])) { + // $containersData contains only one element, encapsulate it into an array + $containersData = [$containersData]; + } + foreach ($containersData as $key => $containerData) { + $container = new PluginFieldsContainer(); + $container->getFromDB($containerData['ID']); + $data = []; + $data["items_id"] = $items_id; + $data["itemtype"] = $itemtype; + $data["plugin_fields_containers_id"] = $containerData['ID']; + foreach ($containerData['FIELDS'] as $key => $value) { + $data[strtolower($key)] = $value; + } + $container->updateFieldsValues($data, $itemtype, false); + } + } + + static function loadXMLFile($itemtype, $items_id) { + + $pxml = false; + $folder = substr($items_id, 0, -1); + if (empty($folder)) { + $folder = '0'; + } + + //Check if the file exists with the .xml extension (new format) + $file = PLUGIN_FUSIONINVENTORY_XML_DIR . strtolower($itemtype) . "/" . $folder . "/" . $items_id; + if (file_exists($file . '.xml')) { + $file .= '.xml'; + } else if (!file_exists($file)) { + return false; + } + $pxml = simplexml_load_file($file, 'SimpleXMLElement', LIBXML_NOCDATA); + return $pxml; + } + +} diff --git a/setup.php b/setup.php index f6d42b74..715ccc05 100644 --- a/setup.php +++ b/setup.php @@ -98,6 +98,11 @@ function plugin_init_fields() { } } + if ($plugin->isActivated('fusioninventory')) { + $PLUGIN_HOOKS['fusioninventory_inventory']['fields'] + = ['PluginFieldsInventory', 'updateInventory']; + } + // complete rule engine $PLUGIN_HOOKS['use_rules']['fields'] = ['PluginFusioninventoryTaskpostactionRule']; $PLUGIN_HOOKS['rule_matched']['fields'] = 'plugin_fields_rule_matched'; From c36b47684625103ba33394041ab251dd52757798 Mon Sep 17 00:00:00 2001 From: Stanislas Date: Thu, 9 Jan 2020 07:55:37 +0100 Subject: [PATCH 4/9] feat(core): export field conf to yaml file Signed-off-by: Stanislas --- .travis.yml | 1 - composer.json | 3 +- composer.lock | 394 +++++++++++++-------------------------- front/export_to_yaml.php | 20 ++ inc/container.class.php | 7 +- setup.php | 112 +++++++++++ 6 files changed, 268 insertions(+), 269 deletions(-) create mode 100644 front/export_to_yaml.php diff --git a/.travis.yml b/.travis.yml index c5435a5b..7cc0a2bf 100644 --- a/.travis.yml +++ b/.travis.yml @@ -5,7 +5,6 @@ php: services: - mysql - env: global: - DB=mysql diff --git a/composer.json b/composer.json index 7f281522..e6dc0ce2 100644 --- a/composer.json +++ b/composer.json @@ -1,6 +1,7 @@ { "require": { - "php": "^7.2" + "php": "^7.2", + "symfony/yaml": "^4.4" }, "require-dev": { "atoum/atoum": "^3.1", diff --git a/composer.lock b/composer.lock index 3531ded2..fb67b42b 100644 --- a/composer.lock +++ b/composer.lock @@ -4,8 +4,130 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "60eb7d1cf0f21f4b53c8aaeea526703a", - "packages": [], + "content-hash": "8d2c1b3a5503cf3cfd1737c73281e2db", + "packages": [ + { + "name": "symfony/polyfill-ctype", + "version": "v1.17.1", + "source": { + "type": "git", + "url": "https://github.com/symfony/polyfill-ctype.git", + "reference": "2edd75b8b35d62fd3eeabba73b26b8f1f60ce13d" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/polyfill-ctype/zipball/2edd75b8b35d62fd3eeabba73b26b8f1f60ce13d", + "reference": "2edd75b8b35d62fd3eeabba73b26b8f1f60ce13d", + "shasum": "" + }, + "require": { + "php": ">=5.3.3" + }, + "suggest": { + "ext-ctype": "For best performance" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "1.17-dev" + }, + "thanks": { + "name": "symfony/polyfill", + "url": "https://github.com/symfony/polyfill" + } + }, + "autoload": { + "psr-4": { + "Symfony\\Polyfill\\Ctype\\": "" + }, + "files": [ + "bootstrap.php" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Gert de Pagter", + "email": "BackEndTea@gmail.com" + }, + { + "name": "Symfony Community", + "homepage": "https://symfony.com/contributors" + } + ], + "description": "Symfony polyfill for ctype functions", + "homepage": "https://symfony.com", + "keywords": [ + "compatibility", + "ctype", + "polyfill", + "portable" + ], + "time": "2020-06-06T08:46:27+00:00" + }, + { + "name": "symfony/yaml", + "version": "v4.4.15", + "source": { + "type": "git", + "url": "https://github.com/symfony/yaml.git", + "reference": "c7885964b1eceb70b0981556d0a9b01d2d97c8d1" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/yaml/zipball/c7885964b1eceb70b0981556d0a9b01d2d97c8d1", + "reference": "c7885964b1eceb70b0981556d0a9b01d2d97c8d1", + "shasum": "" + }, + "require": { + "php": ">=7.1.3", + "symfony/polyfill-ctype": "~1.8" + }, + "conflict": { + "symfony/console": "<3.4" + }, + "require-dev": { + "symfony/console": "^3.4|^4.0|^5.0" + }, + "suggest": { + "symfony/console": "For validating YAML files using the lint command" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "4.4-dev" + } + }, + "autoload": { + "psr-4": { + "Symfony\\Component\\Yaml\\": "" + }, + "exclude-from-classmap": [ + "/Tests/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Fabien Potencier", + "email": "fabien@symfony.com" + }, + { + "name": "Symfony Community", + "homepage": "https://symfony.com/contributors" + } + ], + "description": "Symfony Yaml Component", + "homepage": "https://symfony.com", + "time": "2020-09-27T03:36:23+00:00" + } + ], "packages-dev": [ { "name": "atoum/atoum", @@ -547,6 +669,7 @@ ], "description": "Promoting the interoperability of container objects (DIC, SL, etc.)", "homepage": "https://github.com/container-interop/container-interop", + "abandoned": "psr/container", "time": "2017-02-14T19:40:03+00:00" }, { @@ -856,7 +979,7 @@ "time": "2017-05-10T09:20:27+00:00" }, { - "name": "natxet/CssMin", + "name": "natxet/cssmin", "version": "v3.0.6", "source": { "type": "git", @@ -942,6 +1065,7 @@ "javascript", "minification" ], + "abandoned": true, "time": "2015-03-25T10:11:08+00:00" }, { @@ -1166,20 +1290,6 @@ ], "description": "Symfony Console Component", "homepage": "https://symfony.com", - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], "time": "2020-05-30T20:06:45+00:00" }, { @@ -1250,20 +1360,6 @@ ], "description": "Symfony EventDispatcher Component", "homepage": "https://symfony.com", - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], "time": "2020-05-20T08:37:50+00:00" }, { @@ -1372,20 +1468,6 @@ ], "description": "Symfony Filesystem Component", "homepage": "https://symfony.com", - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], "time": "2020-05-30T18:50:54+00:00" }, { @@ -1435,98 +1517,8 @@ ], "description": "Symfony Finder Component", "homepage": "https://symfony.com", - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], "time": "2020-03-27T16:54:36+00:00" }, - { - "name": "symfony/polyfill-ctype", - "version": "v1.17.1", - "source": { - "type": "git", - "url": "https://github.com/symfony/polyfill-ctype.git", - "reference": "2edd75b8b35d62fd3eeabba73b26b8f1f60ce13d" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-ctype/zipball/2edd75b8b35d62fd3eeabba73b26b8f1f60ce13d", - "reference": "2edd75b8b35d62fd3eeabba73b26b8f1f60ce13d", - "shasum": "" - }, - "require": { - "php": ">=5.3.3" - }, - "suggest": { - "ext-ctype": "For best performance" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "1.17-dev" - }, - "thanks": { - "name": "symfony/polyfill", - "url": "https://github.com/symfony/polyfill" - } - }, - "autoload": { - "psr-4": { - "Symfony\\Polyfill\\Ctype\\": "" - }, - "files": [ - "bootstrap.php" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Gert de Pagter", - "email": "BackEndTea@gmail.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Symfony polyfill for ctype functions", - "homepage": "https://symfony.com", - "keywords": [ - "compatibility", - "ctype", - "polyfill", - "portable" - ], - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2020-06-06T08:46:27+00:00" - }, { "name": "symfony/polyfill-mbstring", "version": "v1.17.1", @@ -1588,20 +1580,6 @@ "portable", "shim" ], - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], "time": "2020-06-06T08:46:27+00:00" }, { @@ -1664,20 +1642,6 @@ "portable", "shim" ], - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], "time": "2020-06-06T08:46:27+00:00" }, { @@ -1744,20 +1708,6 @@ "portable", "shim" ], - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], "time": "2020-06-06T08:46:27+00:00" }, { @@ -1807,20 +1757,6 @@ ], "description": "Symfony Process Component", "homepage": "https://symfony.com", - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], "time": "2020-05-30T20:06:45+00:00" }, { @@ -1880,79 +1816,6 @@ "standards" ], "time": "2019-10-14T12:27:06+00:00" - }, - { - "name": "symfony/yaml", - "version": "v4.4.10", - "source": { - "type": "git", - "url": "https://github.com/symfony/yaml.git", - "reference": "c2d2cc66e892322cfcc03f8f12f8340dbd7a3f8a" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/yaml/zipball/c2d2cc66e892322cfcc03f8f12f8340dbd7a3f8a", - "reference": "c2d2cc66e892322cfcc03f8f12f8340dbd7a3f8a", - "shasum": "" - }, - "require": { - "php": ">=7.1.3", - "symfony/polyfill-ctype": "~1.8" - }, - "conflict": { - "symfony/console": "<3.4" - }, - "require-dev": { - "symfony/console": "^3.4|^4.0|^5.0" - }, - "suggest": { - "symfony/console": "For validating YAML files using the lint command" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "4.4-dev" - } - }, - "autoload": { - "psr-4": { - "Symfony\\Component\\Yaml\\": "" - }, - "exclude-from-classmap": [ - "/Tests/" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Fabien Potencier", - "email": "fabien@symfony.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Symfony Yaml Component", - "homepage": "https://symfony.com", - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2020-05-20T08:37:50+00:00" } ], "aliases": [], @@ -1966,6 +1829,5 @@ "platform-dev": [], "platform-overrides": { "php": "7.2.0" - }, - "plugin-api-version": "1.1.0" + } } diff --git a/front/export_to_yaml.php b/front/export_to_yaml.php new file mode 100644 index 00000000..e748a68a --- /dev/null +++ b/front/export_to_yaml.php @@ -0,0 +1,20 @@ + ". - __("Regenerate container files", "fields").""; + __("Regenerate container files", "fields")."   ". + __("Export to YAML", "fields")."
"; + } /** @@ -563,6 +565,9 @@ static function getTypeName($nb = 0) { public function showForm($ID, $options = []) { global $CFG_GLPI; + echo "
"; + $this->initForm($ID, $options); $this->showFormHeader($options); $rand = mt_rand(); diff --git a/setup.php b/setup.php index 715ccc05..80901953 100644 --- a/setup.php +++ b/setup.php @@ -61,6 +61,8 @@ mkdir(PLUGINFIELDS_FRONT_PATH); } +use Symfony\Component\Yaml\Yaml; + /** * Init hooks of the plugin. * REQUIRED @@ -74,6 +76,9 @@ function plugin_init_fields() { // manage autoload of plugin custom classes include_once(PLUGINFIELDS_DIR . "/inc/autoload.php"); + + // manage autoload of vendor classes + include_once(PLUGINFIELDS_DIR . "/vendor/autoload.php"); $pluginfields_autoloader = new PluginFieldsAutoloader([PLUGINFIELDS_CLASS_PATH]); $pluginfields_autoloader->register(); @@ -244,3 +249,110 @@ function plugin_fields_checkFiles($force = false) { } } } + +function plugin_fields_exportBlockAsYaml($container_id = null) { + global $DB; + + $plugin = new Plugin(); + $yaml_conf = [ + 'container' => [], + ]; + + if (isset($_SESSION['glpiactiveentities']) + && $plugin->isInstalled('fields') + && $plugin->isActivated('fields') + && Session::getLoginUserID()) { + + if ($DB->tableExists(PluginFieldsContainer::getTable())) { + $where = []; + $where["is_active"] = true; + if ($container_id != null) { + $where["id"] = $container_id; + } + $container_obj = new PluginFieldsContainer(); + $containers = $container_obj->find($where); + + foreach ($containers as $container) { + $itemtypes = (strlen($container['itemtypes']) > 0) + ? json_decode($container['itemtypes'], true) + : []; + + foreach ($itemtypes as $itemtype) { + $fields_obj = new PluginFieldsField(); + // to get translation + $container["itemtype"] = PluginFieldsContainer::getType(); + $yaml_conf['container'][$container['id']."-".$itemtype] = [ + "id" => (int) $container['id'], + "name" => PluginFieldsLabelTranslation::getLabelFor($container), + "itemtype" => $itemtype, + "type" => $container['type'], + "subtype" => $container['subtype'], + "fields" => [], + ]; + $fields = $fields_obj->find(["plugin_fields_containers_id" => $container['id'], + "is_active" => true, + "is_readonly" => false]); + if (count($fields)) { + foreach ($fields as $field) { + $tmp_field = []; + $tmp_field['id'] = (int) $field['id']; + + //to get translation + $field["itemtype"] = PluginFieldsField::getType(); + $tmp_field['label'] = PluginFieldsLabelTranslation::getLabelFor($field); + $tmp_field['xml_node'] = strtoupper($field['name']); + $tmp_field['type'] = $field['type']; + $tmp_field['ranking'] = $field['ranking']; + $tmp_field['default_value'] = $field['default_value']; + $tmp_field['mandatory'] = $field['mandatory']; + $tmp_field['possible_value'] = ""; + + switch ($field['type']) { + case 'dropdown': + $obj = new $itemtype; + $obj->getEmpty(); + + $dropdown_itemtype = PluginFieldsDropdown::getClassname($field['name']); + $tmp_field['xml_node'] = strtoupper(getForeignKeyFieldForItemType($dropdown_itemtype)); + + $dropdown_obj = new $dropdown_itemtype(); + $dropdown_datas = $dropdown_obj->find(); + $datas = []; + foreach ($dropdown_datas as $key => $value) { + $items = []; + $items['id'] = (int)$value['id']; + $items['value'] = $value['name']; + $datas[] = $items; + } + $tmp_field['possible_value'] = $datas; + break; + case 'yesno': + $datas = []; + $datas["0"]['id'] = 0; + $datas["0"]['value'] = __('No'); + $datas["1"]['id'] = 1; + $datas["1"]['value'] = __('Yes'); + $tmp_field['possible_value'] = $datas; + break; + case 'dropdownuser': + $datas = Dropdown::getDropdownUsers(['is_active' => 1,'is_deleted' => 0], false); + $tmp_field['possible_value'] = $datas['results']; + break; + } + $yaml_conf['container'][$container['id']."-".$itemtype]["fields"][] = $tmp_field; + } + } + } + } + } + } + + if (count($yaml_conf)) { + $dump = Yaml::dump($yaml_conf, 10); + $filename = GLPI_TMP_DIR."/fields_conf.yaml"; + file_put_contents($filename, $dump); + return true; + } + + return false; +} From e32a29f3f46f4576f3f91211d21e23206202335a Mon Sep 17 00:00:00 2001 From: Stanislas Date: Wed, 22 Jan 2020 12:04:42 +0100 Subject: [PATCH 5/9] fix(migration): prevent usage of name > 64 char --- inc/container.class.php | 36 ++++++++++++++++++++++++++++-------- inc/field.class.php | 21 ++++++++++++++++++++- inc/toolbox.class.php | 15 +++++++++++++-- 3 files changed, 61 insertions(+), 11 deletions(-) diff --git a/inc/container.class.php b/inc/container.class.php index 4bded3d9..1f337a7a 100644 --- a/inc/container.class.php +++ b/inc/container.class.php @@ -92,25 +92,32 @@ static function install(Migration $migration, $version) { if ($bad_named_containers->count() > 0) { $migration->displayMessage(__("Fix container names", "fields")); + $toolbox = new PluginFieldsToolbox(); + foreach ($bad_named_containers as $container) { $old_name = $container['name']; // Update container name - $toolbox = new PluginFieldsToolbox(); - $container['name'] = $toolbox->getSystemNameFromLabel($container['label']); + $new_name = $toolbox->getSystemNameFromLabel($container['label']); + foreach (json_decode($container['itemtypes']) as $itemtype) { + while (strlen(getTableForItemType(self::getClassname($itemtype, $new_name))) > 64) { + // limit tables names to 64 chars (MySQL limit) + $new_name = substr($new_name, 0, -1); + } + } + $container['name'] = $new_name; $container_obj = new PluginFieldsContainer(); $container_obj->update( $container, false ); - // Rename container tables + // Rename container tables and itemtype if needed foreach (json_decode($container['itemtypes']) as $itemtype) { - $old_table = getTableForItemType(self::getClassname($itemtype, $old_name)); - $new_table = getTableForItemType(self::getClassname($itemtype, $container['name'])); - if ($DB->tableExists($old_table)) { - $migration->renameTable($old_table, $new_table); - } + $migration->renameItemtype( + self::getClassname($itemtype, $old_name), + self::getClassname($itemtype, $new_name) + ); } } } @@ -410,6 +417,19 @@ function prepareInputForAdd($input) { $toolbox = new PluginFieldsToolbox(); $input['name'] = $toolbox->getSystemNameFromLabel($input['label']); + //reject adding when container name is too long for mysql table name + foreach ($input['itemtypes'] as $itemtype) { + $tmp = getTableForItemType(self::getClassname($itemtype, $input['name'])); + if (strlen($tmp) > 64) { + Session::AddMessageAfterRedirect( + __("Container name is too long for database (digits in name are replaced by characters, try to remove them)", 'fields'), + false, + ERROR + ); + return false; + } + } + //check for already existing container with same name $found = $this->find(['name' => $input['name']]); if (count($found) > 0) { diff --git a/inc/field.class.php b/inc/field.class.php index 6cf57c68..5bc445f4 100644 --- a/inc/field.class.php +++ b/inc/field.class.php @@ -81,10 +81,19 @@ static function getTypeName($nb = 0) { function prepareInputForAdd($input) { - global $DB; //parse name $input['name'] = $this->prepareName($input); + //reject adding when field name is too long for mysql + if (strlen($input['name']) > 64) { + Session::AddMessageAfterRedirect( + __("Field name is too long for database (digits in name are replaced by characters, try to remove them)", 'fields'), + false, + ERROR + ); + return false; + } + if ($input['type'] === "dropdown") { //search if dropdown already exist in this container $found = $this->find( @@ -100,6 +109,16 @@ function prepareInputForAdd($input) { return false; } + //reject adding when dropdown name is too long for mysql table name + if (strlen(getTableForItemType(PluginFieldsDropdown::getClassname($input['name']))) > 64) { + Session::AddMessageAfterRedirect( + __("Field name is too long for database (digits in name are replaced by characters, try to remove them)", 'fields'), + false, + ERROR + ); + return false; + } + $oldname = $input['name']; $input['name'] = getForeignKeyFieldForItemType( PluginFieldsDropdown::getClassname($input['name'])); diff --git a/inc/toolbox.class.php b/inc/toolbox.class.php index 845204ac..34d99dd2 100644 --- a/inc/toolbox.class.php +++ b/inc/toolbox.class.php @@ -93,9 +93,19 @@ public function fixFieldsNames(Migration $migration, $condition) { $old_name = $field['name']; // Update field name - $field_obj = new PluginFieldsField(); $field['name'] = null; - $field['name'] = $field_obj->prepareName($field); + $field_obj = new PluginFieldsField(); + $new_name = $field_obj->prepareName($field); + if ($new_name > 64) { + // limit fields names to 64 chars (MySQL limit) + $new_name = substr($new_name, 0, 64); + } + while ('dropdown' === $field['type'] + && strlen(getTableForItemType(PluginFieldsDropdown::getClassname($new_name))) > 64) { + // limit tables names to 64 chars (MySQL limit) + $new_name = substr($new_name, 0, -1); + } + $field['name'] = $new_name; $field_obj->update( $field, false @@ -109,6 +119,7 @@ public function fixFieldsNames(Migration $migration, $condition) { // Rename dropdown table $old_table = getTableForItemType(PluginFieldsDropdown::getClassname($old_name)); $new_table = getTableForItemType(PluginFieldsDropdown::getClassname($field['name'])); + if ($DB->tableExists($old_table)) { $migration->renameTable($old_table, $new_table); } From 6b050cd9554cacabe78f8909679de4e30bac77f9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Anne?= Date: Tue, 27 Oct 2020 15:42:36 +0100 Subject: [PATCH 6/9] Update glpi-project/tools --- composer.lock | 501 ++++++++++++++++++++++++++++++-------------------- 1 file changed, 297 insertions(+), 204 deletions(-) diff --git a/composer.lock b/composer.lock index fb67b42b..b77c7836 100644 --- a/composer.lock +++ b/composer.lock @@ -8,20 +8,20 @@ "packages": [ { "name": "symfony/polyfill-ctype", - "version": "v1.17.1", + "version": "v1.20.0", "source": { "type": "git", "url": "https://github.com/symfony/polyfill-ctype.git", - "reference": "2edd75b8b35d62fd3eeabba73b26b8f1f60ce13d" + "reference": "f4ba089a5b6366e453971d3aad5fe8e897b37f41" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-ctype/zipball/2edd75b8b35d62fd3eeabba73b26b8f1f60ce13d", - "reference": "2edd75b8b35d62fd3eeabba73b26b8f1f60ce13d", + "url": "https://api.github.com/repos/symfony/polyfill-ctype/zipball/f4ba089a5b6366e453971d3aad5fe8e897b37f41", + "reference": "f4ba089a5b6366e453971d3aad5fe8e897b37f41", "shasum": "" }, "require": { - "php": ">=5.3.3" + "php": ">=7.1" }, "suggest": { "ext-ctype": "For best performance" @@ -29,7 +29,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-master": "1.17-dev" + "dev-main": "1.20-dev" }, "thanks": { "name": "symfony/polyfill", @@ -66,7 +66,21 @@ "polyfill", "portable" ], - "time": "2020-06-06T08:46:27+00:00" + "funding": [ + { + "url": "https://symfony.com/sponsor", + "type": "custom" + }, + { + "url": "https://github.com/fabpot", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", + "type": "tidelift" + } + ], + "time": "2020-10-23T14:02:19+00:00" }, { "name": "symfony/yaml", @@ -214,16 +228,16 @@ }, { "name": "consolidation/annotated-command", - "version": "4.1.1", + "version": "4.2.3", "source": { "type": "git", "url": "https://github.com/consolidation/annotated-command.git", - "reference": "efc58dc0f34a45539787c5190b41b5d2a50a08da" + "reference": "4b596872f24c39d9c04d7b3adb6bc51baa1f2fd5" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/consolidation/annotated-command/zipball/efc58dc0f34a45539787c5190b41b5d2a50a08da", - "reference": "efc58dc0f34a45539787c5190b41b5d2a50a08da", + "url": "https://api.github.com/repos/consolidation/annotated-command/zipball/4b596872f24c39d9c04d7b3adb6bc51baa1f2fd5", + "reference": "4b596872f24c39d9c04d7b3adb6bc51baa1f2fd5", "shasum": "" }, "require": { @@ -255,7 +269,7 @@ } }, "branch-alias": { - "dev-master": "4.x-dev" + "dev-main": "4.x-dev" } }, "autoload": { @@ -274,34 +288,35 @@ } ], "description": "Initialize Symfony Console commands from annotated command class methods.", - "time": "2020-05-27T21:11:36+00:00" + "time": "2020-10-03T14:28:42+00:00" }, { "name": "consolidation/config", - "version": "1.2.1", + "version": "2.0.0", "source": { "type": "git", "url": "https://github.com/consolidation/config.git", - "reference": "cac1279bae7efb5c7fb2ca4c3ba4b8eb741a96c1" + "reference": "9842670aad3406dbc8df3069fd680a9f8cd6edd7" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/consolidation/config/zipball/cac1279bae7efb5c7fb2ca4c3ba4b8eb741a96c1", - "reference": "cac1279bae7efb5c7fb2ca4c3ba4b8eb741a96c1", + "url": "https://api.github.com/repos/consolidation/config/zipball/9842670aad3406dbc8df3069fd680a9f8cd6edd7", + "reference": "9842670aad3406dbc8df3069fd680a9f8cd6edd7", "shasum": "" }, "require": { "dflydev/dot-access-data": "^1.1.0", "grasmash/expander": "^1", - "php": ">=5.4.0" + "php": ">=7.1.3" }, "require-dev": { "g1a/composer-test-scenarios": "^3", - "php-coveralls/php-coveralls": "^1", - "phpunit/phpunit": "^5", - "squizlabs/php_codesniffer": "2.*", - "symfony/console": "^2.5|^3|^4", - "symfony/yaml": "^2.8.11|^3|^4" + "php-coveralls/php-coveralls": "^2.2", + "phpunit/phpunit": "^6", + "squizlabs/php_codesniffer": "^3", + "symfony/console": "^4|^5", + "symfony/event-dispatcher": "^4|^5", + "symfony/yaml": "^4|^5" }, "suggest": { "symfony/yaml": "Required to use Consolidation\\Config\\Loader\\YamlConfigLoader" @@ -311,32 +326,17 @@ "scenarios": { "symfony4": { "require-dev": { - "symfony/console": "^4.0" + "symfony/console": "^4" }, "config": { "platform": { "php": "7.1.3" } } - }, - "symfony2": { - "require-dev": { - "symfony/console": "^2.8", - "symfony/event-dispatcher": "^2.8", - "phpunit/phpunit": "^4.8.36" - }, - "remove": [ - "php-coveralls/php-coveralls" - ], - "config": { - "platform": { - "php": "5.4.8" - } - } } }, "branch-alias": { - "dev-master": "1.x-dev" + "dev-master": "2.x-dev" } }, "autoload": { @@ -355,7 +355,7 @@ } ], "description": "Provide configuration services for a commandline tool.", - "time": "2019-03-03T19:37:04+00:00" + "time": "2020-05-27T17:11:23+00:00" }, { "name": "consolidation/log", @@ -487,48 +487,48 @@ }, { "name": "consolidation/robo", - "version": "1.4.12", + "version": "2.2.1", "source": { "type": "git", "url": "https://github.com/consolidation/Robo.git", - "reference": "eb45606f498b3426b9a98b7c85e300666a968e51" + "reference": "1a7c652371615fd72ff05380ffe6ce263eb31eb3" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/consolidation/Robo/zipball/eb45606f498b3426b9a98b7c85e300666a968e51", - "reference": "eb45606f498b3426b9a98b7c85e300666a968e51", + "url": "https://api.github.com/repos/consolidation/Robo/zipball/1a7c652371615fd72ff05380ffe6ce263eb31eb3", + "reference": "1a7c652371615fd72ff05380ffe6ce263eb31eb3", "shasum": "" }, "require": { - "consolidation/annotated-command": "^2.11.0|^4.1", - "consolidation/config": "^1.2.1", - "consolidation/log": "^1.1.1|^2", - "consolidation/output-formatters": "^3.1.13|^4.1", - "consolidation/self-update": "^1.1.5", - "grasmash/yaml-expander": "^1.4", + "consolidation/annotated-command": "^4.2.1", + "consolidation/config": "^1.2.1|^2", + "consolidation/log": "^1.1.1|^2.0.1", + "consolidation/output-formatters": "^4.1.1", + "consolidation/self-update": "^1.2", "league/container": "^2.4.1", - "php": ">=5.5.0", - "symfony/console": "^2.8|^3|^4", - "symfony/event-dispatcher": "^2.5|^3|^4", - "symfony/filesystem": "^2.5|^3|^4", - "symfony/finder": "^2.5|^3|^4", - "symfony/process": "^2.5|^3|^4" + "php": ">=7.1.3", + "symfony/console": "^4.4.11|^5", + "symfony/event-dispatcher": "^4.4.11|^5", + "symfony/filesystem": "^4.4.11|^5", + "symfony/finder": "^4.4.11|^5", + "symfony/process": "^4.4.11|^5" }, - "replace": { - "codegyre/robo": "< 1.0" + "conflict": { + "codegyre/robo": "*" }, "require-dev": { "g1a/composer-test-scenarios": "^3", "natxet/cssmin": "3.0.4", "patchwork/jsqueeze": "^2", "pear/archive_tar": "^1.4.4", - "php-coveralls/php-coveralls": "^1", - "phpunit/phpunit": "^5.7.27", + "php-coveralls/php-coveralls": "^2.2", + "phpdocumentor/reflection-docblock": "^4.3.2", + "phpunit/phpunit": "^6.5.14", "squizlabs/php_codesniffer": "^3" }, "suggest": { "henrikbjorn/lurker": "For monitoring filesystem changes in taskWatch", - "natxet/CssMin": "For minifying CSS files in taskMinify", + "natxet/cssmin": "For minifying CSS files in taskMinify", "patchwork/jsqueeze": "For minifying JS files in taskMinify", "pear/archive_tar": "Allows tar archives to be created and extracted in taskPack and taskExtract, respectively." }, @@ -540,36 +540,27 @@ "scenarios": { "symfony4": { "require": { - "symfony/console": "^4" - }, - "config": { - "platform": { - "php": "7.1.3" - } - } - }, - "symfony2": { - "require": { - "symfony/console": "^2.8" - }, - "require-dev": { - "phpunit/phpunit": "^4.8.36" + "symfony/console": "^4.4.11", + "symfony/event-dispatcher": "^4.4.11", + "symfony/filesystem": "^4.4.11", + "symfony/finder": "^4.4.11", + "symfony/process": "^4.4.11", + "phpunit/phpunit": "^6", + "nikic/php-parser": "^2" }, "remove": [ - "php-coveralls/php-coveralls" + "codeception/phpunit-wrapper" ], "config": { "platform": { - "php": "5.5.9" + "php": "7.1.3" } - }, - "scenario-options": { - "create-lockfile": "false" } } }, "branch-alias": { - "dev-master": "1.x-dev" + "dev-master": "2.x-dev", + "dev-main": "2.x-dev" } }, "autoload": { @@ -588,7 +579,7 @@ } ], "description": "Modern task runner", - "time": "2020-02-18T17:31:26+00:00" + "time": "2020-09-08T16:23:18+00:00" }, { "name": "consolidation/self-update", @@ -770,20 +761,20 @@ }, { "name": "glpi-project/tools", - "version": "0.1.13", + "version": "0.1.14", "source": { "type": "git", "url": "https://github.com/glpi-project/tools.git", - "reference": "2028ecf9acd8b838cff37771dcab77ced9391f41" + "reference": "fd2d9d5a8a465640efe8f20334a6ee302cafe05e" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/glpi-project/tools/zipball/2028ecf9acd8b838cff37771dcab77ced9391f41", - "reference": "2028ecf9acd8b838cff37771dcab77ced9391f41", + "url": "https://api.github.com/repos/glpi-project/tools/zipball/fd2d9d5a8a465640efe8f20334a6ee302cafe05e", + "reference": "fd2d9d5a8a465640efe8f20334a6ee302cafe05e", "shasum": "" }, "require": { - "consolidation/robo": "^1.3", + "consolidation/robo": "^1.3 || ^2.0", "glpi-project/coding-standard": "^0.7", "natxet/cssmin": "^3.0", "patchwork/jsqueeze": "^1.0" @@ -816,7 +807,7 @@ "plugins", "tools" ], - "time": "2020-06-19T10:29:26+00:00" + "time": "2020-10-26T07:33:44+00:00" }, { "name": "grasmash/expander", @@ -865,54 +856,6 @@ "description": "Expands internal property references in PHP arrays file.", "time": "2017-12-21T22:14:55+00:00" }, - { - "name": "grasmash/yaml-expander", - "version": "1.4.0", - "source": { - "type": "git", - "url": "https://github.com/grasmash/yaml-expander.git", - "reference": "3f0f6001ae707a24f4d9733958d77d92bf9693b1" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/grasmash/yaml-expander/zipball/3f0f6001ae707a24f4d9733958d77d92bf9693b1", - "reference": "3f0f6001ae707a24f4d9733958d77d92bf9693b1", - "shasum": "" - }, - "require": { - "dflydev/dot-access-data": "^1.1.0", - "php": ">=5.4", - "symfony/yaml": "^2.8.11|^3|^4" - }, - "require-dev": { - "greg-1-anderson/composer-test-scenarios": "^1", - "phpunit/phpunit": "^4.8|^5.5.4", - "satooshi/php-coveralls": "^1.0.2|dev-master", - "squizlabs/php_codesniffer": "^2.7" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "1.x-dev" - } - }, - "autoload": { - "psr-4": { - "Grasmash\\YamlExpander\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Matthew Grasmick" - } - ], - "description": "Expands internal property references in a yaml file.", - "time": "2017-12-16T16:06:03+00:00" - }, { "name": "league/container", "version": "2.4.1", @@ -979,7 +922,7 @@ "time": "2017-05-10T09:20:27+00:00" }, { - "name": "natxet/cssmin", + "name": "natxet/CssMin", "version": "v3.0.6", "source": { "type": "git", @@ -1166,16 +1109,16 @@ }, { "name": "squizlabs/php_codesniffer", - "version": "3.5.5", + "version": "3.5.8", "source": { "type": "git", "url": "https://github.com/squizlabs/PHP_CodeSniffer.git", - "reference": "73e2e7f57d958e7228fce50dc0c61f58f017f9f6" + "reference": "9d583721a7157ee997f235f327de038e7ea6dac4" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/squizlabs/PHP_CodeSniffer/zipball/73e2e7f57d958e7228fce50dc0c61f58f017f9f6", - "reference": "73e2e7f57d958e7228fce50dc0c61f58f017f9f6", + "url": "https://api.github.com/repos/squizlabs/PHP_CodeSniffer/zipball/9d583721a7157ee997f235f327de038e7ea6dac4", + "reference": "9d583721a7157ee997f235f327de038e7ea6dac4", "shasum": "" }, "require": { @@ -1213,20 +1156,20 @@ "phpcs", "standards" ], - "time": "2020-04-17T01:09:41+00:00" + "time": "2020-10-23T02:01:07+00:00" }, { "name": "symfony/console", - "version": "v4.4.10", + "version": "v4.4.15", "source": { "type": "git", "url": "https://github.com/symfony/console.git", - "reference": "326b064d804043005526f5a0494cfb49edb59bb0" + "reference": "90933b39c7b312fc3ceaa1ddeac7eb48cb953124" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/console/zipball/326b064d804043005526f5a0494cfb49edb59bb0", - "reference": "326b064d804043005526f5a0494cfb49edb59bb0", + "url": "https://api.github.com/repos/symfony/console/zipball/90933b39c7b312fc3ceaa1ddeac7eb48cb953124", + "reference": "90933b39c7b312fc3ceaa1ddeac7eb48cb953124", "shasum": "" }, "require": { @@ -1290,20 +1233,34 @@ ], "description": "Symfony Console Component", "homepage": "https://symfony.com", - "time": "2020-05-30T20:06:45+00:00" + "funding": [ + { + "url": "https://symfony.com/sponsor", + "type": "custom" + }, + { + "url": "https://github.com/fabpot", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", + "type": "tidelift" + } + ], + "time": "2020-09-15T07:58:55+00:00" }, { "name": "symfony/event-dispatcher", - "version": "v4.4.10", + "version": "v4.4.15", "source": { "type": "git", "url": "https://github.com/symfony/event-dispatcher.git", - "reference": "a5370aaa7807c7a439b21386661ffccf3dff2866" + "reference": "e17bb5e0663dc725f7cdcafc932132735b4725cd" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/event-dispatcher/zipball/a5370aaa7807c7a439b21386661ffccf3dff2866", - "reference": "a5370aaa7807c7a439b21386661ffccf3dff2866", + "url": "https://api.github.com/repos/symfony/event-dispatcher/zipball/e17bb5e0663dc725f7cdcafc932132735b4725cd", + "reference": "e17bb5e0663dc725f7cdcafc932132735b4725cd", "shasum": "" }, "require": { @@ -1321,6 +1278,7 @@ "psr/log": "~1.0", "symfony/config": "^3.4|^4.0|^5.0", "symfony/dependency-injection": "^3.4|^4.0|^5.0", + "symfony/error-handler": "~3.4|~4.4", "symfony/expression-language": "^3.4|^4.0|^5.0", "symfony/http-foundation": "^3.4|^4.0|^5.0", "symfony/service-contracts": "^1.1|^2", @@ -1360,24 +1318,38 @@ ], "description": "Symfony EventDispatcher Component", "homepage": "https://symfony.com", - "time": "2020-05-20T08:37:50+00:00" + "funding": [ + { + "url": "https://symfony.com/sponsor", + "type": "custom" + }, + { + "url": "https://github.com/fabpot", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", + "type": "tidelift" + } + ], + "time": "2020-09-18T14:07:46+00:00" }, { "name": "symfony/event-dispatcher-contracts", - "version": "v1.1.7", + "version": "v1.1.9", "source": { "type": "git", "url": "https://github.com/symfony/event-dispatcher-contracts.git", - "reference": "c43ab685673fb6c8d84220c77897b1d6cdbe1d18" + "reference": "84e23fdcd2517bf37aecbd16967e83f0caee25a7" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/event-dispatcher-contracts/zipball/c43ab685673fb6c8d84220c77897b1d6cdbe1d18", - "reference": "c43ab685673fb6c8d84220c77897b1d6cdbe1d18", + "url": "https://api.github.com/repos/symfony/event-dispatcher-contracts/zipball/84e23fdcd2517bf37aecbd16967e83f0caee25a7", + "reference": "84e23fdcd2517bf37aecbd16967e83f0caee25a7", "shasum": "" }, "require": { - "php": "^7.1.3" + "php": ">=7.1.3" }, "suggest": { "psr/event-dispatcher": "", @@ -1387,6 +1359,10 @@ "extra": { "branch-alias": { "dev-master": "1.1-dev" + }, + "thanks": { + "name": "symfony/contracts", + "url": "https://github.com/symfony/contracts" } }, "autoload": { @@ -1418,20 +1394,34 @@ "interoperability", "standards" ], - "time": "2019-09-17T09:54:03+00:00" + "funding": [ + { + "url": "https://symfony.com/sponsor", + "type": "custom" + }, + { + "url": "https://github.com/fabpot", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", + "type": "tidelift" + } + ], + "time": "2020-07-06T13:19:58+00:00" }, { "name": "symfony/filesystem", - "version": "v4.4.10", + "version": "v4.4.15", "source": { "type": "git", "url": "https://github.com/symfony/filesystem.git", - "reference": "b27f491309db5757816db672b256ea2e03677d30" + "reference": "ebc51494739d3b081ea543ed7c462fa73a4f74db" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/filesystem/zipball/b27f491309db5757816db672b256ea2e03677d30", - "reference": "b27f491309db5757816db672b256ea2e03677d30", + "url": "https://api.github.com/repos/symfony/filesystem/zipball/ebc51494739d3b081ea543ed7c462fa73a4f74db", + "reference": "ebc51494739d3b081ea543ed7c462fa73a4f74db", "shasum": "" }, "require": { @@ -1468,24 +1458,38 @@ ], "description": "Symfony Filesystem Component", "homepage": "https://symfony.com", - "time": "2020-05-30T18:50:54+00:00" + "funding": [ + { + "url": "https://symfony.com/sponsor", + "type": "custom" + }, + { + "url": "https://github.com/fabpot", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", + "type": "tidelift" + } + ], + "time": "2020-09-27T13:54:16+00:00" }, { "name": "symfony/finder", - "version": "v4.4.10", + "version": "v4.4.15", "source": { "type": "git", "url": "https://github.com/symfony/finder.git", - "reference": "5729f943f9854c5781984ed4907bbb817735776b" + "reference": "60d08560f9aa72997c44077c40d47aa28a963230" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/finder/zipball/5729f943f9854c5781984ed4907bbb817735776b", - "reference": "5729f943f9854c5781984ed4907bbb817735776b", + "url": "https://api.github.com/repos/symfony/finder/zipball/60d08560f9aa72997c44077c40d47aa28a963230", + "reference": "60d08560f9aa72997c44077c40d47aa28a963230", "shasum": "" }, "require": { - "php": "^7.1.3" + "php": ">=7.1.3" }, "type": "library", "extra": { @@ -1517,24 +1521,38 @@ ], "description": "Symfony Finder Component", "homepage": "https://symfony.com", - "time": "2020-03-27T16:54:36+00:00" + "funding": [ + { + "url": "https://symfony.com/sponsor", + "type": "custom" + }, + { + "url": "https://github.com/fabpot", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", + "type": "tidelift" + } + ], + "time": "2020-10-02T07:34:48+00:00" }, { "name": "symfony/polyfill-mbstring", - "version": "v1.17.1", + "version": "v1.20.0", "source": { "type": "git", "url": "https://github.com/symfony/polyfill-mbstring.git", - "reference": "7110338d81ce1cbc3e273136e4574663627037a7" + "reference": "39d483bdf39be819deabf04ec872eb0b2410b531" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-mbstring/zipball/7110338d81ce1cbc3e273136e4574663627037a7", - "reference": "7110338d81ce1cbc3e273136e4574663627037a7", + "url": "https://api.github.com/repos/symfony/polyfill-mbstring/zipball/39d483bdf39be819deabf04ec872eb0b2410b531", + "reference": "39d483bdf39be819deabf04ec872eb0b2410b531", "shasum": "" }, "require": { - "php": ">=5.3.3" + "php": ">=7.1" }, "suggest": { "ext-mbstring": "For best performance" @@ -1542,7 +1560,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-master": "1.17-dev" + "dev-main": "1.20-dev" }, "thanks": { "name": "symfony/polyfill", @@ -1580,29 +1598,43 @@ "portable", "shim" ], - "time": "2020-06-06T08:46:27+00:00" + "funding": [ + { + "url": "https://symfony.com/sponsor", + "type": "custom" + }, + { + "url": "https://github.com/fabpot", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", + "type": "tidelift" + } + ], + "time": "2020-10-23T14:02:19+00:00" }, { "name": "symfony/polyfill-php73", - "version": "v1.17.1", + "version": "v1.20.0", "source": { "type": "git", "url": "https://github.com/symfony/polyfill-php73.git", - "reference": "fa0837fe02d617d31fbb25f990655861bb27bd1a" + "reference": "8ff431c517be11c78c48a39a66d37431e26a6bed" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-php73/zipball/fa0837fe02d617d31fbb25f990655861bb27bd1a", - "reference": "fa0837fe02d617d31fbb25f990655861bb27bd1a", + "url": "https://api.github.com/repos/symfony/polyfill-php73/zipball/8ff431c517be11c78c48a39a66d37431e26a6bed", + "reference": "8ff431c517be11c78c48a39a66d37431e26a6bed", "shasum": "" }, "require": { - "php": ">=5.3.3" + "php": ">=7.1" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "1.17-dev" + "dev-main": "1.20-dev" }, "thanks": { "name": "symfony/polyfill", @@ -1642,29 +1674,43 @@ "portable", "shim" ], - "time": "2020-06-06T08:46:27+00:00" + "funding": [ + { + "url": "https://symfony.com/sponsor", + "type": "custom" + }, + { + "url": "https://github.com/fabpot", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", + "type": "tidelift" + } + ], + "time": "2020-10-23T14:02:19+00:00" }, { "name": "symfony/polyfill-php80", - "version": "v1.17.1", + "version": "v1.20.0", "source": { "type": "git", "url": "https://github.com/symfony/polyfill-php80.git", - "reference": "4a5b6bba3259902e386eb80dd1956181ee90b5b2" + "reference": "e70aa8b064c5b72d3df2abd5ab1e90464ad009de" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-php80/zipball/4a5b6bba3259902e386eb80dd1956181ee90b5b2", - "reference": "4a5b6bba3259902e386eb80dd1956181ee90b5b2", + "url": "https://api.github.com/repos/symfony/polyfill-php80/zipball/e70aa8b064c5b72d3df2abd5ab1e90464ad009de", + "reference": "e70aa8b064c5b72d3df2abd5ab1e90464ad009de", "shasum": "" }, "require": { - "php": ">=7.0.8" + "php": ">=7.1" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "1.17-dev" + "dev-main": "1.20-dev" }, "thanks": { "name": "symfony/polyfill", @@ -1708,24 +1754,38 @@ "portable", "shim" ], - "time": "2020-06-06T08:46:27+00:00" + "funding": [ + { + "url": "https://symfony.com/sponsor", + "type": "custom" + }, + { + "url": "https://github.com/fabpot", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", + "type": "tidelift" + } + ], + "time": "2020-10-23T14:02:19+00:00" }, { "name": "symfony/process", - "version": "v4.4.10", + "version": "v4.4.15", "source": { "type": "git", "url": "https://github.com/symfony/process.git", - "reference": "c714958428a85c86ab97e3a0c96db4c4f381b7f5" + "reference": "9b887acc522935f77555ae8813495958c7771ba7" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/process/zipball/c714958428a85c86ab97e3a0c96db4c4f381b7f5", - "reference": "c714958428a85c86ab97e3a0c96db4c4f381b7f5", + "url": "https://api.github.com/repos/symfony/process/zipball/9b887acc522935f77555ae8813495958c7771ba7", + "reference": "9b887acc522935f77555ae8813495958c7771ba7", "shasum": "" }, "require": { - "php": "^7.1.3" + "php": ">=7.1.3" }, "type": "library", "extra": { @@ -1757,24 +1817,38 @@ ], "description": "Symfony Process Component", "homepage": "https://symfony.com", - "time": "2020-05-30T20:06:45+00:00" + "funding": [ + { + "url": "https://symfony.com/sponsor", + "type": "custom" + }, + { + "url": "https://github.com/fabpot", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", + "type": "tidelift" + } + ], + "time": "2020-09-02T16:08:58+00:00" }, { "name": "symfony/service-contracts", - "version": "v1.1.8", + "version": "v1.1.9", "source": { "type": "git", "url": "https://github.com/symfony/service-contracts.git", - "reference": "ffc7f5692092df31515df2a5ecf3b7302b3ddacf" + "reference": "b776d18b303a39f56c63747bcb977ad4b27aca26" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/service-contracts/zipball/ffc7f5692092df31515df2a5ecf3b7302b3ddacf", - "reference": "ffc7f5692092df31515df2a5ecf3b7302b3ddacf", + "url": "https://api.github.com/repos/symfony/service-contracts/zipball/b776d18b303a39f56c63747bcb977ad4b27aca26", + "reference": "b776d18b303a39f56c63747bcb977ad4b27aca26", "shasum": "" }, "require": { - "php": "^7.1.3", + "php": ">=7.1.3", "psr/container": "^1.0" }, "suggest": { @@ -1784,6 +1858,10 @@ "extra": { "branch-alias": { "dev-master": "1.1-dev" + }, + "thanks": { + "name": "symfony/contracts", + "url": "https://github.com/symfony/contracts" } }, "autoload": { @@ -1815,7 +1893,21 @@ "interoperability", "standards" ], - "time": "2019-10-14T12:27:06+00:00" + "funding": [ + { + "url": "https://symfony.com/sponsor", + "type": "custom" + }, + { + "url": "https://github.com/fabpot", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", + "type": "tidelift" + } + ], + "time": "2020-07-06T13:19:58+00:00" } ], "aliases": [], @@ -1829,5 +1921,6 @@ "platform-dev": [], "platform-overrides": { "php": "7.2.0" - } + }, + "plugin-api-version": "1.1.0" } From 0d7b15dc41baa7fe6589ba0fd19206aeb4c22754 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Anne?= Date: Tue, 27 Oct 2020 15:44:32 +0100 Subject: [PATCH 7/9] Update locales --- locales/cs_CZ.mo | Bin 3681 -> 3654 bytes locales/cs_CZ.po | 88 ++++++++++++++++++++++++++------------------ locales/en_GB.mo | Bin 3261 -> 3747 bytes locales/en_GB.po | 90 +++++++++++++++++++++++++++------------------ locales/en_US.mo | Bin 3363 -> 3343 bytes locales/en_US.po | 88 ++++++++++++++++++++++++++------------------ locales/es_ES.mo | Bin 3674 -> 3643 bytes locales/es_ES.po | 88 ++++++++++++++++++++++++++------------------ locales/fi_FI.mo | Bin 3422 -> 3422 bytes locales/fi_FI.po | 86 +++++++++++++++++++++++++------------------ locales/fields.pot | 84 +++++++++++++++++++++++++----------------- locales/fr_FR.mo | Bin 3513 -> 3513 bytes locales/fr_FR.po | 86 +++++++++++++++++++++++++------------------ locales/hr_HR.mo | Bin 3550 -> 3535 bytes locales/hr_HR.po | 88 ++++++++++++++++++++++++++------------------ locales/ja_JP.mo | Bin 3837 -> 3836 bytes locales/ja_JP.po | 88 ++++++++++++++++++++++++++------------------ locales/ko_KR.mo | Bin 3528 -> 3504 bytes locales/ko_KR.po | 88 ++++++++++++++++++++++++++------------------ locales/pl_PL.mo | Bin 3280 -> 3280 bytes locales/pl_PL.po | 86 +++++++++++++++++++++++++------------------ locales/pt_BR.mo | Bin 3608 -> 3577 bytes locales/pt_BR.po | 88 ++++++++++++++++++++++++++------------------ locales/pt_PT.mo | Bin 3229 -> 3229 bytes locales/pt_PT.po | 86 +++++++++++++++++++++++++------------------ locales/ro_RO.mo | Bin 1442 -> 1442 bytes locales/ro_RO.po | 86 +++++++++++++++++++++++++------------------ locales/ru_RU.mo | Bin 4007 -> 4007 bytes locales/ru_RU.po | 86 +++++++++++++++++++++++++------------------ locales/tr_TR.mo | Bin 3492 -> 3472 bytes locales/tr_TR.po | 88 ++++++++++++++++++++++++++------------------ locales/uk_UA.mo | Bin 4461 -> 4431 bytes locales/uk_UA.po | 88 ++++++++++++++++++++++++++------------------ locales/zh_CN.mo | Bin 3102 -> 3102 bytes locales/zh_CN.po | 86 +++++++++++++++++++++++++------------------ 35 files changed, 930 insertions(+), 638 deletions(-) diff --git a/locales/cs_CZ.mo b/locales/cs_CZ.mo index 350aa74a50d351ee4768db6ead083121a85560d2..a94c3c8191add57e4342dd253ccdfc6805cae944 100644 GIT binary patch delta 395 zcmXZWF-yZx6o%oiVrz{NaWG0L8W0DOU{VX!7Kh>>f}=PJ!FCWzl(dUemx8N9e}IEa zHnrgDAi6lY3KcqwQ_;o6_d@RSoO8IG^NotH#k)qPJIqMeQ__N@Xj+=XUTPmF>2EQQ z2`=FSX7LSed{6yER_QBsj0O5XbkMORN_kkuilwd&C|V56fk!lppKuXh&>S4%3jU%w z;LJ$#xQuJ)qmRe9j#pU2do=&Q(FFKOwMkv4U$yrocB;u>6EAQFZ!m`+xQ!#c#KNp} zf_*f>$7q7@4w8vlHYoXC;CrQt8S!B@sWuUd|3G3h zRnpO55fg*e#A32aDlz!JxxUNi{k?hfJiq7EXX<`G)a-;ruKPq1B68U;GK4o>Ti8o} zL=&HI6kjonUl_&juD{4AF(QF693v+&i3<55YdDWv5oyXgmkS>Bf;ZHI-*E&#P%rG@ zIK~Hp!3yJK2Pbd?Z9Ks#yv01epe|(6QWqHRI*H5VLUdJx*>cXq3|^sw4`|>IF5n-Y zVRlet7h9-{$6`V8o%UT%K3r5z+Rmo!IZLUWnw_>ek)m5~q_=DCQQdPJel2Hhx~FB& gTJdY;(qY9~Jk~L@7sRE5s$20gCBIr|CroAh1Edo>Q2+n{ diff --git a/locales/cs_CZ.po b/locales/cs_CZ.po index 69bcad65..dfb0d65a 100644 --- a/locales/cs_CZ.po +++ b/locales/cs_CZ.po @@ -10,9 +10,9 @@ msgid "" msgstr "" "Project-Id-Version: GLPI Plugin - Fields\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-07-03 18:53+0000\n" -"PO-Revision-Date: 2019-05-03 11:12+0000\n" -"Last-Translator: Pavel Borecki \n" +"POT-Creation-Date: 2020-10-27 14:42+0000\n" +"PO-Revision-Date: 2020-10-27 14:43+0000\n" +"Last-Translator: Cédric Anne\n" "Language-Team: Czech (Czech Republic) (http://www.transifex.com/teclib/glpi-plugin-plugin-fields/language/cs_CZ/)\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" @@ -33,7 +33,7 @@ msgid "MySQL tables uninstallation" msgstr "Odebrání MySQL tabulek" #: front/container.form.php:35 front/container.php:4 inc/menu.class.php:6 -#: setup.php:177 +#: setup.php:187 msgid "Additionnal fields" msgstr "Další kolonky" @@ -41,11 +41,11 @@ msgstr "Další kolonky" msgid "Updating generated dropdown files" msgstr "Aktualizují se vytvořené soubory rozbalovací nabídky" -#: inc/labeltranslation.class.php:139 +#: inc/labeltranslation.class.php:147 msgid "Language" msgstr "Jazyk" -#: inc/labeltranslation.class.php:140 +#: inc/labeltranslation.class.php:148 msgid "Label" msgstr "Štítek" @@ -53,63 +53,73 @@ msgstr "Štítek" msgid "Regenerate container files" msgstr "Znovu vytvořit kontejnerové soubory" -#: inc/container.class.php:91 +#: inc/container.class.php:17 inc/container.class.php:589 +msgid "Export to YAML" +msgstr "" + +#: inc/container.class.php:93 msgid "Fix container names" msgstr "Opravit názvy kontejnerů" -#: inc/container.class.php:172 +#: inc/container.class.php:181 msgid "Updating generated containers files" msgstr "Aktualizují se vytvořené soubory kontejnerů" -#: inc/container.class.php:368 +#: inc/container.class.php:377 msgid "You cannot add block without associated element type" msgstr "Není možné přidat blok bez typu přiřazeného prvku" -#: inc/container.class.php:385 +#: inc/container.class.php:394 msgid "" "You cannot add several blocks with type 'Insertion in the form' on same " "object" msgstr "Není možné přidat několik bloků s typem „Vložení do formuláře“ na stejný objekt" -#: inc/container.class.php:400 +#: inc/container.class.php:409 msgid "" "You cannot add several blocks with type 'Insertion in the form of a specific" " tab' on same object tab" msgstr "Není možné přidat několik bloků typu „Vložení ve formuláři konkrétní karty“ na té stejné kartě objektu" -#: inc/container.class.php:417 +#: inc/container.class.php:425 +msgid "" +"Container name is too long for database (digits in name are replaced by " +"characters, try to remove them)" +msgstr "" + +#: inc/container.class.php:439 msgid "You cannot add several blocs with identical name on same object" msgstr "Není možné přidat více bloků se stejným názvem do jednoho objektu" -#: inc/container.class.php:560 +#: inc/container.class.php:582 msgid "Block" msgstr "Blok" -#: inc/container.class.php:636 +#: inc/container.class.php:661 msgid "Tab" msgstr "Tabulka" -#: inc/container.class.php:842 +#: inc/container.class.php:876 msgid "Add tab" msgstr "Přidat tabulku" -#: inc/container.class.php:843 +#: inc/container.class.php:877 msgid "Insertion in the form (before save button)" msgstr "Vložení do formuláře (před tlačítkem uložit)" -#: inc/container.class.php:844 +#: inc/container.class.php:878 msgid "Insertion in the form of a specific tab (before save button)" msgstr "Vložení do formuláře konkrétního panelu (před tlačítkem uložit)" -#: inc/container.class.php:1206 +#: inc/container.class.php:1240 msgid "Some mandatory fields are empty" msgstr "Některá povinná pole nejsou vyplněná" -#: inc/container.class.php:1211 +#: inc/container.class.php:1245 msgid "Some numeric fields contains non numeric values" msgstr "Některé číselné kolonky obsahují nečíselné hodnoty" -#: inc/container.class.php:1216 +#: inc/container.class.php:1250 msgid "Some URL fields contains invalid links" msgstr "Některé URL kolonky obsahují neplatné odkazy" @@ -121,66 +131,72 @@ msgstr "Opravit názvy kolonek" msgid "Field" msgstr "Kolonka" -#: inc/field.class.php:253 +#: inc/field.class.php:90 inc/field.class.php:115 +msgid "" +"Field name is too long for database (digits in name are replaced by " +"characters, try to remove them)" +msgstr "" + +#: inc/field.class.php:272 msgid "Fields" msgstr "Kolonky" -#: inc/field.class.php:307 +#: inc/field.class.php:326 msgid "Add a new field" msgstr "Přidat novou kolonku" -#: inc/field.class.php:311 +#: inc/field.class.php:330 msgid "No field for this block" msgstr "Žádná kolonka pro tento blok" -#: inc/field.class.php:323 inc/field.class.php:436 +#: inc/field.class.php:342 inc/field.class.php:455 msgid "Read only" msgstr "Pouze pro čtení" -#: inc/field.class.php:413 +#: inc/field.class.php:432 msgid "Configure" msgstr "Nastavit" -#: inc/field.class.php:413 +#: inc/field.class.php:432 msgid "Configure fields values" msgstr "Nastavit hodnoty kolonek" -#: inc/field.class.php:732 +#: inc/field.class.php:751 msgid "show" msgstr "zobrazit" -#: inc/field.class.php:878 +#: inc/field.class.php:897 msgid "Header" msgstr "Hlavička" -#: inc/field.class.php:879 +#: inc/field.class.php:898 msgid "Text (single line)" msgstr "Text (jednořádkový)" -#: inc/field.class.php:880 +#: inc/field.class.php:899 msgid "Text (multiples lines)" msgstr "Text (víceřádkový)" -#: inc/field.class.php:881 +#: inc/field.class.php:900 msgid "Number" msgstr "Číslo" -#: inc/field.class.php:882 +#: inc/field.class.php:901 msgid "URL" msgstr "URL adresa" -#: inc/field.class.php:883 +#: inc/field.class.php:902 msgid "Dropdown" msgstr "Rozbalovací" -#: inc/field.class.php:884 +#: inc/field.class.php:903 msgid "Yes/No" msgstr "Ano/Ne" -#: inc/field.class.php:885 +#: inc/field.class.php:904 msgid "Date" msgstr "Datum" -#: inc/field.class.php:886 +#: inc/field.class.php:905 msgid "Date & time" msgstr "Datum a čas" diff --git a/locales/en_GB.mo b/locales/en_GB.mo index e0dfec30c0c47ab5a318895091e57423c93679ac..2e22d81c32032693b60820d750fd71e1b1e318ae 100644 GIT binary patch literal 3747 zcmeH|Piz!b9LJxCqAOZO1^*yC6x%H@(l!{)*2a`lu(B<+EhJntvpa9M12gkB^JZE$ z(Tnk-@!|n5Mh+f4n0Ucx3?@cza`526gV7j?7rmR97!&>cW~Y=Q8cpQZmwEGWpBxT@ZSkE8WlQ1tx@;~1(gLD}zTi0SHg$fY(^ zdj4#NZQgf7S?6^q`n~~KO1%w5-*=(R{}774pFpv1Cxb=bekl6ZptK)_d*B=teP4ny z{{obCKZBz0MJW3I2u0sNpv>R4xo77NDEd}mKb(M~?26Nri!h5<>iW^uXsj|Lbr#?Hi@n1eGgT1lOj6fW)W|B-$%vV zqCCu9^tqQ>rHb}aiX4E0RMBCjh}Pn-8V>^P>%=VUR%oK2c+dQXFw8=mB!1NEaq3`X zo2S);O50dZgh2X(NFzmW>U9LXK9yJ=#K4@(b=Mj2h|}zGsR8!>nx0UPHiW! z%ZZvi)3IqL6Hbm#*VW;|v*Lc8O)B4Ng5{{J^AYDsd(ir9}rE z6OCeBZ5U{@^KrM4XPHd~|7NId5kS{5&9D_VHQHW#a@}v3NY(wMo%?O0rn~dc)n#;K zBmyq;qsSLC*7oGdn!Xv^i**smY?075ilmsy;|9LW;gYsV)a9vd$N(aAg%GWf&D6Xl zDUQ$8SF)xQN~|D(!azr1a=IKA`w8h{34SS^$3OqQVDXd^p#n; zKvFN5GnuZ&d6b16@td8D8!Ve$n6x8Pw9!N$I#J#xCQUyX$aKT#%UY10%ZsKLt#S}b z1fdf(1BGwucn7;#P_M`ktm@z}SA@96n4rwya>PmF_Rm;#(&l1CVl(aYxfYV^z{E(m&+ zW&d%LtC#$zEnKN=gc+;*O2HwHE?YsqB)0Np{-kezqWsWDOOHGdqjSP9iL*B>}diX%?z{uVq zN~P|*%v(tP#PQA8w5G@N%*F&9!=mnL%o*7G+`I+j$2Cn_n#*l9ZITy`9IQ-FO;4^` zI{esBMGjEh^cIL?O=l$Seon-YV$Z&P4uoYJv=yCS^p3GufL}C|G@fxVEsSvZ+|w|=Rfc# D4I>lS delta 980 zcmZA0JxCj29LMp0Ow`oVs!5|pO?<1`go=?=8ecHt(52uYf`hn76cqQmWl<=!&_XD- zI4X$P4n+_bhnCQxQ->(x;NmKXlMWU7{aqqRAM(%V?zy|?<#)+e?bOLWA_HLdPeQyJcJ!MgnVq4uNOFv8Qj20{EKOPOtm=S zCs0W)I^?e%yrn}?en3T;M@1Q{E=IYEO5zYn(%PxVly@{iY{ZRDDX6gyH|lz9QU|TKi2H7J7^C!$x^GHAsdQ6H zNzJc^^-oi*O5(mX=6-l*bMLE~%U>-mtYr41&bl|Z>7Q~EFZ&Y7_JP#!U~>P~|J?K6 GJ^uh{3{I~A diff --git a/locales/en_GB.po b/locales/en_GB.po index 7623bbe0..786c34da 100644 --- a/locales/en_GB.po +++ b/locales/en_GB.po @@ -7,8 +7,8 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-07-03 18:53+0000\n" -"PO-Revision-Date: 2020-07-03 18:53+0000\n" +"POT-Creation-Date: 2020-10-27 14:42+0000\n" +"PO-Revision-Date: 2020-10-27 14:42+0000\n" "Last-Translator: Automatically generated\n" "Language-Team: none\n" "Language: en_GB\n" @@ -30,7 +30,7 @@ msgid "MySQL tables uninstallation" msgstr "MySQL tables uninstallation" #: front/container.form.php:35 front/container.php:4 inc/menu.class.php:6 -#: setup.php:177 +#: setup.php:187 msgid "Additionnal fields" msgstr "Additionnal fields" @@ -38,11 +38,11 @@ msgstr "Additionnal fields" msgid "Updating generated dropdown files" msgstr "Updating generated dropdown files" -#: inc/labeltranslation.class.php:139 +#: inc/labeltranslation.class.php:147 msgid "Language" msgstr "Language" -#: inc/labeltranslation.class.php:140 +#: inc/labeltranslation.class.php:148 msgid "Label" msgstr "Label" @@ -50,19 +50,23 @@ msgstr "Label" msgid "Regenerate container files" msgstr "Regenerate container files" -#: inc/container.class.php:91 +#: inc/container.class.php:17 inc/container.class.php:589 +msgid "Export to YAML" +msgstr "Export to YAML" + +#: inc/container.class.php:93 msgid "Fix container names" msgstr "Fix container names" -#: inc/container.class.php:172 +#: inc/container.class.php:181 msgid "Updating generated containers files" msgstr "Updating generated containers files" -#: inc/container.class.php:368 +#: inc/container.class.php:377 msgid "You cannot add block without associated element type" msgstr "You cannot add block without associated element type" -#: inc/container.class.php:385 +#: inc/container.class.php:394 msgid "" "You cannot add several blocks with type 'Insertion in the form' on same " "object" @@ -70,7 +74,7 @@ msgstr "" "You cannot add several blocks with type 'Insertion in the form' on same " "object" -#: inc/container.class.php:400 +#: inc/container.class.php:409 msgid "" "You cannot add several blocks with type 'Insertion in the form of a specific " "tab' on same object tab" @@ -78,39 +82,47 @@ msgstr "" "You cannot add several blocks with type 'Insertion in the form of a specific " "tab' on same object tab" -#: inc/container.class.php:417 +#: inc/container.class.php:425 +msgid "" +"Container name is too long for database (digits in name are replaced by " +"characters, try to remove them)" +msgstr "" +"Container name is too long for database (digits in name are replaced by " +"characters, try to remove them)" + +#: inc/container.class.php:439 msgid "You cannot add several blocs with identical name on same object" msgstr "You cannot add several blocs with identical name on same object" -#: inc/container.class.php:560 +#: inc/container.class.php:582 msgid "Block" msgstr "Block" -#: inc/container.class.php:636 +#: inc/container.class.php:661 msgid "Tab" msgstr "Tab" -#: inc/container.class.php:842 +#: inc/container.class.php:876 msgid "Add tab" msgstr "Add tab" -#: inc/container.class.php:843 +#: inc/container.class.php:877 msgid "Insertion in the form (before save button)" msgstr "Insertion in the form (before save button)" -#: inc/container.class.php:844 +#: inc/container.class.php:878 msgid "Insertion in the form of a specific tab (before save button)" msgstr "Insertion in the form of a specific tab (before save button)" -#: inc/container.class.php:1206 +#: inc/container.class.php:1240 msgid "Some mandatory fields are empty" msgstr "Some mandatory fields are empty" -#: inc/container.class.php:1211 +#: inc/container.class.php:1245 msgid "Some numeric fields contains non numeric values" msgstr "Some numeric fields contains non numeric values" -#: inc/container.class.php:1216 +#: inc/container.class.php:1250 msgid "Some URL fields contains invalid links" msgstr "Some URL fields contains invalid links" @@ -122,66 +134,74 @@ msgstr "Fix fields names" msgid "Field" msgstr "Field" -#: inc/field.class.php:253 +#: inc/field.class.php:90 inc/field.class.php:115 +msgid "" +"Field name is too long for database (digits in name are replaced by " +"characters, try to remove them)" +msgstr "" +"Field name is too long for database (digits in name are replaced by " +"characters, try to remove them)" + +#: inc/field.class.php:272 msgid "Fields" msgstr "Fields" -#: inc/field.class.php:307 +#: inc/field.class.php:326 msgid "Add a new field" msgstr "Add a new field" -#: inc/field.class.php:311 +#: inc/field.class.php:330 msgid "No field for this block" msgstr "No field for this block" -#: inc/field.class.php:323 inc/field.class.php:436 +#: inc/field.class.php:342 inc/field.class.php:455 msgid "Read only" msgstr "Read only" -#: inc/field.class.php:413 +#: inc/field.class.php:432 msgid "Configure" msgstr "Configure" -#: inc/field.class.php:413 +#: inc/field.class.php:432 msgid "Configure fields values" msgstr "Configure fields values" -#: inc/field.class.php:732 +#: inc/field.class.php:751 msgid "show" msgstr "show" -#: inc/field.class.php:878 +#: inc/field.class.php:897 msgid "Header" msgstr "Header" -#: inc/field.class.php:879 +#: inc/field.class.php:898 msgid "Text (single line)" msgstr "Text (single line)" -#: inc/field.class.php:880 +#: inc/field.class.php:899 msgid "Text (multiples lines)" msgstr "Text (multiples lines)" -#: inc/field.class.php:881 +#: inc/field.class.php:900 msgid "Number" msgstr "Number" -#: inc/field.class.php:882 +#: inc/field.class.php:901 msgid "URL" msgstr "URL" -#: inc/field.class.php:883 +#: inc/field.class.php:902 msgid "Dropdown" msgstr "Dropdown" -#: inc/field.class.php:884 +#: inc/field.class.php:903 msgid "Yes/No" msgstr "Yes/No" -#: inc/field.class.php:885 +#: inc/field.class.php:904 msgid "Date" msgstr "Date" -#: inc/field.class.php:886 +#: inc/field.class.php:905 msgid "Date & time" msgstr "Date & time" diff --git a/locales/en_US.mo b/locales/en_US.mo index 378d5fa294b86e99917a04d1fef7c5f19affaee6..d131973c47ba1b1408d0336b460e31b12b81bef4 100644 GIT binary patch delta 376 zcmXZYy-Pw-7{~F)(tM4q@a+a=gf|35@8yc9i_su0IW#qQ8zK;LaBvZHE6~D*_9h`P zaBym}#eX1h>kn{oXle3$P&k~=IX}+xoWpt7dfKP$XmuST&u)<&5jpaTu#^n$Vjf+1 zfefiKMerJ(_<(+Fpa8l^DCK8FWb zMRoB#s>U6pL>^JYSJZKchxmgT{KHL5@X9bIaSzK_!YhAeb)ZLZLeR%!9HY8uh8F&! zjiG?ZB{s2)Q&d0U8x1x}u5B}$HnM3mA2+O`)nB-yf%D10uHW6n&uX>XQPT78Tmtk8 BDY*au delta 396 zcmXZYJxc>Y5P;!{CMIVTKZ0K;gcCurh_WOgm#7?Ah$uGNTEvT-5ON15lJcrFDO3n( zr(h5jEQI_4!P3gk#y=of2v%0UON3>g*!1=IM6OK9-AUbJx>S8){guz+52qg&7>F-zhOXYdvEpfAkf z50-FYKx79`(ZLVYKauV{^b}%)%FZa2Q8`O3=d-Qv_@uRaRIK~fcHn!~O8xMl=(@p) TU#mLhvbPu\n" +"POT-Creation-Date: 2020-10-27 14:42+0000\n" +"PO-Revision-Date: 2020-10-27 14:43+0000\n" +"Last-Translator: Cédric Anne\n" "Language-Team: English (United States) (http://www.transifex.com/teclib/glpi-plugin-plugin-fields/language/en_US/)\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" @@ -32,7 +32,7 @@ msgid "MySQL tables uninstallation" msgstr "MySQL tables uninstallation" #: front/container.form.php:35 front/container.php:4 inc/menu.class.php:6 -#: setup.php:177 +#: setup.php:187 msgid "Additionnal fields" msgstr "Additional Fields" @@ -40,11 +40,11 @@ msgstr "Additional Fields" msgid "Updating generated dropdown files" msgstr "Updating generated dropdown files" -#: inc/labeltranslation.class.php:139 +#: inc/labeltranslation.class.php:147 msgid "Language" msgstr "Language" -#: inc/labeltranslation.class.php:140 +#: inc/labeltranslation.class.php:148 msgid "Label" msgstr "Label" @@ -52,63 +52,73 @@ msgstr "Label" msgid "Regenerate container files" msgstr "Regenerate container files" -#: inc/container.class.php:91 +#: inc/container.class.php:17 inc/container.class.php:589 +msgid "Export to YAML" +msgstr "" + +#: inc/container.class.php:93 msgid "Fix container names" msgstr "Fix container names" -#: inc/container.class.php:172 +#: inc/container.class.php:181 msgid "Updating generated containers files" msgstr "Updating generated containers files" -#: inc/container.class.php:368 +#: inc/container.class.php:377 msgid "You cannot add block without associated element type" msgstr "You cannot add block without associated element type" -#: inc/container.class.php:385 +#: inc/container.class.php:394 msgid "" "You cannot add several blocks with type 'Insertion in the form' on same " "object" msgstr "You cannot add several blocks with type 'Insertion in the form' on same object" -#: inc/container.class.php:400 +#: inc/container.class.php:409 msgid "" "You cannot add several blocks with type 'Insertion in the form of a specific" " tab' on same object tab" msgstr "You cannot add several blocks with type 'Insertion in the form of a specific tab' on same object tab" -#: inc/container.class.php:417 +#: inc/container.class.php:425 +msgid "" +"Container name is too long for database (digits in name are replaced by " +"characters, try to remove them)" +msgstr "" + +#: inc/container.class.php:439 msgid "You cannot add several blocs with identical name on same object" msgstr "You cannot add several blocks with identical name on same object" -#: inc/container.class.php:560 +#: inc/container.class.php:582 msgid "Block" msgstr "Block" -#: inc/container.class.php:636 +#: inc/container.class.php:661 msgid "Tab" msgstr "Tab" -#: inc/container.class.php:842 +#: inc/container.class.php:876 msgid "Add tab" msgstr "Add Tab" -#: inc/container.class.php:843 +#: inc/container.class.php:877 msgid "Insertion in the form (before save button)" msgstr "Insert in the Form (before save button)" -#: inc/container.class.php:844 +#: inc/container.class.php:878 msgid "Insertion in the form of a specific tab (before save button)" msgstr "Insert in the Form of a Specific Tab (before save button)" -#: inc/container.class.php:1206 +#: inc/container.class.php:1240 msgid "Some mandatory fields are empty" msgstr "Some required fields are empty" -#: inc/container.class.php:1211 +#: inc/container.class.php:1245 msgid "Some numeric fields contains non numeric values" msgstr "Some numeric fields contains non-numeric values" -#: inc/container.class.php:1216 +#: inc/container.class.php:1250 msgid "Some URL fields contains invalid links" msgstr "Some URL fields contains invalid links" @@ -120,66 +130,72 @@ msgstr "Fix fields names" msgid "Field" msgstr "Field" -#: inc/field.class.php:253 +#: inc/field.class.php:90 inc/field.class.php:115 +msgid "" +"Field name is too long for database (digits in name are replaced by " +"characters, try to remove them)" +msgstr "" + +#: inc/field.class.php:272 msgid "Fields" msgstr "Fields" -#: inc/field.class.php:307 +#: inc/field.class.php:326 msgid "Add a new field" msgstr "Add a New Field" -#: inc/field.class.php:311 +#: inc/field.class.php:330 msgid "No field for this block" msgstr "No Field for this Block" -#: inc/field.class.php:323 inc/field.class.php:436 +#: inc/field.class.php:342 inc/field.class.php:455 msgid "Read only" msgstr "Read Only" -#: inc/field.class.php:413 +#: inc/field.class.php:432 msgid "Configure" msgstr "Configure" -#: inc/field.class.php:413 +#: inc/field.class.php:432 msgid "Configure fields values" msgstr "Configure Fields Values" -#: inc/field.class.php:732 +#: inc/field.class.php:751 msgid "show" msgstr "show" -#: inc/field.class.php:878 +#: inc/field.class.php:897 msgid "Header" msgstr "Header" -#: inc/field.class.php:879 +#: inc/field.class.php:898 msgid "Text (single line)" msgstr "Text (single line)" -#: inc/field.class.php:880 +#: inc/field.class.php:899 msgid "Text (multiples lines)" msgstr "Text (multiples lines)" -#: inc/field.class.php:881 +#: inc/field.class.php:900 msgid "Number" msgstr "Number" -#: inc/field.class.php:882 +#: inc/field.class.php:901 msgid "URL" msgstr "URL" -#: inc/field.class.php:883 +#: inc/field.class.php:902 msgid "Dropdown" msgstr "Dropdown" -#: inc/field.class.php:884 +#: inc/field.class.php:903 msgid "Yes/No" msgstr "Yes/No" -#: inc/field.class.php:885 +#: inc/field.class.php:904 msgid "Date" msgstr "Date" -#: inc/field.class.php:886 +#: inc/field.class.php:905 msgid "Date & time" msgstr "Date & Time" diff --git a/locales/es_ES.mo b/locales/es_ES.mo index 53b84c5300c87334fdf911e17eb54b6ce695f3de..d4b7735adc5ed736cc069612d18fe39f5584d12e 100644 GIT binary patch delta 392 zcmXZXu}cDB7{~F)!pp8JN|6vmFM@)^@bXNOP{g4n3My*t$c7*;ICT>wf}+hqTx}8r z2jRx1Xz+i~v9|sOq3=t*%je;N=Xrn6B>o;BRRgW(fJl2mBqAc~iz2I-!Z049hNr0G zB_`3qAU>jjFSv%C|9&6U+z_|X#|@m~3eIpJ4P9DtMp0pV2)n2TduU=GH*t&!{6Vsc zzV!ET7*(Jo=CFi2*uVpPL$!B;G5o?P&ai|L<49zl;+!)qyuv)bqPp+{i#Wz6YRe+m z_=G3;jVe&qAIuelyH+N>mp3iDU}sYqo__4q>gfy5aclQZ{lP1kmCr%dySp*Vu6yg- Hp)Ktf?!+*h delta 423 zcmXZX&q@MO6vy$SqS<88A6x`OO+-bB;!J5IF|{kAS`6)iXi_Ob9k^Pnz#gGR4-i37 zyI^P))XG)6maSU(4z=ogvAg*kesIn`=hgf&pDU5heMIDXKx9Hhii0AfxP#+(hzV?> zf#*1lR~W}zOyL8LVfdeSQTKh|0)FBQ{^AIl3@c*BkdAm1Cj?1+LEZR<7ItwKdpL#0 zkO;fVBI=KA)C;*-z$0A38(hP8)N_Au5~DPw(ZmgOQd=T13PoV!1+L;F>I=Wo#U5Vb z+_1c}&og%YRy%v3{AR1}w*ytOyjs~;mB8Ar eDpgg1wXXU>?yMhdo;LhiJy#AIZkSHaC;kALFgvyY diff --git a/locales/es_ES.po b/locales/es_ES.po index c7276054..0563a8f0 100644 --- a/locales/es_ES.po +++ b/locales/es_ES.po @@ -11,9 +11,9 @@ msgid "" msgstr "" "Project-Id-Version: GLPI Plugin - Fields\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-07-03 18:53+0000\n" -"PO-Revision-Date: 2020-03-24 15:21+0000\n" -"Last-Translator: Ricardo Herrero \n" +"POT-Creation-Date: 2020-10-27 14:42+0000\n" +"PO-Revision-Date: 2020-10-27 14:43+0000\n" +"Last-Translator: Cédric Anne\n" "Language-Team: Spanish (Spain) (http://www.transifex.com/teclib/glpi-plugin-plugin-fields/language/es_ES/)\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" @@ -34,7 +34,7 @@ msgid "MySQL tables uninstallation" msgstr "Desinstalación de las tablas MySQL" #: front/container.form.php:35 front/container.php:4 inc/menu.class.php:6 -#: setup.php:177 +#: setup.php:187 msgid "Additionnal fields" msgstr "Campos adicionales" @@ -42,11 +42,11 @@ msgstr "Campos adicionales" msgid "Updating generated dropdown files" msgstr "Actualización de los archivos 'desplegables' generados" -#: inc/labeltranslation.class.php:139 +#: inc/labeltranslation.class.php:147 msgid "Language" msgstr "Idioma" -#: inc/labeltranslation.class.php:140 +#: inc/labeltranslation.class.php:148 msgid "Label" msgstr "Etiqueta" @@ -54,63 +54,73 @@ msgstr "Etiqueta" msgid "Regenerate container files" msgstr "Regenerar archivos contenedores" -#: inc/container.class.php:91 +#: inc/container.class.php:17 inc/container.class.php:589 +msgid "Export to YAML" +msgstr "" + +#: inc/container.class.php:93 msgid "Fix container names" msgstr "Corrija los nombres de los contenedores" -#: inc/container.class.php:172 +#: inc/container.class.php:181 msgid "Updating generated containers files" msgstr "Actualizar los archivos de contenedores generados" -#: inc/container.class.php:368 +#: inc/container.class.php:377 msgid "You cannot add block without associated element type" msgstr "No se puede agregar un bloque sin el tipo de elemento asociado" -#: inc/container.class.php:385 +#: inc/container.class.php:394 msgid "" "You cannot add several blocks with type 'Insertion in the form' on same " "object" msgstr "No se pueden añadir varios bloques con el tipo 'inserción en el formulario' en el mismo objeto" -#: inc/container.class.php:400 +#: inc/container.class.php:409 msgid "" "You cannot add several blocks with type 'Insertion in the form of a specific" " tab' on same object tab" msgstr "No puede agregar varios bloques con el tipo 'inserción en forma de una pestaña específica' en la misma pestaña de objeto" -#: inc/container.class.php:417 +#: inc/container.class.php:425 +msgid "" +"Container name is too long for database (digits in name are replaced by " +"characters, try to remove them)" +msgstr "" + +#: inc/container.class.php:439 msgid "You cannot add several blocs with identical name on same object" msgstr "No se pueden añadir varios bloques con un nombre idéntico en el mismo objeto" -#: inc/container.class.php:560 +#: inc/container.class.php:582 msgid "Block" msgstr "Bloque" -#: inc/container.class.php:636 +#: inc/container.class.php:661 msgid "Tab" msgstr "Pestaña" -#: inc/container.class.php:842 +#: inc/container.class.php:876 msgid "Add tab" msgstr "Agregar pestaña" -#: inc/container.class.php:843 +#: inc/container.class.php:877 msgid "Insertion in the form (before save button)" msgstr "Insertando en el formulario (antes del botón guardar)" -#: inc/container.class.php:844 +#: inc/container.class.php:878 msgid "Insertion in the form of a specific tab (before save button)" msgstr "Inserción en el formulario de una pestaña específica (antes del botón guardar)" -#: inc/container.class.php:1206 +#: inc/container.class.php:1240 msgid "Some mandatory fields are empty" msgstr "Algunos campos obligatorios están vacíos" -#: inc/container.class.php:1211 +#: inc/container.class.php:1245 msgid "Some numeric fields contains non numeric values" msgstr "Algunos campos numéricos contienen valores no numéricos" -#: inc/container.class.php:1216 +#: inc/container.class.php:1250 msgid "Some URL fields contains invalid links" msgstr "Algunos campos de URL contienen vínculos no válidos" @@ -122,66 +132,72 @@ msgstr "Corrija los nombres de los campos" msgid "Field" msgstr "Campo" -#: inc/field.class.php:253 +#: inc/field.class.php:90 inc/field.class.php:115 +msgid "" +"Field name is too long for database (digits in name are replaced by " +"characters, try to remove them)" +msgstr "" + +#: inc/field.class.php:272 msgid "Fields" msgstr "Campos" -#: inc/field.class.php:307 +#: inc/field.class.php:326 msgid "Add a new field" msgstr "Agregar nuevo campo" -#: inc/field.class.php:311 +#: inc/field.class.php:330 msgid "No field for this block" msgstr "Ningún campo para este bloque" -#: inc/field.class.php:323 inc/field.class.php:436 +#: inc/field.class.php:342 inc/field.class.php:455 msgid "Read only" msgstr "Solo lectura" -#: inc/field.class.php:413 +#: inc/field.class.php:432 msgid "Configure" msgstr "Configurar" -#: inc/field.class.php:413 +#: inc/field.class.php:432 msgid "Configure fields values" msgstr "Configure valores de los campos" -#: inc/field.class.php:732 +#: inc/field.class.php:751 msgid "show" msgstr "mostrar" -#: inc/field.class.php:878 +#: inc/field.class.php:897 msgid "Header" msgstr "Encabezamiento" -#: inc/field.class.php:879 +#: inc/field.class.php:898 msgid "Text (single line)" msgstr "Texto (línea simple)" -#: inc/field.class.php:880 +#: inc/field.class.php:899 msgid "Text (multiples lines)" msgstr "Texto (multiples líneas)" -#: inc/field.class.php:881 +#: inc/field.class.php:900 msgid "Number" msgstr "Número" -#: inc/field.class.php:882 +#: inc/field.class.php:901 msgid "URL" msgstr "URL" -#: inc/field.class.php:883 +#: inc/field.class.php:902 msgid "Dropdown" msgstr "Menú desplegable" -#: inc/field.class.php:884 +#: inc/field.class.php:903 msgid "Yes/No" msgstr "Si/No" -#: inc/field.class.php:885 +#: inc/field.class.php:904 msgid "Date" msgstr "Fecha" -#: inc/field.class.php:886 +#: inc/field.class.php:905 msgid "Date & time" msgstr "Fecha & Hora" diff --git a/locales/fi_FI.mo b/locales/fi_FI.mo index 97373b81e2d28ece44d30638b1f8f904ea57c2ea..04a27effe6a0a4a928ef5c3de6dccb150b30c76a 100644 GIT binary patch delta 27 icmca7bx&$TJ3F6|fv%x}u93Ndp^24=@#d-QCs_e^?g$0| delta 27 icmca7bx&$TJ3F7DrLKXgu7Qz)p@EgL<>smECs_e_TL=sQ diff --git a/locales/fi_FI.po b/locales/fi_FI.po index d122f6f0..88443aac 100644 --- a/locales/fi_FI.po +++ b/locales/fi_FI.po @@ -8,8 +8,8 @@ msgid "" msgstr "" "Project-Id-Version: GLPI Plugin - Fields\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-07-03 18:53+0000\n" -"PO-Revision-Date: 2019-05-02 10:39+0000\n" +"POT-Creation-Date: 2020-10-27 14:42+0000\n" +"PO-Revision-Date: 2020-10-27 14:43+0000\n" "Last-Translator: Cédric Anne\n" "Language-Team: Finnish (Finland) (http://www.transifex.com/teclib/glpi-plugin-plugin-fields/language/fi_FI/)\n" "MIME-Version: 1.0\n" @@ -31,7 +31,7 @@ msgid "MySQL tables uninstallation" msgstr "MySQL-taulukoiden poistaminen" #: front/container.form.php:35 front/container.php:4 inc/menu.class.php:6 -#: setup.php:177 +#: setup.php:187 msgid "Additionnal fields" msgstr "Lisäkentät" @@ -39,11 +39,11 @@ msgstr "Lisäkentät" msgid "Updating generated dropdown files" msgstr "Päivitetään luodut pudotusvalikko tiedostot" -#: inc/labeltranslation.class.php:139 +#: inc/labeltranslation.class.php:147 msgid "Language" msgstr "Kieli" -#: inc/labeltranslation.class.php:140 +#: inc/labeltranslation.class.php:148 msgid "Label" msgstr "Etiketti" @@ -51,63 +51,73 @@ msgstr "Etiketti" msgid "Regenerate container files" msgstr "Luo uudelleen säilötiedostot" -#: inc/container.class.php:91 +#: inc/container.class.php:17 inc/container.class.php:589 +msgid "Export to YAML" +msgstr "" + +#: inc/container.class.php:93 msgid "Fix container names" msgstr "" -#: inc/container.class.php:172 +#: inc/container.class.php:181 msgid "Updating generated containers files" msgstr "Päivitetään luodut säilötiedostot" -#: inc/container.class.php:368 +#: inc/container.class.php:377 msgid "You cannot add block without associated element type" msgstr "Et voi lisätä osiota ilman liittyvää elementtityyppiä" -#: inc/container.class.php:385 +#: inc/container.class.php:394 msgid "" "You cannot add several blocks with type 'Insertion in the form' on same " "object" msgstr "Et voi lisätä useita osioita, joiden tyyppi on \"Lisää lomakkeeseen\" samassa objektissa" -#: inc/container.class.php:400 +#: inc/container.class.php:409 msgid "" "You cannot add several blocks with type 'Insertion in the form of a specific" " tab' on same object tab" msgstr "Et voi lisätä useita osioita, joissa on tyyppi \"Liitettynä lomakkeeseen tietyssä välilehdessä\" samassa objektin välilehdessä" -#: inc/container.class.php:417 +#: inc/container.class.php:425 +msgid "" +"Container name is too long for database (digits in name are replaced by " +"characters, try to remove them)" +msgstr "" + +#: inc/container.class.php:439 msgid "You cannot add several blocs with identical name on same object" msgstr "Et voi lisätä useita osioita samalla nimellä samaan objektiin" -#: inc/container.class.php:560 +#: inc/container.class.php:582 msgid "Block" msgstr "Osio" -#: inc/container.class.php:636 +#: inc/container.class.php:661 msgid "Tab" msgstr "Välilehti" -#: inc/container.class.php:842 +#: inc/container.class.php:876 msgid "Add tab" msgstr "Lisää välilehti" -#: inc/container.class.php:843 +#: inc/container.class.php:877 msgid "Insertion in the form (before save button)" msgstr "Lisää lomakkeeseen (ennen tallennuspainiketta)" -#: inc/container.class.php:844 +#: inc/container.class.php:878 msgid "Insertion in the form of a specific tab (before save button)" msgstr "Lisää lomakkeeseen tietyssä välilehdessä (ennen tallennuspainiketta)" -#: inc/container.class.php:1206 +#: inc/container.class.php:1240 msgid "Some mandatory fields are empty" msgstr "Jotkut pakolliset kentät ovat tyhjiä" -#: inc/container.class.php:1211 +#: inc/container.class.php:1245 msgid "Some numeric fields contains non numeric values" msgstr "Jotkin numeeriset kentät sisältävät ei-numeerisia arvoja" -#: inc/container.class.php:1216 +#: inc/container.class.php:1250 msgid "Some URL fields contains invalid links" msgstr "Joissakin URL-kentissä on virheellisiä linkkejä" @@ -119,66 +129,72 @@ msgstr "" msgid "Field" msgstr "Kenttä" -#: inc/field.class.php:253 +#: inc/field.class.php:90 inc/field.class.php:115 +msgid "" +"Field name is too long for database (digits in name are replaced by " +"characters, try to remove them)" +msgstr "" + +#: inc/field.class.php:272 msgid "Fields" msgstr "Kentät" -#: inc/field.class.php:307 +#: inc/field.class.php:326 msgid "Add a new field" msgstr "Lisää uusi kenttä" -#: inc/field.class.php:311 +#: inc/field.class.php:330 msgid "No field for this block" msgstr "Ei kenttää tälle osiolle" -#: inc/field.class.php:323 inc/field.class.php:436 +#: inc/field.class.php:342 inc/field.class.php:455 msgid "Read only" msgstr "Vain luku" -#: inc/field.class.php:413 +#: inc/field.class.php:432 msgid "Configure" msgstr "Määritä" -#: inc/field.class.php:413 +#: inc/field.class.php:432 msgid "Configure fields values" msgstr "Määritä kenttien arvot" -#: inc/field.class.php:732 +#: inc/field.class.php:751 msgid "show" msgstr "näytä" -#: inc/field.class.php:878 +#: inc/field.class.php:897 msgid "Header" msgstr "Ylätunniste" -#: inc/field.class.php:879 +#: inc/field.class.php:898 msgid "Text (single line)" msgstr "Teksti (yksi rivi)" -#: inc/field.class.php:880 +#: inc/field.class.php:899 msgid "Text (multiples lines)" msgstr "Teksti (useita rivejä)" -#: inc/field.class.php:881 +#: inc/field.class.php:900 msgid "Number" msgstr "Numero" -#: inc/field.class.php:882 +#: inc/field.class.php:901 msgid "URL" msgstr "URL" -#: inc/field.class.php:883 +#: inc/field.class.php:902 msgid "Dropdown" msgstr "Pudotusvalikko" -#: inc/field.class.php:884 +#: inc/field.class.php:903 msgid "Yes/No" msgstr "Kyllä/Ei" -#: inc/field.class.php:885 +#: inc/field.class.php:904 msgid "Date" msgstr "Päivämäärä" -#: inc/field.class.php:886 +#: inc/field.class.php:905 msgid "Date & time" msgstr "Päivämäärä ja aika" diff --git a/locales/fields.pot b/locales/fields.pot index 8ff68072..0c3755b2 100644 --- a/locales/fields.pot +++ b/locales/fields.pot @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-07-03 18:53+0000\n" +"POT-Creation-Date: 2020-10-27 14:42+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -30,7 +30,7 @@ msgid "MySQL tables uninstallation" msgstr "" #: front/container.form.php:35 front/container.php:4 inc/menu.class.php:6 -#: setup.php:177 +#: setup.php:187 msgid "Additionnal fields" msgstr "" @@ -38,11 +38,11 @@ msgstr "" msgid "Updating generated dropdown files" msgstr "" -#: inc/labeltranslation.class.php:139 +#: inc/labeltranslation.class.php:147 msgid "Language" msgstr "" -#: inc/labeltranslation.class.php:140 +#: inc/labeltranslation.class.php:148 msgid "Label" msgstr "" @@ -50,63 +50,73 @@ msgstr "" msgid "Regenerate container files" msgstr "" -#: inc/container.class.php:91 +#: inc/container.class.php:17 inc/container.class.php:589 +msgid "Export to YAML" +msgstr "" + +#: inc/container.class.php:93 msgid "Fix container names" msgstr "" -#: inc/container.class.php:172 +#: inc/container.class.php:181 msgid "Updating generated containers files" msgstr "" -#: inc/container.class.php:368 +#: inc/container.class.php:377 msgid "You cannot add block without associated element type" msgstr "" -#: inc/container.class.php:385 +#: inc/container.class.php:394 msgid "" "You cannot add several blocks with type 'Insertion in the form' on same " "object" msgstr "" -#: inc/container.class.php:400 +#: inc/container.class.php:409 msgid "" "You cannot add several blocks with type 'Insertion in the form of a specific " "tab' on same object tab" msgstr "" -#: inc/container.class.php:417 +#: inc/container.class.php:425 +msgid "" +"Container name is too long for database (digits in name are replaced by " +"characters, try to remove them)" +msgstr "" + +#: inc/container.class.php:439 msgid "You cannot add several blocs with identical name on same object" msgstr "" -#: inc/container.class.php:560 +#: inc/container.class.php:582 msgid "Block" msgstr "" -#: inc/container.class.php:636 +#: inc/container.class.php:661 msgid "Tab" msgstr "" -#: inc/container.class.php:842 +#: inc/container.class.php:876 msgid "Add tab" msgstr "" -#: inc/container.class.php:843 +#: inc/container.class.php:877 msgid "Insertion in the form (before save button)" msgstr "" -#: inc/container.class.php:844 +#: inc/container.class.php:878 msgid "Insertion in the form of a specific tab (before save button)" msgstr "" -#: inc/container.class.php:1206 +#: inc/container.class.php:1240 msgid "Some mandatory fields are empty" msgstr "" -#: inc/container.class.php:1211 +#: inc/container.class.php:1245 msgid "Some numeric fields contains non numeric values" msgstr "" -#: inc/container.class.php:1216 +#: inc/container.class.php:1250 msgid "Some URL fields contains invalid links" msgstr "" @@ -118,66 +128,72 @@ msgstr "" msgid "Field" msgstr "" -#: inc/field.class.php:253 +#: inc/field.class.php:90 inc/field.class.php:115 +msgid "" +"Field name is too long for database (digits in name are replaced by " +"characters, try to remove them)" +msgstr "" + +#: inc/field.class.php:272 msgid "Fields" msgstr "" -#: inc/field.class.php:307 +#: inc/field.class.php:326 msgid "Add a new field" msgstr "" -#: inc/field.class.php:311 +#: inc/field.class.php:330 msgid "No field for this block" msgstr "" -#: inc/field.class.php:323 inc/field.class.php:436 +#: inc/field.class.php:342 inc/field.class.php:455 msgid "Read only" msgstr "" -#: inc/field.class.php:413 +#: inc/field.class.php:432 msgid "Configure" msgstr "" -#: inc/field.class.php:413 +#: inc/field.class.php:432 msgid "Configure fields values" msgstr "" -#: inc/field.class.php:732 +#: inc/field.class.php:751 msgid "show" msgstr "" -#: inc/field.class.php:878 +#: inc/field.class.php:897 msgid "Header" msgstr "" -#: inc/field.class.php:879 +#: inc/field.class.php:898 msgid "Text (single line)" msgstr "" -#: inc/field.class.php:880 +#: inc/field.class.php:899 msgid "Text (multiples lines)" msgstr "" -#: inc/field.class.php:881 +#: inc/field.class.php:900 msgid "Number" msgstr "" -#: inc/field.class.php:882 +#: inc/field.class.php:901 msgid "URL" msgstr "" -#: inc/field.class.php:883 +#: inc/field.class.php:902 msgid "Dropdown" msgstr "" -#: inc/field.class.php:884 +#: inc/field.class.php:903 msgid "Yes/No" msgstr "" -#: inc/field.class.php:885 +#: inc/field.class.php:904 msgid "Date" msgstr "" -#: inc/field.class.php:886 +#: inc/field.class.php:905 msgid "Date & time" msgstr "" diff --git a/locales/fr_FR.mo b/locales/fr_FR.mo index 64c06c88a0b43538c65541b9a9058e942910df97..66a05beeb8465e2ca73e3b5109c4bee16587da27 100644 GIT binary patch delta 27 icmdlfy;FKaJ3F6|fv%x}u93Ndp^24=@#d-QDr^96QwJIV delta 27 icmdlfy;FKaJ3F7DrLKXgu7Qz)p@EgL<>smEDr^96zy}}z diff --git a/locales/fr_FR.po b/locales/fr_FR.po index a96f8eaa..1f54bcd4 100644 --- a/locales/fr_FR.po +++ b/locales/fr_FR.po @@ -11,8 +11,8 @@ msgid "" msgstr "" "Project-Id-Version: GLPI Plugin - Fields\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-07-03 18:53+0000\n" -"PO-Revision-Date: 2019-05-02 10:39+0000\n" +"POT-Creation-Date: 2020-10-27 14:42+0000\n" +"PO-Revision-Date: 2020-10-27 14:43+0000\n" "Last-Translator: Cédric Anne\n" "Language-Team: French (France) (http://www.transifex.com/teclib/glpi-plugin-plugin-fields/language/fr_FR/)\n" "MIME-Version: 1.0\n" @@ -34,7 +34,7 @@ msgid "MySQL tables uninstallation" msgstr "Désinstallation des tables MySQL" #: front/container.form.php:35 front/container.php:4 inc/menu.class.php:6 -#: setup.php:177 +#: setup.php:187 msgid "Additionnal fields" msgstr "Champs supplémentaires" @@ -42,11 +42,11 @@ msgstr "Champs supplémentaires" msgid "Updating generated dropdown files" msgstr "Mise à jour des fichiers générés des listes déroulantes " -#: inc/labeltranslation.class.php:139 +#: inc/labeltranslation.class.php:147 msgid "Language" msgstr "Langue" -#: inc/labeltranslation.class.php:140 +#: inc/labeltranslation.class.php:148 msgid "Label" msgstr "Libellé" @@ -54,63 +54,73 @@ msgstr "Libellé" msgid "Regenerate container files" msgstr "Régénérer les fichiers des blocs" -#: inc/container.class.php:91 +#: inc/container.class.php:17 inc/container.class.php:589 +msgid "Export to YAML" +msgstr "" + +#: inc/container.class.php:93 msgid "Fix container names" msgstr "" -#: inc/container.class.php:172 +#: inc/container.class.php:181 msgid "Updating generated containers files" msgstr "Mettre à jour les fichier de conteneurs générés" -#: inc/container.class.php:368 +#: inc/container.class.php:377 msgid "You cannot add block without associated element type" msgstr "Vous ne pouvez pas ajouter de bloc sans associer de type d'élément" -#: inc/container.class.php:385 +#: inc/container.class.php:394 msgid "" "You cannot add several blocks with type 'Insertion in the form' on same " "object" msgstr "Vous ne pouvez pas créer plusieurs blocs de type 'Insertion dans le formulaire' sur le même objet" -#: inc/container.class.php:400 +#: inc/container.class.php:409 msgid "" "You cannot add several blocks with type 'Insertion in the form of a specific" " tab' on same object tab" msgstr "Vous ne pouvez pas créer plusieurs blocs de type 'Insertion dans le formulaire d'un onglet spécifique' sur le même onglet d'un objet" -#: inc/container.class.php:417 +#: inc/container.class.php:425 +msgid "" +"Container name is too long for database (digits in name are replaced by " +"characters, try to remove them)" +msgstr "" + +#: inc/container.class.php:439 msgid "You cannot add several blocs with identical name on same object" msgstr "Vous ne pouvez pas ajouter plusieurs blocs avec un même nom sur le même objet" -#: inc/container.class.php:560 +#: inc/container.class.php:582 msgid "Block" msgstr "Bloc" -#: inc/container.class.php:636 +#: inc/container.class.php:661 msgid "Tab" msgstr "Onglet" -#: inc/container.class.php:842 +#: inc/container.class.php:876 msgid "Add tab" msgstr "Ajout d'un onglet" -#: inc/container.class.php:843 +#: inc/container.class.php:877 msgid "Insertion in the form (before save button)" msgstr "Insertion dans le formulaire (avant le bouton sauvegarder)" -#: inc/container.class.php:844 +#: inc/container.class.php:878 msgid "Insertion in the form of a specific tab (before save button)" msgstr "Insertion dans le formulaire d'un onglet spécifique (avant le bouton sauvegarder)" -#: inc/container.class.php:1206 +#: inc/container.class.php:1240 msgid "Some mandatory fields are empty" msgstr "Des champs obligatoires sont vides" -#: inc/container.class.php:1211 +#: inc/container.class.php:1245 msgid "Some numeric fields contains non numeric values" msgstr "Des champs numériques contiennent des données non numériques" -#: inc/container.class.php:1216 +#: inc/container.class.php:1250 msgid "Some URL fields contains invalid links" msgstr "Des champs URL contiennent des liens invalides" @@ -122,66 +132,72 @@ msgstr "" msgid "Field" msgstr "Champ" -#: inc/field.class.php:253 +#: inc/field.class.php:90 inc/field.class.php:115 +msgid "" +"Field name is too long for database (digits in name are replaced by " +"characters, try to remove them)" +msgstr "" + +#: inc/field.class.php:272 msgid "Fields" msgstr "Champs" -#: inc/field.class.php:307 +#: inc/field.class.php:326 msgid "Add a new field" msgstr "Ajouter un nouveau champ" -#: inc/field.class.php:311 +#: inc/field.class.php:330 msgid "No field for this block" msgstr "Aucun champ pour ce bloc" -#: inc/field.class.php:323 inc/field.class.php:436 +#: inc/field.class.php:342 inc/field.class.php:455 msgid "Read only" msgstr "Lecture seule" -#: inc/field.class.php:413 +#: inc/field.class.php:432 msgid "Configure" msgstr "Configuration" -#: inc/field.class.php:413 +#: inc/field.class.php:432 msgid "Configure fields values" msgstr "Configurer les valeurs du champ" -#: inc/field.class.php:732 +#: inc/field.class.php:751 msgid "show" msgstr "afficher" -#: inc/field.class.php:878 +#: inc/field.class.php:897 msgid "Header" msgstr "Entête" -#: inc/field.class.php:879 +#: inc/field.class.php:898 msgid "Text (single line)" msgstr "Texte (ligne simple)" -#: inc/field.class.php:880 +#: inc/field.class.php:899 msgid "Text (multiples lines)" msgstr "Texte (lignes multiples)" -#: inc/field.class.php:881 +#: inc/field.class.php:900 msgid "Number" msgstr "Nombre" -#: inc/field.class.php:882 +#: inc/field.class.php:901 msgid "URL" msgstr "URL" -#: inc/field.class.php:883 +#: inc/field.class.php:902 msgid "Dropdown" msgstr "Liste déroulante (Intitulés)" -#: inc/field.class.php:884 +#: inc/field.class.php:903 msgid "Yes/No" msgstr "Oui/Non" -#: inc/field.class.php:885 +#: inc/field.class.php:904 msgid "Date" msgstr "Date" -#: inc/field.class.php:886 +#: inc/field.class.php:905 msgid "Date & time" msgstr "Date & heure" diff --git a/locales/hr_HR.mo b/locales/hr_HR.mo index 37f12112075ba1f12447dc391e8f29e1824eb5ea..314020bc0b18fe851f9e0d32f21511494b9a8f5f 100644 GIT binary patch delta 392 zcmXZYF-XHe6vpvaHMXXTqJxys640R#BB@3Sr7Fe2K}S*7XdMKJkhF8@Bu+Yrn?vc; zK`0a#Q4oaEOYnwPm ze~FWLjX7+gfzLRNeeJuRe`|kmp8H>%L(>$YlpMO4H>DvP6nhND@dnl6Tg+e^Eqp?? z=mS-tA*#TCxPZyDh=UGhaUY9VN8ToPIE(k%0j|-1rnf{!DKb1yCCcI|Zlem)L?6#F z#z#Crk8djD1*Wjy>x`@$O9jteF4_gZLICr5TA L43B$@sR!d92;nm^ delta 407 zcmXxgze~eF7{>88YP6<`qNtRh1YCp~X{u5T{o&@~=pb%^Mku6Kn=DQR@ejx(PA=jg zI25~yqnkpf;wCPFxI4M{Jv?vuyzhH(Jn!}GH@jOmI`4)^IwmqLA}8Y_lX#|0afJQ~ zC-54Vu!|=4aS8|84?X|Z{@?=lh9xqKIb&NLBQ=VU!6@FKdiV}=c#k%|pnB*N zRUpa!1vYV+b{_NS<02kn3D1$;#0PmxQPd-f~2^C7Z~F+ z?qiK_D&r+)aL~IQs+yHT(e;Xsx9)pe`2xq<4dTSzYX?Vh6eO*-?=%}xD>*$5opLj1 QMBD%ET0N}x<}wfFFO;7*{{R30 diff --git a/locales/hr_HR.po b/locales/hr_HR.po index 6430572d..ee5ef359 100644 --- a/locales/hr_HR.po +++ b/locales/hr_HR.po @@ -8,9 +8,9 @@ msgid "" msgstr "" "Project-Id-Version: GLPI Plugin - Fields\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-07-03 18:53+0000\n" -"PO-Revision-Date: 2020-02-12 13:19+0000\n" -"Last-Translator: milotype \n" +"POT-Creation-Date: 2020-10-27 14:42+0000\n" +"PO-Revision-Date: 2020-10-27 14:43+0000\n" +"Last-Translator: Cédric Anne\n" "Language-Team: Croatian (Croatia) (http://www.transifex.com/teclib/glpi-plugin-plugin-fields/language/hr_HR/)\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" @@ -31,7 +31,7 @@ msgid "MySQL tables uninstallation" msgstr "Deinstalacija MySQL tablica" #: front/container.form.php:35 front/container.php:4 inc/menu.class.php:6 -#: setup.php:177 +#: setup.php:187 msgid "Additionnal fields" msgstr "Dodatna polja" @@ -39,11 +39,11 @@ msgstr "Dodatna polja" msgid "Updating generated dropdown files" msgstr "Aktualiziranje generiranih datoteka padajućih popisa" -#: inc/labeltranslation.class.php:139 +#: inc/labeltranslation.class.php:147 msgid "Language" msgstr "Jezik" -#: inc/labeltranslation.class.php:140 +#: inc/labeltranslation.class.php:148 msgid "Label" msgstr "Oznaka" @@ -51,63 +51,73 @@ msgstr "Oznaka" msgid "Regenerate container files" msgstr "Ponovo generiraj datoteke spremnika" -#: inc/container.class.php:91 +#: inc/container.class.php:17 inc/container.class.php:589 +msgid "Export to YAML" +msgstr "" + +#: inc/container.class.php:93 msgid "Fix container names" msgstr "Ispravi imena spremnika" -#: inc/container.class.php:172 +#: inc/container.class.php:181 msgid "Updating generated containers files" msgstr "Aktualiziranje generiranih datoteka spremnika" -#: inc/container.class.php:368 +#: inc/container.class.php:377 msgid "You cannot add block without associated element type" msgstr "Nije moguće dodati blok bez povezane vrste elementa" -#: inc/container.class.php:385 +#: inc/container.class.php:394 msgid "" "You cannot add several blocks with type 'Insertion in the form' on same " "object" msgstr "Nije moguće dodati višestruke blokove s vrstom „Umetanje u obrazac” na isti objekt" -#: inc/container.class.php:400 +#: inc/container.class.php:409 msgid "" "You cannot add several blocks with type 'Insertion in the form of a specific" " tab' on same object tab" msgstr "Nije moguće dodati višestruke blokove s vrstom „Umetanje u obrazac određene kartice” na istu karticu objekta" -#: inc/container.class.php:417 +#: inc/container.class.php:425 +msgid "" +"Container name is too long for database (digits in name are replaced by " +"characters, try to remove them)" +msgstr "" + +#: inc/container.class.php:439 msgid "You cannot add several blocs with identical name on same object" msgstr "Nije moguće dodati blokove s jednakim imenon na isti objekt" -#: inc/container.class.php:560 +#: inc/container.class.php:582 msgid "Block" msgstr "Blok" -#: inc/container.class.php:636 +#: inc/container.class.php:661 msgid "Tab" msgstr "Kartica" -#: inc/container.class.php:842 +#: inc/container.class.php:876 msgid "Add tab" msgstr "Dodaj karticu" -#: inc/container.class.php:843 +#: inc/container.class.php:877 msgid "Insertion in the form (before save button)" msgstr "Umetanje u obrazac (prije gumba za spremanje)" -#: inc/container.class.php:844 +#: inc/container.class.php:878 msgid "Insertion in the form of a specific tab (before save button)" msgstr "Umetanje u obrazac određene kartice (prije gumba za spremanje)" -#: inc/container.class.php:1206 +#: inc/container.class.php:1240 msgid "Some mandatory fields are empty" msgstr "Neka obavezna polja su prazna" -#: inc/container.class.php:1211 +#: inc/container.class.php:1245 msgid "Some numeric fields contains non numeric values" msgstr "Neka numerička polja sadrže ne numeričke vrijednosti" -#: inc/container.class.php:1216 +#: inc/container.class.php:1250 msgid "Some URL fields contains invalid links" msgstr "Neka URL polja sadrže neispravne poveznice" @@ -119,66 +129,72 @@ msgstr "Ispravi imena polja" msgid "Field" msgstr "Polje" -#: inc/field.class.php:253 +#: inc/field.class.php:90 inc/field.class.php:115 +msgid "" +"Field name is too long for database (digits in name are replaced by " +"characters, try to remove them)" +msgstr "" + +#: inc/field.class.php:272 msgid "Fields" msgstr "Polja" -#: inc/field.class.php:307 +#: inc/field.class.php:326 msgid "Add a new field" msgstr "Dodaj novo polje" -#: inc/field.class.php:311 +#: inc/field.class.php:330 msgid "No field for this block" msgstr "Nema polja za ovaj blok" -#: inc/field.class.php:323 inc/field.class.php:436 +#: inc/field.class.php:342 inc/field.class.php:455 msgid "Read only" msgstr "Samo-za-čitanje" -#: inc/field.class.php:413 +#: inc/field.class.php:432 msgid "Configure" msgstr "Konfiguriraj" -#: inc/field.class.php:413 +#: inc/field.class.php:432 msgid "Configure fields values" msgstr "Konfiguriraj vrijednosti polja" -#: inc/field.class.php:732 +#: inc/field.class.php:751 msgid "show" msgstr "prikaži" -#: inc/field.class.php:878 +#: inc/field.class.php:897 msgid "Header" msgstr "Zaglavlje" -#: inc/field.class.php:879 +#: inc/field.class.php:898 msgid "Text (single line)" msgstr "Tekst (jednoredni)" -#: inc/field.class.php:880 +#: inc/field.class.php:899 msgid "Text (multiples lines)" msgstr "Tekst (višeredni)" -#: inc/field.class.php:881 +#: inc/field.class.php:900 msgid "Number" msgstr "Broj" -#: inc/field.class.php:882 +#: inc/field.class.php:901 msgid "URL" msgstr "URL" -#: inc/field.class.php:883 +#: inc/field.class.php:902 msgid "Dropdown" msgstr "Padajući popis" -#: inc/field.class.php:884 +#: inc/field.class.php:903 msgid "Yes/No" msgstr "Da/Ne" -#: inc/field.class.php:885 +#: inc/field.class.php:904 msgid "Date" msgstr "Datum" -#: inc/field.class.php:886 +#: inc/field.class.php:905 msgid "Date & time" msgstr "Datum i vrijeme" diff --git a/locales/ja_JP.mo b/locales/ja_JP.mo index a832dbecc2edeac1c838bb7bea8c215786495a1d..7c09a7ebfe1f57a77e654538e275db1db1a7b11e 100644 GIT binary patch delta 395 zcmXZWu}i~16vy#b#j3Gd9TY)QBB%v5kTeBp6{J=XL~s$D1cMP2N(yP+#EQ_pW4BHU zbrR~PIMmfY!AS&H7bg|`9=+q>bHBTH_wLX9HSdF1?J6eH7!*m1$i%S7B<64$_b`E{ z7{_y*!3&+6+7_yNx0u8y?JK6pZ#auT$Q08MS;Mp;HQ8bju%Qm_P&InM1$@M1d`AzH zBfaw?s*mm9A|Bv6UZZN%#T`uM!IfJfxR#I{I3i)S`$?BWJ~;W&Duy~0hr zB;V*fHzrah*HJb2?zH<>2i%NfyN;b%vD|Dv>n%A9W7n@#?fu9PDPdZaWpYeY(VKZd_ delta 396 zcmXZWu}gwM7{~F)B-1x75riPLw;_${g}2urd`xBZXnp>I_`X1hK@VVdJbNAdZGs-+yL!Il8NN-9cFCwX!NE%(7!$XW? z9V2*-^LVNAt@aMpy$77dH|+;z$)C80Lu5+U5ZT6MLpoAsQDZ|LJfUjzf;oJ}HT=Q? zCa1^eyQn_4k1KeLJ9vYt(EyA1jq1Gxiq*$++7h0UPvUzbVHWRfSUA8E{$dh0663-$ zUXky0UYZdJ$X!$o{`!v-Ta(Uu(XyGFrc-cjXVqpH2VSdf9W_0_)$rOu(>1;7S=~1) OL8EpN`2BSBC-M)5YBRVy^P>kjrkjCzT*E!}6gQ|Z_52ad z17C0*-?5Alnu~w&7_F4ZEY@)a8@Pl4*6=A+oi=lK{b?`Gd`M-EG+~0jp4)@&K&%S5-C$Ua9CUQ3-GASatq(};F%-|Ld zqDfu+ZSXu)PHdZ2-Yghqv9w|@nS7}ox7E(?hiI=Z)p#z%LJGMtg}rOpiBE diff --git a/locales/ko_KR.po b/locales/ko_KR.po index 1437a762..9ed847df 100644 --- a/locales/ko_KR.po +++ b/locales/ko_KR.po @@ -8,9 +8,9 @@ msgid "" msgstr "" "Project-Id-Version: GLPI Plugin - Fields\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-07-03 18:53+0000\n" -"PO-Revision-Date: 2020-02-03 04:19+0000\n" -"Last-Translator: SeongHyeon Cho \n" +"POT-Creation-Date: 2020-10-27 14:42+0000\n" +"PO-Revision-Date: 2020-10-27 14:43+0000\n" +"Last-Translator: Cédric Anne\n" "Language-Team: Korean (Korea) (http://www.transifex.com/teclib/glpi-plugin-plugin-fields/language/ko_KR/)\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" @@ -31,7 +31,7 @@ msgid "MySQL tables uninstallation" msgstr "MySQL 테이블 제거" #: front/container.form.php:35 front/container.php:4 inc/menu.class.php:6 -#: setup.php:177 +#: setup.php:187 msgid "Additionnal fields" msgstr "추가 항목" @@ -39,11 +39,11 @@ msgstr "추가 항목" msgid "Updating generated dropdown files" msgstr "생성된 드롭다운 파일 갱신" -#: inc/labeltranslation.class.php:139 +#: inc/labeltranslation.class.php:147 msgid "Language" msgstr "언어" -#: inc/labeltranslation.class.php:140 +#: inc/labeltranslation.class.php:148 msgid "Label" msgstr "라벨" @@ -51,63 +51,73 @@ msgstr "라벨" msgid "Regenerate container files" msgstr "컨테이너 파일 재생성" -#: inc/container.class.php:91 +#: inc/container.class.php:17 inc/container.class.php:589 +msgid "Export to YAML" +msgstr "" + +#: inc/container.class.php:93 msgid "Fix container names" msgstr "컨테이너 이름 수정" -#: inc/container.class.php:172 +#: inc/container.class.php:181 msgid "Updating generated containers files" msgstr "생성된 컨테이너 파일 갱신" -#: inc/container.class.php:368 +#: inc/container.class.php:377 msgid "You cannot add block without associated element type" msgstr "관련된 요소 형식이 없으면 추가할 수 없습니다" -#: inc/container.class.php:385 +#: inc/container.class.php:394 msgid "" "You cannot add several blocks with type 'Insertion in the form' on same " "object" msgstr "동일한 객체에 '양식에 삽입' 유형이 있는 몇개의 블록을 추가할 수 없습니다." -#: inc/container.class.php:400 +#: inc/container.class.php:409 msgid "" "You cannot add several blocks with type 'Insertion in the form of a specific" " tab' on same object tab" msgstr "동일한 객체 탭에 '특정 탭의 양식에 삽입' 유형이 있는 몇개의 블록을 추가할 수 없습니다." -#: inc/container.class.php:417 +#: inc/container.class.php:425 +msgid "" +"Container name is too long for database (digits in name are replaced by " +"characters, try to remove them)" +msgstr "" + +#: inc/container.class.php:439 msgid "You cannot add several blocs with identical name on same object" msgstr "동일한 객체에 동일한 이름을 가진 몇개의 블록을 추가할 수 없습니다." -#: inc/container.class.php:560 +#: inc/container.class.php:582 msgid "Block" msgstr "블록" -#: inc/container.class.php:636 +#: inc/container.class.php:661 msgid "Tab" msgstr "탭" -#: inc/container.class.php:842 +#: inc/container.class.php:876 msgid "Add tab" msgstr "탭 추가" -#: inc/container.class.php:843 +#: inc/container.class.php:877 msgid "Insertion in the form (before save button)" msgstr "(저장 버튼 전에) 양식에 삽입" -#: inc/container.class.php:844 +#: inc/container.class.php:878 msgid "Insertion in the form of a specific tab (before save button)" msgstr "(저장 버튼 전에) 특정 탭의 양식에 삽입" -#: inc/container.class.php:1206 +#: inc/container.class.php:1240 msgid "Some mandatory fields are empty" msgstr "일부 필수 항목이 비었습니다" -#: inc/container.class.php:1211 +#: inc/container.class.php:1245 msgid "Some numeric fields contains non numeric values" msgstr "일부 숫자 항목에 비 숫자 값이 포함되었습니다" -#: inc/container.class.php:1216 +#: inc/container.class.php:1250 msgid "Some URL fields contains invalid links" msgstr "일부 URL 항목에 잘못된 링크가 포함되었습니다" @@ -119,66 +129,72 @@ msgstr "항목 이름 수정" msgid "Field" msgstr "항목" -#: inc/field.class.php:253 +#: inc/field.class.php:90 inc/field.class.php:115 +msgid "" +"Field name is too long for database (digits in name are replaced by " +"characters, try to remove them)" +msgstr "" + +#: inc/field.class.php:272 msgid "Fields" msgstr "항목" -#: inc/field.class.php:307 +#: inc/field.class.php:326 msgid "Add a new field" msgstr "새 항목 추가" -#: inc/field.class.php:311 +#: inc/field.class.php:330 msgid "No field for this block" msgstr "이 블럭에 대한 항목 없음" -#: inc/field.class.php:323 inc/field.class.php:436 +#: inc/field.class.php:342 inc/field.class.php:455 msgid "Read only" msgstr "읽기 전용" -#: inc/field.class.php:413 +#: inc/field.class.php:432 msgid "Configure" msgstr "구성" -#: inc/field.class.php:413 +#: inc/field.class.php:432 msgid "Configure fields values" msgstr "항목 값 구성" -#: inc/field.class.php:732 +#: inc/field.class.php:751 msgid "show" msgstr "표시" -#: inc/field.class.php:878 +#: inc/field.class.php:897 msgid "Header" msgstr "헤더" -#: inc/field.class.php:879 +#: inc/field.class.php:898 msgid "Text (single line)" msgstr "문구 (한 줄)" -#: inc/field.class.php:880 +#: inc/field.class.php:899 msgid "Text (multiples lines)" msgstr "문구 (여러 줄)" -#: inc/field.class.php:881 +#: inc/field.class.php:900 msgid "Number" msgstr "숫자" -#: inc/field.class.php:882 +#: inc/field.class.php:901 msgid "URL" msgstr "URL" -#: inc/field.class.php:883 +#: inc/field.class.php:902 msgid "Dropdown" msgstr "드롭다운" -#: inc/field.class.php:884 +#: inc/field.class.php:903 msgid "Yes/No" msgstr "예/아니오" -#: inc/field.class.php:885 +#: inc/field.class.php:904 msgid "Date" msgstr "날짜" -#: inc/field.class.php:886 +#: inc/field.class.php:905 msgid "Date & time" msgstr "날짜 & 시간" diff --git a/locales/pl_PL.mo b/locales/pl_PL.mo index ecce2c38481341ff0200d1fc4de0b2e1b9b91da8..dc2a4a1d21cb3559b8f8f138da4f46bf2eaf31ff 100644 GIT binary patch delta 27 icmca0c|mf65Ididfv%x}u93Ndp^24=@n!|~4XglY&<5oI delta 27 icmca0c|mf65IditrLKXgu7Qz)p@EgLp8aT*xsCS{lK4@ayY5Au->pYqfpmtVPh`})Y5aS Q5>?A;QS05dpZKu;0FA^mYXATM delta 427 zcmXBQJ4*vW5Ww+?nwWMo zhZx0UoWN7;!)qMC8w}$k>iQ=P;R`159mntob)ODqF%p%AY;jp3%M8*){qP(Oyu>Md zM&0NWbzKLCF%%P-#1S+xi!)fpMQma(zM&rA0~7d#>)4JJ{|gGNF-M|^(|Ck>qbn@n zEuP>nmaxJ%ZQv{Ff#XB1`<{GoJDoFAIWseFWYYP}!fc8Y-Bg}$?$wp!*~)k8d1KA4 kc&=mYD#v#{V@Y*G%d@<0V)elFYpQBnWw*B6N`$|Ie\n" +"POT-Creation-Date: 2020-10-27 14:42+0000\n" +"PO-Revision-Date: 2020-10-27 14:43+0000\n" +"Last-Translator: Cédric Anne\n" "Language-Team: Portuguese (Brazil) (http://www.transifex.com/teclib/glpi-plugin-plugin-fields/language/pt_BR/)\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" @@ -34,7 +34,7 @@ msgid "MySQL tables uninstallation" msgstr "Desinstalação de tabelas no MySQL" #: front/container.form.php:35 front/container.php:4 inc/menu.class.php:6 -#: setup.php:177 +#: setup.php:187 msgid "Additionnal fields" msgstr "Campos adicionais" @@ -42,11 +42,11 @@ msgstr "Campos adicionais" msgid "Updating generated dropdown files" msgstr "Atualizando arquivos que foram baixados" -#: inc/labeltranslation.class.php:139 +#: inc/labeltranslation.class.php:147 msgid "Language" msgstr "Idioma" -#: inc/labeltranslation.class.php:140 +#: inc/labeltranslation.class.php:148 msgid "Label" msgstr "Rótulo" @@ -54,63 +54,73 @@ msgstr "Rótulo" msgid "Regenerate container files" msgstr "Regerar arquivos de contêiner" -#: inc/container.class.php:91 +#: inc/container.class.php:17 inc/container.class.php:589 +msgid "Export to YAML" +msgstr "" + +#: inc/container.class.php:93 msgid "Fix container names" msgstr "Corrigir nomes de containers" -#: inc/container.class.php:172 +#: inc/container.class.php:181 msgid "Updating generated containers files" msgstr "Atualizando arquivos de contêineres gerados" -#: inc/container.class.php:368 +#: inc/container.class.php:377 msgid "You cannot add block without associated element type" msgstr "Você não pode adicionar um bloco sem um tipo de elemento associado" -#: inc/container.class.php:385 +#: inc/container.class.php:394 msgid "" "You cannot add several blocks with type 'Insertion in the form' on same " "object" msgstr "Você não pode adicionar vários blocos com o tipo 'Inserção no formulário' no mesmo objeto" -#: inc/container.class.php:400 +#: inc/container.class.php:409 msgid "" "You cannot add several blocks with type 'Insertion in the form of a specific" " tab' on same object tab" msgstr "Você não pode adicionar vários blocos com o tipo 'Inserção na forma de uma guia específica' na mesma guia de objeto" -#: inc/container.class.php:417 +#: inc/container.class.php:425 +msgid "" +"Container name is too long for database (digits in name are replaced by " +"characters, try to remove them)" +msgstr "" + +#: inc/container.class.php:439 msgid "You cannot add several blocs with identical name on same object" msgstr "Você não pode adicionar vários blocos com nome idêntico no mesmo objeto" -#: inc/container.class.php:560 +#: inc/container.class.php:582 msgid "Block" msgstr "Bloco" -#: inc/container.class.php:636 +#: inc/container.class.php:661 msgid "Tab" msgstr "Aba" -#: inc/container.class.php:842 +#: inc/container.class.php:876 msgid "Add tab" msgstr "Adicionar aba" -#: inc/container.class.php:843 +#: inc/container.class.php:877 msgid "Insertion in the form (before save button)" msgstr "Inserção no formulário (antes do botão de salvar)" -#: inc/container.class.php:844 +#: inc/container.class.php:878 msgid "Insertion in the form of a specific tab (before save button)" msgstr "Inserção no formulário de uma guia específica (antes do botão de salvar)" -#: inc/container.class.php:1206 +#: inc/container.class.php:1240 msgid "Some mandatory fields are empty" msgstr "Alguns campos obrigatórios estão vazios" -#: inc/container.class.php:1211 +#: inc/container.class.php:1245 msgid "Some numeric fields contains non numeric values" msgstr "Alguns campos numéricos contém valores não numéricos" -#: inc/container.class.php:1216 +#: inc/container.class.php:1250 msgid "Some URL fields contains invalid links" msgstr "Alguns campos de URL contém links inválidos" @@ -122,66 +132,72 @@ msgstr "Corrigir nomes de campos" msgid "Field" msgstr "Campo" -#: inc/field.class.php:253 +#: inc/field.class.php:90 inc/field.class.php:115 +msgid "" +"Field name is too long for database (digits in name are replaced by " +"characters, try to remove them)" +msgstr "" + +#: inc/field.class.php:272 msgid "Fields" msgstr "Campos" -#: inc/field.class.php:307 +#: inc/field.class.php:326 msgid "Add a new field" msgstr "Adicionar um novo campo" -#: inc/field.class.php:311 +#: inc/field.class.php:330 msgid "No field for this block" msgstr "Nenhum campo para este bloco" -#: inc/field.class.php:323 inc/field.class.php:436 +#: inc/field.class.php:342 inc/field.class.php:455 msgid "Read only" msgstr "Somente leitura" -#: inc/field.class.php:413 +#: inc/field.class.php:432 msgid "Configure" msgstr "Configurar" -#: inc/field.class.php:413 +#: inc/field.class.php:432 msgid "Configure fields values" msgstr "Configurar valores dos campos" -#: inc/field.class.php:732 +#: inc/field.class.php:751 msgid "show" msgstr "Exibir" -#: inc/field.class.php:878 +#: inc/field.class.php:897 msgid "Header" msgstr "Cabeçalho" -#: inc/field.class.php:879 +#: inc/field.class.php:898 msgid "Text (single line)" msgstr "Texto (linha simples)" -#: inc/field.class.php:880 +#: inc/field.class.php:899 msgid "Text (multiples lines)" msgstr "Texto (Multiplas linhas)" -#: inc/field.class.php:881 +#: inc/field.class.php:900 msgid "Number" msgstr "Número" -#: inc/field.class.php:882 +#: inc/field.class.php:901 msgid "URL" msgstr "URL" -#: inc/field.class.php:883 +#: inc/field.class.php:902 msgid "Dropdown" msgstr "Suspenso" -#: inc/field.class.php:884 +#: inc/field.class.php:903 msgid "Yes/No" msgstr "Sim/Não" -#: inc/field.class.php:885 +#: inc/field.class.php:904 msgid "Date" msgstr "Data" -#: inc/field.class.php:886 +#: inc/field.class.php:905 msgid "Date & time" msgstr "Datar & Hora" diff --git a/locales/pt_PT.mo b/locales/pt_PT.mo index faf3a0c983551fd9de912fc5af3d05c53d2d826d..f92501c55b6a72bc4300b340aed29642ce1bbbf4 100644 GIT binary patch delta 27 icmbO$IahK+J3F6|fv%x}u93Ndp^24=@#d-Q9IOCo1_r?Z delta 27 icmbO$IahK+J3F7DrLKXgu7Qz)p@EgL<>smE9IOCoa|Xu% diff --git a/locales/pt_PT.po b/locales/pt_PT.po index 73d31b30..1b73f267 100644 --- a/locales/pt_PT.po +++ b/locales/pt_PT.po @@ -7,8 +7,8 @@ msgid "" msgstr "" "Project-Id-Version: GLPI Plugin - Fields\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-07-03 18:53+0000\n" -"PO-Revision-Date: 2019-05-02 10:39+0000\n" +"POT-Creation-Date: 2020-10-27 14:42+0000\n" +"PO-Revision-Date: 2020-10-27 14:43+0000\n" "Last-Translator: Cédric Anne\n" "Language-Team: Portuguese (Portugal) (http://www.transifex.com/teclib/glpi-plugin-plugin-fields/language/pt_PT/)\n" "MIME-Version: 1.0\n" @@ -30,7 +30,7 @@ msgid "MySQL tables uninstallation" msgstr "Desinstalação de tabelas MySQL" #: front/container.form.php:35 front/container.php:4 inc/menu.class.php:6 -#: setup.php:177 +#: setup.php:187 msgid "Additionnal fields" msgstr "Campos adicionais" @@ -38,11 +38,11 @@ msgstr "Campos adicionais" msgid "Updating generated dropdown files" msgstr "Atualizar as caixas pendentes geradas" -#: inc/labeltranslation.class.php:139 +#: inc/labeltranslation.class.php:147 msgid "Language" msgstr "Seleccione o idioma" -#: inc/labeltranslation.class.php:140 +#: inc/labeltranslation.class.php:148 msgid "Label" msgstr "Rótulo" @@ -50,63 +50,73 @@ msgstr "Rótulo" msgid "Regenerate container files" msgstr "Regenerar" -#: inc/container.class.php:91 +#: inc/container.class.php:17 inc/container.class.php:589 +msgid "Export to YAML" +msgstr "" + +#: inc/container.class.php:93 msgid "Fix container names" msgstr "" -#: inc/container.class.php:172 +#: inc/container.class.php:181 msgid "Updating generated containers files" msgstr "Atualizar o container gerado" -#: inc/container.class.php:368 +#: inc/container.class.php:377 msgid "You cannot add block without associated element type" msgstr "Não podes adicionar um block sem um tipo de elemento definido" -#: inc/container.class.php:385 +#: inc/container.class.php:394 msgid "" "You cannot add several blocks with type 'Insertion in the form' on same " "object" msgstr "Não podes adicionar diversos blocos do mesmo tipo" -#: inc/container.class.php:400 +#: inc/container.class.php:409 msgid "" "You cannot add several blocks with type 'Insertion in the form of a specific" " tab' on same object tab" msgstr "Não podes adicionar diversos blocos com o sem especificar a aba" -#: inc/container.class.php:417 +#: inc/container.class.php:425 +msgid "" +"Container name is too long for database (digits in name are replaced by " +"characters, try to remove them)" +msgstr "" + +#: inc/container.class.php:439 msgid "You cannot add several blocs with identical name on same object" msgstr "Não podes adicionar blocos no o mesmo nome do que o objecto" -#: inc/container.class.php:560 +#: inc/container.class.php:582 msgid "Block" msgstr "Bloco" -#: inc/container.class.php:636 +#: inc/container.class.php:661 msgid "Tab" msgstr "Aba" -#: inc/container.class.php:842 +#: inc/container.class.php:876 msgid "Add tab" msgstr "Adicionar aba" -#: inc/container.class.php:843 +#: inc/container.class.php:877 msgid "Insertion in the form (before save button)" msgstr "Inserir no formulário (antes de gravar)" -#: inc/container.class.php:844 +#: inc/container.class.php:878 msgid "Insertion in the form of a specific tab (before save button)" msgstr "Inserir o formulário num aba especifica" -#: inc/container.class.php:1206 +#: inc/container.class.php:1240 msgid "Some mandatory fields are empty" msgstr "Os campos obrigatórios não foram preenchidos" -#: inc/container.class.php:1211 +#: inc/container.class.php:1245 msgid "Some numeric fields contains non numeric values" msgstr "Alguns campos numéricos não contem números" -#: inc/container.class.php:1216 +#: inc/container.class.php:1250 msgid "Some URL fields contains invalid links" msgstr "Alguns campos de URL tem links invalidos" @@ -118,66 +128,72 @@ msgstr "" msgid "Field" msgstr "Campo" -#: inc/field.class.php:253 +#: inc/field.class.php:90 inc/field.class.php:115 +msgid "" +"Field name is too long for database (digits in name are replaced by " +"characters, try to remove them)" +msgstr "" + +#: inc/field.class.php:272 msgid "Fields" msgstr "Campos" -#: inc/field.class.php:307 +#: inc/field.class.php:326 msgid "Add a new field" msgstr "Adicionar um novo campo" -#: inc/field.class.php:311 +#: inc/field.class.php:330 msgid "No field for this block" msgstr "Nenhum campo para este bloco" -#: inc/field.class.php:323 inc/field.class.php:436 +#: inc/field.class.php:342 inc/field.class.php:455 msgid "Read only" msgstr "Somente leitura" -#: inc/field.class.php:413 +#: inc/field.class.php:432 msgid "Configure" msgstr "Configurar" -#: inc/field.class.php:413 +#: inc/field.class.php:432 msgid "Configure fields values" msgstr "Valores por defeito" -#: inc/field.class.php:732 +#: inc/field.class.php:751 msgid "show" msgstr "mostrar" -#: inc/field.class.php:878 +#: inc/field.class.php:897 msgid "Header" msgstr "De cabeçalho de email" -#: inc/field.class.php:879 +#: inc/field.class.php:898 msgid "Text (single line)" msgstr "Texto de manutenção" -#: inc/field.class.php:880 +#: inc/field.class.php:899 msgid "Text (multiples lines)" msgstr "Texto de manutenção" -#: inc/field.class.php:881 +#: inc/field.class.php:900 msgid "Number" msgstr "Número" -#: inc/field.class.php:882 +#: inc/field.class.php:901 msgid "URL" msgstr "URL" -#: inc/field.class.php:883 +#: inc/field.class.php:902 msgid "Dropdown" msgstr "Menu de selecção" -#: inc/field.class.php:884 +#: inc/field.class.php:903 msgid "Yes/No" msgstr "Sim - Não" -#: inc/field.class.php:885 +#: inc/field.class.php:904 msgid "Date" msgstr "Data" -#: inc/field.class.php:886 +#: inc/field.class.php:905 msgid "Date & time" msgstr "Data de vencimento" diff --git a/locales/ro_RO.mo b/locales/ro_RO.mo index 3161998c72a43aea9b79542b100b37dd55e39e95..fa09a464ace2cf6e1bd513c6d9b67a5392d4884d 100644 GIT binary patch delta 27 icmZ3)y@-2*5i_5Wfv%x}u93Ndp^24=@n#3+Bqjh}{RUJ3 delta 27 icmZ3)y@-2*5i_5mrLKXgu7Qz)p@EgL)n@(jq0wIhGyV+0m5-Ar3-ClVd|i1_gHEozT!AA+#pZ*pe9G z7Tnm_pU}|e+<#HuhrZ!`e((2w@Au=4^TYf{JJx@Qi42!Sk|L60)3G#n3l}-Nn8AH4 z;Sp+hjcE+$-lM92L|V!-7V!mh_=&3jH? z6u#poMtFczRP{wJUED)e-$j+b#Z`Pl8{bk*ku1Rv2?u|12Ma5+0WGX^KEqQSAy4EF zYuM!bgffUG@tS5=EYr5kifhA(6meoJF_qf50&=bM|o; z-;gIV%(v6HgQTS1eCbFVEAG7QB<;9k#^R|&!g5%lHC6HLO;4371?88$l$lj$%G}O- b`I5PCN_?)v%u!LD6sB|K;$m~8_rmxCt+_a) diff --git a/locales/tr_TR.po b/locales/tr_TR.po index f659cc2b..0635e9f0 100644 --- a/locales/tr_TR.po +++ b/locales/tr_TR.po @@ -8,9 +8,9 @@ msgid "" msgstr "" "Project-Id-Version: GLPI Plugin - Fields\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-07-03 18:53+0000\n" -"PO-Revision-Date: 2019-07-30 23:44+0000\n" -"Last-Translator: Kaya Zeren \n" +"POT-Creation-Date: 2020-10-27 14:42+0000\n" +"PO-Revision-Date: 2020-10-27 14:43+0000\n" +"Last-Translator: Cédric Anne\n" "Language-Team: Turkish (Turkey) (http://www.transifex.com/teclib/glpi-plugin-plugin-fields/language/tr_TR/)\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" @@ -31,7 +31,7 @@ msgid "MySQL tables uninstallation" msgstr "MySQL tabloları kaldırma" #: front/container.form.php:35 front/container.php:4 inc/menu.class.php:6 -#: setup.php:177 +#: setup.php:187 msgid "Additionnal fields" msgstr "Ek alanlar" @@ -39,11 +39,11 @@ msgstr "Ek alanlar" msgid "Updating generated dropdown files" msgstr "Oluşturulmuş açılan kutu dosyaları güncelleniyor" -#: inc/labeltranslation.class.php:139 +#: inc/labeltranslation.class.php:147 msgid "Language" msgstr "Dil" -#: inc/labeltranslation.class.php:140 +#: inc/labeltranslation.class.php:148 msgid "Label" msgstr "Etiket" @@ -51,63 +51,73 @@ msgstr "Etiket" msgid "Regenerate container files" msgstr "Kapsayıcı dosyalar yeniden oluşturulsun" -#: inc/container.class.php:91 +#: inc/container.class.php:17 inc/container.class.php:589 +msgid "Export to YAML" +msgstr "" + +#: inc/container.class.php:93 msgid "Fix container names" msgstr "Kapsayıcı adlarını düzelt" -#: inc/container.class.php:172 +#: inc/container.class.php:181 msgid "Updating generated containers files" msgstr "Oluşturulmuş kapsayıcı dosyaları güncelleniyor" -#: inc/container.class.php:368 +#: inc/container.class.php:377 msgid "You cannot add block without associated element type" msgstr "İlişkilendirilmiş bir bileşen tipi olmadan bir blok eklenemez" -#: inc/container.class.php:385 +#: inc/container.class.php:394 msgid "" "You cannot add several blocks with type 'Insertion in the form' on same " "object" msgstr "Aynı nesne üzerine 'Forma eklensin' türünde bir kaç blok eklenemez" -#: inc/container.class.php:400 +#: inc/container.class.php:409 msgid "" "You cannot add several blocks with type 'Insertion in the form of a specific" " tab' on same object tab" msgstr "Aynı nesne sekmesi üzerine 'Forma sekme olarak eklensin' türünde bir kaç blok eklenemez" -#: inc/container.class.php:417 +#: inc/container.class.php:425 +msgid "" +"Container name is too long for database (digits in name are replaced by " +"characters, try to remove them)" +msgstr "" + +#: inc/container.class.php:439 msgid "You cannot add several blocs with identical name on same object" msgstr "Aynı nesne üzerine aynı adla birden fazla blok eklenemez" -#: inc/container.class.php:560 +#: inc/container.class.php:582 msgid "Block" msgstr "Blok" -#: inc/container.class.php:636 +#: inc/container.class.php:661 msgid "Tab" msgstr "Sekme" -#: inc/container.class.php:842 +#: inc/container.class.php:876 msgid "Add tab" msgstr "Sekme ekle" -#: inc/container.class.php:843 +#: inc/container.class.php:877 msgid "Insertion in the form (before save button)" msgstr "Forma eklensin (kaydet düğmesinden önce)" -#: inc/container.class.php:844 +#: inc/container.class.php:878 msgid "Insertion in the form of a specific tab (before save button)" msgstr "Forma sekme olarak eklensin (kaydet düğmesinden önce)" -#: inc/container.class.php:1206 +#: inc/container.class.php:1240 msgid "Some mandatory fields are empty" msgstr "Bazı zorunlu alanlar boş" -#: inc/container.class.php:1211 +#: inc/container.class.php:1245 msgid "Some numeric fields contains non numeric values" msgstr "Bazı sayısal alanlarda sayısal olmayan değerler var" -#: inc/container.class.php:1216 +#: inc/container.class.php:1250 msgid "Some URL fields contains invalid links" msgstr "Bazı İnternet adresi alanlarında geçersiz bağlantılar var" @@ -119,66 +129,72 @@ msgstr "Alan adlarını düzelt" msgid "Field" msgstr "Alan" -#: inc/field.class.php:253 +#: inc/field.class.php:90 inc/field.class.php:115 +msgid "" +"Field name is too long for database (digits in name are replaced by " +"characters, try to remove them)" +msgstr "" + +#: inc/field.class.php:272 msgid "Fields" msgstr "Alanlar" -#: inc/field.class.php:307 +#: inc/field.class.php:326 msgid "Add a new field" msgstr "Alan ekle" -#: inc/field.class.php:311 +#: inc/field.class.php:330 msgid "No field for this block" msgstr "Bu blokta henüz bir alan yok" -#: inc/field.class.php:323 inc/field.class.php:436 +#: inc/field.class.php:342 inc/field.class.php:455 msgid "Read only" msgstr "Salt okunur" -#: inc/field.class.php:413 +#: inc/field.class.php:432 msgid "Configure" msgstr "Yapılandırma" -#: inc/field.class.php:413 +#: inc/field.class.php:432 msgid "Configure fields values" msgstr "Alan değerleri yapılandırması" -#: inc/field.class.php:732 +#: inc/field.class.php:751 msgid "show" msgstr "görüntüle" -#: inc/field.class.php:878 +#: inc/field.class.php:897 msgid "Header" msgstr "Üst Bilgi" -#: inc/field.class.php:879 +#: inc/field.class.php:898 msgid "Text (single line)" msgstr "Metin (tek satır)" -#: inc/field.class.php:880 +#: inc/field.class.php:899 msgid "Text (multiples lines)" msgstr "Metin (birden çok satır)" -#: inc/field.class.php:881 +#: inc/field.class.php:900 msgid "Number" msgstr "Sayı" -#: inc/field.class.php:882 +#: inc/field.class.php:901 msgid "URL" msgstr "İnternet Adresi" -#: inc/field.class.php:883 +#: inc/field.class.php:902 msgid "Dropdown" msgstr "Açılan Kutu" -#: inc/field.class.php:884 +#: inc/field.class.php:903 msgid "Yes/No" msgstr "Evet/Hayır" -#: inc/field.class.php:885 +#: inc/field.class.php:904 msgid "Date" msgstr "Tarih" -#: inc/field.class.php:886 +#: inc/field.class.php:905 msgid "Date & time" msgstr "Tarih ve Saat" diff --git a/locales/uk_UA.mo b/locales/uk_UA.mo index f353823fe9b6a74bb17019b7e043c0ac8a8920c3..e1e0aaac214c2067b2c1c3f3c17c55f99cac3289 100644 GIT binary patch delta 392 zcmXZW%_~H46vpvqMwl07BuR;`u^_sdmz%lWxHVaj6phJ77L%EY(p7h6t65mcLfK=f zW;Rmu4-k8MWo3z_g=~Cp=C}Er^K|;1^Obr@-B&`*gRpejFHK7NiAobV7L&$t5hGZ{ zQQXBW`rZ5%hw1Nd3Lm@qd)H62$iHzG=i>kK+gPBl#nn`iqD8=relb|sHz1jq#2H-1 zJXSH7yTRbV7B1m4u3>0UvT+@E@Dzve6@vpla2iJv(iYl@RjG&KoM00#u!L{OEy^aP zJ#_I3ukj3Rem%hl3>LVZcG&G*$fV6|-pE*vm77oVVjJap!z}q_uYOc+9Q%&3^3<;Q Phxfv%;Yg_iJ{Ijz=#{zAe&Z^t>{VRD zL)^wo^zXf(KVT1Y_=QDW8WYLjDH?c(6ZnJv0O6R(3Z}7)Mr>DPh~l1L4(`BH`P=|Nom=%wvl8-N~Ytgddsw(y6HAsS*2iC mTb8FBG_1O3+BMfvat?JZVg4WNoHR_Uo;Yqc^4;lBHv9)DRy_6q diff --git a/locales/uk_UA.po b/locales/uk_UA.po index 3f27ce34..eeb94384 100644 --- a/locales/uk_UA.po +++ b/locales/uk_UA.po @@ -8,9 +8,9 @@ msgid "" msgstr "" "Project-Id-Version: GLPI Plugin - Fields\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-07-03 18:53+0000\n" -"PO-Revision-Date: 2020-05-18 14:24+0000\n" -"Last-Translator: Andriy Smilyanets \n" +"POT-Creation-Date: 2020-10-27 14:42+0000\n" +"PO-Revision-Date: 2020-10-27 14:43+0000\n" +"Last-Translator: Cédric Anne\n" "Language-Team: Ukrainian (Ukraine) (http://www.transifex.com/teclib/glpi-plugin-plugin-fields/language/uk_UA/)\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" @@ -31,7 +31,7 @@ msgid "MySQL tables uninstallation" msgstr "Видалення таблиць MySQL" #: front/container.form.php:35 front/container.php:4 inc/menu.class.php:6 -#: setup.php:177 +#: setup.php:187 msgid "Additionnal fields" msgstr "Додаткові поля" @@ -39,11 +39,11 @@ msgstr "Додаткові поля" msgid "Updating generated dropdown files" msgstr "Оновлюю згенеровані файли випадаючих списків" -#: inc/labeltranslation.class.php:139 +#: inc/labeltranslation.class.php:147 msgid "Language" msgstr "Мова" -#: inc/labeltranslation.class.php:140 +#: inc/labeltranslation.class.php:148 msgid "Label" msgstr "Мітка" @@ -51,63 +51,73 @@ msgstr "Мітка" msgid "Regenerate container files" msgstr "Перегенерувати файли контейнеру" -#: inc/container.class.php:91 +#: inc/container.class.php:17 inc/container.class.php:589 +msgid "Export to YAML" +msgstr "" + +#: inc/container.class.php:93 msgid "Fix container names" msgstr "Виправити назви контейнерів" -#: inc/container.class.php:172 +#: inc/container.class.php:181 msgid "Updating generated containers files" msgstr "Оновлення згенерованих файлів контейнерів" -#: inc/container.class.php:368 +#: inc/container.class.php:377 msgid "You cannot add block without associated element type" msgstr "Не можна додати блок без визначеного типу елементу" -#: inc/container.class.php:385 +#: inc/container.class.php:394 msgid "" "You cannot add several blocks with type 'Insertion in the form' on same " "object" msgstr "Не можна до одного об'єкту додати декілька блоків з типом 'Вставка в форму'" -#: inc/container.class.php:400 +#: inc/container.class.php:409 msgid "" "You cannot add several blocks with type 'Insertion in the form of a specific" " tab' on same object tab" msgstr "Не можна до однієї закладки додати декілька блоків з типом 'Вставка в форму закладки'" -#: inc/container.class.php:417 +#: inc/container.class.php:425 +msgid "" +"Container name is too long for database (digits in name are replaced by " +"characters, try to remove them)" +msgstr "" + +#: inc/container.class.php:439 msgid "You cannot add several blocs with identical name on same object" msgstr "Не можна до одного об'єкту додати декілька блоків з однаковою назвою" -#: inc/container.class.php:560 +#: inc/container.class.php:582 msgid "Block" msgstr "Блок" -#: inc/container.class.php:636 +#: inc/container.class.php:661 msgid "Tab" msgstr "Закладка" -#: inc/container.class.php:842 +#: inc/container.class.php:876 msgid "Add tab" msgstr "Додати закладку" -#: inc/container.class.php:843 +#: inc/container.class.php:877 msgid "Insertion in the form (before save button)" msgstr "Вставка в форму (до кнопки Зберегти)" -#: inc/container.class.php:844 +#: inc/container.class.php:878 msgid "Insertion in the form of a specific tab (before save button)" msgstr "Вставка в форму закладки (до кнопки Зберегти)" -#: inc/container.class.php:1206 +#: inc/container.class.php:1240 msgid "Some mandatory fields are empty" msgstr "Деякі обов'язкові поля порожні" -#: inc/container.class.php:1211 +#: inc/container.class.php:1245 msgid "Some numeric fields contains non numeric values" msgstr "Деякі числові поля містять не цифрові значення" -#: inc/container.class.php:1216 +#: inc/container.class.php:1250 msgid "Some URL fields contains invalid links" msgstr "Деякі поля URL містять невірні посилання" @@ -119,66 +129,72 @@ msgstr "Виправити назви полів" msgid "Field" msgstr "Поле" -#: inc/field.class.php:253 +#: inc/field.class.php:90 inc/field.class.php:115 +msgid "" +"Field name is too long for database (digits in name are replaced by " +"characters, try to remove them)" +msgstr "" + +#: inc/field.class.php:272 msgid "Fields" msgstr "Поля" -#: inc/field.class.php:307 +#: inc/field.class.php:326 msgid "Add a new field" msgstr "Додати нове поле" -#: inc/field.class.php:311 +#: inc/field.class.php:330 msgid "No field for this block" msgstr "Для цього блоку ще немає полів" -#: inc/field.class.php:323 inc/field.class.php:436 +#: inc/field.class.php:342 inc/field.class.php:455 msgid "Read only" msgstr "Тільки читання" -#: inc/field.class.php:413 +#: inc/field.class.php:432 msgid "Configure" msgstr "Налаштувати" -#: inc/field.class.php:413 +#: inc/field.class.php:432 msgid "Configure fields values" msgstr "Налаштувати значення полів" -#: inc/field.class.php:732 +#: inc/field.class.php:751 msgid "show" msgstr "показати" -#: inc/field.class.php:878 +#: inc/field.class.php:897 msgid "Header" msgstr "Заголовок" -#: inc/field.class.php:879 +#: inc/field.class.php:898 msgid "Text (single line)" msgstr "Текст (в одну лінію)" -#: inc/field.class.php:880 +#: inc/field.class.php:899 msgid "Text (multiples lines)" msgstr "Текст (декілька ліній)" -#: inc/field.class.php:881 +#: inc/field.class.php:900 msgid "Number" msgstr "Число" -#: inc/field.class.php:882 +#: inc/field.class.php:901 msgid "URL" msgstr "URL" -#: inc/field.class.php:883 +#: inc/field.class.php:902 msgid "Dropdown" msgstr "Випадаючий список" -#: inc/field.class.php:884 +#: inc/field.class.php:903 msgid "Yes/No" msgstr "Так/Ні" -#: inc/field.class.php:885 +#: inc/field.class.php:904 msgid "Date" msgstr "Дата" -#: inc/field.class.php:886 +#: inc/field.class.php:905 msgid "Date & time" msgstr "Дата і час" diff --git a/locales/zh_CN.mo b/locales/zh_CN.mo index 56d191a9343bb5bf06c248593dafc305cdc3bad2..53d946263334905d14f7119977d1feb3042231d4 100644 GIT binary patch delta 27 icmbOyF;8McJ3F6|fv%x}u93Ndp^24=@#d-Qoh$%q2?s#{ delta 27 icmbOyF;8McJ3F7DrLKXgu7Qz)p@EgL<>smEoh$%qb_YiQ diff --git a/locales/zh_CN.po b/locales/zh_CN.po index da598d23..e223227f 100644 --- a/locales/zh_CN.po +++ b/locales/zh_CN.po @@ -8,8 +8,8 @@ msgid "" msgstr "" "Project-Id-Version: GLPI Plugin - Fields\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-07-03 18:53+0000\n" -"PO-Revision-Date: 2019-05-02 10:39+0000\n" +"POT-Creation-Date: 2020-10-27 14:42+0000\n" +"PO-Revision-Date: 2020-10-27 14:43+0000\n" "Last-Translator: Cédric Anne\n" "Language-Team: Chinese (China) (http://www.transifex.com/teclib/glpi-plugin-plugin-fields/language/zh_CN/)\n" "MIME-Version: 1.0\n" @@ -31,7 +31,7 @@ msgid "MySQL tables uninstallation" msgstr "卸载MySQL数据表" #: front/container.form.php:35 front/container.php:4 inc/menu.class.php:6 -#: setup.php:177 +#: setup.php:187 msgid "Additionnal fields" msgstr "附加字段" @@ -39,11 +39,11 @@ msgstr "附加字段" msgid "Updating generated dropdown files" msgstr "更新生成下拉文件" -#: inc/labeltranslation.class.php:139 +#: inc/labeltranslation.class.php:147 msgid "Language" msgstr "语言" -#: inc/labeltranslation.class.php:140 +#: inc/labeltranslation.class.php:148 msgid "Label" msgstr "标签" @@ -51,63 +51,73 @@ msgstr "标签" msgid "Regenerate container files" msgstr "生成容器文件" -#: inc/container.class.php:91 +#: inc/container.class.php:17 inc/container.class.php:589 +msgid "Export to YAML" +msgstr "" + +#: inc/container.class.php:93 msgid "Fix container names" msgstr "" -#: inc/container.class.php:172 +#: inc/container.class.php:181 msgid "Updating generated containers files" msgstr "刷新生成容器文件" -#: inc/container.class.php:368 +#: inc/container.class.php:377 msgid "You cannot add block without associated element type" msgstr "您不能添加没有关联元素类型的块" -#: inc/container.class.php:385 +#: inc/container.class.php:394 msgid "" "You cannot add several blocks with type 'Insertion in the form' on same " "object" msgstr "不能在同一个对象上添加几个带有'表单中插入'类型的块" -#: inc/container.class.php:400 +#: inc/container.class.php:409 msgid "" "You cannot add several blocks with type 'Insertion in the form of a specific" " tab' on same object tab" msgstr "不能在同一个对象选项卡上以特定选项卡的形式使用“表单中插入特殊标签”类型添加几个块" -#: inc/container.class.php:417 +#: inc/container.class.php:425 +msgid "" +"Container name is too long for database (digits in name are replaced by " +"characters, try to remove them)" +msgstr "" + +#: inc/container.class.php:439 msgid "You cannot add several blocs with identical name on same object" msgstr "不能在同一对象上添加名称相同的多个块" -#: inc/container.class.php:560 +#: inc/container.class.php:582 msgid "Block" msgstr "区域" -#: inc/container.class.php:636 +#: inc/container.class.php:661 msgid "Tab" msgstr "标签" -#: inc/container.class.php:842 +#: inc/container.class.php:876 msgid "Add tab" msgstr "添加标签" -#: inc/container.class.php:843 +#: inc/container.class.php:877 msgid "Insertion in the form (before save button)" msgstr "在窗体中插入(保存按钮前)" -#: inc/container.class.php:844 +#: inc/container.class.php:878 msgid "Insertion in the form of a specific tab (before save button)" msgstr "以特定选项卡的形式插入(保存按钮之前)" -#: inc/container.class.php:1206 +#: inc/container.class.php:1240 msgid "Some mandatory fields are empty" msgstr "一些强制字段是空的。" -#: inc/container.class.php:1211 +#: inc/container.class.php:1245 msgid "Some numeric fields contains non numeric values" msgstr "一些数值字段包含非数值" -#: inc/container.class.php:1216 +#: inc/container.class.php:1250 msgid "Some URL fields contains invalid links" msgstr "有些URL字段包含无效链接" @@ -119,66 +129,72 @@ msgstr "" msgid "Field" msgstr "字段" -#: inc/field.class.php:253 +#: inc/field.class.php:90 inc/field.class.php:115 +msgid "" +"Field name is too long for database (digits in name are replaced by " +"characters, try to remove them)" +msgstr "" + +#: inc/field.class.php:272 msgid "Fields" msgstr "字段" -#: inc/field.class.php:307 +#: inc/field.class.php:326 msgid "Add a new field" msgstr "添加新字段" -#: inc/field.class.php:311 +#: inc/field.class.php:330 msgid "No field for this block" msgstr "此区域无字段" -#: inc/field.class.php:323 inc/field.class.php:436 +#: inc/field.class.php:342 inc/field.class.php:455 msgid "Read only" msgstr "只读" -#: inc/field.class.php:413 +#: inc/field.class.php:432 msgid "Configure" msgstr "设置" -#: inc/field.class.php:413 +#: inc/field.class.php:432 msgid "Configure fields values" msgstr "设置字段值" -#: inc/field.class.php:732 +#: inc/field.class.php:751 msgid "show" msgstr "显示" -#: inc/field.class.php:878 +#: inc/field.class.php:897 msgid "Header" msgstr "头部" -#: inc/field.class.php:879 +#: inc/field.class.php:898 msgid "Text (single line)" msgstr "文本(单行)" -#: inc/field.class.php:880 +#: inc/field.class.php:899 msgid "Text (multiples lines)" msgstr "文本(多行)" -#: inc/field.class.php:881 +#: inc/field.class.php:900 msgid "Number" msgstr "整数" -#: inc/field.class.php:882 +#: inc/field.class.php:901 msgid "URL" msgstr "网址" -#: inc/field.class.php:883 +#: inc/field.class.php:902 msgid "Dropdown" msgstr "拖动" -#: inc/field.class.php:884 +#: inc/field.class.php:903 msgid "Yes/No" msgstr "是/否" -#: inc/field.class.php:885 +#: inc/field.class.php:904 msgid "Date" msgstr "日期" -#: inc/field.class.php:886 +#: inc/field.class.php:905 msgid "Date & time" msgstr "时间&日期" From 291fb80b28a8ead6bbbee910a3e1cd8b2a0a5acd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Anne?= Date: Tue, 27 Oct 2020 15:44:16 +0100 Subject: [PATCH 8/9] Add Italian (Italy) locale --- locales/it_IT.mo | Bin 0 -> 3580 bytes locales/it_IT.po | 200 +++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 200 insertions(+) create mode 100644 locales/it_IT.mo create mode 100644 locales/it_IT.po diff --git a/locales/it_IT.mo b/locales/it_IT.mo new file mode 100644 index 0000000000000000000000000000000000000000..594244355876cafdf3081450768f5d199b4fd99a GIT binary patch literal 3580 zcmb`JOKc=Z8Gs8|0&x-`8 zu5Qmd2#EtiNV#x{0zyI{A%%!=00{)ANSISj96;Q1f?F;iaRZ6(@9y#JI%X9FrRn~< z>+#qBs=w#e)2E(Ov}LXjawTt4>N0%k&D?0;dy7)F?D{XkPw@UId>B3nW!(!<d^hj+qn!BjlThq_7_vldLVjw< zP2%uXDC@rt7vMJ`KlLm(R8!A&`~mzB?>~m(hnL~q@Xv4n{{na60|?NfXNNQSns`bqmgME8CjOi?%x?TGxg-tsnz-Ey-zy!o#TL!^kVmmkVmNDJzvR}( zxx`1(B$wrgo#hhyW=&!!aaU_eqK)=;s`s4DlIFcKBcZEY@ZMzYNK}tyVf>W368xS^ z>(b7jx(RyUWVMazaZ}mmrqAlisYt0tTJ@RrxkAts_^S0F9I&PUj?gGoC0 z?0~1#Vmt1-$q{>w&D3tlt-ijqG4n>}DA58hyF_QsKh;gkjZaJ!%7fWtgHLQ;R0pjX zU+1>O>dvu8qCD=Ljdh_L68WLMQR$_;&MH@k-RxxJa@QT5Pcz%}(M2GNtWJr^*!aat zkE}lOg-!HyV%unSlki01qIfe=*ru)*=#4-7(?V#9aBlgNtmkbGKhY?^`!SDTSiiP zpg+5@y{@<0c=mLAN*8u)5z4B!8B>?^9;?&X8-{^i*#1Iq$L>2>*pu@<&=*!Ntn|*W z^e%i_pT9V`_^F3hXbT%AR=r_qeB|JSa-gpqzL-cdu6b`6Z4X*+XiYxQ>zprVyk3%r zgJr!msj6bo?@y=GbCt+&d-le;amf3X9cOOTPqV`H+T@y{P4a%$N$$JqYwN@Q^1|l& z=GD2W=g+MyP{=C$)Eklr16`5z{UW0nUDo4?DWk1cuMe;FF3snO279*bUG?LTkhTMT zY2>OSBL=$JYXJ|EL%nNMs5sCb^>~e|7cR?L;c<1z>jzi$`Q^(CYAsD&?Ni4&4Eurn z&5JPajN^$-jJiUv)25kPxqa6Z;&C{tzs%@rve8b8a44NltZT$Msl=waQI11t)Ec&W z^lt?tM#QTfSC~@P`;d358~-?>cH(HWY8@9+6`vsuY+HG$_r3~zP%@o|q|Sm~DoU3d z6v}i_XVI{PGQcUx_R$QhLRYlAr7=**n*z@wM?s-*H;y=}-{uX;yvh-n*b3t}2v%)G zzovjU+RDka8KtbL@#=9>`8LB_HpW`29P!ZwpR1?&(4nPN86rVtw`HK(W=3ahNtkhH zTh(x>RI)Z8H@S2z8&fOW7&Vn%>az7|@S!R01j0)&UEB>6d=R&*0xT)$pwcBRcurX$-bSV{mR{5pmi;dDv2=F215h}vi)(DYQ)Q7*+ILGqI zp|;O_$g-zvK1)F#{z^UxGybFyRZ^|{G=!ti#qA{(?(ny*tV!eOBT?CqK-9xEM{rWN#WQ;PF4&$q$vsY|4?LpB-{P|w=L!xQZV=nh5@e=n1@K&R{sV) CMD-2; literal 0 HcmV?d00001 diff --git a/locales/it_IT.po b/locales/it_IT.po new file mode 100644 index 00000000..76dcf163 --- /dev/null +++ b/locales/it_IT.po @@ -0,0 +1,200 @@ +# SOME DESCRIPTIVE TITLE. +# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER +# This file is distributed under the same license as the PACKAGE package. +# +# Translators: +# Diego Giacani , 2020 +msgid "" +msgstr "" +"Project-Id-Version: GLPI Plugin - Fields\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2020-10-27 14:42+0000\n" +"PO-Revision-Date: 2020-10-27 14:43+0000\n" +"Last-Translator: Cédric Anne\n" +"Language-Team: Italian (Italy) (http://www.transifex.com/teclib/glpi-plugin-plugin-fields/language/it_IT/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Language: it_IT\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#: hook.php:58 +msgid "MySQL tables installation" +msgstr "Installazione tabelle MySQL" + +#: hook.php:106 +msgid "The plugin can't be uninstalled when the plugin is disabled" +msgstr "Il plugin non può essere disinstallato quando è disabilitato" + +#: hook.php:115 +msgid "MySQL tables uninstallation" +msgstr "Disinstallazione tabelle MySQL" + +#: front/container.form.php:35 front/container.php:4 inc/menu.class.php:6 +#: setup.php:187 +msgid "Additionnal fields" +msgstr "Campi aggiuntivi" + +#: inc/dropdown.class.php:19 +msgid "Updating generated dropdown files" +msgstr "Aggiornamento dei file a tendina generati" + +#: inc/labeltranslation.class.php:147 +msgid "Language" +msgstr "Lingua" + +#: inc/labeltranslation.class.php:148 +msgid "Label" +msgstr "Etichetta" + +#: inc/container.class.php:16 +msgid "Regenerate container files" +msgstr "Rigenera i file dei contenitori" + +#: inc/container.class.php:17 inc/container.class.php:589 +msgid "Export to YAML" +msgstr "" + +#: inc/container.class.php:93 +msgid "Fix container names" +msgstr "Ripara i nomi dei contenitori" + +#: inc/container.class.php:181 +msgid "Updating generated containers files" +msgstr "Aggiornamento dei file dei contenitori generati" + +#: inc/container.class.php:377 +msgid "You cannot add block without associated element type" +msgstr "Non è possibile aggiungere un blocco senza il tipo di elemento associato" + +#: inc/container.class.php:394 +msgid "" +"You cannot add several blocks with type 'Insertion in the form' on same " +"object" +msgstr "Non è possibile aggiungere più blocchi con il tipo 'Inserimento nel modulo' sullo stesso oggetto" + +#: inc/container.class.php:409 +msgid "" +"You cannot add several blocks with type 'Insertion in the form of a specific" +" tab' on same object tab" +msgstr "Non è possibile aggiungere più blocchi con il tipo 'Inserimento sotto forma di una scheda specifica' sulla scheda dello stesso oggetto" + +#: inc/container.class.php:425 +msgid "" +"Container name is too long for database (digits in name are replaced by " +"characters, try to remove them)" +msgstr "" + +#: inc/container.class.php:439 +msgid "You cannot add several blocs with identical name on same object" +msgstr "Non è possibile aggiungere più blocchi con lo stesso nome sullo stesso oggetto" + +#: inc/container.class.php:582 +msgid "Block" +msgstr "Blocco" + +#: inc/container.class.php:661 +msgid "Tab" +msgstr "Scheda" + +#: inc/container.class.php:876 +msgid "Add tab" +msgstr "Aggiungi scheda" + +#: inc/container.class.php:877 +msgid "Insertion in the form (before save button)" +msgstr "Inserimento nel modulo (prima del pulsante di salvataggio)" + +#: inc/container.class.php:878 +msgid "Insertion in the form of a specific tab (before save button)" +msgstr "Inserimento sotto forma di una scheda specifica (prima del pulsante di salvataggio)" + +#: inc/container.class.php:1240 +msgid "Some mandatory fields are empty" +msgstr "Alcuni campi obbligatori sono vuoti" + +#: inc/container.class.php:1245 +msgid "Some numeric fields contains non numeric values" +msgstr "Alcuni campi numerici contengono valori non numerici" + +#: inc/container.class.php:1250 +msgid "Some URL fields contains invalid links" +msgstr "Alcuni campi URL contengono link non validi" + +#: inc/toolbox.class.php:90 +msgid "Fix fields names" +msgstr "Ripara i nomi dei campi" + +#: inc/field.class.php:79 +msgid "Field" +msgstr "Campo" + +#: inc/field.class.php:90 inc/field.class.php:115 +msgid "" +"Field name is too long for database (digits in name are replaced by " +"characters, try to remove them)" +msgstr "" + +#: inc/field.class.php:272 +msgid "Fields" +msgstr "Campi" + +#: inc/field.class.php:326 +msgid "Add a new field" +msgstr "Aggiungi nuovo campo" + +#: inc/field.class.php:330 +msgid "No field for this block" +msgstr "Nessun campo per questo blocco" + +#: inc/field.class.php:342 inc/field.class.php:455 +msgid "Read only" +msgstr "Sola lettura" + +#: inc/field.class.php:432 +msgid "Configure" +msgstr "Configura" + +#: inc/field.class.php:432 +msgid "Configure fields values" +msgstr "Configura i valori dei campi" + +#: inc/field.class.php:751 +msgid "show" +msgstr "mostra" + +#: inc/field.class.php:897 +msgid "Header" +msgstr "Intestazione" + +#: inc/field.class.php:898 +msgid "Text (single line)" +msgstr "Testo (riga singola)" + +#: inc/field.class.php:899 +msgid "Text (multiples lines)" +msgstr "Testo (righe multiple)" + +#: inc/field.class.php:900 +msgid "Number" +msgstr "Numero" + +#: inc/field.class.php:901 +msgid "URL" +msgstr "URL" + +#: inc/field.class.php:902 +msgid "Dropdown" +msgstr "A tendina" + +#: inc/field.class.php:903 +msgid "Yes/No" +msgstr "Sì/No" + +#: inc/field.class.php:904 +msgid "Date" +msgstr "Data" + +#: inc/field.class.php:905 +msgid "Date & time" +msgstr "Data & ora" From f6ca6db3fb9b36aff834242b7233fab72f69e53c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Anne?= Date: Tue, 27 Oct 2020 15:46:54 +0100 Subject: [PATCH 9/9] Add 1.12.0 version definition --- plugin.xml | 5 +++++ setup.php | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/plugin.xml b/plugin.xml index 02572cac..55c4bd6b 100644 --- a/plugin.xml +++ b/plugin.xml @@ -97,6 +97,11 @@ Il existe un [script de migration](https://github.com/pluginsGLPI/customfields/b Johan Cwiklinski + + 1.12.0 + ~9.5.0 + https://github.com/pluginsGLPI/fields/releases/download/1.12.0/glpi-fields-1.12.0.tar.bz2 + 1.11.0 ~9.5.0 diff --git a/setup.php b/setup.php index 80901953..295c4cbe 100644 --- a/setup.php +++ b/setup.php @@ -26,7 +26,7 @@ -------------------------------------------------------------------------- */ -define ('PLUGIN_FIELDS_VERSION', '1.11.0'); +define ('PLUGIN_FIELDS_VERSION', '1.12.0'); // Minimal GLPI version, inclusive define("PLUGIN_FIELDS_MIN_GLPI", "9.5");