diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml
new file mode 100644
index 00000000..a8f5e15a
--- /dev/null
+++ b/.github/workflows/release.yml
@@ -0,0 +1,40 @@
+name: "Plugin release"
+
+on:
+ push:
+ tags:
+ - '*'
+
+jobs:
+ create-release:
+ name: "Create release"
+ runs-on: "ubuntu-latest"
+ steps:
+ - name: "Extract tag name"
+ run: |
+ echo "tag_name=${GITHUB_REF#refs/tags/}" >> $GITHUB_ENV
+ - name: "Checkout"
+ uses: "actions/checkout@v2"
+ - name: "Build package"
+ id: "build-package"
+ uses: "glpi-project/tools/github-actions/build-package@0.1.15"
+ with:
+ plugin-version: ${{ env.tag_name }}
+ - name: "Create release"
+ id: "create-release"
+ uses: "actions/create-release@v1"
+ env:
+ GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
+ with:
+ tag_name: ${{ env.tag_name }}
+ release_name: ${{ env.tag_name }}
+ draft: true
+ - name: "Attach package to release"
+ uses: "actions/upload-release-asset@v1"
+ env:
+ GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
+ with:
+ upload_url: ${{ steps.create-release.outputs.upload_url }}
+ asset_path: ${{ steps.build-package.outputs.package-path }}
+ asset_name: ${{ steps.build-package.outputs.package-basename }}
+ asset_content_type: " application/x-bzip2"
diff --git a/composer.lock b/composer.lock
index a111dd2f..0825831e 100644
--- a/composer.lock
+++ b/composer.lock
@@ -9,46 +9,33 @@
"packages-dev": [
{
"name": "consolidation/annotated-command",
- "version": "4.2.3",
+ "version": "4.2.4",
"source": {
"type": "git",
"url": "https://github.com/consolidation/annotated-command.git",
- "reference": "4b596872f24c39d9c04d7b3adb6bc51baa1f2fd5"
+ "reference": "ec297e05cb86557671c2d6cbb1bebba6c7ae2c60"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/consolidation/annotated-command/zipball/4b596872f24c39d9c04d7b3adb6bc51baa1f2fd5",
- "reference": "4b596872f24c39d9c04d7b3adb6bc51baa1f2fd5",
+ "url": "https://api.github.com/repos/consolidation/annotated-command/zipball/ec297e05cb86557671c2d6cbb1bebba6c7ae2c60",
+ "reference": "ec297e05cb86557671c2d6cbb1bebba6c7ae2c60",
"shasum": ""
},
"require": {
"consolidation/output-formatters": "^4.1.1",
"php": ">=7.1.3",
"psr/log": "^1|^2",
- "symfony/console": "^4.4.8|^5",
+ "symfony/console": "^4.4.8|~5.1.0",
"symfony/event-dispatcher": "^4.4.8|^5",
"symfony/finder": "^4.4.8|^5"
},
"require-dev": {
- "g1a/composer-test-scenarios": "^3",
- "php-coveralls/php-coveralls": "^2.2",
- "phpunit/phpunit": "^6",
- "squizlabs/php_codesniffer": "^3"
+ "phpunit/phpunit": ">=7.5.20",
+ "squizlabs/php_codesniffer": "^3",
+ "yoast/phpunit-polyfills": "^0.2.0"
},
"type": "library",
"extra": {
- "scenarios": {
- "symfony4": {
- "require": {
- "symfony/console": "^4.0"
- },
- "config": {
- "platform": {
- "php": "7.1.3"
- }
- }
- }
- },
"branch-alias": {
"dev-main": "4.x-dev"
}
@@ -69,55 +56,48 @@
}
],
"description": "Initialize Symfony Console commands from annotated command class methods.",
- "time": "2020-10-03T14:28:42+00:00"
+ "support": {
+ "issues": "https://github.com/consolidation/annotated-command/issues",
+ "source": "https://github.com/consolidation/annotated-command/tree/4.2.4"
+ },
+ "time": "2020-12-10T16:56:39+00:00"
},
{
"name": "consolidation/config",
- "version": "2.0.0",
+ "version": "2.0.1",
"source": {
"type": "git",
"url": "https://github.com/consolidation/config.git",
- "reference": "9842670aad3406dbc8df3069fd680a9f8cd6edd7"
+ "reference": "9a2c2a7b2aea1b3525984a4378743a8b74c14e1c"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/consolidation/config/zipball/9842670aad3406dbc8df3069fd680a9f8cd6edd7",
- "reference": "9842670aad3406dbc8df3069fd680a9f8cd6edd7",
+ "url": "https://api.github.com/repos/consolidation/config/zipball/9a2c2a7b2aea1b3525984a4378743a8b74c14e1c",
+ "reference": "9a2c2a7b2aea1b3525984a4378743a8b74c14e1c",
"shasum": ""
},
"require": {
"dflydev/dot-access-data": "^1.1.0",
"grasmash/expander": "^1",
- "php": ">=7.1.3"
+ "php": ">=7.1.3",
+ "psr/log": "^1.1",
+ "symfony/event-dispatcher": "^4||^5"
},
"require-dev": {
- "g1a/composer-test-scenarios": "^3",
- "php-coveralls/php-coveralls": "^2.2",
- "phpunit/phpunit": "^6",
+ "phpunit/phpunit": ">=7.5.20",
"squizlabs/php_codesniffer": "^3",
- "symfony/console": "^4|^5",
- "symfony/event-dispatcher": "^4|^5",
- "symfony/yaml": "^4|^5"
+ "symfony/console": "^4||^5",
+ "symfony/yaml": "^4||^5",
+ "yoast/phpunit-polyfills": "^0.2.0"
},
"suggest": {
+ "symfony/event-dispatcher": "Required to inject configuration into Command options",
"symfony/yaml": "Required to use Consolidation\\Config\\Loader\\YamlConfigLoader"
},
"type": "library",
"extra": {
- "scenarios": {
- "symfony4": {
- "require-dev": {
- "symfony/console": "^4"
- },
- "config": {
- "platform": {
- "php": "7.1.3"
- }
- }
- }
- },
"branch-alias": {
- "dev-master": "2.x-dev"
+ "dev-main": "2.x-dev"
}
},
"autoload": {
@@ -136,20 +116,24 @@
}
],
"description": "Provide configuration services for a commandline tool.",
- "time": "2020-05-27T17:11:23+00:00"
+ "support": {
+ "issues": "https://github.com/consolidation/config/issues",
+ "source": "https://github.com/consolidation/config/tree/2.0.1"
+ },
+ "time": "2020-12-06T00:03:30+00:00"
},
{
"name": "consolidation/log",
- "version": "2.0.1",
+ "version": "2.0.2",
"source": {
"type": "git",
"url": "https://github.com/consolidation/log.git",
- "reference": "ba0bf6af1fbd09ed4dc18fc2f27b12ceff487cbf"
+ "reference": "82a2aaaa621a7b976e50a745a8d249d5085ee2b1"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/consolidation/log/zipball/ba0bf6af1fbd09ed4dc18fc2f27b12ceff487cbf",
- "reference": "ba0bf6af1fbd09ed4dc18fc2f27b12ceff487cbf",
+ "url": "https://api.github.com/repos/consolidation/log/zipball/82a2aaaa621a7b976e50a745a8d249d5085ee2b1",
+ "reference": "82a2aaaa621a7b976e50a745a8d249d5085ee2b1",
"shasum": ""
},
"require": {
@@ -158,27 +142,14 @@
"symfony/console": "^4|^5"
},
"require-dev": {
- "g1a/composer-test-scenarios": "^3",
- "php-coveralls/php-coveralls": "^2.2",
- "phpunit/phpunit": "^6",
- "squizlabs/php_codesniffer": "^3"
+ "phpunit/phpunit": ">=7.5.20",
+ "squizlabs/php_codesniffer": "^3",
+ "yoast/phpunit-polyfills": "^0.2.0"
},
"type": "library",
"extra": {
- "scenarios": {
- "symfony4": {
- "require-dev": {
- "symfony/console": "^4"
- },
- "config": {
- "platform": {
- "php": "7.1.3"
- }
- }
- }
- },
"branch-alias": {
- "dev-master": "2.x-dev"
+ "dev-main": "2.x-dev"
}
},
"autoload": {
@@ -197,20 +168,24 @@
}
],
"description": "Improved Psr-3 / Psr\\Log logger based on Symfony Console components.",
- "time": "2020-05-27T17:06:13+00:00"
+ "support": {
+ "issues": "https://github.com/consolidation/log/issues",
+ "source": "https://github.com/consolidation/log/tree/2.0.2"
+ },
+ "time": "2020-12-10T16:26:23+00:00"
},
{
"name": "consolidation/output-formatters",
- "version": "4.1.1",
+ "version": "4.1.2",
"source": {
"type": "git",
"url": "https://github.com/consolidation/output-formatters.git",
- "reference": "9deeddd6a916d0a756b216a8b40ce1016e17c0b9"
+ "reference": "5821e6ae076bf690058a4de6c94dce97398a69c9"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/consolidation/output-formatters/zipball/9deeddd6a916d0a756b216a8b40ce1016e17c0b9",
- "reference": "9deeddd6a916d0a756b216a8b40ce1016e17c0b9",
+ "url": "https://api.github.com/repos/consolidation/output-formatters/zipball/5821e6ae076bf690058a4de6c94dce97398a69c9",
+ "reference": "5821e6ae076bf690058a4de6c94dce97398a69c9",
"shasum": ""
},
"require": {
@@ -220,32 +195,20 @@
"symfony/finder": "^4|^5"
},
"require-dev": {
- "g1a/composer-test-scenarios": "^3",
- "php-coveralls/php-coveralls": "^2.2",
- "phpunit/phpunit": "^6",
+ "php-coveralls/php-coveralls": "^2.4.2",
+ "phpunit/phpunit": ">=7",
"squizlabs/php_codesniffer": "^3",
"symfony/var-dumper": "^4",
- "symfony/yaml": "^4"
+ "symfony/yaml": "^4",
+ "yoast/phpunit-polyfills": "^0.2.0"
},
"suggest": {
"symfony/var-dumper": "For using the var_dump formatter"
},
"type": "library",
"extra": {
- "scenarios": {
- "symfony4": {
- "require": {
- "symfony/console": "^4.0"
- },
- "config": {
- "platform": {
- "php": "7.1.3"
- }
- }
- }
- },
"branch-alias": {
- "dev-master": "4.x-dev"
+ "dev-main": "4.x-dev"
}
},
"autoload": {
@@ -264,20 +227,24 @@
}
],
"description": "Format text by applying transformations provided by plug-in formatters.",
- "time": "2020-05-27T20:51:17+00:00"
+ "support": {
+ "issues": "https://github.com/consolidation/output-formatters/issues",
+ "source": "https://github.com/consolidation/output-formatters/tree/4.1.2"
+ },
+ "time": "2020-12-12T19:04:59+00:00"
},
{
"name": "consolidation/robo",
- "version": "2.2.1",
+ "version": "2.2.2",
"source": {
"type": "git",
"url": "https://github.com/consolidation/Robo.git",
- "reference": "1a7c652371615fd72ff05380ffe6ce263eb31eb3"
+ "reference": "b365df174d9cfb0f5814e4f3275a1c558b17bc4c"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/consolidation/Robo/zipball/1a7c652371615fd72ff05380ffe6ce263eb31eb3",
- "reference": "1a7c652371615fd72ff05380ffe6ce263eb31eb3",
+ "url": "https://api.github.com/repos/consolidation/Robo/zipball/b365df174d9cfb0f5814e4f3275a1c558b17bc4c",
+ "reference": "b365df174d9cfb0f5814e4f3275a1c558b17bc4c",
"shasum": ""
},
"require": {
@@ -292,7 +259,8 @@
"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"
+ "symfony/process": "^4.4.11|^5",
+ "symfony/yaml": "^4.0 || ^5.0"
},
"conflict": {
"codegyre/robo": "*"
@@ -360,7 +328,11 @@
}
],
"description": "Modern task runner",
- "time": "2020-09-08T16:23:18+00:00"
+ "support": {
+ "issues": "https://github.com/consolidation/Robo/issues",
+ "source": "https://github.com/consolidation/Robo/tree/2.2.2"
+ },
+ "time": "2020-12-18T22:09:18+00:00"
},
{
"name": "consolidation/self-update",
@@ -410,6 +382,10 @@
}
],
"description": "Provides a self:update command for Symfony Console applications.",
+ "support": {
+ "issues": "https://github.com/consolidation/self-update/issues",
+ "source": "https://github.com/consolidation/self-update/tree/1.2.0"
+ },
"time": "2020-04-13T02:49:20+00:00"
},
{
@@ -441,9 +417,83 @@
],
"description": "Promoting the interoperability of container objects (DIC, SL, etc.)",
"homepage": "https://github.com/container-interop/container-interop",
+ "support": {
+ "issues": "https://github.com/container-interop/container-interop/issues",
+ "source": "https://github.com/container-interop/container-interop/tree/master"
+ },
"abandoned": "psr/container",
"time": "2017-02-14T19:40:03+00:00"
},
+ {
+ "name": "dealerdirect/phpcodesniffer-composer-installer",
+ "version": "v0.7.1",
+ "source": {
+ "type": "git",
+ "url": "https://github.com/Dealerdirect/phpcodesniffer-composer-installer.git",
+ "reference": "fe390591e0241955f22eb9ba327d137e501c771c"
+ },
+ "dist": {
+ "type": "zip",
+ "url": "https://api.github.com/repos/Dealerdirect/phpcodesniffer-composer-installer/zipball/fe390591e0241955f22eb9ba327d137e501c771c",
+ "reference": "fe390591e0241955f22eb9ba327d137e501c771c",
+ "shasum": ""
+ },
+ "require": {
+ "composer-plugin-api": "^1.0 || ^2.0",
+ "php": ">=5.3",
+ "squizlabs/php_codesniffer": "^2.0 || ^3.0 || ^4.0"
+ },
+ "require-dev": {
+ "composer/composer": "*",
+ "phpcompatibility/php-compatibility": "^9.0",
+ "sensiolabs/security-checker": "^4.1.0"
+ },
+ "type": "composer-plugin",
+ "extra": {
+ "class": "Dealerdirect\\Composer\\Plugin\\Installers\\PHPCodeSniffer\\Plugin"
+ },
+ "autoload": {
+ "psr-4": {
+ "Dealerdirect\\Composer\\Plugin\\Installers\\PHPCodeSniffer\\": "src/"
+ }
+ },
+ "notification-url": "https://packagist.org/downloads/",
+ "license": [
+ "MIT"
+ ],
+ "authors": [
+ {
+ "name": "Franck Nijhof",
+ "email": "franck.nijhof@dealerdirect.com",
+ "homepage": "http://www.frenck.nl",
+ "role": "Developer / IT Manager"
+ }
+ ],
+ "description": "PHP_CodeSniffer Standards Composer Installer Plugin",
+ "homepage": "http://www.dealerdirect.com",
+ "keywords": [
+ "PHPCodeSniffer",
+ "PHP_CodeSniffer",
+ "code quality",
+ "codesniffer",
+ "composer",
+ "installer",
+ "phpcs",
+ "plugin",
+ "qa",
+ "quality",
+ "standard",
+ "standards",
+ "style guide",
+ "stylecheck",
+ "tests"
+ ],
+ "support": {
+ "issues": "https://github.com/dealerdirect/phpcodesniffer-composer-installer/issues",
+ "source": "https://github.com/dealerdirect/phpcodesniffer-composer-installer"
+ },
+ "time": "2020-12-07T18:04:37+00:00"
+ },
{
"name": "dflydev/dot-access-data",
"version": "v1.1.0",
@@ -501,24 +551,29 @@
"dot",
"notation"
],
+ "support": {
+ "issues": "https://github.com/dflydev/dflydev-dot-access-data/issues",
+ "source": "https://github.com/dflydev/dflydev-dot-access-data/tree/master"
+ },
"time": "2017-01-20T21:14:22+00:00"
},
{
"name": "glpi-project/coding-standard",
- "version": "0.7.2",
+ "version": "0.8",
"source": {
"type": "git",
"url": "https://github.com/glpi-project/coding-standard.git",
- "reference": "dbba6566e1ce7f7d0778794cd6e93bc07080c8c7"
+ "reference": "a34ec2abf52e720ef700f59a91a4dde963b9f33e"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/glpi-project/coding-standard/zipball/dbba6566e1ce7f7d0778794cd6e93bc07080c8c7",
- "reference": "dbba6566e1ce7f7d0778794cd6e93bc07080c8c7",
+ "url": "https://api.github.com/repos/glpi-project/coding-standard/zipball/a34ec2abf52e720ef700f59a91a4dde963b9f33e",
+ "reference": "a34ec2abf52e720ef700f59a91a4dde963b9f33e",
"shasum": ""
},
"require": {
- "squizlabs/php_codesniffer": "^3.5"
+ "slevomat/coding-standard": "^6.3",
+ "squizlabs/php_codesniffer": "^3.5.5"
},
"type": "library",
"notification-url": "https://packagist.org/downloads/",
@@ -538,32 +593,37 @@
"glpi",
"phpcs"
],
- "time": "2019-10-31T10:30:33+00:00"
+ "support": {
+ "issues": "https://github.com/glpi-project/coding-standard/issues",
+ "source": "https://github.com/glpi-project/coding-standard"
+ },
+ "time": "2020-06-03T08:54:27+00:00"
},
{
"name": "glpi-project/tools",
- "version": "0.1.14",
+ "version": "0.1.15",
"source": {
"type": "git",
"url": "https://github.com/glpi-project/tools.git",
- "reference": "fd2d9d5a8a465640efe8f20334a6ee302cafe05e"
+ "reference": "b51d5e70321e32ac5e5ba0b5ccc851b41e1a078b"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/glpi-project/tools/zipball/fd2d9d5a8a465640efe8f20334a6ee302cafe05e",
- "reference": "fd2d9d5a8a465640efe8f20334a6ee302cafe05e",
+ "url": "https://api.github.com/repos/glpi-project/tools/zipball/b51d5e70321e32ac5e5ba0b5ccc851b41e1a078b",
+ "reference": "b51d5e70321e32ac5e5ba0b5ccc851b41e1a078b",
"shasum": ""
},
"require": {
"consolidation/robo": "^1.3 || ^2.0",
- "glpi-project/coding-standard": "^0.7",
+ "glpi-project/coding-standard": "^0.8",
"natxet/cssmin": "^3.0",
- "patchwork/jsqueeze": "^1.0"
+ "patchwork/jsqueeze": "^1.0",
+ "symfony/console": "^4.4 || ^5.0"
},
"bin": [
- "tools/plugin-release",
+ "bin/licence-headers-check",
"tools/extract_template.sh",
- "tools/modify_headers.pl"
+ "tools/plugin-release"
],
"type": "library",
"autoload": {
@@ -588,7 +648,11 @@
"plugins",
"tools"
],
- "time": "2020-10-26T07:33:44+00:00"
+ "support": {
+ "issues": "https://github.com/glpi-project/tools/issues",
+ "source": "https://github.com/glpi-project/tools"
+ },
+ "time": "2021-01-18T06:47:45+00:00"
},
{
"name": "grasmash/expander",
@@ -635,6 +699,10 @@
}
],
"description": "Expands internal property references in PHP arrays file.",
+ "support": {
+ "issues": "https://github.com/grasmash/expander/issues",
+ "source": "https://github.com/grasmash/expander/tree/master"
+ },
"time": "2017-12-21T22:14:55+00:00"
},
{
@@ -700,10 +768,14 @@
"provider",
"service"
],
+ "support": {
+ "issues": "https://github.com/thephpleague/container/issues",
+ "source": "https://github.com/thephpleague/container/tree/2.x"
+ },
"time": "2017-05-10T09:20:27+00:00"
},
{
- "name": "natxet/CssMin",
+ "name": "natxet/cssmin",
"version": "v3.0.6",
"source": {
"type": "git",
@@ -747,6 +819,10 @@
"css",
"minify"
],
+ "support": {
+ "issues": "https://github.com/natxet/CssMin/issues",
+ "source": "https://github.com/natxet/CssMin/tree/master"
+ },
"time": "2018-01-09T11:15:01+00:00"
},
{
@@ -789,9 +865,66 @@
"javascript",
"minification"
],
+ "support": {
+ "issues": "https://github.com/tchwork/jsqueeze/issues",
+ "source": "https://github.com/tchwork/jsqueeze/tree/v1.0.7"
+ },
"abandoned": true,
"time": "2015-03-25T10:11:08+00:00"
},
+ {
+ "name": "phpstan/phpdoc-parser",
+ "version": "0.4.9",
+ "source": {
+ "type": "git",
+ "url": "https://github.com/phpstan/phpdoc-parser.git",
+ "reference": "98a088b17966bdf6ee25c8a4b634df313d8aa531"
+ },
+ "dist": {
+ "type": "zip",
+ "url": "https://api.github.com/repos/phpstan/phpdoc-parser/zipball/98a088b17966bdf6ee25c8a4b634df313d8aa531",
+ "reference": "98a088b17966bdf6ee25c8a4b634df313d8aa531",
+ "shasum": ""
+ },
+ "require": {
+ "php": "^7.1 || ^8.0"
+ },
+ "require-dev": {
+ "consistence/coding-standard": "^3.5",
+ "ergebnis/composer-normalize": "^2.0.2",
+ "jakub-onderka/php-parallel-lint": "^0.9.2",
+ "phing/phing": "^2.16.0",
+ "phpstan/extension-installer": "^1.0",
+ "phpstan/phpstan": "^0.12.26",
+ "phpstan/phpstan-strict-rules": "^0.12",
+ "phpunit/phpunit": "^6.3",
+ "slevomat/coding-standard": "^4.7.2",
+ "symfony/process": "^4.0"
+ },
+ "type": "library",
+ "extra": {
+ "branch-alias": {
+ "dev-master": "0.4-dev"
+ }
+ },
+ "autoload": {
+ "psr-4": {
+ "PHPStan\\PhpDocParser\\": [
+ "src/"
+ ]
+ }
+ },
+ "notification-url": "https://packagist.org/downloads/",
+ "license": [
+ "MIT"
+ ],
+ "description": "PHPDoc parser with support for nullable, intersection and generic types",
+ "support": {
+ "issues": "https://github.com/phpstan/phpdoc-parser/issues",
+ "source": "https://github.com/phpstan/phpdoc-parser/tree/master"
+ },
+ "time": "2020-08-03T20:32:43+00:00"
+ },
{
"name": "psr/container",
"version": "1.0.0",
@@ -839,6 +972,10 @@
"container-interop",
"psr"
],
+ "support": {
+ "issues": "https://github.com/php-fig/container/issues",
+ "source": "https://github.com/php-fig/container/tree/master"
+ },
"time": "2017-02-14T16:28:37+00:00"
},
{
@@ -886,8 +1023,72 @@
"psr",
"psr-3"
],
+ "support": {
+ "source": "https://github.com/php-fig/log/tree/1.1.3"
+ },
"time": "2020-03-23T09:12:05+00:00"
},
+ {
+ "name": "slevomat/coding-standard",
+ "version": "6.4.1",
+ "source": {
+ "type": "git",
+ "url": "https://github.com/slevomat/coding-standard.git",
+ "reference": "696dcca217d0c9da2c40d02731526c1e25b65346"
+ },
+ "dist": {
+ "type": "zip",
+ "url": "https://api.github.com/repos/slevomat/coding-standard/zipball/696dcca217d0c9da2c40d02731526c1e25b65346",
+ "reference": "696dcca217d0c9da2c40d02731526c1e25b65346",
+ "shasum": ""
+ },
+ "require": {
+ "dealerdirect/phpcodesniffer-composer-installer": "^0.6.2 || ^0.7",
+ "php": "^7.1 || ^8.0",
+ "phpstan/phpdoc-parser": "0.4.5 - 0.4.9",
+ "squizlabs/php_codesniffer": "^3.5.6"
+ },
+ "require-dev": {
+ "phing/phing": "2.16.3",
+ "php-parallel-lint/php-parallel-lint": "1.2.0",
+ "phpstan/phpstan": "0.12.48",
+ "phpstan/phpstan-deprecation-rules": "0.12.5",
+ "phpstan/phpstan-phpunit": "0.12.16",
+ "phpstan/phpstan-strict-rules": "0.12.5",
+ "phpunit/phpunit": "7.5.20|8.5.5|9.4.0"
+ },
+ "type": "phpcodesniffer-standard",
+ "extra": {
+ "branch-alias": {
+ "dev-master": "6.x-dev"
+ }
+ },
+ "autoload": {
+ "psr-4": {
+ "SlevomatCodingStandard\\": "SlevomatCodingStandard"
+ }
+ },
+ "notification-url": "https://packagist.org/downloads/",
+ "license": [
+ "MIT"
+ ],
+ "description": "Slevomat Coding Standard for PHP_CodeSniffer complements Consistence Coding Standard by providing sniffs with additional checks.",
+ "support": {
+ "issues": "https://github.com/slevomat/coding-standard/issues",
+ "source": "https://github.com/slevomat/coding-standard/tree/6.4.1"
+ },
+ "funding": [
+ {
+ "url": "https://github.com/kukulich",
+ "type": "github"
+ },
+ {
+ "url": "https://tidelift.com/funding/github/packagist/slevomat/coding-standard",
+ "type": "tidelift"
+ }
+ ],
+ "time": "2020-10-05T12:39:37+00:00"
+ },
{
"name": "squizlabs/php_codesniffer",
"version": "3.5.8",
@@ -937,20 +1138,25 @@
"phpcs",
"standards"
],
+ "support": {
+ "issues": "https://github.com/squizlabs/PHP_CodeSniffer/issues",
+ "source": "https://github.com/squizlabs/PHP_CodeSniffer",
+ "wiki": "https://github.com/squizlabs/PHP_CodeSniffer/wiki"
+ },
"time": "2020-10-23T02:01:07+00:00"
},
{
"name": "symfony/console",
- "version": "v4.4.15",
+ "version": "v4.4.19",
"source": {
"type": "git",
"url": "https://github.com/symfony/console.git",
- "reference": "90933b39c7b312fc3ceaa1ddeac7eb48cb953124"
+ "reference": "24026c44fc37099fa145707fecd43672831b837a"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/symfony/console/zipball/90933b39c7b312fc3ceaa1ddeac7eb48cb953124",
- "reference": "90933b39c7b312fc3ceaa1ddeac7eb48cb953124",
+ "url": "https://api.github.com/repos/symfony/console/zipball/24026c44fc37099fa145707fecd43672831b837a",
+ "reference": "24026c44fc37099fa145707fecd43672831b837a",
"shasum": ""
},
"require": {
@@ -985,11 +1191,6 @@
"symfony/process": ""
},
"type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "4.4-dev"
- }
- },
"autoload": {
"psr-4": {
"Symfony\\Component\\Console\\": ""
@@ -1012,8 +1213,11 @@
"homepage": "https://symfony.com/contributors"
}
],
- "description": "Symfony Console Component",
+ "description": "Eases the creation of beautiful and testable command line interfaces",
"homepage": "https://symfony.com",
+ "support": {
+ "source": "https://github.com/symfony/console/tree/v4.4.19"
+ },
"funding": [
{
"url": "https://symfony.com/sponsor",
@@ -1028,20 +1232,20 @@
"type": "tidelift"
}
],
- "time": "2020-09-15T07:58:55+00:00"
+ "time": "2021-01-27T09:09:26+00:00"
},
{
"name": "symfony/event-dispatcher",
- "version": "v4.4.15",
+ "version": "v4.4.19",
"source": {
"type": "git",
"url": "https://github.com/symfony/event-dispatcher.git",
- "reference": "e17bb5e0663dc725f7cdcafc932132735b4725cd"
+ "reference": "c352647244bd376bf7d31efbd5401f13f50dad0c"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/symfony/event-dispatcher/zipball/e17bb5e0663dc725f7cdcafc932132735b4725cd",
- "reference": "e17bb5e0663dc725f7cdcafc932132735b4725cd",
+ "url": "https://api.github.com/repos/symfony/event-dispatcher/zipball/c352647244bd376bf7d31efbd5401f13f50dad0c",
+ "reference": "c352647244bd376bf7d31efbd5401f13f50dad0c",
"shasum": ""
},
"require": {
@@ -1070,11 +1274,6 @@
"symfony/http-kernel": ""
},
"type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "4.4-dev"
- }
- },
"autoload": {
"psr-4": {
"Symfony\\Component\\EventDispatcher\\": ""
@@ -1097,8 +1296,11 @@
"homepage": "https://symfony.com/contributors"
}
],
- "description": "Symfony EventDispatcher Component",
+ "description": "Provides tools that allow your application components to communicate with each other by dispatching events and listening to them",
"homepage": "https://symfony.com",
+ "support": {
+ "source": "https://github.com/symfony/event-dispatcher/tree/v4.4.19"
+ },
"funding": [
{
"url": "https://symfony.com/sponsor",
@@ -1113,7 +1315,7 @@
"type": "tidelift"
}
],
- "time": "2020-09-18T14:07:46+00:00"
+ "time": "2021-01-27T09:09:26+00:00"
},
{
"name": "symfony/event-dispatcher-contracts",
@@ -1175,6 +1377,9 @@
"interoperability",
"standards"
],
+ "support": {
+ "source": "https://github.com/symfony/event-dispatcher-contracts/tree/v1.1.9"
+ },
"funding": [
{
"url": "https://symfony.com/sponsor",
@@ -1193,16 +1398,16 @@
},
{
"name": "symfony/filesystem",
- "version": "v4.4.15",
+ "version": "v4.4.19",
"source": {
"type": "git",
"url": "https://github.com/symfony/filesystem.git",
- "reference": "ebc51494739d3b081ea543ed7c462fa73a4f74db"
+ "reference": "83a6feed14846d2d9f3916adbaf838819e4e3380"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/symfony/filesystem/zipball/ebc51494739d3b081ea543ed7c462fa73a4f74db",
- "reference": "ebc51494739d3b081ea543ed7c462fa73a4f74db",
+ "url": "https://api.github.com/repos/symfony/filesystem/zipball/83a6feed14846d2d9f3916adbaf838819e4e3380",
+ "reference": "83a6feed14846d2d9f3916adbaf838819e4e3380",
"shasum": ""
},
"require": {
@@ -1210,11 +1415,6 @@
"symfony/polyfill-ctype": "~1.8"
},
"type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "4.4-dev"
- }
- },
"autoload": {
"psr-4": {
"Symfony\\Component\\Filesystem\\": ""
@@ -1237,8 +1437,11 @@
"homepage": "https://symfony.com/contributors"
}
],
- "description": "Symfony Filesystem Component",
+ "description": "Provides basic utilities for the filesystem",
"homepage": "https://symfony.com",
+ "support": {
+ "source": "https://github.com/symfony/filesystem/tree/v4.4.19"
+ },
"funding": [
{
"url": "https://symfony.com/sponsor",
@@ -1253,31 +1456,26 @@
"type": "tidelift"
}
],
- "time": "2020-09-27T13:54:16+00:00"
+ "time": "2021-01-27T09:09:26+00:00"
},
{
"name": "symfony/finder",
- "version": "v4.4.15",
+ "version": "v4.4.19",
"source": {
"type": "git",
"url": "https://github.com/symfony/finder.git",
- "reference": "60d08560f9aa72997c44077c40d47aa28a963230"
+ "reference": "25d79cfccfc12e84e7a63a248c3f0720fdd92db6"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/symfony/finder/zipball/60d08560f9aa72997c44077c40d47aa28a963230",
- "reference": "60d08560f9aa72997c44077c40d47aa28a963230",
+ "url": "https://api.github.com/repos/symfony/finder/zipball/25d79cfccfc12e84e7a63a248c3f0720fdd92db6",
+ "reference": "25d79cfccfc12e84e7a63a248c3f0720fdd92db6",
"shasum": ""
},
"require": {
"php": ">=7.1.3"
},
"type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "4.4-dev"
- }
- },
"autoload": {
"psr-4": {
"Symfony\\Component\\Finder\\": ""
@@ -1300,8 +1498,11 @@
"homepage": "https://symfony.com/contributors"
}
],
- "description": "Symfony Finder Component",
+ "description": "Finds files and directories via an intuitive fluent interface",
"homepage": "https://symfony.com",
+ "support": {
+ "source": "https://github.com/symfony/finder/tree/v4.4.19"
+ },
"funding": [
{
"url": "https://symfony.com/sponsor",
@@ -1316,20 +1517,20 @@
"type": "tidelift"
}
],
- "time": "2020-10-02T07:34:48+00:00"
+ "time": "2021-01-27T09:09:26+00:00"
},
{
"name": "symfony/polyfill-ctype",
- "version": "v1.20.0",
+ "version": "v1.22.0",
"source": {
"type": "git",
"url": "https://github.com/symfony/polyfill-ctype.git",
- "reference": "f4ba089a5b6366e453971d3aad5fe8e897b37f41"
+ "reference": "c6c942b1ac76c82448322025e084cadc56048b4e"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/symfony/polyfill-ctype/zipball/f4ba089a5b6366e453971d3aad5fe8e897b37f41",
- "reference": "f4ba089a5b6366e453971d3aad5fe8e897b37f41",
+ "url": "https://api.github.com/repos/symfony/polyfill-ctype/zipball/c6c942b1ac76c82448322025e084cadc56048b4e",
+ "reference": "c6c942b1ac76c82448322025e084cadc56048b4e",
"shasum": ""
},
"require": {
@@ -1341,7 +1542,7 @@
"type": "library",
"extra": {
"branch-alias": {
- "dev-main": "1.20-dev"
+ "dev-main": "1.22-dev"
},
"thanks": {
"name": "symfony/polyfill",
@@ -1378,6 +1579,9 @@
"polyfill",
"portable"
],
+ "support": {
+ "source": "https://github.com/symfony/polyfill-ctype/tree/v1.22.0"
+ },
"funding": [
{
"url": "https://symfony.com/sponsor",
@@ -1392,20 +1596,20 @@
"type": "tidelift"
}
],
- "time": "2020-10-23T14:02:19+00:00"
+ "time": "2021-01-07T16:49:33+00:00"
},
{
"name": "symfony/polyfill-mbstring",
- "version": "v1.20.0",
+ "version": "v1.22.0",
"source": {
"type": "git",
"url": "https://github.com/symfony/polyfill-mbstring.git",
- "reference": "39d483bdf39be819deabf04ec872eb0b2410b531"
+ "reference": "f377a3dd1fde44d37b9831d68dc8dea3ffd28e13"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/symfony/polyfill-mbstring/zipball/39d483bdf39be819deabf04ec872eb0b2410b531",
- "reference": "39d483bdf39be819deabf04ec872eb0b2410b531",
+ "url": "https://api.github.com/repos/symfony/polyfill-mbstring/zipball/f377a3dd1fde44d37b9831d68dc8dea3ffd28e13",
+ "reference": "f377a3dd1fde44d37b9831d68dc8dea3ffd28e13",
"shasum": ""
},
"require": {
@@ -1417,7 +1621,7 @@
"type": "library",
"extra": {
"branch-alias": {
- "dev-main": "1.20-dev"
+ "dev-main": "1.22-dev"
},
"thanks": {
"name": "symfony/polyfill",
@@ -1455,6 +1659,9 @@
"portable",
"shim"
],
+ "support": {
+ "source": "https://github.com/symfony/polyfill-mbstring/tree/v1.22.0"
+ },
"funding": [
{
"url": "https://symfony.com/sponsor",
@@ -1469,20 +1676,20 @@
"type": "tidelift"
}
],
- "time": "2020-10-23T14:02:19+00:00"
+ "time": "2021-01-07T16:49:33+00:00"
},
{
"name": "symfony/polyfill-php73",
- "version": "v1.20.0",
+ "version": "v1.22.0",
"source": {
"type": "git",
"url": "https://github.com/symfony/polyfill-php73.git",
- "reference": "8ff431c517be11c78c48a39a66d37431e26a6bed"
+ "reference": "a678b42e92f86eca04b7fa4c0f6f19d097fb69e2"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/symfony/polyfill-php73/zipball/8ff431c517be11c78c48a39a66d37431e26a6bed",
- "reference": "8ff431c517be11c78c48a39a66d37431e26a6bed",
+ "url": "https://api.github.com/repos/symfony/polyfill-php73/zipball/a678b42e92f86eca04b7fa4c0f6f19d097fb69e2",
+ "reference": "a678b42e92f86eca04b7fa4c0f6f19d097fb69e2",
"shasum": ""
},
"require": {
@@ -1491,7 +1698,7 @@
"type": "library",
"extra": {
"branch-alias": {
- "dev-main": "1.20-dev"
+ "dev-main": "1.22-dev"
},
"thanks": {
"name": "symfony/polyfill",
@@ -1531,6 +1738,9 @@
"portable",
"shim"
],
+ "support": {
+ "source": "https://github.com/symfony/polyfill-php73/tree/v1.22.0"
+ },
"funding": [
{
"url": "https://symfony.com/sponsor",
@@ -1545,20 +1755,20 @@
"type": "tidelift"
}
],
- "time": "2020-10-23T14:02:19+00:00"
+ "time": "2021-01-07T16:49:33+00:00"
},
{
"name": "symfony/polyfill-php80",
- "version": "v1.20.0",
+ "version": "v1.22.0",
"source": {
"type": "git",
"url": "https://github.com/symfony/polyfill-php80.git",
- "reference": "e70aa8b064c5b72d3df2abd5ab1e90464ad009de"
+ "reference": "dc3063ba22c2a1fd2f45ed856374d79114998f91"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/symfony/polyfill-php80/zipball/e70aa8b064c5b72d3df2abd5ab1e90464ad009de",
- "reference": "e70aa8b064c5b72d3df2abd5ab1e90464ad009de",
+ "url": "https://api.github.com/repos/symfony/polyfill-php80/zipball/dc3063ba22c2a1fd2f45ed856374d79114998f91",
+ "reference": "dc3063ba22c2a1fd2f45ed856374d79114998f91",
"shasum": ""
},
"require": {
@@ -1567,7 +1777,7 @@
"type": "library",
"extra": {
"branch-alias": {
- "dev-main": "1.20-dev"
+ "dev-main": "1.22-dev"
},
"thanks": {
"name": "symfony/polyfill",
@@ -1611,6 +1821,9 @@
"portable",
"shim"
],
+ "support": {
+ "source": "https://github.com/symfony/polyfill-php80/tree/v1.22.0"
+ },
"funding": [
{
"url": "https://symfony.com/sponsor",
@@ -1625,31 +1838,26 @@
"type": "tidelift"
}
],
- "time": "2020-10-23T14:02:19+00:00"
+ "time": "2021-01-07T16:49:33+00:00"
},
{
"name": "symfony/process",
- "version": "v4.4.15",
+ "version": "v4.4.19",
"source": {
"type": "git",
"url": "https://github.com/symfony/process.git",
- "reference": "9b887acc522935f77555ae8813495958c7771ba7"
+ "reference": "7e950b6366d4da90292c2e7fa820b3c1842b965a"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/symfony/process/zipball/9b887acc522935f77555ae8813495958c7771ba7",
- "reference": "9b887acc522935f77555ae8813495958c7771ba7",
+ "url": "https://api.github.com/repos/symfony/process/zipball/7e950b6366d4da90292c2e7fa820b3c1842b965a",
+ "reference": "7e950b6366d4da90292c2e7fa820b3c1842b965a",
"shasum": ""
},
"require": {
"php": ">=7.1.3"
},
"type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "4.4-dev"
- }
- },
"autoload": {
"psr-4": {
"Symfony\\Component\\Process\\": ""
@@ -1672,8 +1880,11 @@
"homepage": "https://symfony.com/contributors"
}
],
- "description": "Symfony Process Component",
+ "description": "Executes commands in sub-processes",
"homepage": "https://symfony.com",
+ "support": {
+ "source": "https://github.com/symfony/process/tree/v4.4.19"
+ },
"funding": [
{
"url": "https://symfony.com/sponsor",
@@ -1688,7 +1899,7 @@
"type": "tidelift"
}
],
- "time": "2020-09-02T16:08:58+00:00"
+ "time": "2021-01-27T09:09:26+00:00"
},
{
"name": "symfony/service-contracts",
@@ -1750,6 +1961,9 @@
"interoperability",
"standards"
],
+ "support": {
+ "source": "https://github.com/symfony/service-contracts/tree/v1.1.9"
+ },
"funding": [
{
"url": "https://symfony.com/sponsor",
@@ -1765,6 +1979,77 @@
}
],
"time": "2020-07-06T13:19:58+00:00"
+ },
+ {
+ "name": "symfony/yaml",
+ "version": "v4.4.19",
+ "source": {
+ "type": "git",
+ "url": "https://github.com/symfony/yaml.git",
+ "reference": "17ed9f14c1aa05b1a5cf2e2c5ef2d0be28058ef9"
+ },
+ "dist": {
+ "type": "zip",
+ "url": "https://api.github.com/repos/symfony/yaml/zipball/17ed9f14c1aa05b1a5cf2e2c5ef2d0be28058ef9",
+ "reference": "17ed9f14c1aa05b1a5cf2e2c5ef2d0be28058ef9",
+ "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",
+ "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": "Loads and dumps YAML files",
+ "homepage": "https://symfony.com",
+ "support": {
+ "source": "https://github.com/symfony/yaml/tree/v4.4.19"
+ },
+ "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": "2021-01-27T09:09:26+00:00"
}
],
"aliases": [],
@@ -1779,5 +2064,5 @@
"platform-overrides": {
"php": "7.2.0"
},
- "plugin-api-version": "1.1.0"
+ "plugin-api-version": "2.0.0"
}
diff --git a/genericobject.xml b/genericobject.xml
index d78c0e51..243d7378 100644
--- a/genericobject.xml
+++ b/genericobject.xml
@@ -24,6 +24,11 @@
Walid Nouh
+
+ 2.10.0
+ ~9.5.0
+ https://github.com/pluginsGLPI/genericobject/releases/download/2.10.0/glpi-genericobject-2.10.0.tar.bz2
+
2.9.2
~9.5.0
diff --git a/hook.php b/hook.php
index 0a746098..5f3823ff 100644
--- a/hook.php
+++ b/hook.php
@@ -56,9 +56,10 @@ function plugin_genericobject_getDropdown() {
$plugin = new Plugin();
if ($plugin->isActivated("genericobject")) {
- foreach (PluginGenericobjectType::getTypes(true) as $idx => $type) {
+ foreach (PluginGenericobjectType::getTypes() as $type) {
//_log($idx, var_export($type, true));
$itemtype = $type['itemtype'];
+ PluginGenericobjectType::registerOneType($itemtype);
foreach (PluginGenericobjectType::getDropdownForItemtype($itemtype) as $table) {
$dropdown_itemtype = getItemTypeForTable($table);
if (class_exists( $dropdown_itemtype)) {
diff --git a/inc/field.class.php b/inc/field.class.php
index f4cbd826..30ef6df0 100644
--- a/inc/field.class.php
+++ b/inc/field.class.php
@@ -46,6 +46,7 @@ public static function showObjectFieldsForm($id) {
$GO_FIELDS = [];
plugin_genericobject_includeCommonFields(true);
+ PluginGenericobjectType::includeLocales($object_type->fields['name']);
PluginGenericobjectType::includeConstants($object_type->fields['name'], true);
self::addReadOnlyFields($object_type);
@@ -161,6 +162,9 @@ static function addReadOnlyFields(PluginGenericobjectType $type) {
$GO_READONLY_FIELDS[] = 'users_id_tech';
}
+ if ($type->canUseItemDevice()) {
+ $GO_READONLY_FIELDS[] = 'locations_id';
+ }
}
/**
* Get the name of the field, as defined in a constant file
diff --git a/inc/object.class.php b/inc/object.class.php
index 51cd515f..28bf3c27 100644
--- a/inc/object.class.php
+++ b/inc/object.class.php
@@ -174,7 +174,8 @@ static function registerType() {
"reservation_types" => $item->canBeReserved(),
"contract_types" => $item->canUseContracts(),
"unicity_types" => $item->canUseUnicity(),
- "location_types" => isset($fields['locations_id'])
+ "location_types" => isset($fields['locations_id']),
+ "itemdevices_types" => $item->canUseItemDevice()
]);
if (plugin_genericobject_haveRight($class, READ)) {
@@ -359,6 +360,10 @@ function defineTabs($options = []) {
$this->addStandardTab('NetworkPort', $tabs, $options);
}
+ if ($this->canUseItemDevice()) {
+ $this->addStandardTab('Item_Devices', $tabs, $options);
+ }
+
if ($this->canUseInfocoms()) {
$this->addStandardTab('Infocom', $tabs, $options);
}
@@ -497,6 +502,10 @@ function getLinkedItemTypesAsArray() {
return $this->objecttype->getLinkedItemTypesAsArray();
}
+ function canUseItemDevice() {
+ return ($this->objecttype->canUseItemDevice());
+ }
+
function title() {
}
diff --git a/inc/type.class.php b/inc/type.class.php
index 55ea9e60..08c94b5b 100644
--- a/inc/type.class.php
+++ b/inc/type.class.php
@@ -398,6 +398,14 @@ function rawSearchOptions() {
'massiveaction' => false,
];
+ $sopt[] = [
+ 'id' => 22,
+ 'table' => $this->getTable(),
+ 'field' => 'use_itemdevices',
+ 'name' => _sx('button', 'Use') . ' ' . _n('Component', 'Components', 2),
+ 'datatype' => 'bool',
+ ];
+
$sopt[] = [
'id' => 121,
'table' => $this->getTable(),
@@ -541,6 +549,7 @@ function showBehaviorForm($ID, $options = []) {
"use_global_search" => __("Global search"),
"use_projects" => _n("Project", "Projects", 2),
"use_network_ports" => __("Network connections", "genericobject"),
+ "use_itemdevices" => _n('Component', 'Components', 2),
];
$plugins = [
@@ -935,6 +944,11 @@ function checkNecessaryFieldsUpdate() {
file_exists(self::getCompleteInjectionFilename($this->fields['name']))) {
self::deleteInjectionFile($this->fields['name']);
}
+
+ //Device item needs locations_id field !
+ if ($this->canUseItemDevice()) {
+ PluginGenericobjectField::addNewField($table, 'locations_id');
+ }
}
@@ -1875,6 +1889,9 @@ function canUseInfocoms() {
return $this->fields['use_infocoms'];
}
+ function canUseItemDevice() {
+ return $this->fields['use_itemdevices'];
+ }
function canUseContracts() {
return $this->fields['use_contracts'];
@@ -2029,6 +2046,7 @@ static function install(Migration $migration) {
`use_projects` tinyint(1) NOT NULL default '0',
`linked_itemtypes` text NULL,
`plugin_genericobject_typefamilies_id` INT( 11 ) NOT NULL DEFAULT 0,
+ `use_itemdevices` tinyint(1) NOT NULL default '0',
PRIMARY KEY ( `id` )
) ENGINE = InnoDB COMMENT = 'Object types definition table' DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;";
$DB->query($query) or die($DB->error());
@@ -2051,6 +2069,7 @@ static function install(Migration $migration) {
$migration->addField($table, "plugin_genericobject_typefamilies_id", "integer");
$migration->addField($table, "use_plugin_simcard", "bool");
$migration->addField($table, "use_plugin_treeview", "bool");
+ $migration->addField($table, "use_itemdevices", "bool");
$migration->migrationOneTable($table);
//Normalize names and itemtypes (prior to using them).
diff --git a/locales/cs_CZ.po b/locales/cs_CZ.po
index 29846be7..025ff320 100644
--- a/locales/cs_CZ.po
+++ b/locales/cs_CZ.po
@@ -9,7 +9,7 @@ msgid ""
msgstr ""
"Project-Id-Version: GLPI Plugin - Genericobject\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2020-10-27 15:13+0000\n"
+"POT-Creation-Date: 2021-02-15 14:07+0000\n"
"PO-Revision-Date: 2019-11-09 06:06+0000\n"
"Last-Translator: Pavel Borecki \n"
"Language-Team: Czech (Czech Republic) (http://www.transifex.com/teclib/glpi-project-plugin-genericobject/language/cs_CZ/)\n"
@@ -21,7 +21,7 @@ msgstr ""
#: index.php:58 front/familylist.php:33 front/familylist.php:41
#: front/type.form.php:73 inc/profile.class.php:39 inc/type.class.php:292
-#: inc/type.class.php:419 inc/object_item.class.php:109 setup.php:223
+#: inc/type.class.php:427 inc/object_item.class.php:109 setup.php:223
msgid "Objects management"
msgstr "Správa objektů"
@@ -47,7 +47,7 @@ msgstr "Kolonky úspěšně smazány"
msgid "Field added successfully"
msgstr "Kolonka úspěšně přidána"
-#: inc/typefamily.class.php:36 inc/type.class.php:380 inc/type.class.php:509
+#: inc/typefamily.class.php:36 inc/type.class.php:380 inc/type.class.php:517
msgid "Family of type of objects"
msgstr "Rodina typu objektů"
@@ -84,88 +84,88 @@ msgstr "Je třeba, aby typ začínal písmenem"
msgid "A type already exists with the same name"
msgstr "Typ se stejným názvem už existuje"
-#: inc/type.class.php:470
+#: inc/type.class.php:478
msgid "Internal identifier"
msgstr "Vnitřní identifikátor"
-#: inc/type.class.php:524
+#: inc/type.class.php:532
msgid "Behaviour"
msgstr "Chování"
-#: inc/type.class.php:543
+#: inc/type.class.php:551
msgid "Network connections"
msgstr "Síťová připojení"
-#: inc/type.class.php:547
+#: inc/type.class.php:556
msgid "injection file plugin"
msgstr "zásuvný modul vkládání souborů"
-#: inc/type.class.php:549
+#: inc/type.class.php:558
msgid "geninventorynumber plugin"
msgstr "zásuvný modul vytváření inventárních čísel"
-#: inc/type.class.php:550
+#: inc/type.class.php:559
msgid "order plugin"
msgstr "zásuvný modul správa objednávek"
-#: inc/type.class.php:551
+#: inc/type.class.php:560
msgid "item's uninstallation plugin"
msgstr "zásuvný modul odinstalace položek"
-#: inc/type.class.php:552
+#: inc/type.class.php:561
msgid "simcard plugin"
msgstr "zásuvný modul sim karty"
-#: inc/type.class.php:553
+#: inc/type.class.php:562
msgid "treeview plugin"
msgstr "zásuvný modul stromového pohledu"
-#: inc/type.class.php:716
+#: inc/type.class.php:725
msgid "Regenerate files"
msgstr "Znovu vytvořit soubory"
-#: inc/type.class.php:729
+#: inc/type.class.php:738
msgid "Link to other objects"
msgstr "Propojit s ostatními objekty"
#. TRANS: %1$s is itemtype name
-#: inc/type.class.php:2070
+#: inc/type.class.php:2089
#, php-format
msgid "Unable to load the class %1$s."
msgstr "Nedaří se načíst třídu %1$s."
#. TRANS: %1$s is itemtype name
-#: inc/type.class.php:2072
+#: inc/type.class.php:2091
#, php-format
msgid ""
"You probably have garbage data in your database for this plugin and missing "
"files in %1$s"
msgstr "Nejspíš ve své databázi máte pro tento modul v nepořádku data a chybí soubory v %1$s"
-#: inc/object.class.php:539
+#: inc/object.class.php:548
msgid "Object preview"
msgstr "Náhled objektu"
-#: inc/object.class.php:803
+#: inc/object.class.php:812
msgid "You must configure rights to enable the preview"
msgstr "Pro zapnutí náhledu je třeba nastavit oprávnění"
-#: inc/field.class.php:64
+#: inc/field.class.php:65
msgid "Fields associated with the object"
msgstr "Kolonky přiřazené k objektu"
-#: inc/field.class.php:70
+#: inc/field.class.php:71
msgid "Label"
msgstr "Štítek"
-#: inc/field.class.php:71
+#: inc/field.class.php:72
msgid "Name in DB"
msgstr "Název v databázi"
-#: inc/field.class.php:126
+#: inc/field.class.php:127
msgid "Add new field"
msgstr "Přidat novou kolonku"
-#: inc/field.class.php:318
+#: inc/field.class.php:322
msgid "Read-only field"
msgstr "Kolonka pouze pro čtení"
diff --git a/locales/en_GB.mo b/locales/en_GB.mo
index 455375d0..065e02e5 100644
Binary files a/locales/en_GB.mo and b/locales/en_GB.mo differ
diff --git a/locales/en_GB.po b/locales/en_GB.po
index af73e427..937c5be2 100644
--- a/locales/en_GB.po
+++ b/locales/en_GB.po
@@ -1,14 +1,14 @@
# English translations for PACKAGE package.
-# Copyright (C) 2020 THE PACKAGE'S COPYRIGHT HOLDER
+# Copyright (C) 2021 THE PACKAGE'S COPYRIGHT HOLDER
# This file is distributed under the same license as the PACKAGE package.
-# Automatically generated, 2020.
+# Automatically generated, 2021.
#
msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2020-10-27 15:13+0000\n"
-"PO-Revision-Date: 2020-10-27 15:13+0000\n"
+"POT-Creation-Date: 2021-02-15 14:07+0000\n"
+"PO-Revision-Date: 2021-02-15 14:07+0000\n"
"Last-Translator: Automatically generated\n"
"Language-Team: none\n"
"Language: en_GB\n"
@@ -19,7 +19,7 @@ msgstr ""
#: index.php:58 front/familylist.php:33 front/familylist.php:41
#: front/type.form.php:73 inc/profile.class.php:39 inc/type.class.php:292
-#: inc/type.class.php:419 inc/object_item.class.php:109 setup.php:223
+#: inc/type.class.php:427 inc/object_item.class.php:109 setup.php:223
msgid "Objects management"
msgstr "Objects management"
@@ -45,7 +45,7 @@ msgstr "Field(s) deleted successfully"
msgid "Field added successfully"
msgstr "Field added successfully"
-#: inc/typefamily.class.php:36 inc/type.class.php:380 inc/type.class.php:509
+#: inc/typefamily.class.php:36 inc/type.class.php:380 inc/type.class.php:517
msgid "Family of type of objects"
msgstr "Family of type of objects"
@@ -83,58 +83,58 @@ msgstr "Type must start with a letter"
msgid "A type already exists with the same name"
msgstr "A type already exists with the same name"
-#: inc/type.class.php:470
+#: inc/type.class.php:478
msgid "Internal identifier"
msgstr "Internal identifier"
-#: inc/type.class.php:524
+#: inc/type.class.php:532
msgid "Behaviour"
msgstr "Behaviour"
-#: inc/type.class.php:543
+#: inc/type.class.php:551
msgid "Network connections"
msgstr "Network connections"
-#: inc/type.class.php:547
+#: inc/type.class.php:556
msgid "injection file plugin"
msgstr "injection file plugin"
-#: inc/type.class.php:549
+#: inc/type.class.php:558
msgid "geninventorynumber plugin"
msgstr "geninventorynumber plugin"
-#: inc/type.class.php:550
+#: inc/type.class.php:559
msgid "order plugin"
msgstr "order plugin"
-#: inc/type.class.php:551
+#: inc/type.class.php:560
msgid "item's uninstallation plugin"
msgstr "item's uninstallation plugin"
-#: inc/type.class.php:552
+#: inc/type.class.php:561
msgid "simcard plugin"
msgstr "simcard plugin"
-#: inc/type.class.php:553
+#: inc/type.class.php:562
msgid "treeview plugin"
msgstr "treeview plugin"
-#: inc/type.class.php:716
+#: inc/type.class.php:725
msgid "Regenerate files"
msgstr "Regenerate files"
-#: inc/type.class.php:729
+#: inc/type.class.php:738
msgid "Link to other objects"
msgstr "Link to other objects"
#. TRANS: %1$s is itemtype name
-#: inc/type.class.php:2070
+#: inc/type.class.php:2089
#, php-format
msgid "Unable to load the class %1$s."
msgstr "Unable to load the class %1$s."
#. TRANS: %1$s is itemtype name
-#: inc/type.class.php:2072
+#: inc/type.class.php:2091
#, php-format
msgid ""
"You probably have garbage data in your database for this plugin and missing "
@@ -143,30 +143,30 @@ msgstr ""
"You probably have garbage data in your database for this plugin and missing "
"files in %1$s"
-#: inc/object.class.php:539
+#: inc/object.class.php:548
msgid "Object preview"
msgstr "Object preview"
-#: inc/object.class.php:803
+#: inc/object.class.php:812
msgid "You must configure rights to enable the preview"
msgstr "You must configure rights to enable the preview"
-#: inc/field.class.php:64
+#: inc/field.class.php:65
msgid "Fields associated with the object"
msgstr "Fields associated with the object"
-#: inc/field.class.php:70
+#: inc/field.class.php:71
msgid "Label"
msgstr "Label"
-#: inc/field.class.php:71
+#: inc/field.class.php:72
msgid "Name in DB"
msgstr "Name in DB"
-#: inc/field.class.php:126
+#: inc/field.class.php:127
msgid "Add new field"
msgstr "Add new field"
-#: inc/field.class.php:318
+#: inc/field.class.php:322
msgid "Read-only field"
msgstr "Read-only field"
diff --git a/locales/es_ES.po b/locales/es_ES.po
index 59ea658e..91792e00 100644
--- a/locales/es_ES.po
+++ b/locales/es_ES.po
@@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: GLPI Plugin - Genericobject\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2020-10-27 15:13+0000\n"
+"POT-Creation-Date: 2021-02-15 14:07+0000\n"
"PO-Revision-Date: 2019-11-08 14:59+0000\n"
"Last-Translator: Cédric Anne\n"
"Language-Team: Spanish (Spain) (http://www.transifex.com/teclib/glpi-project-plugin-genericobject/language/es_ES/)\n"
@@ -20,7 +20,7 @@ msgstr ""
#: index.php:58 front/familylist.php:33 front/familylist.php:41
#: front/type.form.php:73 inc/profile.class.php:39 inc/type.class.php:292
-#: inc/type.class.php:419 inc/object_item.class.php:109 setup.php:223
+#: inc/type.class.php:427 inc/object_item.class.php:109 setup.php:223
msgid "Objects management"
msgstr "Gestión de objetos"
@@ -46,7 +46,7 @@ msgstr "Campo(s) suprimido(s) correctamente"
msgid "Field added successfully"
msgstr "El campo fue añadido correctamente"
-#: inc/typefamily.class.php:36 inc/type.class.php:380 inc/type.class.php:509
+#: inc/typefamily.class.php:36 inc/type.class.php:380 inc/type.class.php:517
msgid "Family of type of objects"
msgstr "Familia de tipos de objetos"
@@ -83,88 +83,88 @@ msgstr "El nombre de tipo tiene que empezar con una letra"
msgid "A type already exists with the same name"
msgstr "Un tipo de objeto ya existe con el mismo nombre"
-#: inc/type.class.php:470
+#: inc/type.class.php:478
msgid "Internal identifier"
msgstr "Identificador interno"
-#: inc/type.class.php:524
+#: inc/type.class.php:532
msgid "Behaviour"
msgstr "Comportamiento"
-#: inc/type.class.php:543
+#: inc/type.class.php:551
msgid "Network connections"
msgstr "Conexiones de red"
-#: inc/type.class.php:547
+#: inc/type.class.php:556
msgid "injection file plugin"
msgstr "complemento Injection file"
-#: inc/type.class.php:549
+#: inc/type.class.php:558
msgid "geninventorynumber plugin"
msgstr "complemento Geninventorynumber"
-#: inc/type.class.php:550
+#: inc/type.class.php:559
msgid "order plugin"
msgstr "complemento Gestión de pedidos"
-#: inc/type.class.php:551
+#: inc/type.class.php:560
msgid "item's uninstallation plugin"
msgstr "complemento Item's uninstallation"
-#: inc/type.class.php:552
+#: inc/type.class.php:561
msgid "simcard plugin"
msgstr ""
-#: inc/type.class.php:553
+#: inc/type.class.php:562
msgid "treeview plugin"
msgstr ""
-#: inc/type.class.php:716
+#: inc/type.class.php:725
msgid "Regenerate files"
msgstr "Generar de nuevo los ficheros"
-#: inc/type.class.php:729
+#: inc/type.class.php:738
msgid "Link to other objects"
msgstr "Enlace con otros objetos"
#. TRANS: %1$s is itemtype name
-#: inc/type.class.php:2070
+#: inc/type.class.php:2089
#, php-format
msgid "Unable to load the class %1$s."
msgstr ""
#. TRANS: %1$s is itemtype name
-#: inc/type.class.php:2072
+#: inc/type.class.php:2091
#, php-format
msgid ""
"You probably have garbage data in your database for this plugin and missing "
"files in %1$s"
msgstr ""
-#: inc/object.class.php:539
+#: inc/object.class.php:548
msgid "Object preview"
msgstr "Vista previa del objeto"
-#: inc/object.class.php:803
+#: inc/object.class.php:812
msgid "You must configure rights to enable the preview"
msgstr "Tiene que configurar los permisos para acceder a la vista previa"
-#: inc/field.class.php:64
+#: inc/field.class.php:65
msgid "Fields associated with the object"
msgstr "Campos asociados al objeto"
-#: inc/field.class.php:70
+#: inc/field.class.php:71
msgid "Label"
msgstr "Término"
-#: inc/field.class.php:71
+#: inc/field.class.php:72
msgid "Name in DB"
msgstr "Nombre en base de datos"
-#: inc/field.class.php:126
+#: inc/field.class.php:127
msgid "Add new field"
msgstr "Añadir un campo nuevo"
-#: inc/field.class.php:318
+#: inc/field.class.php:322
msgid "Read-only field"
msgstr ""
diff --git a/locales/fi_FI.po b/locales/fi_FI.po
index 4bac37b9..b136d090 100644
--- a/locales/fi_FI.po
+++ b/locales/fi_FI.po
@@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: GLPI Plugin - Genericobject\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2020-10-27 15:13+0000\n"
+"POT-Creation-Date: 2021-02-15 14:07+0000\n"
"PO-Revision-Date: 2019-11-08 14:59+0000\n"
"Last-Translator: Cédric Anne\n"
"Language-Team: Finnish (Finland) (http://www.transifex.com/teclib/glpi-project-plugin-genericobject/language/fi_FI/)\n"
@@ -20,7 +20,7 @@ msgstr ""
#: index.php:58 front/familylist.php:33 front/familylist.php:41
#: front/type.form.php:73 inc/profile.class.php:39 inc/type.class.php:292
-#: inc/type.class.php:419 inc/object_item.class.php:109 setup.php:223
+#: inc/type.class.php:427 inc/object_item.class.php:109 setup.php:223
msgid "Objects management"
msgstr "Kohteiden hallinta"
@@ -46,7 +46,7 @@ msgstr "Kenttä/kentät poistettu onnistuneesti"
msgid "Field added successfully"
msgstr "Kenttä lisätty onnistuneesti"
-#: inc/typefamily.class.php:36 inc/type.class.php:380 inc/type.class.php:509
+#: inc/typefamily.class.php:36 inc/type.class.php:380 inc/type.class.php:517
msgid "Family of type of objects"
msgstr "Kohteiden tyypin perhe"
@@ -83,88 +83,88 @@ msgstr "Tyypin täytyy alkaa kirjaimella"
msgid "A type already exists with the same name"
msgstr "Samanniminen tyyppi on jo olemassa"
-#: inc/type.class.php:470
+#: inc/type.class.php:478
msgid "Internal identifier"
msgstr "Sisäinen tunniste"
-#: inc/type.class.php:524
+#: inc/type.class.php:532
msgid "Behaviour"
msgstr "Käyttäytyminen"
-#: inc/type.class.php:543
+#: inc/type.class.php:551
msgid "Network connections"
msgstr "Verkkoyhteydet"
-#: inc/type.class.php:547
+#: inc/type.class.php:556
msgid "injection file plugin"
msgstr "Tiedoston tuonti -liitännäinen"
-#: inc/type.class.php:549
+#: inc/type.class.php:558
msgid "geninventorynumber plugin"
msgstr "Inventaarinumeron luonti liitännäinen"
-#: inc/type.class.php:550
+#: inc/type.class.php:559
msgid "order plugin"
msgstr "Tilaus -liitännäinen"
-#: inc/type.class.php:551
+#: inc/type.class.php:560
msgid "item's uninstallation plugin"
msgstr "Kohteen poisto -liitännäinen"
-#: inc/type.class.php:552
+#: inc/type.class.php:561
msgid "simcard plugin"
msgstr "SIM-kortti -liitännäinen"
-#: inc/type.class.php:553
+#: inc/type.class.php:562
msgid "treeview plugin"
msgstr ""
-#: inc/type.class.php:716
+#: inc/type.class.php:725
msgid "Regenerate files"
msgstr "Luo tiedostot uudelleen"
-#: inc/type.class.php:729
+#: inc/type.class.php:738
msgid "Link to other objects"
msgstr "Linkki muihin kohteisiin"
#. TRANS: %1$s is itemtype name
-#: inc/type.class.php:2070
+#: inc/type.class.php:2089
#, php-format
msgid "Unable to load the class %1$s."
msgstr "Ei voida ladata luokkaa %1$s."
#. TRANS: %1$s is itemtype name
-#: inc/type.class.php:2072
+#: inc/type.class.php:2091
#, php-format
msgid ""
"You probably have garbage data in your database for this plugin and missing "
"files in %1$s"
msgstr "Tietokannassa on ongelma liittyen liitännäiseen ja puuttuvia tiedostoja %1$s"
-#: inc/object.class.php:539
+#: inc/object.class.php:548
msgid "Object preview"
msgstr "Kohteen esikatselu"
-#: inc/object.class.php:803
+#: inc/object.class.php:812
msgid "You must configure rights to enable the preview"
msgstr "Oikeudet on määritettävä, jotta esikatselu voidaan ottaa käyttöön"
-#: inc/field.class.php:64
+#: inc/field.class.php:65
msgid "Fields associated with the object"
msgstr "Kohteeseen liittyvät kentät"
-#: inc/field.class.php:70
+#: inc/field.class.php:71
msgid "Label"
msgstr "Etiketti"
-#: inc/field.class.php:71
+#: inc/field.class.php:72
msgid "Name in DB"
msgstr "Nimi tietokannassa"
-#: inc/field.class.php:126
+#: inc/field.class.php:127
msgid "Add new field"
msgstr "Lisää uusi kenttä"
-#: inc/field.class.php:318
+#: inc/field.class.php:322
msgid "Read-only field"
msgstr "Vain luku kenttä"
diff --git a/locales/fr_CA.po b/locales/fr_CA.po
index cdc52fd1..3b64edc1 100644
--- a/locales/fr_CA.po
+++ b/locales/fr_CA.po
@@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: GLPI Plugin - Genericobject\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2020-10-27 15:13+0000\n"
+"POT-Creation-Date: 2021-02-15 14:07+0000\n"
"PO-Revision-Date: 2020-06-09 02:45+0000\n"
"Last-Translator: Tiago Graca\n"
"Language-Team: French (Canada) (http://www.transifex.com/teclib/glpi-project-plugin-genericobject/language/fr_CA/)\n"
@@ -20,7 +20,7 @@ msgstr ""
#: index.php:58 front/familylist.php:33 front/familylist.php:41
#: front/type.form.php:73 inc/profile.class.php:39 inc/type.class.php:292
-#: inc/type.class.php:419 inc/object_item.class.php:109 setup.php:223
+#: inc/type.class.php:427 inc/object_item.class.php:109 setup.php:223
msgid "Objects management"
msgstr "Gestion d'objets"
@@ -46,7 +46,7 @@ msgstr "Champ(s) supprimé(s) avec succès"
msgid "Field added successfully"
msgstr "Champ ajouté avec succès"
-#: inc/typefamily.class.php:36 inc/type.class.php:380 inc/type.class.php:509
+#: inc/typefamily.class.php:36 inc/type.class.php:380 inc/type.class.php:517
msgid "Family of type of objects"
msgstr "Famille"
@@ -83,88 +83,88 @@ msgstr "Le type doit commencer par une lettre"
msgid "A type already exists with the same name"
msgstr "Un type avec le même nom existe déjà"
-#: inc/type.class.php:470
+#: inc/type.class.php:478
msgid "Internal identifier"
msgstr "Identifiant interne"
-#: inc/type.class.php:524
+#: inc/type.class.php:532
msgid "Behaviour"
msgstr "Comportement"
-#: inc/type.class.php:543
+#: inc/type.class.php:551
msgid "Network connections"
msgstr "Connexions réseaux"
-#: inc/type.class.php:547
+#: inc/type.class.php:556
msgid "injection file plugin"
msgstr "Plugin injection de fichiers"
-#: inc/type.class.php:549
+#: inc/type.class.php:558
msgid "geninventorynumber plugin"
msgstr "Plugin génération des numéros d'inventaire"
-#: inc/type.class.php:550
+#: inc/type.class.php:559
msgid "order plugin"
msgstr "Plugin gestion des commandes"
-#: inc/type.class.php:551
+#: inc/type.class.php:560
msgid "item's uninstallation plugin"
msgstr "Plugin de désinstallation des éléments"
-#: inc/type.class.php:552
+#: inc/type.class.php:561
msgid "simcard plugin"
msgstr "Plugin carte SIM"
-#: inc/type.class.php:553
+#: inc/type.class.php:562
msgid "treeview plugin"
msgstr "plugin arborescence"
-#: inc/type.class.php:716
+#: inc/type.class.php:725
msgid "Regenerate files"
msgstr "Regénérer les fichiers"
-#: inc/type.class.php:729
+#: inc/type.class.php:738
msgid "Link to other objects"
msgstr "Liaison avec d'autres objets"
#. TRANS: %1$s is itemtype name
-#: inc/type.class.php:2070
+#: inc/type.class.php:2089
#, php-format
msgid "Unable to load the class %1$s."
msgstr "Impossible de charger la classe %1$s"
#. TRANS: %1$s is itemtype name
-#: inc/type.class.php:2072
+#: inc/type.class.php:2091
#, php-format
msgid ""
"You probably have garbage data in your database for this plugin and missing "
"files in %1$s"
msgstr "Vous avez probablement d'anciennes données dans votre base de données pour ce plugin et des fichiers sont manquants dans %1$s"
-#: inc/object.class.php:539
+#: inc/object.class.php:548
msgid "Object preview"
msgstr "Prévisualisation d'un objet de ce type"
-#: inc/object.class.php:803
+#: inc/object.class.php:812
msgid "You must configure rights to enable the preview"
msgstr "Vous devez configurer les droits sur cet objet pour voir la prévisualisation"
-#: inc/field.class.php:64
+#: inc/field.class.php:65
msgid "Fields associated with the object"
msgstr "Champs associés à l'objet"
-#: inc/field.class.php:70
+#: inc/field.class.php:71
msgid "Label"
msgstr "Libellé"
-#: inc/field.class.php:71
+#: inc/field.class.php:72
msgid "Name in DB"
msgstr "Nom en base de données"
-#: inc/field.class.php:126
+#: inc/field.class.php:127
msgid "Add new field"
msgstr "Ajout d'un nouveau champ"
-#: inc/field.class.php:318
+#: inc/field.class.php:322
msgid "Read-only field"
msgstr "Champ en lecture seule"
diff --git a/locales/fr_FR.po b/locales/fr_FR.po
index 1c6637af..3c4a560b 100644
--- a/locales/fr_FR.po
+++ b/locales/fr_FR.po
@@ -13,7 +13,7 @@ msgid ""
msgstr ""
"Project-Id-Version: GLPI Plugin - Genericobject\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2020-10-27 15:13+0000\n"
+"POT-Creation-Date: 2021-02-15 14:07+0000\n"
"PO-Revision-Date: 2019-11-08 14:59+0000\n"
"Last-Translator: Cédric Anne\n"
"Language-Team: French (France) (http://www.transifex.com/teclib/glpi-project-plugin-genericobject/language/fr_FR/)\n"
@@ -25,7 +25,7 @@ msgstr ""
#: index.php:58 front/familylist.php:33 front/familylist.php:41
#: front/type.form.php:73 inc/profile.class.php:39 inc/type.class.php:292
-#: inc/type.class.php:419 inc/object_item.class.php:109 setup.php:223
+#: inc/type.class.php:427 inc/object_item.class.php:109 setup.php:223
msgid "Objects management"
msgstr "Gestion d'objets"
@@ -51,7 +51,7 @@ msgstr "Champ(s) supprimé(s) avec succès"
msgid "Field added successfully"
msgstr "Champ ajouté avec succès"
-#: inc/typefamily.class.php:36 inc/type.class.php:380 inc/type.class.php:509
+#: inc/typefamily.class.php:36 inc/type.class.php:380 inc/type.class.php:517
msgid "Family of type of objects"
msgstr "Famille"
@@ -88,88 +88,88 @@ msgstr "Le type doit commencer par une lettre"
msgid "A type already exists with the same name"
msgstr "Un type avec le même nom existe déjà"
-#: inc/type.class.php:470
+#: inc/type.class.php:478
msgid "Internal identifier"
msgstr "Identifiant interne"
-#: inc/type.class.php:524
+#: inc/type.class.php:532
msgid "Behaviour"
msgstr "Comportement"
-#: inc/type.class.php:543
+#: inc/type.class.php:551
msgid "Network connections"
msgstr "Connexions réseaux"
-#: inc/type.class.php:547
+#: inc/type.class.php:556
msgid "injection file plugin"
msgstr "Plugin injection de fichiers"
-#: inc/type.class.php:549
+#: inc/type.class.php:558
msgid "geninventorynumber plugin"
msgstr "Plugin génération des numéros d'inventaire"
-#: inc/type.class.php:550
+#: inc/type.class.php:559
msgid "order plugin"
msgstr "Plugin gestion des commandes"
-#: inc/type.class.php:551
+#: inc/type.class.php:560
msgid "item's uninstallation plugin"
msgstr "Plugin de désinstallation des matériels"
-#: inc/type.class.php:552
+#: inc/type.class.php:561
msgid "simcard plugin"
msgstr "Plugin carte SIM"
-#: inc/type.class.php:553
+#: inc/type.class.php:562
msgid "treeview plugin"
msgstr ""
-#: inc/type.class.php:716
+#: inc/type.class.php:725
msgid "Regenerate files"
msgstr "Regénérer les fichiers"
-#: inc/type.class.php:729
+#: inc/type.class.php:738
msgid "Link to other objects"
msgstr "Liaison avec d'autres objets"
#. TRANS: %1$s is itemtype name
-#: inc/type.class.php:2070
+#: inc/type.class.php:2089
#, php-format
msgid "Unable to load the class %1$s."
msgstr "Impossible de charger la classe %1$s"
#. TRANS: %1$s is itemtype name
-#: inc/type.class.php:2072
+#: inc/type.class.php:2091
#, php-format
msgid ""
"You probably have garbage data in your database for this plugin and missing "
"files in %1$s"
msgstr "Vous avez probablement d'anciennes données dans votre base pour ce plugin ou des fichiers manquants dans %1$s"
-#: inc/object.class.php:539
+#: inc/object.class.php:548
msgid "Object preview"
msgstr "Prévisualisation d'un objet de ce type"
-#: inc/object.class.php:803
+#: inc/object.class.php:812
msgid "You must configure rights to enable the preview"
msgstr "Vous devez configurer les droits sur cet objet pour voir la prévisualisation"
-#: inc/field.class.php:64
+#: inc/field.class.php:65
msgid "Fields associated with the object"
msgstr "Champs associés à l'objet"
-#: inc/field.class.php:70
+#: inc/field.class.php:71
msgid "Label"
msgstr "Libellé"
-#: inc/field.class.php:71
+#: inc/field.class.php:72
msgid "Name in DB"
msgstr "Nom en base de données"
-#: inc/field.class.php:126
+#: inc/field.class.php:127
msgid "Add new field"
msgstr "Ajout d'un nouveau champ"
-#: inc/field.class.php:318
+#: inc/field.class.php:322
msgid "Read-only field"
msgstr "Champ en lecture seule"
diff --git a/locales/genericobject.pot b/locales/genericobject.pot
index d02fcd84..cf5e049e 100644
--- a/locales/genericobject.pot
+++ b/locales/genericobject.pot
@@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2020-10-27 15:13+0000\n"
+"POT-Creation-Date: 2021-02-15 14:07+0000\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME \n"
"Language-Team: LANGUAGE \n"
@@ -19,7 +19,7 @@ msgstr ""
#: index.php:58 front/familylist.php:33 front/familylist.php:41
#: front/type.form.php:73 inc/profile.class.php:39 inc/type.class.php:292
-#: inc/type.class.php:419 inc/object_item.class.php:109 setup.php:223
+#: inc/type.class.php:427 inc/object_item.class.php:109 setup.php:223
msgid "Objects management"
msgstr ""
@@ -45,7 +45,7 @@ msgstr ""
msgid "Field added successfully"
msgstr ""
-#: inc/typefamily.class.php:36 inc/type.class.php:380 inc/type.class.php:509
+#: inc/typefamily.class.php:36 inc/type.class.php:380 inc/type.class.php:517
msgid "Family of type of objects"
msgstr ""
@@ -82,88 +82,88 @@ msgstr ""
msgid "A type already exists with the same name"
msgstr ""
-#: inc/type.class.php:470
+#: inc/type.class.php:478
msgid "Internal identifier"
msgstr ""
-#: inc/type.class.php:524
+#: inc/type.class.php:532
msgid "Behaviour"
msgstr ""
-#: inc/type.class.php:543
+#: inc/type.class.php:551
msgid "Network connections"
msgstr ""
-#: inc/type.class.php:547
+#: inc/type.class.php:556
msgid "injection file plugin"
msgstr ""
-#: inc/type.class.php:549
+#: inc/type.class.php:558
msgid "geninventorynumber plugin"
msgstr ""
-#: inc/type.class.php:550
+#: inc/type.class.php:559
msgid "order plugin"
msgstr ""
-#: inc/type.class.php:551
+#: inc/type.class.php:560
msgid "item's uninstallation plugin"
msgstr ""
-#: inc/type.class.php:552
+#: inc/type.class.php:561
msgid "simcard plugin"
msgstr ""
-#: inc/type.class.php:553
+#: inc/type.class.php:562
msgid "treeview plugin"
msgstr ""
-#: inc/type.class.php:716
+#: inc/type.class.php:725
msgid "Regenerate files"
msgstr ""
-#: inc/type.class.php:729
+#: inc/type.class.php:738
msgid "Link to other objects"
msgstr ""
#. TRANS: %1$s is itemtype name
-#: inc/type.class.php:2070
+#: inc/type.class.php:2089
#, php-format
msgid "Unable to load the class %1$s."
msgstr ""
#. TRANS: %1$s is itemtype name
-#: inc/type.class.php:2072
+#: inc/type.class.php:2091
#, php-format
msgid ""
"You probably have garbage data in your database for this plugin and missing "
"files in %1$s"
msgstr ""
-#: inc/object.class.php:539
+#: inc/object.class.php:548
msgid "Object preview"
msgstr ""
-#: inc/object.class.php:803
+#: inc/object.class.php:812
msgid "You must configure rights to enable the preview"
msgstr ""
-#: inc/field.class.php:64
+#: inc/field.class.php:65
msgid "Fields associated with the object"
msgstr ""
-#: inc/field.class.php:70
+#: inc/field.class.php:71
msgid "Label"
msgstr ""
-#: inc/field.class.php:71
+#: inc/field.class.php:72
msgid "Name in DB"
msgstr ""
-#: inc/field.class.php:126
+#: inc/field.class.php:127
msgid "Add new field"
msgstr ""
-#: inc/field.class.php:318
+#: inc/field.class.php:322
msgid "Read-only field"
msgstr ""
diff --git a/locales/hr_HR.po b/locales/hr_HR.po
index deb1744e..dd91c07a 100644
--- a/locales/hr_HR.po
+++ b/locales/hr_HR.po
@@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: GLPI Plugin - Genericobject\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2020-10-27 15:13+0000\n"
+"POT-Creation-Date: 2021-02-15 14:07+0000\n"
"PO-Revision-Date: 2020-02-12 13:54+0000\n"
"Last-Translator: milotype \n"
"Language-Team: Croatian (Croatia) (http://www.transifex.com/teclib/glpi-project-plugin-genericobject/language/hr_HR/)\n"
@@ -20,7 +20,7 @@ msgstr ""
#: index.php:58 front/familylist.php:33 front/familylist.php:41
#: front/type.form.php:73 inc/profile.class.php:39 inc/type.class.php:292
-#: inc/type.class.php:419 inc/object_item.class.php:109 setup.php:223
+#: inc/type.class.php:427 inc/object_item.class.php:109 setup.php:223
msgid "Objects management"
msgstr "Upravljanje objektima"
@@ -46,7 +46,7 @@ msgstr "Polja uspješno uklonjena"
msgid "Field added successfully"
msgstr "Polje uspješno dodano"
-#: inc/typefamily.class.php:36 inc/type.class.php:380 inc/type.class.php:509
+#: inc/typefamily.class.php:36 inc/type.class.php:380 inc/type.class.php:517
msgid "Family of type of objects"
msgstr "Obitelj vrste objekata"
@@ -83,88 +83,88 @@ msgstr "Vrsta mora početi slovom"
msgid "A type already exists with the same name"
msgstr "Jedna vrsta s istim imenom već postoji"
-#: inc/type.class.php:470
+#: inc/type.class.php:478
msgid "Internal identifier"
msgstr "Interni identifikator"
-#: inc/type.class.php:524
+#: inc/type.class.php:532
msgid "Behaviour"
msgstr "Ponašanje"
-#: inc/type.class.php:543
+#: inc/type.class.php:551
msgid "Network connections"
msgstr "Mrežne veze"
-#: inc/type.class.php:547
+#: inc/type.class.php:556
msgid "injection file plugin"
msgstr "Dodatak za umetanje podataka"
-#: inc/type.class.php:549
+#: inc/type.class.php:558
msgid "geninventorynumber plugin"
msgstr "Dodatak za generiranje inventarskog broja"
-#: inc/type.class.php:550
+#: inc/type.class.php:559
msgid "order plugin"
msgstr "Dodatak za naruđbe"
-#: inc/type.class.php:551
+#: inc/type.class.php:560
msgid "item's uninstallation plugin"
msgstr "Dodatak za deinstaliranje predmeta"
-#: inc/type.class.php:552
+#: inc/type.class.php:561
msgid "simcard plugin"
msgstr "Dodatak za SIM kartice"
-#: inc/type.class.php:553
+#: inc/type.class.php:562
msgid "treeview plugin"
msgstr "Dodatak za stablasti prikaz"
-#: inc/type.class.php:716
+#: inc/type.class.php:725
msgid "Regenerate files"
msgstr "Ponovo generiraj datoteke"
-#: inc/type.class.php:729
+#: inc/type.class.php:738
msgid "Link to other objects"
msgstr "Poveži s drugim objektima"
#. TRANS: %1$s is itemtype name
-#: inc/type.class.php:2070
+#: inc/type.class.php:2089
#, php-format
msgid "Unable to load the class %1$s."
msgstr "Nije moguće učitati klasu %1$s."
#. TRANS: %1$s is itemtype name
-#: inc/type.class.php:2072
+#: inc/type.class.php:2091
#, php-format
msgid ""
"You probably have garbage data in your database for this plugin and missing "
"files in %1$s"
msgstr "U bazi podataka vjerojatno imaš smeće za ovaj dodatak i nedostaju datoteke u %1$s"
-#: inc/object.class.php:539
+#: inc/object.class.php:548
msgid "Object preview"
msgstr "Pregled objekta"
-#: inc/object.class.php:803
+#: inc/object.class.php:812
msgid "You must configure rights to enable the preview"
msgstr "Za aktiviranje pregleda moraš konfigurirati prava"
-#: inc/field.class.php:64
+#: inc/field.class.php:65
msgid "Fields associated with the object"
msgstr "Polja povezana s objektom"
-#: inc/field.class.php:70
+#: inc/field.class.php:71
msgid "Label"
msgstr "Oznaka"
-#: inc/field.class.php:71
+#: inc/field.class.php:72
msgid "Name in DB"
msgstr "Ime u bazi podataka"
-#: inc/field.class.php:126
+#: inc/field.class.php:127
msgid "Add new field"
msgstr "Dodaj novo polje"
-#: inc/field.class.php:318
+#: inc/field.class.php:322
msgid "Read-only field"
msgstr "Polje samo-za-čitanje"
diff --git a/locales/it_IT.po b/locales/it_IT.po
index 82cd7593..7b2cb76e 100644
--- a/locales/it_IT.po
+++ b/locales/it_IT.po
@@ -10,7 +10,7 @@ msgid ""
msgstr ""
"Project-Id-Version: GLPI Plugin - Genericobject\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2020-10-27 15:13+0000\n"
+"POT-Creation-Date: 2021-02-15 14:07+0000\n"
"PO-Revision-Date: 2019-11-08 14:59+0000\n"
"Last-Translator: Cédric Anne\n"
"Language-Team: Italian (Italy) (http://www.transifex.com/teclib/glpi-project-plugin-genericobject/language/it_IT/)\n"
@@ -22,7 +22,7 @@ msgstr ""
#: index.php:58 front/familylist.php:33 front/familylist.php:41
#: front/type.form.php:73 inc/profile.class.php:39 inc/type.class.php:292
-#: inc/type.class.php:419 inc/object_item.class.php:109 setup.php:223
+#: inc/type.class.php:427 inc/object_item.class.php:109 setup.php:223
msgid "Objects management"
msgstr "Gestione degli Oggetti"
@@ -48,7 +48,7 @@ msgstr "Campi rimossi con successo"
msgid "Field added successfully"
msgstr "Campo aggiunto con successo"
-#: inc/typefamily.class.php:36 inc/type.class.php:380 inc/type.class.php:509
+#: inc/typefamily.class.php:36 inc/type.class.php:380 inc/type.class.php:517
msgid "Family of type of objects"
msgstr "Famiglia"
@@ -85,88 +85,88 @@ msgstr "Il nome del tipo deve iniziare con una lettera"
msgid "A type already exists with the same name"
msgstr "Un tipo con lo stesso nome esiste già"
-#: inc/type.class.php:470
+#: inc/type.class.php:478
msgid "Internal identifier"
msgstr "Identificatore interno"
-#: inc/type.class.php:524
+#: inc/type.class.php:532
msgid "Behaviour"
msgstr "Comportamento"
-#: inc/type.class.php:543
+#: inc/type.class.php:551
msgid "Network connections"
msgstr "Connessioni di rete"
-#: inc/type.class.php:547
+#: inc/type.class.php:556
msgid "injection file plugin"
msgstr "injection file plugin"
-#: inc/type.class.php:549
+#: inc/type.class.php:558
msgid "geninventorynumber plugin"
msgstr "geninventorynumber plugin"
-#: inc/type.class.php:550
+#: inc/type.class.php:559
msgid "order plugin"
msgstr "order plugin"
-#: inc/type.class.php:551
+#: inc/type.class.php:560
msgid "item's uninstallation plugin"
msgstr "item's uninstallation plugin"
-#: inc/type.class.php:552
+#: inc/type.class.php:561
msgid "simcard plugin"
msgstr "simcard plugin"
-#: inc/type.class.php:553
+#: inc/type.class.php:562
msgid "treeview plugin"
msgstr ""
-#: inc/type.class.php:716
+#: inc/type.class.php:725
msgid "Regenerate files"
msgstr "Rigenera file"
-#: inc/type.class.php:729
+#: inc/type.class.php:738
msgid "Link to other objects"
msgstr "Collega ad altri oggetti"
#. TRANS: %1$s is itemtype name
-#: inc/type.class.php:2070
+#: inc/type.class.php:2089
#, php-format
msgid "Unable to load the class %1$s."
msgstr "Impossibile caricare la classe %1$s ."
#. TRANS: %1$s is itemtype name
-#: inc/type.class.php:2072
+#: inc/type.class.php:2091
#, php-format
msgid ""
"You probably have garbage data in your database for this plugin and missing "
"files in %1$s"
msgstr "Per questo plugin hai, probabilmente, dei dati inutili nel tuo database e file mancanti in %1$s"
-#: inc/object.class.php:539
+#: inc/object.class.php:548
msgid "Object preview"
msgstr "Anteprima dell'oggetto"
-#: inc/object.class.php:803
+#: inc/object.class.php:812
msgid "You must configure rights to enable the preview"
msgstr "Bisogna configurare i diritti per abilitare l'anteprima"
-#: inc/field.class.php:64
+#: inc/field.class.php:65
msgid "Fields associated with the object"
msgstr "Campi associati con l'oggetto"
-#: inc/field.class.php:70
+#: inc/field.class.php:71
msgid "Label"
msgstr "Etichetta"
-#: inc/field.class.php:71
+#: inc/field.class.php:72
msgid "Name in DB"
msgstr "Nome nel DataBase"
-#: inc/field.class.php:126
+#: inc/field.class.php:127
msgid "Add new field"
msgstr "Aggiungi nuovo campo"
-#: inc/field.class.php:318
+#: inc/field.class.php:322
msgid "Read-only field"
msgstr "Campo in sola lettura"
diff --git a/locales/ko_KR.po b/locales/ko_KR.po
index 7d9d2f3f..e45fb491 100644
--- a/locales/ko_KR.po
+++ b/locales/ko_KR.po
@@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: GLPI Plugin - Genericobject\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2020-10-27 15:13+0000\n"
+"POT-Creation-Date: 2021-02-15 14:07+0000\n"
"PO-Revision-Date: 2020-02-03 04:26+0000\n"
"Last-Translator: SeongHyeon Cho \n"
"Language-Team: Korean (Korea) (http://www.transifex.com/teclib/glpi-project-plugin-genericobject/language/ko_KR/)\n"
@@ -20,7 +20,7 @@ msgstr ""
#: index.php:58 front/familylist.php:33 front/familylist.php:41
#: front/type.form.php:73 inc/profile.class.php:39 inc/type.class.php:292
-#: inc/type.class.php:419 inc/object_item.class.php:109 setup.php:223
+#: inc/type.class.php:427 inc/object_item.class.php:109 setup.php:223
msgid "Objects management"
msgstr "객체 관리"
@@ -46,7 +46,7 @@ msgstr "항목(들) 삭제됨"
msgid "Field added successfully"
msgstr "항목 추가됨"
-#: inc/typefamily.class.php:36 inc/type.class.php:380 inc/type.class.php:509
+#: inc/typefamily.class.php:36 inc/type.class.php:380 inc/type.class.php:517
msgid "Family of type of objects"
msgstr "객체의 유형 집단"
@@ -83,88 +83,88 @@ msgstr "유형은 문자로 시작해야 합니다"
msgid "A type already exists with the same name"
msgstr "유형이 이미 같은 이름으로 존재합니다"
-#: inc/type.class.php:470
+#: inc/type.class.php:478
msgid "Internal identifier"
msgstr "내부 식별자"
-#: inc/type.class.php:524
+#: inc/type.class.php:532
msgid "Behaviour"
msgstr "동작"
-#: inc/type.class.php:543
+#: inc/type.class.php:551
msgid "Network connections"
msgstr "네트워크 연결"
-#: inc/type.class.php:547
+#: inc/type.class.php:556
msgid "injection file plugin"
msgstr "파일 플러그인 삽입"
-#: inc/type.class.php:549
+#: inc/type.class.php:558
msgid "geninventorynumber plugin"
msgstr "geninventorynumber 플러그인"
-#: inc/type.class.php:550
+#: inc/type.class.php:559
msgid "order plugin"
msgstr "order 플러그인"
-#: inc/type.class.php:551
+#: inc/type.class.php:560
msgid "item's uninstallation plugin"
msgstr "품목 제거 플러그인"
-#: inc/type.class.php:552
+#: inc/type.class.php:561
msgid "simcard plugin"
msgstr "simcard 플러그인"
-#: inc/type.class.php:553
+#: inc/type.class.php:562
msgid "treeview plugin"
msgstr "treeview 플러그인"
-#: inc/type.class.php:716
+#: inc/type.class.php:725
msgid "Regenerate files"
msgstr "파일 재생성"
-#: inc/type.class.php:729
+#: inc/type.class.php:738
msgid "Link to other objects"
msgstr "다른 객체들과 연결"
#. TRANS: %1$s is itemtype name
-#: inc/type.class.php:2070
+#: inc/type.class.php:2089
#, php-format
msgid "Unable to load the class %1$s."
msgstr "클래스 %1$s을 불러올 수 없습니다."
#. TRANS: %1$s is itemtype name
-#: inc/type.class.php:2072
+#: inc/type.class.php:2091
#, php-format
msgid ""
"You probably have garbage data in your database for this plugin and missing "
"files in %1$s"
msgstr "이 플러그인에 대한 데이터베이스 내에 개비지 데이터가 있거나 %1$s내의 파일이 누락된 것 같습니다"
-#: inc/object.class.php:539
+#: inc/object.class.php:548
msgid "Object preview"
msgstr "객체 미리보기"
-#: inc/object.class.php:803
+#: inc/object.class.php:812
msgid "You must configure rights to enable the preview"
msgstr "미리보기 활성화에 대한 권한을 구성해야 합니다"
-#: inc/field.class.php:64
+#: inc/field.class.php:65
msgid "Fields associated with the object"
msgstr "객체에 연관된 항목"
-#: inc/field.class.php:70
+#: inc/field.class.php:71
msgid "Label"
msgstr "라벨"
-#: inc/field.class.php:71
+#: inc/field.class.php:72
msgid "Name in DB"
msgstr "DB에서의 이름"
-#: inc/field.class.php:126
+#: inc/field.class.php:127
msgid "Add new field"
msgstr "새 항목 추가"
-#: inc/field.class.php:318
+#: inc/field.class.php:322
msgid "Read-only field"
msgstr "읽기-전용 항목"
diff --git a/locales/pl_PL.po b/locales/pl_PL.po
index 98f25494..4e767ecf 100644
--- a/locales/pl_PL.po
+++ b/locales/pl_PL.po
@@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: GLPI Plugin - Genericobject\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2020-10-27 15:13+0000\n"
+"POT-Creation-Date: 2021-02-15 14:07+0000\n"
"PO-Revision-Date: 2019-11-08 14:59+0000\n"
"Last-Translator: Cédric Anne\n"
"Language-Team: Polish (Poland) (http://www.transifex.com/teclib/glpi-project-plugin-genericobject/language/pl_PL/)\n"
@@ -20,7 +20,7 @@ msgstr ""
#: index.php:58 front/familylist.php:33 front/familylist.php:41
#: front/type.form.php:73 inc/profile.class.php:39 inc/type.class.php:292
-#: inc/type.class.php:419 inc/object_item.class.php:109 setup.php:223
+#: inc/type.class.php:427 inc/object_item.class.php:109 setup.php:223
msgid "Objects management"
msgstr "Zarządzanie obiektami"
@@ -46,7 +46,7 @@ msgstr "Pole(a) zostały pomyślnie skasowane"
msgid "Field added successfully"
msgstr "Pole dodane pomyślnie"
-#: inc/typefamily.class.php:36 inc/type.class.php:380 inc/type.class.php:509
+#: inc/typefamily.class.php:36 inc/type.class.php:380 inc/type.class.php:517
msgid "Family of type of objects"
msgstr ""
@@ -83,88 +83,88 @@ msgstr "Typ musi zaczynać się od litery"
msgid "A type already exists with the same name"
msgstr "Istnieje już typ o takiej samej nazwie"
-#: inc/type.class.php:470
+#: inc/type.class.php:478
msgid "Internal identifier"
msgstr "Identyfikator wewnętrzny"
-#: inc/type.class.php:524
+#: inc/type.class.php:532
msgid "Behaviour"
msgstr "Zachowanie"
-#: inc/type.class.php:543
+#: inc/type.class.php:551
msgid "Network connections"
msgstr "Połączenia sieciowe"
-#: inc/type.class.php:547
+#: inc/type.class.php:556
msgid "injection file plugin"
msgstr ""
-#: inc/type.class.php:549
+#: inc/type.class.php:558
msgid "geninventorynumber plugin"
msgstr "geninventorynumber plugin"
-#: inc/type.class.php:550
+#: inc/type.class.php:559
msgid "order plugin"
msgstr ""
-#: inc/type.class.php:551
+#: inc/type.class.php:560
msgid "item's uninstallation plugin"
msgstr ""
-#: inc/type.class.php:552
+#: inc/type.class.php:561
msgid "simcard plugin"
msgstr ""
-#: inc/type.class.php:553
+#: inc/type.class.php:562
msgid "treeview plugin"
msgstr ""
-#: inc/type.class.php:716
+#: inc/type.class.php:725
msgid "Regenerate files"
msgstr ""
-#: inc/type.class.php:729
+#: inc/type.class.php:738
msgid "Link to other objects"
msgstr "Link do innych obiektów"
#. TRANS: %1$s is itemtype name
-#: inc/type.class.php:2070
+#: inc/type.class.php:2089
#, php-format
msgid "Unable to load the class %1$s."
msgstr ""
#. TRANS: %1$s is itemtype name
-#: inc/type.class.php:2072
+#: inc/type.class.php:2091
#, php-format
msgid ""
"You probably have garbage data in your database for this plugin and missing "
"files in %1$s"
msgstr ""
-#: inc/object.class.php:539
+#: inc/object.class.php:548
msgid "Object preview"
msgstr "Podgląd obiektu"
-#: inc/object.class.php:803
+#: inc/object.class.php:812
msgid "You must configure rights to enable the preview"
msgstr ""
-#: inc/field.class.php:64
+#: inc/field.class.php:65
msgid "Fields associated with the object"
msgstr ""
-#: inc/field.class.php:70
+#: inc/field.class.php:71
msgid "Label"
msgstr "Etykieta"
-#: inc/field.class.php:71
+#: inc/field.class.php:72
msgid "Name in DB"
msgstr "Nazwa w DB"
-#: inc/field.class.php:126
+#: inc/field.class.php:127
msgid "Add new field"
msgstr "Dodaj nowe pole"
-#: inc/field.class.php:318
+#: inc/field.class.php:322
msgid "Read-only field"
msgstr ""
diff --git a/locales/pt_BR.po b/locales/pt_BR.po
index c1407315..333e6d26 100644
--- a/locales/pt_BR.po
+++ b/locales/pt_BR.po
@@ -10,7 +10,7 @@ msgid ""
msgstr ""
"Project-Id-Version: GLPI Plugin - Genericobject\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2020-10-27 15:13+0000\n"
+"POT-Creation-Date: 2021-02-15 14:07+0000\n"
"PO-Revision-Date: 2019-11-08 14:59+0000\n"
"Last-Translator: Cédric Anne\n"
"Language-Team: Portuguese (Brazil) (http://www.transifex.com/teclib/glpi-project-plugin-genericobject/language/pt_BR/)\n"
@@ -22,7 +22,7 @@ msgstr ""
#: index.php:58 front/familylist.php:33 front/familylist.php:41
#: front/type.form.php:73 inc/profile.class.php:39 inc/type.class.php:292
-#: inc/type.class.php:419 inc/object_item.class.php:109 setup.php:223
+#: inc/type.class.php:427 inc/object_item.class.php:109 setup.php:223
msgid "Objects management"
msgstr "Gerenciamento de objetos"
@@ -48,7 +48,7 @@ msgstr "Campo(s) excluído(s) com sucesso"
msgid "Field added successfully"
msgstr "Campo adicionado com sucesso"
-#: inc/typefamily.class.php:36 inc/type.class.php:380 inc/type.class.php:509
+#: inc/typefamily.class.php:36 inc/type.class.php:380 inc/type.class.php:517
msgid "Family of type of objects"
msgstr "Família de tipo de objetos"
@@ -85,88 +85,88 @@ msgstr "O tipo deve começar com uma letra"
msgid "A type already exists with the same name"
msgstr "Um tipo com o mesmo nome já existe "
-#: inc/type.class.php:470
+#: inc/type.class.php:478
msgid "Internal identifier"
msgstr "Identificador interno"
-#: inc/type.class.php:524
+#: inc/type.class.php:532
msgid "Behaviour"
msgstr "Comportamento"
-#: inc/type.class.php:543
+#: inc/type.class.php:551
msgid "Network connections"
msgstr "Conexões de rede"
-#: inc/type.class.php:547
+#: inc/type.class.php:556
msgid "injection file plugin"
msgstr "plugin datainjection"
-#: inc/type.class.php:549
+#: inc/type.class.php:558
msgid "geninventorynumber plugin"
msgstr "plugin getinventorynumber"
-#: inc/type.class.php:550
+#: inc/type.class.php:559
msgid "order plugin"
msgstr "plugin order"
-#: inc/type.class.php:551
+#: inc/type.class.php:560
msgid "item's uninstallation plugin"
msgstr "plugin item's uninstallation"
-#: inc/type.class.php:552
+#: inc/type.class.php:561
msgid "simcard plugin"
msgstr "plugin simcard"
-#: inc/type.class.php:553
+#: inc/type.class.php:562
msgid "treeview plugin"
msgstr ""
-#: inc/type.class.php:716
+#: inc/type.class.php:725
msgid "Regenerate files"
msgstr "Regenerar arquivos"
-#: inc/type.class.php:729
+#: inc/type.class.php:738
msgid "Link to other objects"
msgstr "Conexão com outros objetos"
#. TRANS: %1$s is itemtype name
-#: inc/type.class.php:2070
+#: inc/type.class.php:2089
#, php-format
msgid "Unable to load the class %1$s."
msgstr "Não consegui carregar a classe %1$s."
#. TRANS: %1$s is itemtype name
-#: inc/type.class.php:2072
+#: inc/type.class.php:2091
#, php-format
msgid ""
"You probably have garbage data in your database for this plugin and missing "
"files in %1$s"
msgstr "Deve ter dados no lixo da tua base de dados porque estão a faltas ficheiros neste plugin %1$s"
-#: inc/object.class.php:539
+#: inc/object.class.php:548
msgid "Object preview"
msgstr "Pré-visualização do objet"
-#: inc/object.class.php:803
+#: inc/object.class.php:812
msgid "You must configure rights to enable the preview"
msgstr "Você deve configurar os direitos para habilitar pré-visualização"
-#: inc/field.class.php:64
+#: inc/field.class.php:65
msgid "Fields associated with the object"
msgstr "Campos associados com o objeto"
-#: inc/field.class.php:70
+#: inc/field.class.php:71
msgid "Label"
msgstr "Etiqueta"
-#: inc/field.class.php:71
+#: inc/field.class.php:72
msgid "Name in DB"
msgstr "Nome no banco de dados"
-#: inc/field.class.php:126
+#: inc/field.class.php:127
msgid "Add new field"
msgstr "Adicionar novo campo"
-#: inc/field.class.php:318
+#: inc/field.class.php:322
msgid "Read-only field"
msgstr "Campo apenas de leitura"
diff --git a/locales/pt_PT.po b/locales/pt_PT.po
index 83b53180..05518e00 100644
--- a/locales/pt_PT.po
+++ b/locales/pt_PT.po
@@ -7,7 +7,7 @@ msgid ""
msgstr ""
"Project-Id-Version: GLPI Plugin - Genericobject\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2020-10-27 15:13+0000\n"
+"POT-Creation-Date: 2021-02-15 14:07+0000\n"
"PO-Revision-Date: 2019-11-08 14:59+0000\n"
"Last-Translator: Cédric Anne\n"
"Language-Team: Portuguese (Portugal) (http://www.transifex.com/teclib/glpi-project-plugin-genericobject/language/pt_PT/)\n"
@@ -19,7 +19,7 @@ msgstr ""
#: index.php:58 front/familylist.php:33 front/familylist.php:41
#: front/type.form.php:73 inc/profile.class.php:39 inc/type.class.php:292
-#: inc/type.class.php:419 inc/object_item.class.php:109 setup.php:223
+#: inc/type.class.php:427 inc/object_item.class.php:109 setup.php:223
msgid "Objects management"
msgstr "Gerenciamento de objetos"
@@ -45,7 +45,7 @@ msgstr "Campo (s) excluído com sucesso"
msgid "Field added successfully"
msgstr "Campo adicionado com sucesso"
-#: inc/typefamily.class.php:36 inc/type.class.php:380 inc/type.class.php:509
+#: inc/typefamily.class.php:36 inc/type.class.php:380 inc/type.class.php:517
msgid "Family of type of objects"
msgstr "Família do tipo de objetos"
@@ -82,88 +82,88 @@ msgstr "Tipo deve começar com uma letra"
msgid "A type already exists with the same name"
msgstr "Já existe um tipo com o mesmo nome"
-#: inc/type.class.php:470
+#: inc/type.class.php:478
msgid "Internal identifier"
msgstr "Identificador interno"
-#: inc/type.class.php:524
+#: inc/type.class.php:532
msgid "Behaviour"
msgstr "Comportamento"
-#: inc/type.class.php:543
+#: inc/type.class.php:551
msgid "Network connections"
msgstr "Ligações de rede"
-#: inc/type.class.php:547
+#: inc/type.class.php:556
msgid "injection file plugin"
msgstr "plugin de arquivo de injeção"
-#: inc/type.class.php:549
+#: inc/type.class.php:558
msgid "geninventorynumber plugin"
msgstr "geninventorynumber plugin"
-#: inc/type.class.php:550
+#: inc/type.class.php:559
msgid "order plugin"
msgstr "outro plugin"
-#: inc/type.class.php:551
+#: inc/type.class.php:560
msgid "item's uninstallation plugin"
msgstr "plugin de desinstalação do item"
-#: inc/type.class.php:552
+#: inc/type.class.php:561
msgid "simcard plugin"
msgstr "simcard plugin"
-#: inc/type.class.php:553
+#: inc/type.class.php:562
msgid "treeview plugin"
msgstr ""
-#: inc/type.class.php:716
+#: inc/type.class.php:725
msgid "Regenerate files"
msgstr "Regenerar ficheiros"
-#: inc/type.class.php:729
+#: inc/type.class.php:738
msgid "Link to other objects"
msgstr "Ligação para outro objeto"
#. TRANS: %1$s is itemtype name
-#: inc/type.class.php:2070
+#: inc/type.class.php:2089
#, php-format
msgid "Unable to load the class %1$s."
msgstr "Não é possível carregar a classe usando %1$s."
#. TRANS: %1$s is itemtype name
-#: inc/type.class.php:2072
+#: inc/type.class.php:2091
#, php-format
msgid ""
"You probably have garbage data in your database for this plugin and missing "
"files in %1$s"
msgstr "Provavelmente tem dados incorretos na sua base de dados para este plugin e arquivos ausentes em %1$s"
-#: inc/object.class.php:539
+#: inc/object.class.php:548
msgid "Object preview"
msgstr "Pré-visualização de objetos"
-#: inc/object.class.php:803
+#: inc/object.class.php:812
msgid "You must configure rights to enable the preview"
msgstr "Deve configurar os direitos para habilitar a visualização"
-#: inc/field.class.php:64
+#: inc/field.class.php:65
msgid "Fields associated with the object"
msgstr "Campos associados ao objeto"
-#: inc/field.class.php:70
+#: inc/field.class.php:71
msgid "Label"
msgstr "Rótulo"
-#: inc/field.class.php:71
+#: inc/field.class.php:72
msgid "Name in DB"
msgstr "Nome na BD"
-#: inc/field.class.php:126
+#: inc/field.class.php:127
msgid "Add new field"
msgstr "Adicionar um novo campo"
-#: inc/field.class.php:318
+#: inc/field.class.php:322
msgid "Read-only field"
msgstr "Campo somente de leitura"
diff --git a/locales/ro_RO.po b/locales/ro_RO.po
index 730ee52c..4bf3d66f 100644
--- a/locales/ro_RO.po
+++ b/locales/ro_RO.po
@@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: GLPI Plugin - Genericobject\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2020-10-27 15:13+0000\n"
+"POT-Creation-Date: 2021-02-15 14:07+0000\n"
"PO-Revision-Date: 2019-11-08 14:59+0000\n"
"Last-Translator: Cédric Anne\n"
"Language-Team: Romanian (Romania) (http://www.transifex.com/teclib/glpi-project-plugin-genericobject/language/ro_RO/)\n"
@@ -20,7 +20,7 @@ msgstr ""
#: index.php:58 front/familylist.php:33 front/familylist.php:41
#: front/type.form.php:73 inc/profile.class.php:39 inc/type.class.php:292
-#: inc/type.class.php:419 inc/object_item.class.php:109 setup.php:223
+#: inc/type.class.php:427 inc/object_item.class.php:109 setup.php:223
msgid "Objects management"
msgstr "Managementul obiectelor"
@@ -46,7 +46,7 @@ msgstr "Campul(urile) sterse cu succes"
msgid "Field added successfully"
msgstr "Camp adaugat cu succes"
-#: inc/typefamily.class.php:36 inc/type.class.php:380 inc/type.class.php:509
+#: inc/typefamily.class.php:36 inc/type.class.php:380 inc/type.class.php:517
msgid "Family of type of objects"
msgstr "Familia tipului de obiecte"
@@ -83,88 +83,88 @@ msgstr "Tipul trebuie sa inceapa cu o litera"
msgid "A type already exists with the same name"
msgstr "UN tip cu acelasi nume exista deja"
-#: inc/type.class.php:470
+#: inc/type.class.php:478
msgid "Internal identifier"
msgstr "Identificator intern"
-#: inc/type.class.php:524
+#: inc/type.class.php:532
msgid "Behaviour"
msgstr "Comportament"
-#: inc/type.class.php:543
+#: inc/type.class.php:551
msgid "Network connections"
msgstr "Conexiuni retea"
-#: inc/type.class.php:547
+#: inc/type.class.php:556
msgid "injection file plugin"
msgstr "Plugin injectare fisiere"
-#: inc/type.class.php:549
+#: inc/type.class.php:558
msgid "geninventorynumber plugin"
msgstr "geninventorynumber plugin"
-#: inc/type.class.php:550
+#: inc/type.class.php:559
msgid "order plugin"
msgstr "Plugin gestiune comenzi"
-#: inc/type.class.php:551
+#: inc/type.class.php:560
msgid "item's uninstallation plugin"
msgstr "Plugin dezinstalare elemente"
-#: inc/type.class.php:552
+#: inc/type.class.php:561
msgid "simcard plugin"
msgstr ""
-#: inc/type.class.php:553
+#: inc/type.class.php:562
msgid "treeview plugin"
msgstr ""
-#: inc/type.class.php:716
+#: inc/type.class.php:725
msgid "Regenerate files"
msgstr "Fisiere regenerate"
-#: inc/type.class.php:729
+#: inc/type.class.php:738
msgid "Link to other objects"
msgstr "Linck catre alte obiecte"
#. TRANS: %1$s is itemtype name
-#: inc/type.class.php:2070
+#: inc/type.class.php:2089
#, php-format
msgid "Unable to load the class %1$s."
msgstr ""
#. TRANS: %1$s is itemtype name
-#: inc/type.class.php:2072
+#: inc/type.class.php:2091
#, php-format
msgid ""
"You probably have garbage data in your database for this plugin and missing "
"files in %1$s"
msgstr ""
-#: inc/object.class.php:539
+#: inc/object.class.php:548
msgid "Object preview"
msgstr "Previzualizeaza un obiect de acest tip"
-#: inc/object.class.php:803
+#: inc/object.class.php:812
msgid "You must configure rights to enable the preview"
msgstr "Trebuie sa configurati drepturi pe acest obiect pentru a putea previzualiza"
-#: inc/field.class.php:64
+#: inc/field.class.php:65
msgid "Fields associated with the object"
msgstr "Campuri asociate la obiect"
-#: inc/field.class.php:70
+#: inc/field.class.php:71
msgid "Label"
msgstr "Eticheta"
-#: inc/field.class.php:71
+#: inc/field.class.php:72
msgid "Name in DB"
msgstr "Nume in DB"
-#: inc/field.class.php:126
+#: inc/field.class.php:127
msgid "Add new field"
msgstr "Add camp nou"
-#: inc/field.class.php:318
+#: inc/field.class.php:322
msgid "Read-only field"
msgstr ""
diff --git a/locales/ru_RU.po b/locales/ru_RU.po
index 03d74fec..7ca03362 100644
--- a/locales/ru_RU.po
+++ b/locales/ru_RU.po
@@ -9,7 +9,7 @@ msgid ""
msgstr ""
"Project-Id-Version: GLPI Plugin - Genericobject\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2020-10-27 15:13+0000\n"
+"POT-Creation-Date: 2021-02-15 14:07+0000\n"
"PO-Revision-Date: 2019-11-08 14:59+0000\n"
"Last-Translator: Cédric Anne\n"
"Language-Team: Russian (Russia) (http://www.transifex.com/teclib/glpi-project-plugin-genericobject/language/ru_RU/)\n"
@@ -21,7 +21,7 @@ msgstr ""
#: index.php:58 front/familylist.php:33 front/familylist.php:41
#: front/type.form.php:73 inc/profile.class.php:39 inc/type.class.php:292
-#: inc/type.class.php:419 inc/object_item.class.php:109 setup.php:223
+#: inc/type.class.php:427 inc/object_item.class.php:109 setup.php:223
msgid "Objects management"
msgstr "Управление объектами"
@@ -47,7 +47,7 @@ msgstr "Поле(я) удалены успешно"
msgid "Field added successfully"
msgstr "Поле(я) добавлены успешно"
-#: inc/typefamily.class.php:36 inc/type.class.php:380 inc/type.class.php:509
+#: inc/typefamily.class.php:36 inc/type.class.php:380 inc/type.class.php:517
msgid "Family of type of objects"
msgstr ""
@@ -84,88 +84,88 @@ msgstr "Тип должен начинаться с буквы"
msgid "A type already exists with the same name"
msgstr "Тип с таким именем уже есть"
-#: inc/type.class.php:470
+#: inc/type.class.php:478
msgid "Internal identifier"
msgstr "Внутренний идентификатор"
-#: inc/type.class.php:524
+#: inc/type.class.php:532
msgid "Behaviour"
msgstr "Взаимодействия"
-#: inc/type.class.php:543
+#: inc/type.class.php:551
msgid "Network connections"
msgstr "Сетевые соединения"
-#: inc/type.class.php:547
+#: inc/type.class.php:556
msgid "injection file plugin"
msgstr ""
-#: inc/type.class.php:549
+#: inc/type.class.php:558
msgid "geninventorynumber plugin"
msgstr ""
-#: inc/type.class.php:550
+#: inc/type.class.php:559
msgid "order plugin"
msgstr ""
-#: inc/type.class.php:551
+#: inc/type.class.php:560
msgid "item's uninstallation plugin"
msgstr ""
-#: inc/type.class.php:552
+#: inc/type.class.php:561
msgid "simcard plugin"
msgstr ""
-#: inc/type.class.php:553
+#: inc/type.class.php:562
msgid "treeview plugin"
msgstr ""
-#: inc/type.class.php:716
+#: inc/type.class.php:725
msgid "Regenerate files"
msgstr ""
-#: inc/type.class.php:729
+#: inc/type.class.php:738
msgid "Link to other objects"
msgstr "Связать с другим объектом"
#. TRANS: %1$s is itemtype name
-#: inc/type.class.php:2070
+#: inc/type.class.php:2089
#, php-format
msgid "Unable to load the class %1$s."
msgstr ""
#. TRANS: %1$s is itemtype name
-#: inc/type.class.php:2072
+#: inc/type.class.php:2091
#, php-format
msgid ""
"You probably have garbage data in your database for this plugin and missing "
"files in %1$s"
msgstr ""
-#: inc/object.class.php:539
+#: inc/object.class.php:548
msgid "Object preview"
msgstr "Предпросмотр"
-#: inc/object.class.php:803
+#: inc/object.class.php:812
msgid "You must configure rights to enable the preview"
msgstr "Вы должны настроить права для предпросмотра"
-#: inc/field.class.php:64
+#: inc/field.class.php:65
msgid "Fields associated with the object"
msgstr "Поля связаны с объектом"
-#: inc/field.class.php:70
+#: inc/field.class.php:71
msgid "Label"
msgstr "Наименование"
-#: inc/field.class.php:71
+#: inc/field.class.php:72
msgid "Name in DB"
msgstr "Имя в БД"
-#: inc/field.class.php:126
+#: inc/field.class.php:127
msgid "Add new field"
msgstr "Добавить новое поле"
-#: inc/field.class.php:318
+#: inc/field.class.php:322
msgid "Read-only field"
msgstr ""
diff --git a/locales/sv_SE.po b/locales/sv_SE.po
index 951e88c2..db5c2fa6 100644
--- a/locales/sv_SE.po
+++ b/locales/sv_SE.po
@@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: GLPI Plugin - Genericobject\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2020-10-27 15:13+0000\n"
+"POT-Creation-Date: 2021-02-15 14:07+0000\n"
"PO-Revision-Date: 2019-11-08 14:59+0000\n"
"Last-Translator: Cédric Anne\n"
"Language-Team: Swedish (Sweden) (http://www.transifex.com/teclib/glpi-project-plugin-genericobject/language/sv_SE/)\n"
@@ -20,7 +20,7 @@ msgstr ""
#: index.php:58 front/familylist.php:33 front/familylist.php:41
#: front/type.form.php:73 inc/profile.class.php:39 inc/type.class.php:292
-#: inc/type.class.php:419 inc/object_item.class.php:109 setup.php:223
+#: inc/type.class.php:427 inc/object_item.class.php:109 setup.php:223
msgid "Objects management"
msgstr "Hantera tillgångar"
@@ -46,7 +46,7 @@ msgstr "Fältet(en) raderades"
msgid "Field added successfully"
msgstr "Attribut tillagt"
-#: inc/typefamily.class.php:36 inc/type.class.php:380 inc/type.class.php:509
+#: inc/typefamily.class.php:36 inc/type.class.php:380 inc/type.class.php:517
msgid "Family of type of objects"
msgstr "Ingår i typfamilj"
@@ -83,88 +83,88 @@ msgstr "Typnamnet måste börja med en bokstav"
msgid "A type already exists with the same name"
msgstr "Typnamnet existerar redan"
-#: inc/type.class.php:470
+#: inc/type.class.php:478
msgid "Internal identifier"
msgstr "Internt namn"
-#: inc/type.class.php:524
+#: inc/type.class.php:532
msgid "Behaviour"
msgstr "Beteende"
-#: inc/type.class.php:543
+#: inc/type.class.php:551
msgid "Network connections"
msgstr "Nätverksanslutningar"
-#: inc/type.class.php:547
+#: inc/type.class.php:556
msgid "injection file plugin"
msgstr "Injection file plug-in"
-#: inc/type.class.php:549
+#: inc/type.class.php:558
msgid "geninventorynumber plugin"
msgstr "Geninventorynumber plug-in"
-#: inc/type.class.php:550
+#: inc/type.class.php:559
msgid "order plugin"
msgstr "Order plug-in"
-#: inc/type.class.php:551
+#: inc/type.class.php:560
msgid "item's uninstallation plugin"
msgstr "Item's uninstallation plug-in"
-#: inc/type.class.php:552
+#: inc/type.class.php:561
msgid "simcard plugin"
msgstr "Simcard plug-in"
-#: inc/type.class.php:553
+#: inc/type.class.php:562
msgid "treeview plugin"
msgstr ""
-#: inc/type.class.php:716
+#: inc/type.class.php:725
msgid "Regenerate files"
msgstr "Skapa filer på nytt"
-#: inc/type.class.php:729
+#: inc/type.class.php:738
msgid "Link to other objects"
msgstr "Länka till andra tillgångar"
#. TRANS: %1$s is itemtype name
-#: inc/type.class.php:2070
+#: inc/type.class.php:2089
#, php-format
msgid "Unable to load the class %1$s."
msgstr "Kunde inte läsa in klass %1$s-"
#. TRANS: %1$s is itemtype name
-#: inc/type.class.php:2072
+#: inc/type.class.php:2091
#, php-format
msgid ""
"You probably have garbage data in your database for this plugin and missing "
"files in %1$s"
msgstr "Du har troligtvis skräpdata i databasen för denna plug-in och saknar filer i %1$s"
-#: inc/object.class.php:539
+#: inc/object.class.php:548
msgid "Object preview"
msgstr "Förhandsgranska tillgång"
-#: inc/object.class.php:803
+#: inc/object.class.php:812
msgid "You must configure rights to enable the preview"
msgstr "Du måste konfigurera rättigheter för att aktivera förhandsgranskning"
-#: inc/field.class.php:64
+#: inc/field.class.php:65
msgid "Fields associated with the object"
msgstr "Fält kopplade till tillgången"
-#: inc/field.class.php:70
+#: inc/field.class.php:71
msgid "Label"
msgstr "Etikett"
-#: inc/field.class.php:71
+#: inc/field.class.php:72
msgid "Name in DB"
msgstr "Namn i DB"
-#: inc/field.class.php:126
+#: inc/field.class.php:127
msgid "Add new field"
msgstr "Lägg till nytt fält"
-#: inc/field.class.php:318
+#: inc/field.class.php:322
msgid "Read-only field"
msgstr "Skrivskyddat fält"
diff --git a/locales/tr_TR.po b/locales/tr_TR.po
index 7c8af825..2fb2984c 100644
--- a/locales/tr_TR.po
+++ b/locales/tr_TR.po
@@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: GLPI Plugin - Genericobject\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2020-10-27 15:13+0000\n"
+"POT-Creation-Date: 2021-02-15 14:07+0000\n"
"PO-Revision-Date: 2019-11-15 05:35+0000\n"
"Last-Translator: Kaya Zeren \n"
"Language-Team: Turkish (Turkey) (http://www.transifex.com/teclib/glpi-project-plugin-genericobject/language/tr_TR/)\n"
@@ -20,7 +20,7 @@ msgstr ""
#: index.php:58 front/familylist.php:33 front/familylist.php:41
#: front/type.form.php:73 inc/profile.class.php:39 inc/type.class.php:292
-#: inc/type.class.php:419 inc/object_item.class.php:109 setup.php:223
+#: inc/type.class.php:427 inc/object_item.class.php:109 setup.php:223
msgid "Objects management"
msgstr "Nesne yönetimi"
@@ -46,7 +46,7 @@ msgstr "Alanlar silindi"
msgid "Field added successfully"
msgstr "Alan eklendi"
-#: inc/typefamily.class.php:36 inc/type.class.php:380 inc/type.class.php:509
+#: inc/typefamily.class.php:36 inc/type.class.php:380 inc/type.class.php:517
msgid "Family of type of objects"
msgstr "Nesnelerin aile tipi"
@@ -83,88 +83,88 @@ msgstr "Tip bir harf ile başlamalıdır"
msgid "A type already exists with the same name"
msgstr "Aynı adlı bir tip zaten var"
-#: inc/type.class.php:470
+#: inc/type.class.php:478
msgid "Internal identifier"
msgstr "İç belirteç"
-#: inc/type.class.php:524
+#: inc/type.class.php:532
msgid "Behaviour"
msgstr "Davranış"
-#: inc/type.class.php:543
+#: inc/type.class.php:551
msgid "Network connections"
msgstr "Ağ bağlantıları"
-#: inc/type.class.php:547
+#: inc/type.class.php:556
msgid "injection file plugin"
msgstr "dosya gönderme uygulama eki"
-#: inc/type.class.php:549
+#: inc/type.class.php:558
msgid "geninventorynumber plugin"
msgstr "stoknumarasiolustur uygulama eki"
-#: inc/type.class.php:550
+#: inc/type.class.php:559
msgid "order plugin"
msgstr "sıralama uygulama eki"
-#: inc/type.class.php:551
+#: inc/type.class.php:560
msgid "item's uninstallation plugin"
msgstr "ögeyi kaldırma uygulama eki"
-#: inc/type.class.php:552
+#: inc/type.class.php:561
msgid "simcard plugin"
msgstr "sim kart uygulama eki"
-#: inc/type.class.php:553
+#: inc/type.class.php:562
msgid "treeview plugin"
msgstr "ağaç görünümü uygulama eki"
-#: inc/type.class.php:716
+#: inc/type.class.php:725
msgid "Regenerate files"
msgstr "Dosyaları yeniden oluştur"
-#: inc/type.class.php:729
+#: inc/type.class.php:738
msgid "Link to other objects"
msgstr "Diğer nesnelere bağlantı"
#. TRANS: %1$s is itemtype name
-#: inc/type.class.php:2070
+#: inc/type.class.php:2089
#, php-format
msgid "Unable to load the class %1$s."
msgstr "%1$s sınıfı yüklenemedi."
#. TRANS: %1$s is itemtype name
-#: inc/type.class.php:2072
+#: inc/type.class.php:2091
#, php-format
msgid ""
"You probably have garbage data in your database for this plugin and missing "
"files in %1$s"
msgstr "Veritabanınızda bu uygulama eki ve %1$s içindeki eksik dosyalar için büyük olasılıkla çöp veriler var "
-#: inc/object.class.php:539
+#: inc/object.class.php:548
msgid "Object preview"
msgstr "Nesne önizleme"
-#: inc/object.class.php:803
+#: inc/object.class.php:812
msgid "You must configure rights to enable the preview"
msgstr "Ön izlemeyi görüntüleyebilmek için izinleri yapılandırmalısınız"
-#: inc/field.class.php:64
+#: inc/field.class.php:65
msgid "Fields associated with the object"
msgstr "Nesne ile ilişkilendirilmiş alanlar"
-#: inc/field.class.php:70
+#: inc/field.class.php:71
msgid "Label"
msgstr "Etiket"
-#: inc/field.class.php:71
+#: inc/field.class.php:72
msgid "Name in DB"
msgstr "Veritabanındaki Ad"
-#: inc/field.class.php:126
+#: inc/field.class.php:127
msgid "Add new field"
msgstr "Alan ekle"
-#: inc/field.class.php:318
+#: inc/field.class.php:322
msgid "Read-only field"
msgstr "Salt okunur alan"
diff --git a/locales/zh_CN.po b/locales/zh_CN.po
index 9173a147..ea72ecdd 100644
--- a/locales/zh_CN.po
+++ b/locales/zh_CN.po
@@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: GLPI Plugin - Genericobject\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2020-10-27 15:13+0000\n"
+"POT-Creation-Date: 2021-02-15 14:07+0000\n"
"PO-Revision-Date: 2019-11-08 14:59+0000\n"
"Last-Translator: Cédric Anne\n"
"Language-Team: Chinese (China) (http://www.transifex.com/teclib/glpi-project-plugin-genericobject/language/zh_CN/)\n"
@@ -20,7 +20,7 @@ msgstr ""
#: index.php:58 front/familylist.php:33 front/familylist.php:41
#: front/type.form.php:73 inc/profile.class.php:39 inc/type.class.php:292
-#: inc/type.class.php:419 inc/object_item.class.php:109 setup.php:223
+#: inc/type.class.php:427 inc/object_item.class.php:109 setup.php:223
msgid "Objects management"
msgstr "项目管理"
@@ -46,7 +46,7 @@ msgstr ""
msgid "Field added successfully"
msgstr ""
-#: inc/typefamily.class.php:36 inc/type.class.php:380 inc/type.class.php:509
+#: inc/typefamily.class.php:36 inc/type.class.php:380 inc/type.class.php:517
msgid "Family of type of objects"
msgstr ""
@@ -83,88 +83,88 @@ msgstr ""
msgid "A type already exists with the same name"
msgstr ""
-#: inc/type.class.php:470
+#: inc/type.class.php:478
msgid "Internal identifier"
msgstr ""
-#: inc/type.class.php:524
+#: inc/type.class.php:532
msgid "Behaviour"
msgstr ""
-#: inc/type.class.php:543
+#: inc/type.class.php:551
msgid "Network connections"
msgstr ""
-#: inc/type.class.php:547
+#: inc/type.class.php:556
msgid "injection file plugin"
msgstr ""
-#: inc/type.class.php:549
+#: inc/type.class.php:558
msgid "geninventorynumber plugin"
msgstr ""
-#: inc/type.class.php:550
+#: inc/type.class.php:559
msgid "order plugin"
msgstr ""
-#: inc/type.class.php:551
+#: inc/type.class.php:560
msgid "item's uninstallation plugin"
msgstr ""
-#: inc/type.class.php:552
+#: inc/type.class.php:561
msgid "simcard plugin"
msgstr ""
-#: inc/type.class.php:553
+#: inc/type.class.php:562
msgid "treeview plugin"
msgstr ""
-#: inc/type.class.php:716
+#: inc/type.class.php:725
msgid "Regenerate files"
msgstr ""
-#: inc/type.class.php:729
+#: inc/type.class.php:738
msgid "Link to other objects"
msgstr ""
#. TRANS: %1$s is itemtype name
-#: inc/type.class.php:2070
+#: inc/type.class.php:2089
#, php-format
msgid "Unable to load the class %1$s."
msgstr ""
#. TRANS: %1$s is itemtype name
-#: inc/type.class.php:2072
+#: inc/type.class.php:2091
#, php-format
msgid ""
"You probably have garbage data in your database for this plugin and missing "
"files in %1$s"
msgstr ""
-#: inc/object.class.php:539
+#: inc/object.class.php:548
msgid "Object preview"
msgstr ""
-#: inc/object.class.php:803
+#: inc/object.class.php:812
msgid "You must configure rights to enable the preview"
msgstr ""
-#: inc/field.class.php:64
+#: inc/field.class.php:65
msgid "Fields associated with the object"
msgstr ""
-#: inc/field.class.php:70
+#: inc/field.class.php:71
msgid "Label"
msgstr ""
-#: inc/field.class.php:71
+#: inc/field.class.php:72
msgid "Name in DB"
msgstr ""
-#: inc/field.class.php:126
+#: inc/field.class.php:127
msgid "Add new field"
msgstr ""
-#: inc/field.class.php:318
+#: inc/field.class.php:322
msgid "Read-only field"
msgstr ""
diff --git a/setup.php b/setup.php
index d351c429..63c6fb01 100644
--- a/setup.php
+++ b/setup.php
@@ -35,7 +35,7 @@
----------------------------------------------------------------------
*/
-define ('PLUGIN_GENERICOBJECT_VERSION', '2.9.2');
+define ('PLUGIN_GENERICOBJECT_VERSION', '2.10.0');
// Minimal GLPI version, inclusive
define("PLUGIN_GENERICOBJECT_MIN_GLPI", "9.5");