Ignore:
Timestamp:
Feb 28, 2007, 12:24:53 AM (17 years ago)
Author:
rub
Message:

Missing one change flat_hint to mode_flat_hint
Review a little l10n_dec

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/functions.inc.php

    r1862 r1864  
    10131013{
    10141014  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);
    10211023}
    10221024
Note: See TracChangeset for help on using the changeset viewer.