From ab613385cb70a9d5c150a1d4f68f46f89896ec79 Mon Sep 17 00:00:00 2001 From: Prateek Rungta Date: Sat, 13 Apr 2024 22:40:40 +0530 Subject: [PATCH] Fix PHPStan reported issues --- CHANGELOG.md | 7 +++++++ src/twigextensions/CryptographerTwigExtension.php | 2 +- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index d1bd080..f760bdf 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,13 @@ Release notes for the Cryptographer Craft CMS plugin. +## Unreleased + +### Fixed +- Fixed incorrect translation category for the plugin’s Twig extension name. + + + ## 1.1.0 - 2022-07-19 ### Added diff --git a/src/twigextensions/CryptographerTwigExtension.php b/src/twigextensions/CryptographerTwigExtension.php index 25bc060..84d7f7a 100755 --- a/src/twigextensions/CryptographerTwigExtension.php +++ b/src/twigextensions/CryptographerTwigExtension.php @@ -13,7 +13,7 @@ class CryptographerTwigExtension extends AbstractExtension { public function getName() { - return Craft::t('Cryptographer'); + return Craft::t('cryptographer', 'Cryptographer'); } public function getFilters()