Translations::select_plural_form()

最后更新于:2021-11-26 04:48:20

Translations::select_plural_form( int$count)

Given the number of items, returns the 0-based index of the plural form to use

参数

$count

(int) (Required) number of items

源文件

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

		function select_plural_form( $count ) {
			return 1 == $count ? 0 : 1;
		}