foreach ( $options as $key => $value ) {
$key = $this->msg( $key )->plain();
$ret[$key] = is_array( $value )
- ? $this->lookupOptionsKeys($field, $value)
+ ? $this->lookupOptionsKeys( $value )
: strval( $value );
}
return $ret;
$this->mOptions = self::forceToStringRecursive( $this->mParams['options'] );
} elseif ( array_key_exists( 'options-message', $this->mParams ) ) {
/** @todo This is copied from Xml::listDropDown(), deprecate/avoid duplication? */
- $message = $this->msg( $this->mParams['options-message'] )->plain();
+ $message = $this->msg( $this->mParams['options-message'] )->inContentLanguage()->plain();
$optgroup = false;
$this->mOptions = array();