Changeset 1637 for trunk/include/functions.inc.php
- Timestamp:
- Dec 7, 2006, 12:56:24 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/functions.inc.php
r1631 r1637 936 936 937 937 /** 938 * returns the prinft value for strings including %d 939 * return is concorded with decimal value (singular, plural) 940 * 941 * @param singular string key 942 * @param plural string key 943 * @param decimal value 944 * @return string 945 */ 946 function l10n_dec($singular_fmt_key, $plural_fmt_key, $decimal) 947 { 948 return sprintf(l10n(($decimal > 1 ? $plural_fmt_key : 949 $singular_fmt_key)), $decimal); 950 } 951 952 /** 938 953 * Translate string in string ascii7bits 939 954 * It's possible to do that with iconv_substr
Note: See TracChangeset
for help on using the changeset viewer.