diff --git a/composer.json b/composer.json
index edc037b..13a8881 100644
--- a/composer.json
+++ b/composer.json
@@ -3,6 +3,7 @@
"wp-coding-standards/wpcs": "^2.3",
"sirbrillig/phpcs-variable-analysis": "^2.8",
"phpcompatibility/phpcompatibility-wp": "^2.1",
+ "wp-cli/i18n-command": "^2.4",
"dealerdirect/phpcodesniffer-composer-installer": "^0.7",
"php-stubs/wordpress-stubs": "^6.1"
},
diff --git a/composer.lock b/composer.lock
index abc734b..683c3e0 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": "831091850fe7efc2e6b2ca4c78edf531",
+ "content-hash": "dc8b43350fc8c50f14c8efb22ac8aab2",
"packages": [],
"packages-dev": [
{
@@ -83,30 +83,345 @@
"time": "2022-02-04T12:51:07+00:00"
},
{
- "name": "php-stubs/wordpress-stubs",
- "version": "v6.2.1",
+ "name": "eftec/bladeone",
+ "version": "3.52",
"source": {
"type": "git",
- "url": "https://github.com/php-stubs/wordpress-stubs.git",
- "reference": "0009429e639b748eef1c955200ea0d4e5ad5627d"
+ "url": "https://github.com/EFTEC/BladeOne.git",
+ "reference": "a19bf66917de0b29836983db87a455a4f6e32148"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/php-stubs/wordpress-stubs/zipball/0009429e639b748eef1c955200ea0d4e5ad5627d",
- "reference": "0009429e639b748eef1c955200ea0d4e5ad5627d",
+ "url": "https://api.github.com/repos/EFTEC/BladeOne/zipball/a19bf66917de0b29836983db87a455a4f6e32148",
+ "reference": "a19bf66917de0b29836983db87a455a4f6e32148",
+ "shasum": ""
+ },
+ "require": {
+ "ext-json": "*",
+ "php": ">=5.6"
+ },
+ "require-dev": {
+ "friendsofphp/php-cs-fixer": "^2.16.1",
+ "phpunit/phpunit": "^5.7",
+ "squizlabs/php_codesniffer": "^3.5.4"
+ },
+ "suggest": {
+ "eftec/bladeonehtml": "Extension to create forms",
+ "ext-mbstring": "This extension is used if it's active"
+ },
+ "type": "library",
+ "autoload": {
+ "psr-4": {
+ "eftec\\bladeone\\": "lib/"
+ }
+ },
+ "notification-url": "https://packagist.org/downloads/",
+ "license": [
+ "MIT"
+ ],
+ "authors": [
+ {
+ "name": "Jorge Patricio Castro Castillo",
+ "email": "jcastro@eftec.cl"
+ }
+ ],
+ "description": "The standalone version Blade Template Engine from Laravel in a single php file",
+ "homepage": "https://github.com/EFTEC/BladeOne",
+ "keywords": [
+ "blade",
+ "php",
+ "template",
+ "templating",
+ "view"
+ ],
+ "support": {
+ "issues": "https://github.com/EFTEC/BladeOne/issues",
+ "source": "https://github.com/EFTEC/BladeOne/tree/3.52"
+ },
+ "time": "2021-04-17T13:49:01+00:00"
+ },
+ {
+ "name": "gettext/gettext",
+ "version": "v4.8.12",
+ "source": {
+ "type": "git",
+ "url": "https://github.com/php-gettext/Gettext.git",
+ "reference": "11af89ee6c087db3cf09ce2111a150bca5c46e12"
+ },
+ "dist": {
+ "type": "zip",
+ "url": "https://api.github.com/repos/php-gettext/Gettext/zipball/11af89ee6c087db3cf09ce2111a150bca5c46e12",
+ "reference": "11af89ee6c087db3cf09ce2111a150bca5c46e12",
+ "shasum": ""
+ },
+ "require": {
+ "gettext/languages": "^2.3",
+ "php": ">=5.4.0"
+ },
+ "require-dev": {
+ "illuminate/view": "^5.0.x-dev",
+ "phpunit/phpunit": "^4.8|^5.7|^6.5",
+ "squizlabs/php_codesniffer": "^3.0",
+ "symfony/yaml": "~2",
+ "twig/extensions": "*",
+ "twig/twig": "^1.31|^2.0"
+ },
+ "suggest": {
+ "illuminate/view": "Is necessary if you want to use the Blade extractor",
+ "symfony/yaml": "Is necessary if you want to use the Yaml extractor/generator",
+ "twig/extensions": "Is necessary if you want to use the Twig extractor",
+ "twig/twig": "Is necessary if you want to use the Twig extractor"
+ },
+ "type": "library",
+ "autoload": {
+ "psr-4": {
+ "Gettext\\": "src"
+ }
+ },
+ "notification-url": "https://packagist.org/downloads/",
+ "license": [
+ "MIT"
+ ],
+ "authors": [
+ {
+ "name": "Oscar Otero",
+ "email": "oom@oscarotero.com",
+ "homepage": "http://oscarotero.com",
+ "role": "Developer"
+ }
+ ],
+ "description": "PHP gettext manager",
+ "homepage": "https://github.com/oscarotero/Gettext",
+ "keywords": [
+ "JS",
+ "gettext",
+ "i18n",
+ "mo",
+ "po",
+ "translation"
+ ],
+ "support": {
+ "email": "oom@oscarotero.com",
+ "issues": "https://github.com/oscarotero/Gettext/issues",
+ "source": "https://github.com/php-gettext/Gettext/tree/v4.8.12"
+ },
+ "funding": [
+ {
+ "url": "https://paypal.me/oscarotero",
+ "type": "custom"
+ },
+ {
+ "url": "https://github.com/oscarotero",
+ "type": "github"
+ },
+ {
+ "url": "https://www.patreon.com/misteroom",
+ "type": "patreon"
+ }
+ ],
+ "time": "2024-05-18T10:25:07+00:00"
+ },
+ {
+ "name": "gettext/languages",
+ "version": "2.10.0",
+ "source": {
+ "type": "git",
+ "url": "https://github.com/php-gettext/Languages.git",
+ "reference": "4d61d67fe83a2ad85959fe6133d6d9ba7dddd1ab"
+ },
+ "dist": {
+ "type": "zip",
+ "url": "https://api.github.com/repos/php-gettext/Languages/zipball/4d61d67fe83a2ad85959fe6133d6d9ba7dddd1ab",
+ "reference": "4d61d67fe83a2ad85959fe6133d6d9ba7dddd1ab",
+ "shasum": ""
+ },
+ "require": {
+ "php": ">=5.3"
+ },
+ "require-dev": {
+ "phpunit/phpunit": "^4.8 || ^5.7 || ^6.5 || ^7.5 || ^8.4"
+ },
+ "bin": [
+ "bin/export-plural-rules"
+ ],
+ "type": "library",
+ "autoload": {
+ "psr-4": {
+ "Gettext\\Languages\\": "src/"
+ }
+ },
+ "notification-url": "https://packagist.org/downloads/",
+ "license": [
+ "MIT"
+ ],
+ "authors": [
+ {
+ "name": "Michele Locati",
+ "email": "mlocati@gmail.com",
+ "role": "Developer"
+ }
+ ],
+ "description": "gettext languages with plural rules",
+ "homepage": "https://github.com/php-gettext/Languages",
+ "keywords": [
+ "cldr",
+ "i18n",
+ "internationalization",
+ "l10n",
+ "language",
+ "languages",
+ "localization",
+ "php",
+ "plural",
+ "plural rules",
+ "plurals",
+ "translate",
+ "translations",
+ "unicode"
+ ],
+ "support": {
+ "issues": "https://github.com/php-gettext/Languages/issues",
+ "source": "https://github.com/php-gettext/Languages/tree/2.10.0"
+ },
+ "funding": [
+ {
+ "url": "https://paypal.me/mlocati",
+ "type": "custom"
+ },
+ {
+ "url": "https://github.com/mlocati",
+ "type": "github"
+ }
+ ],
+ "time": "2022-10-18T15:00:10+00:00"
+ },
+ {
+ "name": "mck89/peast",
+ "version": "v1.16.3",
+ "source": {
+ "type": "git",
+ "url": "https://github.com/mck89/peast.git",
+ "reference": "645ec21b650bc2aced18285c85f220d22afc1430"
+ },
+ "dist": {
+ "type": "zip",
+ "url": "https://api.github.com/repos/mck89/peast/zipball/645ec21b650bc2aced18285c85f220d22afc1430",
+ "reference": "645ec21b650bc2aced18285c85f220d22afc1430",
+ "shasum": ""
+ },
+ "require": {
+ "ext-mbstring": "*",
+ "php": ">=5.4.0"
+ },
+ "require-dev": {
+ "phpunit/phpunit": "^4.0 || ^5.0 || ^6.0 || ^7.0 || ^8.0 || ^9.0"
+ },
+ "type": "library",
+ "extra": {
+ "branch-alias": {
+ "dev-master": "1.16.3-dev"
+ }
+ },
+ "autoload": {
+ "psr-4": {
+ "Peast\\": "lib/Peast/"
+ }
+ },
+ "notification-url": "https://packagist.org/downloads/",
+ "license": [
+ "BSD-3-Clause"
+ ],
+ "authors": [
+ {
+ "name": "Marco Marchiò",
+ "email": "marco.mm89@gmail.com"
+ }
+ ],
+ "description": "Peast is PHP library that generates AST for JavaScript code",
+ "support": {
+ "issues": "https://github.com/mck89/peast/issues",
+ "source": "https://github.com/mck89/peast/tree/v1.16.3"
+ },
+ "time": "2024-07-23T14:00:32+00:00"
+ },
+ {
+ "name": "mustache/mustache",
+ "version": "v2.14.2",
+ "source": {
+ "type": "git",
+ "url": "https://github.com/bobthecow/mustache.php.git",
+ "reference": "e62b7c3849d22ec55f3ec425507bf7968193a6cb"
+ },
+ "dist": {
+ "type": "zip",
+ "url": "https://api.github.com/repos/bobthecow/mustache.php/zipball/e62b7c3849d22ec55f3ec425507bf7968193a6cb",
+ "reference": "e62b7c3849d22ec55f3ec425507bf7968193a6cb",
+ "shasum": ""
+ },
+ "require": {
+ "php": ">=5.2.4"
+ },
+ "require-dev": {
+ "friendsofphp/php-cs-fixer": "~1.11",
+ "phpunit/phpunit": "~3.7|~4.0|~5.0"
+ },
+ "type": "library",
+ "autoload": {
+ "psr-0": {
+ "Mustache": "src/"
+ }
+ },
+ "notification-url": "https://packagist.org/downloads/",
+ "license": [
+ "MIT"
+ ],
+ "authors": [
+ {
+ "name": "Justin Hileman",
+ "email": "justin@justinhileman.info",
+ "homepage": "http://justinhileman.com"
+ }
+ ],
+ "description": "A Mustache implementation in PHP.",
+ "homepage": "https://github.com/bobthecow/mustache.php",
+ "keywords": [
+ "mustache",
+ "templating"
+ ],
+ "support": {
+ "issues": "https://github.com/bobthecow/mustache.php/issues",
+ "source": "https://github.com/bobthecow/mustache.php/tree/v2.14.2"
+ },
+ "time": "2022-08-23T13:07:01+00:00"
+ },
+ {
+ "name": "php-stubs/wordpress-stubs",
+ "version": "v6.7.1",
+ "source": {
+ "type": "git",
+ "url": "https://github.com/php-stubs/wordpress-stubs.git",
+ "reference": "83448e918bf06d1ed3d67ceb6a985fc266a02fd1"
+ },
+ "dist": {
+ "type": "zip",
+ "url": "https://api.github.com/repos/php-stubs/wordpress-stubs/zipball/83448e918bf06d1ed3d67ceb6a985fc266a02fd1",
+ "reference": "83448e918bf06d1ed3d67ceb6a985fc266a02fd1",
"shasum": ""
},
"require-dev": {
- "nikic/php-parser": "< 4.12.0",
- "php": "~7.3 || ~8.0",
+ "dealerdirect/phpcodesniffer-composer-installer": "^1.0",
+ "nikic/php-parser": "^4.13",
+ "php": "^7.4 || ^8.0",
"php-stubs/generator": "^0.8.3",
- "phpdocumentor/reflection-docblock": "^5.3",
- "phpstan/phpstan": "^1.10.12",
- "phpunit/phpunit": "^9.5"
+ "phpdocumentor/reflection-docblock": "^5.4.1",
+ "phpstan/phpstan": "^1.11",
+ "phpunit/phpunit": "^9.5",
+ "szepeviktor/phpcs-psr-12-neutron-hybrid-ruleset": "^1.1.1",
+ "wp-coding-standards/wpcs": "3.1.0 as 2.3.0"
},
"suggest": {
"paragonie/sodium_compat": "Pure PHP implementation of libsodium",
- "symfony/polyfill-php73": "Symfony polyfill backporting some PHP 7.3+ features to lower PHP versions",
+ "symfony/polyfill-php80": "Symfony polyfill backporting some PHP 8.0+ features to lower PHP versions",
"szepeviktor/phpstan-wordpress": "WordPress extensions for PHPStan"
},
"type": "library",
@@ -123,9 +438,9 @@
],
"support": {
"issues": "https://github.com/php-stubs/wordpress-stubs/issues",
- "source": "https://github.com/php-stubs/wordpress-stubs/tree/v6.2.1"
+ "source": "https://github.com/php-stubs/wordpress-stubs/tree/v6.7.1"
},
- "time": "2023-05-18T04:35:23+00:00"
+ "time": "2024-11-24T03:57:09+00:00"
},
{
"name": "phpcompatibility/php-compatibility",
@@ -191,28 +506,28 @@
},
{
"name": "phpcompatibility/phpcompatibility-paragonie",
- "version": "1.3.2",
+ "version": "1.3.3",
"source": {
"type": "git",
"url": "https://github.com/PHPCompatibility/PHPCompatibilityParagonie.git",
- "reference": "bba5a9dfec7fcfbd679cfaf611d86b4d3759da26"
+ "reference": "293975b465e0e709b571cbf0c957c6c0a7b9a2ac"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/PHPCompatibility/PHPCompatibilityParagonie/zipball/bba5a9dfec7fcfbd679cfaf611d86b4d3759da26",
- "reference": "bba5a9dfec7fcfbd679cfaf611d86b4d3759da26",
+ "url": "https://api.github.com/repos/PHPCompatibility/PHPCompatibilityParagonie/zipball/293975b465e0e709b571cbf0c957c6c0a7b9a2ac",
+ "reference": "293975b465e0e709b571cbf0c957c6c0a7b9a2ac",
"shasum": ""
},
"require": {
"phpcompatibility/php-compatibility": "^9.0"
},
"require-dev": {
- "dealerdirect/phpcodesniffer-composer-installer": "^0.7",
+ "dealerdirect/phpcodesniffer-composer-installer": "^1.0",
"paragonie/random_compat": "dev-master",
"paragonie/sodium_compat": "dev-master"
},
"suggest": {
- "dealerdirect/phpcodesniffer-composer-installer": "^0.7 || This Composer plugin will sort out the PHP_CodeSniffer 'installed_paths' automatically.",
+ "dealerdirect/phpcodesniffer-composer-installer": "^1.0 || This Composer plugin will sort out the PHP_CodeSniffer 'installed_paths' automatically.",
"roave/security-advisories": "dev-master || Helps prevent installing dependencies with known security issues."
},
"type": "phpcodesniffer-standard",
@@ -242,22 +557,37 @@
],
"support": {
"issues": "https://github.com/PHPCompatibility/PHPCompatibilityParagonie/issues",
+ "security": "https://github.com/PHPCompatibility/PHPCompatibilityParagonie/security/policy",
"source": "https://github.com/PHPCompatibility/PHPCompatibilityParagonie"
},
- "time": "2022-10-25T01:46:02+00:00"
+ "funding": [
+ {
+ "url": "https://github.com/PHPCompatibility",
+ "type": "github"
+ },
+ {
+ "url": "https://github.com/jrfnl",
+ "type": "github"
+ },
+ {
+ "url": "https://opencollective.com/php_codesniffer",
+ "type": "open_collective"
+ }
+ ],
+ "time": "2024-04-24T21:30:46+00:00"
},
{
"name": "phpcompatibility/phpcompatibility-wp",
- "version": "2.1.4",
+ "version": "2.1.5",
"source": {
"type": "git",
"url": "https://github.com/PHPCompatibility/PHPCompatibilityWP.git",
- "reference": "b6c1e3ee1c35de6c41a511d5eb9bd03e447480a5"
+ "reference": "01c1ff2704a58e46f0cb1ca9d06aee07b3589082"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/PHPCompatibility/PHPCompatibilityWP/zipball/b6c1e3ee1c35de6c41a511d5eb9bd03e447480a5",
- "reference": "b6c1e3ee1c35de6c41a511d5eb9bd03e447480a5",
+ "url": "https://api.github.com/repos/PHPCompatibility/PHPCompatibilityWP/zipball/01c1ff2704a58e46f0cb1ca9d06aee07b3589082",
+ "reference": "01c1ff2704a58e46f0cb1ca9d06aee07b3589082",
"shasum": ""
},
"require": {
@@ -265,10 +595,10 @@
"phpcompatibility/phpcompatibility-paragonie": "^1.0"
},
"require-dev": {
- "dealerdirect/phpcodesniffer-composer-installer": "^0.7"
+ "dealerdirect/phpcodesniffer-composer-installer": "^1.0"
},
"suggest": {
- "dealerdirect/phpcodesniffer-composer-installer": "^0.7 || This Composer plugin will sort out the PHP_CodeSniffer 'installed_paths' automatically.",
+ "dealerdirect/phpcodesniffer-composer-installer": "^1.0 || This Composer plugin will sort out the PHP_CodeSniffer 'installed_paths' automatically.",
"roave/security-advisories": "dev-master || Helps prevent installing dependencies with known security issues."
},
"type": "phpcodesniffer-standard",
@@ -297,22 +627,37 @@
],
"support": {
"issues": "https://github.com/PHPCompatibility/PHPCompatibilityWP/issues",
+ "security": "https://github.com/PHPCompatibility/PHPCompatibilityWP/security/policy",
"source": "https://github.com/PHPCompatibility/PHPCompatibilityWP"
},
- "time": "2022-10-24T09:00:36+00:00"
+ "funding": [
+ {
+ "url": "https://github.com/PHPCompatibility",
+ "type": "github"
+ },
+ {
+ "url": "https://github.com/jrfnl",
+ "type": "github"
+ },
+ {
+ "url": "https://opencollective.com/php_codesniffer",
+ "type": "open_collective"
+ }
+ ],
+ "time": "2024-04-24T21:37:59+00:00"
},
{
"name": "sirbrillig/phpcs-variable-analysis",
- "version": "v2.11.16",
+ "version": "v2.11.19",
"source": {
"type": "git",
"url": "https://github.com/sirbrillig/phpcs-variable-analysis.git",
- "reference": "dc5582dc5a93a235557af73e523c389aac9a8e88"
+ "reference": "bc8d7e30e2005bce5c59018b7cdb08e9fb45c0d1"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/sirbrillig/phpcs-variable-analysis/zipball/dc5582dc5a93a235557af73e523c389aac9a8e88",
- "reference": "dc5582dc5a93a235557af73e523c389aac9a8e88",
+ "url": "https://api.github.com/repos/sirbrillig/phpcs-variable-analysis/zipball/bc8d7e30e2005bce5c59018b7cdb08e9fb45c0d1",
+ "reference": "bc8d7e30e2005bce5c59018b7cdb08e9fb45c0d1",
"shasum": ""
},
"require": {
@@ -357,20 +702,20 @@
"source": "https://github.com/sirbrillig/phpcs-variable-analysis",
"wiki": "https://github.com/sirbrillig/phpcs-variable-analysis/wiki"
},
- "time": "2023-03-31T16:46:32+00:00"
+ "time": "2024-06-26T20:08:34+00:00"
},
{
"name": "squizlabs/php_codesniffer",
- "version": "3.7.2",
+ "version": "3.11.1",
"source": {
"type": "git",
- "url": "https://github.com/squizlabs/PHP_CodeSniffer.git",
- "reference": "ed8e00df0a83aa96acf703f8c2979ff33341f879"
+ "url": "https://github.com/PHPCSStandards/PHP_CodeSniffer.git",
+ "reference": "19473c30efe4f7b3cd42522d0b2e6e7f243c6f87"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/squizlabs/PHP_CodeSniffer/zipball/ed8e00df0a83aa96acf703f8c2979ff33341f879",
- "reference": "ed8e00df0a83aa96acf703f8c2979ff33341f879",
+ "url": "https://api.github.com/repos/PHPCSStandards/PHP_CodeSniffer/zipball/19473c30efe4f7b3cd42522d0b2e6e7f243c6f87",
+ "reference": "19473c30efe4f7b3cd42522d0b2e6e7f243c6f87",
"shasum": ""
},
"require": {
@@ -380,11 +725,11 @@
"php": ">=5.4.0"
},
"require-dev": {
- "phpunit/phpunit": "^4.0 || ^5.0 || ^6.0 || ^7.0"
+ "phpunit/phpunit": "^4.0 || ^5.0 || ^6.0 || ^7.0 || ^8.0 || ^9.3.4"
},
"bin": [
- "bin/phpcs",
- "bin/phpcbf"
+ "bin/phpcbf",
+ "bin/phpcs"
],
"type": "library",
"extra": {
@@ -399,22 +744,508 @@
"authors": [
{
"name": "Greg Sherwood",
- "role": "lead"
+ "role": "Former lead"
+ },
+ {
+ "name": "Juliette Reinders Folmer",
+ "role": "Current lead"
+ },
+ {
+ "name": "Contributors",
+ "homepage": "https://github.com/PHPCSStandards/PHP_CodeSniffer/graphs/contributors"
}
],
"description": "PHP_CodeSniffer tokenizes PHP, JavaScript and CSS files and detects violations of a defined set of coding standards.",
- "homepage": "https://github.com/squizlabs/PHP_CodeSniffer",
+ "homepage": "https://github.com/PHPCSStandards/PHP_CodeSniffer",
"keywords": [
"phpcs",
"standards",
"static analysis"
],
"support": {
- "issues": "https://github.com/squizlabs/PHP_CodeSniffer/issues",
- "source": "https://github.com/squizlabs/PHP_CodeSniffer",
- "wiki": "https://github.com/squizlabs/PHP_CodeSniffer/wiki"
+ "issues": "https://github.com/PHPCSStandards/PHP_CodeSniffer/issues",
+ "security": "https://github.com/PHPCSStandards/PHP_CodeSniffer/security/policy",
+ "source": "https://github.com/PHPCSStandards/PHP_CodeSniffer",
+ "wiki": "https://github.com/PHPCSStandards/PHP_CodeSniffer/wiki"
},
- "time": "2023-02-22T23:07:41+00:00"
+ "funding": [
+ {
+ "url": "https://github.com/PHPCSStandards",
+ "type": "github"
+ },
+ {
+ "url": "https://github.com/jrfnl",
+ "type": "github"
+ },
+ {
+ "url": "https://opencollective.com/php_codesniffer",
+ "type": "open_collective"
+ }
+ ],
+ "time": "2024-11-16T12:02:36+00:00"
+ },
+ {
+ "name": "symfony/deprecation-contracts",
+ "version": "v2.5.4",
+ "source": {
+ "type": "git",
+ "url": "https://github.com/symfony/deprecation-contracts.git",
+ "reference": "605389f2a7e5625f273b53960dc46aeaf9c62918"
+ },
+ "dist": {
+ "type": "zip",
+ "url": "https://api.github.com/repos/symfony/deprecation-contracts/zipball/605389f2a7e5625f273b53960dc46aeaf9c62918",
+ "reference": "605389f2a7e5625f273b53960dc46aeaf9c62918",
+ "shasum": ""
+ },
+ "require": {
+ "php": ">=7.1"
+ },
+ "type": "library",
+ "extra": {
+ "branch-alias": {
+ "dev-main": "2.5-dev"
+ },
+ "thanks": {
+ "name": "symfony/contracts",
+ "url": "https://github.com/symfony/contracts"
+ }
+ },
+ "autoload": {
+ "files": [
+ "function.php"
+ ]
+ },
+ "notification-url": "https://packagist.org/downloads/",
+ "license": [
+ "MIT"
+ ],
+ "authors": [
+ {
+ "name": "Nicolas Grekas",
+ "email": "p@tchwork.com"
+ },
+ {
+ "name": "Symfony Community",
+ "homepage": "https://symfony.com/contributors"
+ }
+ ],
+ "description": "A generic function and convention to trigger deprecation notices",
+ "homepage": "https://symfony.com",
+ "support": {
+ "source": "https://github.com/symfony/deprecation-contracts/tree/v2.5.4"
+ },
+ "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": "2024-09-25T14:11:13+00:00"
+ },
+ {
+ "name": "symfony/finder",
+ "version": "v5.4.45",
+ "source": {
+ "type": "git",
+ "url": "https://github.com/symfony/finder.git",
+ "reference": "63741784cd7b9967975eec610b256eed3ede022b"
+ },
+ "dist": {
+ "type": "zip",
+ "url": "https://api.github.com/repos/symfony/finder/zipball/63741784cd7b9967975eec610b256eed3ede022b",
+ "reference": "63741784cd7b9967975eec610b256eed3ede022b",
+ "shasum": ""
+ },
+ "require": {
+ "php": ">=7.2.5",
+ "symfony/deprecation-contracts": "^2.1|^3",
+ "symfony/polyfill-php80": "^1.16"
+ },
+ "type": "library",
+ "autoload": {
+ "psr-4": {
+ "Symfony\\Component\\Finder\\": ""
+ },
+ "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": "Finds files and directories via an intuitive fluent interface",
+ "homepage": "https://symfony.com",
+ "support": {
+ "source": "https://github.com/symfony/finder/tree/v5.4.45"
+ },
+ "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": "2024-09-28T13:32:08+00:00"
+ },
+ {
+ "name": "symfony/polyfill-php80",
+ "version": "v1.31.0",
+ "source": {
+ "type": "git",
+ "url": "https://github.com/symfony/polyfill-php80.git",
+ "reference": "60328e362d4c2c802a54fcbf04f9d3fb892b4cf8"
+ },
+ "dist": {
+ "type": "zip",
+ "url": "https://api.github.com/repos/symfony/polyfill-php80/zipball/60328e362d4c2c802a54fcbf04f9d3fb892b4cf8",
+ "reference": "60328e362d4c2c802a54fcbf04f9d3fb892b4cf8",
+ "shasum": ""
+ },
+ "require": {
+ "php": ">=7.2"
+ },
+ "type": "library",
+ "extra": {
+ "thanks": {
+ "name": "symfony/polyfill",
+ "url": "https://github.com/symfony/polyfill"
+ }
+ },
+ "autoload": {
+ "files": [
+ "bootstrap.php"
+ ],
+ "psr-4": {
+ "Symfony\\Polyfill\\Php80\\": ""
+ },
+ "classmap": [
+ "Resources/stubs"
+ ]
+ },
+ "notification-url": "https://packagist.org/downloads/",
+ "license": [
+ "MIT"
+ ],
+ "authors": [
+ {
+ "name": "Ion Bazan",
+ "email": "ion.bazan@gmail.com"
+ },
+ {
+ "name": "Nicolas Grekas",
+ "email": "p@tchwork.com"
+ },
+ {
+ "name": "Symfony Community",
+ "homepage": "https://symfony.com/contributors"
+ }
+ ],
+ "description": "Symfony polyfill backporting some PHP 8.0+ features to lower PHP versions",
+ "homepage": "https://symfony.com",
+ "keywords": [
+ "compatibility",
+ "polyfill",
+ "portable",
+ "shim"
+ ],
+ "support": {
+ "source": "https://github.com/symfony/polyfill-php80/tree/v1.31.0"
+ },
+ "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": "2024-09-09T11:45:10+00:00"
+ },
+ {
+ "name": "wp-cli/i18n-command",
+ "version": "v2.6.3",
+ "source": {
+ "type": "git",
+ "url": "https://github.com/wp-cli/i18n-command.git",
+ "reference": "065bb3758fcbff922f1b7a01ab702aab0da79803"
+ },
+ "dist": {
+ "type": "zip",
+ "url": "https://api.github.com/repos/wp-cli/i18n-command/zipball/065bb3758fcbff922f1b7a01ab702aab0da79803",
+ "reference": "065bb3758fcbff922f1b7a01ab702aab0da79803",
+ "shasum": ""
+ },
+ "require": {
+ "eftec/bladeone": "3.52",
+ "gettext/gettext": "^4.8",
+ "mck89/peast": "^1.13.11",
+ "wp-cli/wp-cli": "^2.5"
+ },
+ "require-dev": {
+ "wp-cli/scaffold-command": "^1.2 || ^2",
+ "wp-cli/wp-cli-tests": "^4"
+ },
+ "suggest": {
+ "ext-json": "Used for reading and generating JSON translation files",
+ "ext-mbstring": "Used for calculating include/exclude matches in code extraction"
+ },
+ "type": "wp-cli-package",
+ "extra": {
+ "branch-alias": {
+ "dev-main": "2.x-dev"
+ },
+ "bundled": true,
+ "commands": [
+ "i18n",
+ "i18n make-pot",
+ "i18n make-json",
+ "i18n make-mo",
+ "i18n make-php",
+ "i18n update-po"
+ ]
+ },
+ "autoload": {
+ "files": [
+ "i18n-command.php"
+ ],
+ "psr-4": {
+ "WP_CLI\\I18n\\": "src/"
+ }
+ },
+ "notification-url": "https://packagist.org/downloads/",
+ "license": [
+ "MIT"
+ ],
+ "authors": [
+ {
+ "name": "Pascal Birchler",
+ "homepage": "https://pascalbirchler.com/"
+ }
+ ],
+ "description": "Provides internationalization tools for WordPress projects.",
+ "homepage": "https://github.com/wp-cli/i18n-command",
+ "support": {
+ "issues": "https://github.com/wp-cli/i18n-command/issues",
+ "source": "https://github.com/wp-cli/i18n-command/tree/v2.6.3"
+ },
+ "time": "2024-10-01T11:16:25+00:00"
+ },
+ {
+ "name": "wp-cli/mustangostang-spyc",
+ "version": "0.6.3",
+ "source": {
+ "type": "git",
+ "url": "https://github.com/wp-cli/spyc.git",
+ "reference": "6aa0b4da69ce9e9a2c8402dab8d43cf32c581cc7"
+ },
+ "dist": {
+ "type": "zip",
+ "url": "https://api.github.com/repos/wp-cli/spyc/zipball/6aa0b4da69ce9e9a2c8402dab8d43cf32c581cc7",
+ "reference": "6aa0b4da69ce9e9a2c8402dab8d43cf32c581cc7",
+ "shasum": ""
+ },
+ "require": {
+ "php": ">=5.3.1"
+ },
+ "require-dev": {
+ "phpunit/phpunit": "4.3.*@dev"
+ },
+ "type": "library",
+ "extra": {
+ "branch-alias": {
+ "dev-master": "0.5.x-dev"
+ }
+ },
+ "autoload": {
+ "files": [
+ "includes/functions.php"
+ ],
+ "psr-4": {
+ "Mustangostang\\": "src/"
+ }
+ },
+ "notification-url": "https://packagist.org/downloads/",
+ "license": [
+ "MIT"
+ ],
+ "authors": [
+ {
+ "name": "mustangostang",
+ "email": "vlad.andersen@gmail.com"
+ }
+ ],
+ "description": "A simple YAML loader/dumper class for PHP (WP-CLI fork)",
+ "homepage": "https://github.com/mustangostang/spyc/",
+ "support": {
+ "source": "https://github.com/wp-cli/spyc/tree/autoload"
+ },
+ "time": "2017-04-25T11:26:20+00:00"
+ },
+ {
+ "name": "wp-cli/php-cli-tools",
+ "version": "v0.11.22",
+ "source": {
+ "type": "git",
+ "url": "https://github.com/wp-cli/php-cli-tools.git",
+ "reference": "a6bb94664ca36d0962f9c2ff25591c315a550c51"
+ },
+ "dist": {
+ "type": "zip",
+ "url": "https://api.github.com/repos/wp-cli/php-cli-tools/zipball/a6bb94664ca36d0962f9c2ff25591c315a550c51",
+ "reference": "a6bb94664ca36d0962f9c2ff25591c315a550c51",
+ "shasum": ""
+ },
+ "require": {
+ "php": ">= 5.3.0"
+ },
+ "require-dev": {
+ "roave/security-advisories": "dev-latest",
+ "wp-cli/wp-cli-tests": "^4"
+ },
+ "type": "library",
+ "extra": {
+ "branch-alias": {
+ "dev-master": "0.11.x-dev"
+ }
+ },
+ "autoload": {
+ "files": [
+ "lib/cli/cli.php"
+ ],
+ "psr-0": {
+ "cli": "lib/"
+ }
+ },
+ "notification-url": "https://packagist.org/downloads/",
+ "license": [
+ "MIT"
+ ],
+ "authors": [
+ {
+ "name": "Daniel Bachhuber",
+ "email": "daniel@handbuilt.co",
+ "role": "Maintainer"
+ },
+ {
+ "name": "James Logsdon",
+ "email": "jlogsdon@php.net",
+ "role": "Developer"
+ }
+ ],
+ "description": "Console utilities for PHP",
+ "homepage": "http://github.com/wp-cli/php-cli-tools",
+ "keywords": [
+ "cli",
+ "console"
+ ],
+ "support": {
+ "issues": "https://github.com/wp-cli/php-cli-tools/issues",
+ "source": "https://github.com/wp-cli/php-cli-tools/tree/v0.11.22"
+ },
+ "time": "2023-12-03T19:25:05+00:00"
+ },
+ {
+ "name": "wp-cli/wp-cli",
+ "version": "v2.11.0",
+ "source": {
+ "type": "git",
+ "url": "https://github.com/wp-cli/wp-cli.git",
+ "reference": "53f0df112901fcf95099d0f501912a209429b6a9"
+ },
+ "dist": {
+ "type": "zip",
+ "url": "https://api.github.com/repos/wp-cli/wp-cli/zipball/53f0df112901fcf95099d0f501912a209429b6a9",
+ "reference": "53f0df112901fcf95099d0f501912a209429b6a9",
+ "shasum": ""
+ },
+ "require": {
+ "ext-curl": "*",
+ "mustache/mustache": "^2.14.1",
+ "php": "^5.6 || ^7.0 || ^8.0",
+ "symfony/finder": ">2.7",
+ "wp-cli/mustangostang-spyc": "^0.6.3",
+ "wp-cli/php-cli-tools": "~0.11.2"
+ },
+ "require-dev": {
+ "roave/security-advisories": "dev-latest",
+ "wp-cli/db-command": "^1.3 || ^2",
+ "wp-cli/entity-command": "^1.2 || ^2",
+ "wp-cli/extension-command": "^1.1 || ^2",
+ "wp-cli/package-command": "^1 || ^2",
+ "wp-cli/wp-cli-tests": "^4.0.1"
+ },
+ "suggest": {
+ "ext-readline": "Include for a better --prompt implementation",
+ "ext-zip": "Needed to support extraction of ZIP archives when doing downloads or updates"
+ },
+ "bin": [
+ "bin/wp",
+ "bin/wp.bat"
+ ],
+ "type": "library",
+ "extra": {
+ "branch-alias": {
+ "dev-main": "2.11.x-dev"
+ }
+ },
+ "autoload": {
+ "psr-0": {
+ "WP_CLI\\": "php/"
+ },
+ "classmap": [
+ "php/class-wp-cli.php",
+ "php/class-wp-cli-command.php"
+ ]
+ },
+ "notification-url": "https://packagist.org/downloads/",
+ "license": [
+ "MIT"
+ ],
+ "description": "WP-CLI framework",
+ "homepage": "https://wp-cli.org",
+ "keywords": [
+ "cli",
+ "wordpress"
+ ],
+ "support": {
+ "docs": "https://make.wordpress.org/cli/handbook/",
+ "issues": "https://github.com/wp-cli/wp-cli/issues",
+ "source": "https://github.com/wp-cli/wp-cli"
+ },
+ "time": "2024-08-08T03:04:55+00:00"
},
{
"name": "wp-coding-standards/wpcs",
diff --git a/languages/mind.json b/languages/mind.json
new file mode 100644
index 0000000..22f6ac8
--- /dev/null
+++ b/languages/mind.json
@@ -0,0 +1,322 @@
+{
+ "domain": "mind",
+ "locale_data": {
+ "mind": {
+ "": {
+ "domain": "mind"
+ },
+ "AI Mind": [
+ ""
+ ],
+ "Content Assistant Plugin based on OpenAI. Write, improve, rewrite, rephrase, change the tone of your blog posts, and more.": [
+ ""
+ ],
+ "Mind Team": [
+ ""
+ ],
+ "https://www.wp-mind.com/": [
+ ""
+ ],
+ "Mind": [
+ ""
+ ],
+ "Welcome": [
+ ""
+ ],
+ "Settings": [
+ ""
+ ],
+ "Discussions": [
+ ""
+ ],
+ "User don't have permissions to change options.": [
+ ""
+ ],
+ "You don't have permissions to request Mind API.": [
+ ""
+ ],
+ "Provide OpenAI key in the plugin settings.": [
+ ""
+ ],
+ "Provide request to receive AI response.": [
+ ""
+ ],
+ "OpenAI data failed to load.": [
+ ""
+ ],
+ "OpenAI API Key": [
+ ""
+ ],
+ "This setting is required, since our plugin works with OpenAI.": [
+ ""
+ ],
+ "Create API key": [
+ ""
+ ],
+ "Enter API key": [
+ ""
+ ],
+ "Please enter a valid API key": [
+ ""
+ ],
+ "Save Changes": [
+ ""
+ ],
+ "Hello, my name is %s": [
+ ""
+ ],
+ "I am an AI assistant designed to help you in writing content for your blog": [
+ ""
+ ],
+ "To get started, open the page editor and click on the \"Open Mind\" button in the toolbar": [
+ ""
+ ],
+ "To get started, enter your": [
+ ""
+ ],
+ "OpenAI API key →": [
+ ""
+ ],
+ "Something went wrong, please, try again…": [
+ ""
+ ],
+ "professional": [
+ ""
+ ],
+ "🧐 Professional": [
+ ""
+ ],
+ "friendly": [
+ ""
+ ],
+ "😀 Friendly": [
+ ""
+ ],
+ "straightforward": [
+ ""
+ ],
+ "🙂 Straightforward": [
+ ""
+ ],
+ "educational": [
+ ""
+ ],
+ "🎓 Educational": [
+ ""
+ ],
+ "confident": [
+ ""
+ ],
+ "😎 Confident": [
+ ""
+ ],
+ "witty": [
+ ""
+ ],
+ "🤣 Witty": [
+ ""
+ ],
+ "heartfelt": [
+ ""
+ ],
+ "🤗 Heartfelt": [
+ ""
+ ],
+ "chinese": [
+ ""
+ ],
+ "🇨🇳 Chinese": [
+ ""
+ ],
+ "dutch": [
+ ""
+ ],
+ "🇳🇱 Dutch": [
+ ""
+ ],
+ "english": [
+ ""
+ ],
+ "🇺🇸 English": [
+ ""
+ ],
+ "filipino": [
+ ""
+ ],
+ "🇵🇭 Filipino": [
+ ""
+ ],
+ "french": [
+ ""
+ ],
+ "🇫🇷 French": [
+ ""
+ ],
+ "german": [
+ ""
+ ],
+ "🇩🇪 German": [
+ ""
+ ],
+ "indonesian": [
+ ""
+ ],
+ "🇮🇩 Indonesian": [
+ ""
+ ],
+ "italian": [
+ ""
+ ],
+ "🇮🇹 Italian": [
+ ""
+ ],
+ "japanese": [
+ ""
+ ],
+ "🇯🇵 Japanese": [
+ ""
+ ],
+ "korean": [
+ ""
+ ],
+ "🇰🇷 Korean": [
+ ""
+ ],
+ "portuguese": [
+ ""
+ ],
+ "🇵🇹 Portuguese": [
+ ""
+ ],
+ "russian": [
+ ""
+ ],
+ "🇷🇺 Russian": [
+ ""
+ ],
+ "spanish": [
+ ""
+ ],
+ "🇪🇸 Spanish": [
+ ""
+ ],
+ "vietnamese": [
+ ""
+ ],
+ "🇻🇳 Vietnamese": [
+ ""
+ ],
+ "Improve writing language": [
+ ""
+ ],
+ "Improve": [
+ ""
+ ],
+ "Fix spelling and grammar": [
+ ""
+ ],
+ "Fix Spelling & Grammar": [
+ ""
+ ],
+ "Make shorter": [
+ ""
+ ],
+ "Make Shorter": [
+ ""
+ ],
+ "Make longer": [
+ ""
+ ],
+ "Make Longer": [
+ ""
+ ],
+ "Summarize": [
+ ""
+ ],
+ "Paraphrase": [
+ ""
+ ],
+ "Adjust Tone": [
+ ""
+ ],
+ "Change tone to %s": [
+ ""
+ ],
+ "Translate": [
+ ""
+ ],
+ "Translate to %s": [
+ ""
+ ],
+ "Post Presets": [
+ ""
+ ],
+ "Post title about…": [
+ ""
+ ],
+ "Write a post title about ": [
+ ""
+ ],
+ "Post about…": [
+ ""
+ ],
+ "Write a blog post about ": [
+ ""
+ ],
+ "Outline about…": [
+ ""
+ ],
+ "Write a blog post outline about ": [
+ ""
+ ],
+ "Content Presets": [
+ ""
+ ],
+ "Paragraph about…": [
+ ""
+ ],
+ "Create a paragraph about ": [
+ ""
+ ],
+ "List about…": [
+ ""
+ ],
+ "Create a list about ": [
+ ""
+ ],
+ "Table about…": [
+ ""
+ ],
+ "Create a table about ": [
+ ""
+ ],
+ "Waiting for AI response": [
+ ""
+ ],
+ "Get Answer": [
+ ""
+ ],
+ "Regenerate": [
+ ""
+ ],
+ "Copy": [
+ ""
+ ],
+ "Insert": [
+ ""
+ ],
+ "Ask AI to write anything…": [
+ ""
+ ],
+ "OpenAI Key": [
+ ""
+ ],
+ "In order to use Mind, you will need to provide your OpenAI API key. Please insert your API key in the plugin settings to get started.": [
+ ""
+ ],
+ "Go to Settings": [
+ ""
+ ]
+ }
+ }
+}
\ No newline at end of file
diff --git a/languages/mind.pot b/languages/mind.pot
new file mode 100644
index 0000000..7bc7c26
--- /dev/null
+++ b/languages/mind.pot
@@ -0,0 +1,447 @@
+# Copyright (C) 2024 Mind Team
+# This file is distributed under the GPLv2 or later.
+msgid ""
+msgstr ""
+"Project-Id-Version: AI Mind 0.1.1\n"
+"Report-Msgid-Bugs-To: https://github.com/nk-crew/mind/issues\n"
+"Last-Translator: Lazy Blocks Team\n"
+"Language-Team: LANGUAGE \n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"POT-Creation-Date: 2024-11-27T17:58:33+00:00\n"
+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
+"X-Generator: WP-CLI 2.11.0\n"
+"X-Domain: mind\n"
+
+#. Plugin Name of the plugin
+#: mind.php
+msgid "AI Mind"
+msgstr ""
+
+#. Description of the plugin
+#: mind.php
+msgid "Content Assistant Plugin based on OpenAI. Write, improve, rewrite, rephrase, change the tone of your blog posts, and more."
+msgstr ""
+
+#. Author of the plugin
+#: mind.php
+msgid "Mind Team"
+msgstr ""
+
+#. Author URI of the plugin
+#: mind.php
+msgid "https://www.wp-mind.com/"
+msgstr ""
+
+#: classes/class-admin.php:59
+#: classes/class-admin.php:60
+#: mind.php:87
+#: src/admin/index.js:121
+msgid "Mind"
+msgstr ""
+
+#: classes/class-admin.php:72
+#: src/admin/pages/index.js:14
+msgid "Welcome"
+msgstr ""
+
+#: classes/class-admin.php:79
+#: src/admin/pages/index.js:18
+msgid "Settings"
+msgstr ""
+
+#: classes/class-admin.php:86
+#: src/admin/pages/index.js:22
+msgid "Discussions"
+msgstr ""
+
+#: classes/class-rest.php:73
+msgid "User don't have permissions to change options."
+msgstr ""
+
+#: classes/class-rest.php:86
+msgid "You don't have permissions to request Mind API."
+msgstr ""
+
+#: classes/class-rest.php:125
+msgid "Provide OpenAI key in the plugin settings."
+msgstr ""
+
+#: classes/class-rest.php:129
+msgid "Provide request to receive AI response."
+msgstr ""
+
+#: classes/class-rest.php:226
+msgid "OpenAI data failed to load."
+msgstr ""
+
+#: src/admin/page-settings/index.js:58
+msgid "OpenAI API Key"
+msgstr ""
+
+#: src/admin/page-settings/index.js:61
+msgid "This setting is required, since our plugin works with OpenAI."
+msgstr ""
+
+#: src/admin/page-settings/index.js:70
+msgid "Create API key"
+msgstr ""
+
+#: src/admin/page-settings/index.js:84
+msgid "Enter API key"
+msgstr ""
+
+#: src/admin/page-settings/index.js:96
+msgid "Please enter a valid API key"
+msgstr ""
+
+#: src/admin/page-settings/index.js:119
+msgid "Save Changes"
+msgstr ""
+
+#. translators: %s - Mind logo.
+#: src/admin/page-welcome/index.js:34
+msgid "Hello, my name is %s"
+msgstr ""
+
+#: src/admin/page-welcome/index.js:40
+msgid "I am an AI assistant designed to help you in writing content for your blog"
+msgstr ""
+
+#: src/admin/page-welcome/index.js:48
+msgid "To get started, open the page editor and click on the \"Open Mind\" button in the toolbar"
+msgstr ""
+
+#: src/admin/page-welcome/index.js:56
+msgid "To get started, enter your"
+msgstr ""
+
+#: src/admin/page-welcome/index.js:63
+msgid "OpenAI API key →"
+msgstr ""
+
+#: src/admin/store/settings/actions.js:35
+#: src/editor/store/popup/actions.js:119
+msgid "Something went wrong, please, try again…"
+msgstr ""
+
+#: src/editor/extensions/block-toolbar/index.js:40
+msgid "professional"
+msgstr ""
+
+#: src/editor/extensions/block-toolbar/index.js:40
+msgid "🧐 Professional"
+msgstr ""
+
+#: src/editor/extensions/block-toolbar/index.js:41
+msgid "friendly"
+msgstr ""
+
+#: src/editor/extensions/block-toolbar/index.js:41
+msgid "😀 Friendly"
+msgstr ""
+
+#: src/editor/extensions/block-toolbar/index.js:42
+msgid "straightforward"
+msgstr ""
+
+#: src/editor/extensions/block-toolbar/index.js:42
+msgid "🙂 Straightforward"
+msgstr ""
+
+#: src/editor/extensions/block-toolbar/index.js:43
+msgid "educational"
+msgstr ""
+
+#: src/editor/extensions/block-toolbar/index.js:43
+msgid "🎓 Educational"
+msgstr ""
+
+#: src/editor/extensions/block-toolbar/index.js:44
+msgid "confident"
+msgstr ""
+
+#: src/editor/extensions/block-toolbar/index.js:44
+msgid "😎 Confident"
+msgstr ""
+
+#: src/editor/extensions/block-toolbar/index.js:45
+msgid "witty"
+msgstr ""
+
+#: src/editor/extensions/block-toolbar/index.js:45
+msgid "🤣 Witty"
+msgstr ""
+
+#: src/editor/extensions/block-toolbar/index.js:46
+msgid "heartfelt"
+msgstr ""
+
+#: src/editor/extensions/block-toolbar/index.js:46
+msgid "🤗 Heartfelt"
+msgstr ""
+
+#: src/editor/extensions/block-toolbar/index.js:50
+msgid "chinese"
+msgstr ""
+
+#: src/editor/extensions/block-toolbar/index.js:50
+msgid "🇨🇳 Chinese"
+msgstr ""
+
+#: src/editor/extensions/block-toolbar/index.js:51
+msgid "dutch"
+msgstr ""
+
+#: src/editor/extensions/block-toolbar/index.js:51
+msgid "🇳🇱 Dutch"
+msgstr ""
+
+#: src/editor/extensions/block-toolbar/index.js:52
+msgid "english"
+msgstr ""
+
+#: src/editor/extensions/block-toolbar/index.js:52
+msgid "🇺🇸 English"
+msgstr ""
+
+#: src/editor/extensions/block-toolbar/index.js:53
+msgid "filipino"
+msgstr ""
+
+#: src/editor/extensions/block-toolbar/index.js:53
+msgid "🇵🇭 Filipino"
+msgstr ""
+
+#: src/editor/extensions/block-toolbar/index.js:54
+msgid "french"
+msgstr ""
+
+#: src/editor/extensions/block-toolbar/index.js:54
+msgid "🇫🇷 French"
+msgstr ""
+
+#: src/editor/extensions/block-toolbar/index.js:55
+msgid "german"
+msgstr ""
+
+#: src/editor/extensions/block-toolbar/index.js:55
+msgid "🇩🇪 German"
+msgstr ""
+
+#: src/editor/extensions/block-toolbar/index.js:56
+msgid "indonesian"
+msgstr ""
+
+#: src/editor/extensions/block-toolbar/index.js:56
+msgid "🇮🇩 Indonesian"
+msgstr ""
+
+#: src/editor/extensions/block-toolbar/index.js:57
+msgid "italian"
+msgstr ""
+
+#: src/editor/extensions/block-toolbar/index.js:57
+msgid "🇮🇹 Italian"
+msgstr ""
+
+#: src/editor/extensions/block-toolbar/index.js:58
+msgid "japanese"
+msgstr ""
+
+#: src/editor/extensions/block-toolbar/index.js:58
+msgid "🇯🇵 Japanese"
+msgstr ""
+
+#: src/editor/extensions/block-toolbar/index.js:59
+msgid "korean"
+msgstr ""
+
+#: src/editor/extensions/block-toolbar/index.js:59
+msgid "🇰🇷 Korean"
+msgstr ""
+
+#: src/editor/extensions/block-toolbar/index.js:60
+msgid "portuguese"
+msgstr ""
+
+#: src/editor/extensions/block-toolbar/index.js:60
+msgid "🇵🇹 Portuguese"
+msgstr ""
+
+#: src/editor/extensions/block-toolbar/index.js:61
+msgid "russian"
+msgstr ""
+
+#: src/editor/extensions/block-toolbar/index.js:61
+msgid "🇷🇺 Russian"
+msgstr ""
+
+#: src/editor/extensions/block-toolbar/index.js:62
+msgid "spanish"
+msgstr ""
+
+#: src/editor/extensions/block-toolbar/index.js:62
+msgid "🇪🇸 Spanish"
+msgstr ""
+
+#: src/editor/extensions/block-toolbar/index.js:63
+msgid "vietnamese"
+msgstr ""
+
+#: src/editor/extensions/block-toolbar/index.js:63
+msgid "🇻🇳 Vietnamese"
+msgstr ""
+
+#: src/editor/extensions/block-toolbar/index.js:105
+msgid "Improve writing language"
+msgstr ""
+
+#: src/editor/extensions/block-toolbar/index.js:112
+msgid "Improve"
+msgstr ""
+
+#: src/editor/extensions/block-toolbar/index.js:119
+msgid "Fix spelling and grammar"
+msgstr ""
+
+#: src/editor/extensions/block-toolbar/index.js:126
+msgid "Fix Spelling & Grammar"
+msgstr ""
+
+#: src/editor/extensions/block-toolbar/index.js:132
+msgid "Make shorter"
+msgstr ""
+
+#: src/editor/extensions/block-toolbar/index.js:135
+msgid "Make Shorter"
+msgstr ""
+
+#: src/editor/extensions/block-toolbar/index.js:141
+msgid "Make longer"
+msgstr ""
+
+#: src/editor/extensions/block-toolbar/index.js:144
+msgid "Make Longer"
+msgstr ""
+
+#: src/editor/extensions/block-toolbar/index.js:150
+#: src/editor/extensions/block-toolbar/index.js:153
+msgid "Summarize"
+msgstr ""
+
+#: src/editor/extensions/block-toolbar/index.js:159
+#: src/editor/extensions/block-toolbar/index.js:162
+msgid "Paraphrase"
+msgstr ""
+
+#: src/editor/extensions/block-toolbar/index.js:172
+msgid "Adjust Tone"
+msgstr ""
+
+#. translators: %s - tone.
+#: src/editor/extensions/block-toolbar/index.js:199
+msgid "Change tone to %s"
+msgstr ""
+
+#: src/editor/extensions/block-toolbar/index.js:226
+msgid "Translate"
+msgstr ""
+
+#. translators: %s - tone.
+#: src/editor/extensions/block-toolbar/index.js:253
+msgid "Translate to %s"
+msgstr ""
+
+#: src/editor/popup/components/content/index.js:26
+msgid "Post Presets"
+msgstr ""
+
+#: src/editor/popup/components/content/index.js:30
+msgid "Post title about…"
+msgstr ""
+
+#: src/editor/popup/components/content/index.js:31
+msgid "Write a post title about "
+msgstr ""
+
+#: src/editor/popup/components/content/index.js:36
+msgid "Post about…"
+msgstr ""
+
+#: src/editor/popup/components/content/index.js:37
+msgid "Write a blog post about "
+msgstr ""
+
+#: src/editor/popup/components/content/index.js:42
+msgid "Outline about…"
+msgstr ""
+
+#: src/editor/popup/components/content/index.js:43
+msgid "Write a blog post outline about "
+msgstr ""
+
+#: src/editor/popup/components/content/index.js:49
+msgid "Content Presets"
+msgstr ""
+
+#: src/editor/popup/components/content/index.js:53
+msgid "Paragraph about…"
+msgstr ""
+
+#: src/editor/popup/components/content/index.js:54
+msgid "Create a paragraph about "
+msgstr ""
+
+#: src/editor/popup/components/content/index.js:59
+msgid "List about…"
+msgstr ""
+
+#: src/editor/popup/components/content/index.js:60
+msgid "Create a list about "
+msgstr ""
+
+#: src/editor/popup/components/content/index.js:65
+msgid "Table about…"
+msgstr ""
+
+#: src/editor/popup/components/content/index.js:66
+msgid "Create a table about "
+msgstr ""
+
+#: src/editor/popup/components/content/index.js:161
+msgid "Waiting for AI response"
+msgstr ""
+
+#: src/editor/popup/components/footer/index.js:43
+msgid "Get Answer"
+msgstr ""
+
+#: src/editor/popup/components/footer/index.js:54
+msgid "Regenerate"
+msgstr ""
+
+#: src/editor/popup/components/footer/index.js:65
+msgid "Copy"
+msgstr ""
+
+#: src/editor/popup/components/footer/index.js:68
+msgid "Insert"
+msgstr ""
+
+#: src/editor/popup/components/input/index.js:107
+msgid "Ask AI to write anything…"
+msgstr ""
+
+#: src/editor/popup/components/not-connected-screen/index.js:30
+msgid "OpenAI Key"
+msgstr ""
+
+#: src/editor/popup/components/not-connected-screen/index.js:34
+msgid "In order to use Mind, you will need to provide your OpenAI API key. Please insert your API key in the plugin settings to get started."
+msgstr ""
+
+#: src/editor/popup/components/not-connected-screen/index.js:45
+msgid "Go to Settings"
+msgstr ""
diff --git a/package-lock.json b/package-lock.json
index 79904d5..6664cd3 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -1,12 +1,12 @@
{
"name": "mind",
- "version": "0.1.0",
+ "version": "0.1.1",
"lockfileVersion": 3,
"requires": true,
"packages": {
"": {
"name": "mind",
- "version": "0.1.0",
+ "version": "0.1.1",
"license": "GPL-2.0-or-later",
"dependencies": {
"clsx": "^2.0.0",
@@ -18,6 +18,7 @@
"@wordpress/prettier-config": "^3.2.0",
"@wordpress/scripts": "^26.16.0",
"@wordpress/stylelint-config": "^21.28.0",
+ "po2json": "^0.4.5",
"prettier": "^3.1.0"
}
},
@@ -6044,9 +6045,9 @@
}
},
"node_modules/caniuse-lite": {
- "version": "1.0.30001562",
- "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001562.tgz",
- "integrity": "sha512-kfte3Hym//51EdX4239i+Rmp20EsLIYGdPkERegTgU19hQWCRhsRFGKHTliUlsry53tv17K7n077Kqa0WJU4ng==",
+ "version": "1.0.30001684",
+ "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001684.tgz",
+ "integrity": "sha512-G1LRwLIQjBQoyq0ZJGqGIJUXzJ8irpbjHLpVRXDvBEScFJ9b17sgK6vlx0GAJFE21okD7zXl08rRRUfq6HdoEQ==",
"dev": true,
"funding": [
{
@@ -9897,6 +9898,15 @@
"url": "https://github.com/sponsors/ljharb"
}
},
+ "node_modules/has-color": {
+ "version": "0.1.7",
+ "resolved": "https://registry.npmjs.org/has-color/-/has-color-0.1.7.tgz",
+ "integrity": "sha512-kaNz5OTAYYmt646Hkqw50/qyxP2vFnTVu5AQ1Zmk22Kk5+4Qx6BpO8+u7IKsML5fOsFk0ZT0AcCJNYwcvaLBvw==",
+ "dev": true,
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
"node_modules/has-flag": {
"version": "4.0.0",
"resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz",
@@ -13076,6 +13086,52 @@
"integrity": "sha512-uYr7J37ae/ORWdZeQ1xxMJe3NtdmqMC/JZK+geofDrkLUApKRHPd18/TxtBOJ4A0/+uUIliorNrfYV6s1b02eQ==",
"dev": true
},
+ "node_modules/nomnom": {
+ "version": "1.8.1",
+ "resolved": "https://registry.npmjs.org/nomnom/-/nomnom-1.8.1.tgz",
+ "integrity": "sha512-5s0JxqhDx9/rksG2BTMVN1enjWSvPidpoSgViZU4ZXULyTe+7jxcCRLB6f42Z0l1xYJpleCBtSyY6Lwg3uu5CQ==",
+ "deprecated": "Package no longer supported. Contact support@npmjs.com for more info.",
+ "dev": true,
+ "dependencies": {
+ "chalk": "~0.4.0",
+ "underscore": "~1.6.0"
+ }
+ },
+ "node_modules/nomnom/node_modules/ansi-styles": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-1.0.0.tgz",
+ "integrity": "sha512-3iF4FIKdxaVYT3JqQuY3Wat/T2t7TRbbQ94Fu50ZUCbLy4TFbTzr90NOHQodQkNqmeEGCw8WbeP78WNi6SKYUA==",
+ "dev": true,
+ "engines": {
+ "node": ">=0.8.0"
+ }
+ },
+ "node_modules/nomnom/node_modules/chalk": {
+ "version": "0.4.0",
+ "resolved": "https://registry.npmjs.org/chalk/-/chalk-0.4.0.tgz",
+ "integrity": "sha512-sQfYDlfv2DGVtjdoQqxS0cEZDroyG8h6TamA6rvxwlrU5BaSLDx9xhatBYl2pxZ7gmpNaPFVwBtdGdu5rQ+tYQ==",
+ "dev": true,
+ "dependencies": {
+ "ansi-styles": "~1.0.0",
+ "has-color": "~0.1.0",
+ "strip-ansi": "~0.1.0"
+ },
+ "engines": {
+ "node": ">=0.8.0"
+ }
+ },
+ "node_modules/nomnom/node_modules/strip-ansi": {
+ "version": "0.1.1",
+ "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-0.1.1.tgz",
+ "integrity": "sha512-behete+3uqxecWlDAm5lmskaSaISA+ThQ4oNNBDTBJt0x2ppR6IPqfZNuj6BLaLJ/Sji4TPZlcRyOis8wXQTLg==",
+ "dev": true,
+ "bin": {
+ "strip-ansi": "cli.js"
+ },
+ "engines": {
+ "node": ">=0.8.0"
+ }
+ },
"node_modules/normalize-package-data": {
"version": "3.0.3",
"resolved": "https://registry.npmjs.org/normalize-package-data/-/normalize-package-data-3.0.3.tgz",
@@ -14030,6 +14086,31 @@
"url": "https://github.com/sponsors/sindresorhus"
}
},
+ "node_modules/po2json": {
+ "version": "0.4.5",
+ "resolved": "https://registry.npmjs.org/po2json/-/po2json-0.4.5.tgz",
+ "integrity": "sha512-JH0hgi1fC0t9UvdiyS7kcVly0N1WNey4R2YZ/jPaxQKYm6Cfej7ZTgiEy8LP2JwoEhONceiNS8JH5mWPQkiXeA==",
+ "dev": true,
+ "dependencies": {
+ "gettext-parser": "1.1.0",
+ "nomnom": "1.8.1"
+ },
+ "bin": {
+ "po2json": "bin/po2json"
+ },
+ "engines": {
+ "node": ">= 0.8.0"
+ }
+ },
+ "node_modules/po2json/node_modules/gettext-parser": {
+ "version": "1.1.0",
+ "resolved": "https://registry.npmjs.org/gettext-parser/-/gettext-parser-1.1.0.tgz",
+ "integrity": "sha512-zL3eayB0jF+cr6vogH/VJKoKcj7uQj2TPByaaj6a4k/3elk9iq7fiwCM2FqdzS/umo021RetSanVisarzeb9Wg==",
+ "dev": true,
+ "dependencies": {
+ "encoding": "^0.1.11"
+ }
+ },
"node_modules/postcss": {
"version": "8.4.31",
"resolved": "https://registry.npmjs.org/postcss/-/postcss-8.4.31.tgz",
@@ -17354,6 +17435,12 @@
"through": "^2.3.8"
}
},
+ "node_modules/underscore": {
+ "version": "1.6.0",
+ "resolved": "https://registry.npmjs.org/underscore/-/underscore-1.6.0.tgz",
+ "integrity": "sha512-z4o1fvKUojIWh9XuaVLUDdf86RQiq13AC1dmHbTpoyuu+bquHms76v16CjycCbec87J7z0k//SiQVk0sMdFmpQ==",
+ "dev": true
+ },
"node_modules/unicode-canonical-property-names-ecmascript": {
"version": "2.0.0",
"resolved": "https://registry.npmjs.org/unicode-canonical-property-names-ecmascript/-/unicode-canonical-property-names-ecmascript-2.0.0.tgz",
diff --git a/package.json b/package.json
index d22715c..6bc8a8c 100644
--- a/package.json
+++ b/package.json
@@ -14,10 +14,12 @@
"scripts": {
"dev": "wp-scripts start --hot --progress",
"build": "wp-scripts build --progress",
- "build:prod": "npm run build && npm run plugin-zip",
+ "build:prod": "npm run make-pot && npm run make-json && npm run build && npm run plugin-zip",
"lint:css": "wp-scripts lint-style",
"lint:js": "wp-scripts lint-js",
"lint:php": "composer run phpcs",
+ "make-pot": "composer wp -- i18n make-pot ./ ./languages/mind.pot --skip-audit --exclude=vendor,vendors,tests,node_modules,build,dist-zip --headers='{\"Last-Translator\":\"Lazy Blocks Team\",\"Report-Msgid-Bugs-To\":\"https://github.com/nk-crew/mind/issues\"}'",
+ "make-json": "po2json ./languages/mind.pot ./languages/mind.json --format=jed1.x --pretty --domain=mind",
"packages-update": "wp-scripts packages-update",
"plugin-zip": "wp-scripts plugin-zip"
},
@@ -26,6 +28,7 @@
"@wordpress/prettier-config": "^3.2.0",
"@wordpress/scripts": "^26.16.0",
"@wordpress/stylelint-config": "^21.28.0",
+ "po2json": "^0.4.5",
"prettier": "^3.1.0"
},
"dependencies": {