Changeset 1864 for trunk/include/functions.inc.php
- Timestamp:
- Feb 28, 2007, 12:24:53 AM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/functions.inc.php
r1862 r1864 1013 1013 { 1014 1014 global $lang_info; 1015 if ( $lang_info['zero_plural'] and $decimal == 0 ) 1016 { 1017 return sprintf(l10n($plural_fmt_key), 0); 1018 } 1019 return sprintf(l10n(($decimal > 1 ? $plural_fmt_key : 1020 $singular_fmt_key)), $decimal); 1015 1016 return 1017 sprintf( 1018 l10n(( 1019 (($decimal > 1) or ($decimal == 0 and $lang_info['zero_plural'])) 1020 ? $plural_fmt_key 1021 : $singular_fmt_key 1022 )), $decimal); 1021 1023 } 1022 1024
Note: See TracChangeset
for help on using the changeset viewer.