34 $userLang = $this->context->getLanguage()->getCode();
35 $params = parent::getMessageParameters();
39 $kOld = strrpos( $oldLang,
'[' );
41 $oldLang = substr( $oldLang, 0, $kOld );
45 $kNew = strrpos( $newLang,
'[' );
47 $newLang = substr( $newLang, 0, $kNew );
52 .
' (' . $oldLang .
')';
54 .
' (' . $newLang .
')';
57 $params[3] = !$kOld ? $logOld : $logOld .
' [' . $this->
msg(
'default' ) .
']';
58 $params[4] = !$kNew ? $logNew : $logNew .
' [' . $this->
msg(
'default' ) .
']';