NOOP_Translations::translate_plural()

最后更新于:2021-11-25 20:35:02

NOOP_Translations::translate_plural( string$singular, string$plural, int$count, string$context=null)

参数

$singular

(string) (Required)

$plural

(string) (Required)

$count

(int) (Required)

$context

(string) (Optional)

Default value: null

源文件

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

		function translate_plural( $singular, $plural, $count, $context = null ) {
			return 1 == $count ? $singular : $plural;
		}