Index: in-commerce/units/currencies/currencies_config.php =================================================================== --- in-commerce/units/currencies/currencies_config.php (revision 15581) +++ in-commerce/units/currencies/currencies_config.php (working copy) @@ -86,7 +86,7 @@ 'CalculatedFields' => Array ( '' => Array ( - 'Translation' => 'phr.l%4$s_Translation', + 'Translation' => 'phr.l%2$s_Translation', ), ), Index: in-commerce/units/currencies/currencies_event_handler.php =================================================================== --- in-commerce/units/currencies/currencies_event_handler.php (revision 15581) +++ in-commerce/units/currencies/currencies_event_handler.php (working copy) @@ -297,26 +297,4 @@ $this->Application->SetVar('passed', implode(',', $passed)); } } - - /** - * Changes default module to custom (when available) - * - * @param kEvent $event - * @return void - * @access protected - */ - protected function OnAfterConfigRead(kEvent $event) - { - parent::OnAfterConfigRead($event); - - // make sure, that currency Translation is on current language - $language_id = $this->Application->GetVar('m_lang'); - $calculated_fields = $this->Application->getUnitOption($event->Prefix, 'CalculatedFields'); - - foreach ($calculated_fields[''] as $field_name => $field_expression) { - $calculated_fields[''][$field_name] = str_replace('%4$s', $language_id, $field_expression); - } - - $this->Application->setUnitOption($event->Prefix, 'CalculatedFields', $calculated_fields); - } } \ No newline at end of file