Warning, file /frameworks/ki18n/po/gd/scripts/ki18n6/ki18n6.js was not indexed or was modified since last indexation (in which case cross-reference links may be missing, inaccurate or erroneous).

0001 // ------------------------------
0002 // Plural handling for real numbers.
0003 // First argument should be an actual number, not its formatted string
0004 // (i.e. do not call as $[iolra %1 ...] but as $[iolra ^1 ...]).
0005 function real_plural (rnum, form0, form1, form2, form3)
0006 {
0007     var n = (rnum > 0 ? Math.floor(rnum) : Math.ceil(rnum));
0008     var form = (  (n == 1 || n == 11) ? form0
0009                 : (n == 2 || n == 12) ? form1
0010                 : (n > 2 && n < 20) ? form2
0011                 : form3);
0012     return form;
0013 }
0014 Ts.setcall("iolra", real_plural)
0015