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 );
51 $logOld = Language::fetchLanguageName( $oldLang, $userLang )
52 .
' (' . $oldLang .
')';
53 $logNew = Language::fetchLanguageName( $newLang, $userLang )
54 .
' (' . $newLang .
')';
57 $params[3] = !$kOld ? $logOld : $logOld .
' [' . $this->
msg(
'default' ) .
']';
58 $params[4] = !$kNew ? $logNew : $logNew .
' [' . $this->
msg(
'default' ) .
']';