diff --git a/composer.json b/composer.json index 16076f3..967128e 100644 --- a/composer.json +++ b/composer.json @@ -74,7 +74,7 @@ "newfold-labs/wp-module-coming-soon": "^1.3.2", "newfold-labs/wp-module-context": "^1.0.1", "newfold-labs/wp-module-data": "^2.6.8", - "newfold-labs/wp-module-deactivation": "^1.2.3", + "newfold-labs/wp-module-deactivation": "^1.3.0", "newfold-labs/wp-module-features": "^1.4.2", "newfold-labs/wp-module-loader": "^1.0.11", "newfold-labs/wp-module-marketplace": "^2.5.0", diff --git a/composer.lock b/composer.lock index 8c218ed..ca586b4 100644 --- a/composer.lock +++ b/composer.lock @@ -4,7 +4,7 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "2739562aeecd4945ded4d8a4f2d5c6c1", + "content-hash": "4984169393d31729b506611b0f43b331", "packages": [ { "name": "doctrine/inflector", @@ -437,23 +437,24 @@ }, { "name": "newfold-labs/wp-module-deactivation", - "version": "1.2.3", + "version": "1.3.0", "source": { "type": "git", "url": "https://github.com/newfold-labs/wp-module-deactivation.git", - "reference": "77fba9e7289ef3924bc349b549ce53e9f494565e" + "reference": "93b7aa7472460b67bcc3fac77c5f5ab9e954095a" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/newfold-labs/wp-module-deactivation/zipball/77fba9e7289ef3924bc349b549ce53e9f494565e", - "reference": "77fba9e7289ef3924bc349b549ce53e9f494565e", + "url": "https://api.github.com/repos/newfold-labs/wp-module-deactivation/zipball/93b7aa7472460b67bcc3fac77c5f5ab9e954095a", + "reference": "93b7aa7472460b67bcc3fac77c5f5ab9e954095a", "shasum": "" }, "require": { "newfold-labs/wp-module-data": "^2.0.0" }, "require-dev": { - "newfold-labs/wp-php-standards": "^1.2" + "newfold-labs/wp-php-standards": "^1.2", + "wp-cli/i18n-command": "^2.6" }, "type": "library", "autoload": { @@ -470,6 +471,23 @@ ], "lint": [ "vendor/bin/phpcs --standard=phpcs.xml -s ." + ], + "i18n-pot": [ + "vendor/bin/wp i18n make-pot . ./languages/wp-module-deactivation.pot --headers='{\"Report-Msgid-Bugs-To\":\"https://github.com/newfold-labs/wp-module-deactivation/issues\",\"POT-Creation-Date\":\"2024-12-12T07:59:34+00:00\"}' --exclude=tests" + ], + "i18n-po": [ + "vendor/bin/wp i18n update-po ./languages/wp-module-deactivation.pot ./languages" + ], + "i18n-mo": [ + "vendor/bin/wp i18n make-mo ./languages" + ], + "i18n-json": [ + "rm -f languages/*.json && vendor/bin/wp i18n make-json ./languages --no-purge --pretty-print" + ], + "i18n": [ + "@i18n-pot", + "@i18n-po", + "@i18n-mo" ] }, "license": [ @@ -482,7 +500,7 @@ }, { "name": "Evan Mullins", - "email": "evanrm@gmail.com" + "homepage": "https://evanmullins.com" }, { "name": "Al Ani", @@ -491,10 +509,10 @@ ], "description": "A Module for handling WordPress brand plugins and modules deactivations", "support": { - "source": "https://github.com/newfold-labs/wp-module-deactivation/tree/1.2.3", + "source": "https://github.com/newfold-labs/wp-module-deactivation/tree/1.3.0", "issues": "https://github.com/newfold-labs/wp-module-deactivation/issues" }, - "time": "2024-07-10T16:05:32+00:00" + "time": "2024-12-16T17:21:20+00:00" }, { "name": "newfold-labs/wp-module-features", @@ -3517,10 +3535,10 @@ }, "prefer-stable": false, "prefer-lowest": false, - "platform": {}, - "platform-dev": {}, + "platform": [], + "platform-dev": [], "platform-overrides": { "php": "7.3.0" }, - "plugin-api-version": "2.6.0" + "plugin-api-version": "2.3.0" }