Closed MoritzLost closed 2 months ago
Weird bug, the first item in the Control Panel subnav (Forms in English) says Templates in German:
Forms
Templates
Correkt translation would be Formulare. However, this is the translation for Forms that is used in src/translations/de.php:
Formulare
src/translations/de.php
'Forms' => 'Formulare',
The correct source string is used in getCpNavItem:
getCpNavItem
if (Craft::$app->getUser()->checkPermission('formie-viewForms')) { $nav['subnav']['forms'] = [ 'label' => Craft::t('formie', 'Forms'), 'url' => 'formie/forms', ]; }
I tried to put a debug statement below that:
Craft::dd(Craft::t('formie', 'Forms'));
Indeed, it returns Templates instead of Formulare, even though that's the translation in de.php is Formulare.
de.php
Any ideas?
4.8.9
2.1.11
No response
Never mind, our own translations were interfering. My bad 🤷
Describe the bug
Weird bug, the first item in the Control Panel subnav (
Forms
in English) saysTemplates
in German:Correkt translation would be
Formulare
. However, this is the translation forForms
that is used insrc/translations/de.php
:The correct source string is used in
getCpNavItem
:I tried to put a debug statement below that:
Indeed, it returns
Templates
instead ofFormulare
, even though that's the translation inde.php
isFormulare
.Any ideas?
Steps to reproduce
Form settings
Craft CMS version
4.8.9
Plugin version
2.1.11
Multi-site?
No response
Additional context
No response