46 $userLang = $this->context->getLanguage()->getCode();
47 $params = parent::getMessageParameters();
51 $kOld = strrpos( $oldLang,
'[' );
53 $oldLang = substr( $oldLang, 0, $kOld );
57 $kNew = strrpos( $newLang,
'[' );
59 $newLang = substr( $newLang, 0, $kNew );
63 $logOld = $this->languageNameUtils->getLanguageName( $oldLang, $userLang )
64 .
' (' . $oldLang .
')';
65 $logNew = $this->languageNameUtils->getLanguageName( $newLang, $userLang )
66 .
' (' . $newLang .
')';
69 $params[3] = !$kOld ? $logOld : $logOld .
' [' . $this->
msg(
'default' ) .
']';
70 $params[4] = !$kNew ? $logNew : $logNew .
' [' . $this->
msg(
'default' ) .
']';