MO::export_original()

最后更新于:2021-11-25 20:29:08

MO::export_original( Translation_Entry$entry)

参数

$entry

(Translation_Entry) (Required)

响应

(string)

源文件

文件: gc-includes/pomo/mo.php

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