Open
Description
Extension Version
1.0.11
PHP Binary
Local PHP
Operating System
Linux
What happened?
If php translations are written without keys it shows warnings for each translation without explicitly defined key such as:
Translation [login.translations.0] not found.
Translation [login.translations.1] not found.
Translation [login.translations.2] not found.
Translation [login.translations.3] not found.
Translation [login.translations.4] not found.
Translation [login.translations.5] not found.
Mimimal Code Sample
// This gives warnings
'translations' => [
'Text 1',
'Text 2',
'Text 3'
]
// No warnings
'translations' => [
'0' => 'Text 1',
'1' => 'Text 2',
'2' => 'Text 3'
]