DIR : /home/kozerus/public_html/pn/uize/site-source/js/Uize/Loc/Plurals/Langs/mk.js
/home/kozerus/public_html/pn/uize/site-source/js/Uize/Loc/Plurals/Langs
/*______________
| ______ | U I Z E J A V A S C R I P T F R A M E W O R K
| / / | ---------------------------------------------------
| / O / | MODULE : Uize.Loc.Plurals.Langs.mk Package
| / / / |
| / / / /| | ONLINE : http://www.uize.com
| /____/ /__/_| | COPYRIGHT : (c)2015-2016 UIZE
| /___ | LICENSE : Available under MIT License or GNU General Public License
|_______________| http://www.uize.com/license.html
*/
/* Module Meta Data
type: Package
importance: 1
codeCompleteness: 100
docCompleteness: 100
*/
/*?
Introduction
The =Uize.Loc.Plurals.Langs.mk= module implements a feature for determining a plural category from a number value for the mk language.
*DEVELOPERS:* `Chris van Rensburg`
Plural Categories
........................................................
<< table >>
title: Plural Categories
data:
:| Category | Rule |
:| one | v = 0 and i % 10 = 1 or f % 10 = 1 @integer 1, 11, 21, 31, 41, 51, 61, 71, 101, 1001, … @decimal 0.1, 1.1, 2.1, 3.1, 4.1, 5.1, 6.1, 7.1, 10.1, 100.1, 1000.1, … |
:| other | @integer 0, 2~10, 12~17, 100, 1000, 10000, 100000, 1000000, … @decimal 0.0, 0.2~1.0, 1.2~1.7, 10.0, 100.0, 1000.0, 10000.0, 100000.0, 1000000.0, … |
........................................................
*/
Uize.module ({
name:'Uize.Loc.Plurals.Langs.mk',
required:'Uize.Loc.Plurals.Util',
builder:function () {
'use strict';
return Uize.package ({
getPluralCategory:function (_value) {
return Uize.Loc.Plurals.Util.getPluralCategory (
_value,
function (n,i,f,t,v,w,within) {
return v == 0 && i % 10 == 1 || f % 10 == 1 ? 'one' : 'other';
}
);
}
});
}
});
//
koh5_pano
Drag mouse to navigate.
Navigation
- Left/Right Mouse drag: Changes camera heading.
- Up/Sown Mouse drag: Changes camera pitch.
- Scroll wheel: Changes camera field of view.
- I-Key: Displays Info panel with canvas size, image size and FPS.
17.Aug.2010, Martin Wengenmayer