diff --git a/README.md b/README.md
index 807d346..e4e8034 100644
--- a/README.md
+++ b/README.md
@@ -101,6 +101,10 @@ Sure! You are welcome to report any issues or add feature suggestions on the [Gi
## Changelog
+### 1.2.2
+
+* Add prepare to print out to root translation preview row.
+
### 1.2.1
* Fix missing version number.
diff --git a/gp-convert-pt-ao90.php b/gp-convert-pt-ao90.php
index b1a16b5..b3bfe26 100644
--- a/gp-convert-pt-ao90.php
+++ b/gp-convert-pt-ao90.php
@@ -19,7 +19,7 @@
* GitHub Plugin URI: https://github.com/pedro-mendonca/GP-Convert-PT-AO90
* Primary Branch: main
* Description: Language tool for GlotPress to convert text according to the Portuguese Language Orthographic Agreement of 1990 (PT AO90).
- * Version: 1.2.1
+ * Version: 1.2.2
* Requires at least: 5.3
* Tested up to: 6.0
* Requires PHP: 7.2
diff --git a/gp-templates/translation-row-preview.php b/gp-templates/translation-row-preview.php
index 4c175c6..6bb4e06 100644
--- a/gp-templates/translation-row-preview.php
+++ b/gp-templates/translation-row-preview.php
@@ -54,10 +54,10 @@
$singular_translation = esc_translation( $translation->translations[0] );
// Check if has root.
if ( isset( $translation->root_id ) ) {
- $singular_translation = prepare_original( GP_Convert_PT_AO90\Portuguese_AO90::highlight_diff( esc_translation( $translation->root_translation_0 ), esc_translation( $translation->translations[0] ) ) );
+ $singular_translation = GP_Convert_PT_AO90\Portuguese_AO90::highlight_diff( esc_translation( $translation->root_translation_0 ), esc_translation( $translation->translations[0] ) );
}
// phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
- echo '' . $singular_translation . '';
+ echo '' . prepare_original( $singular_translation ) . '';
else :
?>
@@ -71,10 +71,10 @@
$plural_translation = esc_translation( $current_translation );
// Check if has root.
if ( isset( $translation->root_id ) ) {
- $plural_translation = prepare_original( GP_Convert_PT_AO90\Portuguese_AO90::highlight_diff( esc_translation( $translation->{ 'root_translation_' . $key } ), esc_translation( $current_translation ) ) );
+ $plural_translation = GP_Convert_PT_AO90\Portuguese_AO90::highlight_diff( esc_translation( $translation->{ 'root_translation_' . $key } ), esc_translation( $current_translation ) );
}
// phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
- echo '' . $plural_translation . '';
+ echo '' . prepare_original( $plural_translation ) . '';
}
?>
diff --git a/package-lock.json b/package-lock.json
index 8fde97c..afce22f 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -1,12 +1,12 @@
{
"name": "gp-convert-pt-ao90",
- "version": "1.2.1",
+ "version": "1.2.2",
"lockfileVersion": 2,
"requires": true,
"packages": {
"": {
"name": "gp-convert-pt-ao90",
- "version": "1.2.1",
+ "version": "1.2.2",
"license": "GPL-2.0-or-later",
"devDependencies": {
"@wordpress/scripts": "^24.3.0"
@@ -3358,14 +3358,14 @@
}
},
"node_modules/@typescript-eslint/eslint-plugin": {
- "version": "5.39.0",
- "resolved": "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-5.39.0.tgz",
- "integrity": "sha512-xVfKOkBm5iWMNGKQ2fwX5GVgBuHmZBO1tCRwXmY5oAIsPscfwm2UADDuNB8ZVYCtpQvJK4xpjrK7jEhcJ0zY9A==",
+ "version": "5.40.0",
+ "resolved": "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-5.40.0.tgz",
+ "integrity": "sha512-FIBZgS3DVJgqPwJzvZTuH4HNsZhHMa9SjxTKAZTlMsPw/UzpEjcf9f4dfgDJEHjK+HboUJo123Eshl6niwEm/Q==",
"dev": true,
"dependencies": {
- "@typescript-eslint/scope-manager": "5.39.0",
- "@typescript-eslint/type-utils": "5.39.0",
- "@typescript-eslint/utils": "5.39.0",
+ "@typescript-eslint/scope-manager": "5.40.0",
+ "@typescript-eslint/type-utils": "5.40.0",
+ "@typescript-eslint/utils": "5.40.0",
"debug": "^4.3.4",
"ignore": "^5.2.0",
"regexpp": "^3.2.0",
@@ -3423,12 +3423,12 @@
"dev": true
},
"node_modules/@typescript-eslint/experimental-utils": {
- "version": "5.39.0",
- "resolved": "https://registry.npmjs.org/@typescript-eslint/experimental-utils/-/experimental-utils-5.39.0.tgz",
- "integrity": "sha512-n5N9kG/oGu2xXhHzsWzn94s6CWoiUj59FPU2dF2IQZxPftw+q6Jm5sV2vj5qTgAElRooHhrgtl2gxBQDCPt6WA==",
+ "version": "5.40.0",
+ "resolved": "https://registry.npmjs.org/@typescript-eslint/experimental-utils/-/experimental-utils-5.40.0.tgz",
+ "integrity": "sha512-wDYn3NYqVOmJI4iSkyWxXUu8Xoa4+OCh97YOXZecMCuXFIgCuxOCOlkR4kZyeXWNrulFyXPcXSbs4USb5IwI8g==",
"dev": true,
"dependencies": {
- "@typescript-eslint/utils": "5.39.0"
+ "@typescript-eslint/utils": "5.40.0"
},
"engines": {
"node": "^12.22.0 || ^14.17.0 || >=16.0.0"
@@ -3442,14 +3442,14 @@
}
},
"node_modules/@typescript-eslint/parser": {
- "version": "5.39.0",
- "resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-5.39.0.tgz",
- "integrity": "sha512-PhxLjrZnHShe431sBAGHaNe6BDdxAASDySgsBCGxcBecVCi8NQWxQZMcizNA4g0pN51bBAn/FUfkWG3SDVcGlA==",
+ "version": "5.40.0",
+ "resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-5.40.0.tgz",
+ "integrity": "sha512-Ah5gqyX2ySkiuYeOIDg7ap51/b63QgWZA7w6AHtFrag7aH0lRQPbLzUjk0c9o5/KZ6JRkTTDKShL4AUrQa6/hw==",
"dev": true,
"dependencies": {
- "@typescript-eslint/scope-manager": "5.39.0",
- "@typescript-eslint/types": "5.39.0",
- "@typescript-eslint/typescript-estree": "5.39.0",
+ "@typescript-eslint/scope-manager": "5.40.0",
+ "@typescript-eslint/types": "5.40.0",
+ "@typescript-eslint/typescript-estree": "5.40.0",
"debug": "^4.3.4"
},
"engines": {
@@ -3469,13 +3469,13 @@
}
},
"node_modules/@typescript-eslint/scope-manager": {
- "version": "5.39.0",
- "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-5.39.0.tgz",
- "integrity": "sha512-/I13vAqmG3dyqMVSZPjsbuNQlYS082Y7OMkwhCfLXYsmlI0ca4nkL7wJ/4gjX70LD4P8Hnw1JywUVVAwepURBw==",
+ "version": "5.40.0",
+ "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-5.40.0.tgz",
+ "integrity": "sha512-d3nPmjUeZtEWRvyReMI4I1MwPGC63E8pDoHy0BnrYjnJgilBD3hv7XOiETKLY/zTwI7kCnBDf2vWTRUVpYw0Uw==",
"dev": true,
"dependencies": {
- "@typescript-eslint/types": "5.39.0",
- "@typescript-eslint/visitor-keys": "5.39.0"
+ "@typescript-eslint/types": "5.40.0",
+ "@typescript-eslint/visitor-keys": "5.40.0"
},
"engines": {
"node": "^12.22.0 || ^14.17.0 || >=16.0.0"
@@ -3486,13 +3486,13 @@
}
},
"node_modules/@typescript-eslint/type-utils": {
- "version": "5.39.0",
- "resolved": "https://registry.npmjs.org/@typescript-eslint/type-utils/-/type-utils-5.39.0.tgz",
- "integrity": "sha512-KJHJkOothljQWzR3t/GunL0TPKY+fGJtnpl+pX+sJ0YiKTz3q2Zr87SGTmFqsCMFrLt5E0+o+S6eQY0FAXj9uA==",
+ "version": "5.40.0",
+ "resolved": "https://registry.npmjs.org/@typescript-eslint/type-utils/-/type-utils-5.40.0.tgz",
+ "integrity": "sha512-nfuSdKEZY2TpnPz5covjJqav+g5qeBqwSHKBvz7Vm1SAfy93SwKk/JeSTymruDGItTwNijSsno5LhOHRS1pcfw==",
"dev": true,
"dependencies": {
- "@typescript-eslint/typescript-estree": "5.39.0",
- "@typescript-eslint/utils": "5.39.0",
+ "@typescript-eslint/typescript-estree": "5.40.0",
+ "@typescript-eslint/utils": "5.40.0",
"debug": "^4.3.4",
"tsutils": "^3.21.0"
},
@@ -3513,9 +3513,9 @@
}
},
"node_modules/@typescript-eslint/types": {
- "version": "5.39.0",
- "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-5.39.0.tgz",
- "integrity": "sha512-gQMZrnfEBFXK38hYqt8Lkwt8f4U6yq+2H5VDSgP/qiTzC8Nw8JO3OuSUOQ2qW37S/dlwdkHDntkZM6SQhKyPhw==",
+ "version": "5.40.0",
+ "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-5.40.0.tgz",
+ "integrity": "sha512-V1KdQRTXsYpf1Y1fXCeZ+uhjW48Niiw0VGt4V8yzuaDTU8Z1Xl7yQDyQNqyAFcVhpYXIVCEuxSIWTsLDpHgTbw==",
"dev": true,
"engines": {
"node": "^12.22.0 || ^14.17.0 || >=16.0.0"
@@ -3526,13 +3526,13 @@
}
},
"node_modules/@typescript-eslint/typescript-estree": {
- "version": "5.39.0",
- "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-5.39.0.tgz",
- "integrity": "sha512-qLFQP0f398sdnogJoLtd43pUgB18Q50QSA+BTE5h3sUxySzbWDpTSdgt4UyxNSozY/oDK2ta6HVAzvGgq8JYnA==",
+ "version": "5.40.0",
+ "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-5.40.0.tgz",
+ "integrity": "sha512-b0GYlDj8TLTOqwX7EGbw2gL5EXS2CPEWhF9nGJiGmEcmlpNBjyHsTwbqpyIEPVpl6br4UcBOYlcI2FJVtJkYhg==",
"dev": true,
"dependencies": {
- "@typescript-eslint/types": "5.39.0",
- "@typescript-eslint/visitor-keys": "5.39.0",
+ "@typescript-eslint/types": "5.40.0",
+ "@typescript-eslint/visitor-keys": "5.40.0",
"debug": "^4.3.4",
"globby": "^11.1.0",
"is-glob": "^4.0.3",
@@ -3586,17 +3586,18 @@
"dev": true
},
"node_modules/@typescript-eslint/utils": {
- "version": "5.39.0",
- "resolved": "https://registry.npmjs.org/@typescript-eslint/utils/-/utils-5.39.0.tgz",
- "integrity": "sha512-+DnY5jkpOpgj+EBtYPyHRjXampJfC0yUZZzfzLuUWVZvCuKqSdJVC8UhdWipIw7VKNTfwfAPiOWzYkAwuIhiAg==",
+ "version": "5.40.0",
+ "resolved": "https://registry.npmjs.org/@typescript-eslint/utils/-/utils-5.40.0.tgz",
+ "integrity": "sha512-MO0y3T5BQ5+tkkuYZJBjePewsY+cQnfkYeRqS6tPh28niiIwPnQ1t59CSRcs1ZwJJNOdWw7rv9pF8aP58IMihA==",
"dev": true,
"dependencies": {
"@types/json-schema": "^7.0.9",
- "@typescript-eslint/scope-manager": "5.39.0",
- "@typescript-eslint/types": "5.39.0",
- "@typescript-eslint/typescript-estree": "5.39.0",
+ "@typescript-eslint/scope-manager": "5.40.0",
+ "@typescript-eslint/types": "5.40.0",
+ "@typescript-eslint/typescript-estree": "5.40.0",
"eslint-scope": "^5.1.1",
- "eslint-utils": "^3.0.0"
+ "eslint-utils": "^3.0.0",
+ "semver": "^7.3.7"
},
"engines": {
"node": "^12.22.0 || ^14.17.0 || >=16.0.0"
@@ -3609,13 +3610,46 @@
"eslint": "^6.0.0 || ^7.0.0 || ^8.0.0"
}
},
+ "node_modules/@typescript-eslint/utils/node_modules/lru-cache": {
+ "version": "6.0.0",
+ "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-6.0.0.tgz",
+ "integrity": "sha512-Jo6dJ04CmSjuznwJSS3pUeWmd/H0ffTlkXXgwZi+eq1UCmqQwCh+eLsYOYCwY991i2Fah4h1BEMCx4qThGbsiA==",
+ "dev": true,
+ "dependencies": {
+ "yallist": "^4.0.0"
+ },
+ "engines": {
+ "node": ">=10"
+ }
+ },
+ "node_modules/@typescript-eslint/utils/node_modules/semver": {
+ "version": "7.3.8",
+ "resolved": "https://registry.npmjs.org/semver/-/semver-7.3.8.tgz",
+ "integrity": "sha512-NB1ctGL5rlHrPJtFDVIVzTyQylMLu9N9VICA6HSFJo8MCGVTMW6gfpicwKmmK/dAjTOrqu5l63JJOpDSrAis3A==",
+ "dev": true,
+ "dependencies": {
+ "lru-cache": "^6.0.0"
+ },
+ "bin": {
+ "semver": "bin/semver.js"
+ },
+ "engines": {
+ "node": ">=10"
+ }
+ },
+ "node_modules/@typescript-eslint/utils/node_modules/yallist": {
+ "version": "4.0.0",
+ "resolved": "https://registry.npmjs.org/yallist/-/yallist-4.0.0.tgz",
+ "integrity": "sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==",
+ "dev": true
+ },
"node_modules/@typescript-eslint/visitor-keys": {
- "version": "5.39.0",
- "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-5.39.0.tgz",
- "integrity": "sha512-yyE3RPwOG+XJBLrhvsxAidUgybJVQ/hG8BhiJo0k8JSAYfk/CshVcxf0HwP4Jt7WZZ6vLmxdo1p6EyN3tzFTkg==",
+ "version": "5.40.0",
+ "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-5.40.0.tgz",
+ "integrity": "sha512-ijJ+6yig+x9XplEpG2K6FUdJeQGGj/15U3S56W9IqXKJqleuD7zJ2AX/miLezwxpd7ZxDAqO87zWufKg+RPZyQ==",
"dev": true,
"dependencies": {
- "@typescript-eslint/types": "5.39.0",
+ "@typescript-eslint/types": "5.40.0",
"eslint-visitor-keys": "^3.3.0"
},
"engines": {
@@ -18199,14 +18233,14 @@
}
},
"@typescript-eslint/eslint-plugin": {
- "version": "5.39.0",
- "resolved": "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-5.39.0.tgz",
- "integrity": "sha512-xVfKOkBm5iWMNGKQ2fwX5GVgBuHmZBO1tCRwXmY5oAIsPscfwm2UADDuNB8ZVYCtpQvJK4xpjrK7jEhcJ0zY9A==",
+ "version": "5.40.0",
+ "resolved": "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-5.40.0.tgz",
+ "integrity": "sha512-FIBZgS3DVJgqPwJzvZTuH4HNsZhHMa9SjxTKAZTlMsPw/UzpEjcf9f4dfgDJEHjK+HboUJo123Eshl6niwEm/Q==",
"dev": true,
"requires": {
- "@typescript-eslint/scope-manager": "5.39.0",
- "@typescript-eslint/type-utils": "5.39.0",
- "@typescript-eslint/utils": "5.39.0",
+ "@typescript-eslint/scope-manager": "5.40.0",
+ "@typescript-eslint/type-utils": "5.40.0",
+ "@typescript-eslint/utils": "5.40.0",
"debug": "^4.3.4",
"ignore": "^5.2.0",
"regexpp": "^3.2.0",
@@ -18241,62 +18275,62 @@
}
},
"@typescript-eslint/experimental-utils": {
- "version": "5.39.0",
- "resolved": "https://registry.npmjs.org/@typescript-eslint/experimental-utils/-/experimental-utils-5.39.0.tgz",
- "integrity": "sha512-n5N9kG/oGu2xXhHzsWzn94s6CWoiUj59FPU2dF2IQZxPftw+q6Jm5sV2vj5qTgAElRooHhrgtl2gxBQDCPt6WA==",
+ "version": "5.40.0",
+ "resolved": "https://registry.npmjs.org/@typescript-eslint/experimental-utils/-/experimental-utils-5.40.0.tgz",
+ "integrity": "sha512-wDYn3NYqVOmJI4iSkyWxXUu8Xoa4+OCh97YOXZecMCuXFIgCuxOCOlkR4kZyeXWNrulFyXPcXSbs4USb5IwI8g==",
"dev": true,
"requires": {
- "@typescript-eslint/utils": "5.39.0"
+ "@typescript-eslint/utils": "5.40.0"
}
},
"@typescript-eslint/parser": {
- "version": "5.39.0",
- "resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-5.39.0.tgz",
- "integrity": "sha512-PhxLjrZnHShe431sBAGHaNe6BDdxAASDySgsBCGxcBecVCi8NQWxQZMcizNA4g0pN51bBAn/FUfkWG3SDVcGlA==",
+ "version": "5.40.0",
+ "resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-5.40.0.tgz",
+ "integrity": "sha512-Ah5gqyX2ySkiuYeOIDg7ap51/b63QgWZA7w6AHtFrag7aH0lRQPbLzUjk0c9o5/KZ6JRkTTDKShL4AUrQa6/hw==",
"dev": true,
"requires": {
- "@typescript-eslint/scope-manager": "5.39.0",
- "@typescript-eslint/types": "5.39.0",
- "@typescript-eslint/typescript-estree": "5.39.0",
+ "@typescript-eslint/scope-manager": "5.40.0",
+ "@typescript-eslint/types": "5.40.0",
+ "@typescript-eslint/typescript-estree": "5.40.0",
"debug": "^4.3.4"
}
},
"@typescript-eslint/scope-manager": {
- "version": "5.39.0",
- "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-5.39.0.tgz",
- "integrity": "sha512-/I13vAqmG3dyqMVSZPjsbuNQlYS082Y7OMkwhCfLXYsmlI0ca4nkL7wJ/4gjX70LD4P8Hnw1JywUVVAwepURBw==",
+ "version": "5.40.0",
+ "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-5.40.0.tgz",
+ "integrity": "sha512-d3nPmjUeZtEWRvyReMI4I1MwPGC63E8pDoHy0BnrYjnJgilBD3hv7XOiETKLY/zTwI7kCnBDf2vWTRUVpYw0Uw==",
"dev": true,
"requires": {
- "@typescript-eslint/types": "5.39.0",
- "@typescript-eslint/visitor-keys": "5.39.0"
+ "@typescript-eslint/types": "5.40.0",
+ "@typescript-eslint/visitor-keys": "5.40.0"
}
},
"@typescript-eslint/type-utils": {
- "version": "5.39.0",
- "resolved": "https://registry.npmjs.org/@typescript-eslint/type-utils/-/type-utils-5.39.0.tgz",
- "integrity": "sha512-KJHJkOothljQWzR3t/GunL0TPKY+fGJtnpl+pX+sJ0YiKTz3q2Zr87SGTmFqsCMFrLt5E0+o+S6eQY0FAXj9uA==",
+ "version": "5.40.0",
+ "resolved": "https://registry.npmjs.org/@typescript-eslint/type-utils/-/type-utils-5.40.0.tgz",
+ "integrity": "sha512-nfuSdKEZY2TpnPz5covjJqav+g5qeBqwSHKBvz7Vm1SAfy93SwKk/JeSTymruDGItTwNijSsno5LhOHRS1pcfw==",
"dev": true,
"requires": {
- "@typescript-eslint/typescript-estree": "5.39.0",
- "@typescript-eslint/utils": "5.39.0",
+ "@typescript-eslint/typescript-estree": "5.40.0",
+ "@typescript-eslint/utils": "5.40.0",
"debug": "^4.3.4",
"tsutils": "^3.21.0"
}
},
"@typescript-eslint/types": {
- "version": "5.39.0",
- "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-5.39.0.tgz",
- "integrity": "sha512-gQMZrnfEBFXK38hYqt8Lkwt8f4U6yq+2H5VDSgP/qiTzC8Nw8JO3OuSUOQ2qW37S/dlwdkHDntkZM6SQhKyPhw==",
+ "version": "5.40.0",
+ "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-5.40.0.tgz",
+ "integrity": "sha512-V1KdQRTXsYpf1Y1fXCeZ+uhjW48Niiw0VGt4V8yzuaDTU8Z1Xl7yQDyQNqyAFcVhpYXIVCEuxSIWTsLDpHgTbw==",
"dev": true
},
"@typescript-eslint/typescript-estree": {
- "version": "5.39.0",
- "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-5.39.0.tgz",
- "integrity": "sha512-qLFQP0f398sdnogJoLtd43pUgB18Q50QSA+BTE5h3sUxySzbWDpTSdgt4UyxNSozY/oDK2ta6HVAzvGgq8JYnA==",
+ "version": "5.40.0",
+ "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-5.40.0.tgz",
+ "integrity": "sha512-b0GYlDj8TLTOqwX7EGbw2gL5EXS2CPEWhF9nGJiGmEcmlpNBjyHsTwbqpyIEPVpl6br4UcBOYlcI2FJVtJkYhg==",
"dev": true,
"requires": {
- "@typescript-eslint/types": "5.39.0",
- "@typescript-eslint/visitor-keys": "5.39.0",
+ "@typescript-eslint/types": "5.40.0",
+ "@typescript-eslint/visitor-keys": "5.40.0",
"debug": "^4.3.4",
"globby": "^11.1.0",
"is-glob": "^4.0.3",
@@ -18331,26 +18365,53 @@
}
},
"@typescript-eslint/utils": {
- "version": "5.39.0",
- "resolved": "https://registry.npmjs.org/@typescript-eslint/utils/-/utils-5.39.0.tgz",
- "integrity": "sha512-+DnY5jkpOpgj+EBtYPyHRjXampJfC0yUZZzfzLuUWVZvCuKqSdJVC8UhdWipIw7VKNTfwfAPiOWzYkAwuIhiAg==",
+ "version": "5.40.0",
+ "resolved": "https://registry.npmjs.org/@typescript-eslint/utils/-/utils-5.40.0.tgz",
+ "integrity": "sha512-MO0y3T5BQ5+tkkuYZJBjePewsY+cQnfkYeRqS6tPh28niiIwPnQ1t59CSRcs1ZwJJNOdWw7rv9pF8aP58IMihA==",
"dev": true,
"requires": {
"@types/json-schema": "^7.0.9",
- "@typescript-eslint/scope-manager": "5.39.0",
- "@typescript-eslint/types": "5.39.0",
- "@typescript-eslint/typescript-estree": "5.39.0",
+ "@typescript-eslint/scope-manager": "5.40.0",
+ "@typescript-eslint/types": "5.40.0",
+ "@typescript-eslint/typescript-estree": "5.40.0",
"eslint-scope": "^5.1.1",
- "eslint-utils": "^3.0.0"
+ "eslint-utils": "^3.0.0",
+ "semver": "^7.3.7"
+ },
+ "dependencies": {
+ "lru-cache": {
+ "version": "6.0.0",
+ "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-6.0.0.tgz",
+ "integrity": "sha512-Jo6dJ04CmSjuznwJSS3pUeWmd/H0ffTlkXXgwZi+eq1UCmqQwCh+eLsYOYCwY991i2Fah4h1BEMCx4qThGbsiA==",
+ "dev": true,
+ "requires": {
+ "yallist": "^4.0.0"
+ }
+ },
+ "semver": {
+ "version": "7.3.8",
+ "resolved": "https://registry.npmjs.org/semver/-/semver-7.3.8.tgz",
+ "integrity": "sha512-NB1ctGL5rlHrPJtFDVIVzTyQylMLu9N9VICA6HSFJo8MCGVTMW6gfpicwKmmK/dAjTOrqu5l63JJOpDSrAis3A==",
+ "dev": true,
+ "requires": {
+ "lru-cache": "^6.0.0"
+ }
+ },
+ "yallist": {
+ "version": "4.0.0",
+ "resolved": "https://registry.npmjs.org/yallist/-/yallist-4.0.0.tgz",
+ "integrity": "sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==",
+ "dev": true
+ }
}
},
"@typescript-eslint/visitor-keys": {
- "version": "5.39.0",
- "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-5.39.0.tgz",
- "integrity": "sha512-yyE3RPwOG+XJBLrhvsxAidUgybJVQ/hG8BhiJo0k8JSAYfk/CshVcxf0HwP4Jt7WZZ6vLmxdo1p6EyN3tzFTkg==",
+ "version": "5.40.0",
+ "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-5.40.0.tgz",
+ "integrity": "sha512-ijJ+6yig+x9XplEpG2K6FUdJeQGGj/15U3S56W9IqXKJqleuD7zJ2AX/miLezwxpd7ZxDAqO87zWufKg+RPZyQ==",
"dev": true,
"requires": {
- "@typescript-eslint/types": "5.39.0",
+ "@typescript-eslint/types": "5.40.0",
"eslint-visitor-keys": "^3.3.0"
},
"dependencies": {
diff --git a/package.json b/package.json
index c42bf66..5e0b327 100644
--- a/package.json
+++ b/package.json
@@ -2,7 +2,7 @@
"requires": true,
"lockfileVersion": 1,
"name": "gp-convert-pt-ao90",
- "version": "1.2.1",
+ "version": "1.2.2",
"description": "GlotPress language tool to convert text according to the Portuguese Language Orthographic Agreement of 1990 (PT AO90).",
"author": "Pedro Mendonça",
"license": "GPL-2.0-or-later",
diff --git a/readme.txt b/readme.txt
index 0dea490..9acdf39 100644
--- a/readme.txt
+++ b/readme.txt
@@ -5,7 +5,7 @@ Tags: localization, translation, glotpress, ao90, portuguese
Requires at least: 5.3
Tested up to: 6.0
Requires PHP: 7.2
-Stable tag: 1.2.1
+Stable tag: 1.2.2
License: GPLv2
License URI: http://www.gnu.org/licenses/gpl-2.0.html
@@ -86,6 +86,9 @@ Sure! You are welcome to report any issues or add feature suggestions on the [Gi
== Changelog ==
+= 1.2.2 =
+* Add prepare to print out to root translation preview row.
+
= 1.2.1 =
* Fix missing version number.