MO::export_translations( Translation_Entry $entry ): string

In this article

Parameters

$entryTranslation_Entryrequired

Return

string

Source

public function export_translations( $entry ) {
	// TODO: Warnings for control characters.
	return $entry->is_plural ? implode( "\0", $entry->translations ) : $entry->translations[0];
}

User Contributed Notes

You must log in before being able to contribute a note or feedback.