HomeDevCentral

I18n :: Language::getConfigVar() now triggers E_USER_NOTICE
0ee8bd01ae4dUnpublished

Unpublished Commit · Learn More

Repository Importing: This repository is still importing.

Description

I18n :: Language::getConfigVar() now triggers E_USER_NOTICE

Language::getConfigVar ($key) is the private method to get the
value of the Smarty configuration variable $key. This is used to
get the localized string $key.

When the key isn't found, it returns instead #$key# (e.g. #foo#).
This is a behavior added in Azhàr.

Now, it also triggers an error at E_USER_NOTICE level:
The l10n key 'foo' doesn't exist.

Details

Provenance
derecksonAuthored on
Parents
rOBSIDIAN46457cf0c477: Adding page title to help pages
Branches
Unknown
Tags
Unknown