languages = $languages; parent::__construct( array( WPML_TM_PATH . self::TEMPLATE_PATH ) ); } public function show( $model, $template ) { $model['strings'] = self::get_strings(); $model['languages'] = $this->languages; $model['strings'] = apply_filters( 'wpml_tm_translators_view_strings', $model['strings'], true ); return $this->get_template()->show( $model, $template ); } public static function get_strings() { return array( 'edit' => __( 'Edit user', 'wpml-translation-management' ), 'remove' => __( 'Remove', 'wpml-translation-management' ), 'edit_languages' => __( 'Edit Languages', 'wpml-translation-management' ), 'no' => __( 'No', 'wpml-translation-management' ), ); } }