CRM-19896 - customTranslateFunction not mapped
authorfliespl <a.rzadkowolski@gmail.com>
Sun, 5 Feb 2017 12:19:02 +0000 (13:19 +0100)
committerGitHub <noreply@github.com>
Sun, 5 Feb 2017 12:19:02 +0000 (13:19 +0100)
commit43d1ad94e24e854dc47b5735621eaaa318c263c0
tree408d732f0383fd531a723955c787b95d8b932b06
parentd4a99d62066ec7aadfa62c505737f87146245231
CRM-19896 - customTranslateFunction not mapped

`customTranslateFunction` is not defined in `getPropertyMap` method with `MagicMerge` class.
It causes Custom Translation Function to not be taken into consideration at all while translating strings.
Solution:
adding `customTranslateFunction' => array('setting'),` key to `getPropertyMap` array resolves the issue.
CRM/Core/Config/MagicMerge.php