From 4461cb0d64848ce23480ad60465460319ff681a0 Mon Sep 17 00:00:00 2001 From: Awilum Date: Tue, 10 May 2022 19:26:27 +0300 Subject: [PATCH] feat(shortcodes): add `[tr]` shortcode --- src/flextype/core/Parsers/Shortcodes/I18nShortcode.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/flextype/core/Parsers/Shortcodes/I18nShortcode.php b/src/flextype/core/Parsers/Shortcodes/I18nShortcode.php index c319ef33..6421c069 100644 --- a/src/flextype/core/Parsers/Shortcodes/I18nShortcode.php +++ b/src/flextype/core/Parsers/Shortcodes/I18nShortcode.php @@ -23,7 +23,7 @@ use function registry; // Shortcode: [tr] parsers()->shortcodes()->addHandler('tr', static function (ShortcodeInterface $s) { - if (! registry()->get('flextype.settings.parsers.shortcodes.shortcodes.I18n.enabled')) { + if (! registry()->get('flextype.settings.parsers.shortcodes.shortcodes.i18n.enabled')) { return ''; }