Changeset 1862 for trunk/include
- Timestamp:
- Feb 27, 2007, 7:22:17 AM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/functions.inc.php
r1861 r1862 1012 1012 function l10n_dec($singular_fmt_key, $plural_fmt_key, $decimal) 1013 1013 { 1014 global $lang_info; 1015 if ( $lang_info['zero_plural'] and $decimal == 0 ) 1016 { 1017 return sprintf(l10n($plural_fmt_key), 0); 1018 } 1014 1019 return sprintf(l10n(($decimal > 1 ? $plural_fmt_key : 1015 1020 $singular_fmt_key)), $decimal);
Note: See TracChangeset
for help on using the changeset viewer.