diff --git a/classes/ColdTrick/LanguageScanner/Menus/AdminHeader.php b/classes/ColdTrick/LanguageScanner/Menus/AdminHeader.php index d5f41ca..6a9e9da 100644 --- a/classes/ColdTrick/LanguageScanner/Menus/AdminHeader.php +++ b/classes/ColdTrick/LanguageScanner/Menus/AdminHeader.php @@ -25,10 +25,10 @@ public static function register(\Elgg\Event $event): ?MenuItems { $result = $event->getValue(); $result[] = \ElggMenuItem::factory([ - 'name' => 'administer_utilities:language_scanner', + 'name' => 'language_scanner', 'text' => elgg_echo('admin:administer_utilities:language_scanner'), 'href' => 'admin/administer_utilities/language_scanner', - 'parent_name' => 'administer_utilities', + 'parent_name' => 'utilities', ]); return $result; diff --git a/composer.json b/composer.json index 6847dc8..04b5946 100644 --- a/composer.json +++ b/composer.json @@ -9,15 +9,7 @@ "source": "https://github.com/ColdTrick/language_scanner", "issues": "https://github.com/ColdTrick/language_scanner/issues" }, - "require": { - "composer/installers": "^1.0.8" - }, "conflict": { - "elgg/elgg": "<5.0" - }, - "config": { - "allow-plugins": { - "composer/installers": true - } + "elgg/elgg": "<5.1" } } diff --git a/composer.lock b/composer.lock index b43b6c0..4b74d78 100644 --- a/composer.lock +++ b/composer.lock @@ -4,160 +4,8 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "98b498aa84eade9a5b2567d6e9515a45", - "packages": [ - { - "name": "composer/installers", - "version": "v1.12.0", - "source": { - "type": "git", - "url": "https://github.com/composer/installers.git", - "reference": "d20a64ed3c94748397ff5973488761b22f6d3f19" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/composer/installers/zipball/d20a64ed3c94748397ff5973488761b22f6d3f19", - "reference": "d20a64ed3c94748397ff5973488761b22f6d3f19", - "shasum": "" - }, - "require": { - "composer-plugin-api": "^1.0 || ^2.0" - }, - "replace": { - "roundcube/plugin-installer": "*", - "shama/baton": "*" - }, - "require-dev": { - "composer/composer": "1.6.* || ^2.0", - "composer/semver": "^1 || ^3", - "phpstan/phpstan": "^0.12.55", - "phpstan/phpstan-phpunit": "^0.12.16", - "symfony/phpunit-bridge": "^4.2 || ^5", - "symfony/process": "^2.3" - }, - "type": "composer-plugin", - "extra": { - "class": "Composer\\Installers\\Plugin", - "branch-alias": { - "dev-main": "1.x-dev" - } - }, - "autoload": { - "psr-4": { - "Composer\\Installers\\": "src/Composer/Installers" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Kyle Robinson Young", - "email": "kyle@dontkry.com", - "homepage": "https://github.com/shama" - } - ], - "description": "A multi-framework Composer library installer", - "homepage": "https://composer.github.io/installers/", - "keywords": [ - "Craft", - "Dolibarr", - "Eliasis", - "Hurad", - "ImageCMS", - "Kanboard", - "Lan Management System", - "MODX Evo", - "MantisBT", - "Mautic", - "Maya", - "OXID", - "Plentymarkets", - "Porto", - "RadPHP", - "SMF", - "Starbug", - "Thelia", - "Whmcs", - "WolfCMS", - "agl", - "aimeos", - "annotatecms", - "attogram", - "bitrix", - "cakephp", - "chef", - "cockpit", - "codeigniter", - "concrete5", - "croogo", - "dokuwiki", - "drupal", - "eZ Platform", - "elgg", - "expressionengine", - "fuelphp", - "grav", - "installer", - "itop", - "joomla", - "known", - "kohana", - "laravel", - "lavalite", - "lithium", - "magento", - "majima", - "mako", - "mediawiki", - "miaoxing", - "modulework", - "modx", - "moodle", - "osclass", - "pantheon", - "phpbb", - "piwik", - "ppi", - "processwire", - "puppet", - "pxcms", - "reindex", - "roundcube", - "shopware", - "silverstripe", - "sydes", - "sylius", - "symfony", - "tastyigniter", - "typo3", - "wordpress", - "yawik", - "zend", - "zikula" - ], - "support": { - "issues": "https://github.com/composer/installers/issues", - "source": "https://github.com/composer/installers/tree/v1.12.0" - }, - "funding": [ - { - "url": "https://packagist.com", - "type": "custom" - }, - { - "url": "https://github.com/composer", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/composer/composer", - "type": "tidelift" - } - ], - "time": "2021-09-13T08:19:44+00:00" - } - ], + "content-hash": "ca43ddfb41fdc01b6364eefea33fb98e", + "packages": [], "packages-dev": [], "aliases": [], "minimum-stability": "stable", @@ -166,5 +14,5 @@ "prefer-lowest": false, "platform": [], "platform-dev": [], - "plugin-api-version": "2.3.0" + "plugin-api-version": "2.6.0" }