MO::export_original( Translation_Entry $entry )


Description Description


Parameters Parameters

$entry

(Translation_Entry) (Required)


Top ↑

Return Return

(string)


Top ↑

Source Source

File: wp-includes/pomo/mo.php

		function export_original( $entry ) {
			//TODO: warnings for control characters
			$exported = $entry->singular;
			if ( $entry->is_plural ) {
				$exported .= "\0" . $entry->plural;
			}
			if ( $entry->context ) {
				$exported = $entry->context . "\4" . $exported;
			}
			return $exported;
		}


Top ↑

User Contributed Notes User Contributed Notes

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