src/i18n-v3.php
private function parse_translation_set( $set ) {
		if ( $this->translation_exists && is_object( $set ) ) {
			$this->locale_name        = $set->name;
			$this->percent_translated = $set->percent_translated;
		}
		else {
			$this->locale_name        = '';
			$this->percent_translated = '';
		}
	}
private function parse_translation_set( $set ) {
		if ( $this->translation_exists && is_object( $set ) ) {
			$this->locale_name        = $set->name;
			$this->percent_translated = $set->percent_translated;
		}
		else {
			$this->locale_name        = '';
			$this->percent_translated = '';
		}
	}
private function parse_translation_set ( $ set ) { if ( $ this -> translation_exists && is_object ( $ set ) ) { $ this -> locale_name = $ set -> name ; $ this -> percent_translated = $ set -> percent_translated ; } else { $ this -> locale_name = '' ; $ this -> percent_translated = '' ; } }
Set the needed private variables based on the results from Yoast Translate.

@param object $set The translation set.

@access private
Set the needed private variables based on the results from Yoast Translate .