Closed rippak closed 11 years ago
By default helper 'translate' won't be registered because method 'Atomik\Translations::_' is undefined for that moment.
So need to make helpers with defined method 'Atomik\Translations::translate'
app/plugins/Translations.php
@@ -45,8 +45,8 @@ ), $config); self::$config = &$config; - Atomik::registerHelper('translate', 'Atomik\Translations::_'); - Atomik::registerHelper('_', 'Atomik\Translations::_'); + Atomik::registerHelper('translate', 'Atomik\Translations::translate'); + Atomik::registerHelper('_', 'Atomik\Translations::translate'); }
By default helper 'translate' won't be registered because method 'Atomik\Translations::_' is undefined for that moment.
So need to make helpers with defined method 'Atomik\Translations::translate'
app/plugins/Translations.php