From 4ddb2a36026adb0bf2ddd80af1bf19e2536a8304 Mon Sep 17 00:00:00 2001 From: Adam Silverstein Date: Tue, 6 Aug 2024 14:20:15 -0600 Subject: [PATCH 1/2] Add Performant Translations detection --- src/images/icons/performant-translations.svg | 1 + src/technologies/p.json | 13 +++++++++++++ 2 files changed, 14 insertions(+) create mode 100644 src/images/icons/performant-translations.svg diff --git a/src/images/icons/performant-translations.svg b/src/images/icons/performant-translations.svg new file mode 100644 index 000000000..6f7a55093 --- /dev/null +++ b/src/images/icons/performant-translations.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/src/technologies/p.json b/src/technologies/p.json index 2fdc378df..62b6520f5 100644 --- a/src/technologies/p.json +++ b/src/technologies/p.json @@ -1104,6 +1104,19 @@ "requires": "WordPress", "website": "https://wordpress.org/plugins/performance-lab/" }, + "Performant Translations": { + "cats": [ + 87, + 92 + ], + "description": "Performance plugin from the WordPress Performance Group, which makes internationalization/localization in WordPress faster than ever before.", + "icon": "performant-translations.svg", + "meta": { + "generator": "^performant-translations ([\\d.]+)?" + }, + "requires": "WordPress", + "website": "https://wordpress.org/plugins/performant-translations/" + }, "PerimeterX": { "cats": [ 16 From dc8b72daedd37a44390d7692f45973a81bec75cd Mon Sep 17 00:00:00 2001 From: Adam Silverstein Date: Tue, 6 Aug 2024 15:14:06 -0600 Subject: [PATCH 2/2] improve version extraction --- src/technologies/p.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/technologies/p.json b/src/technologies/p.json index 62b6520f5..2932a74a5 100644 --- a/src/technologies/p.json +++ b/src/technologies/p.json @@ -1112,7 +1112,7 @@ "description": "Performance plugin from the WordPress Performance Group, which makes internationalization/localization in WordPress faster than ever before.", "icon": "performant-translations.svg", "meta": { - "generator": "^performant-translations ([\\d.]+)?" + "generator": "^performant-translations ([\\d.]+)?\\;version:\\1" }, "requires": "WordPress", "website": "https://wordpress.org/plugins/performant-translations/"