mirror of https://gitee.com/bigwinds/arangodb
34 lines
802 B
JavaScript
34 lines
802 B
JavaScript
/*!
|
|
* numeral.js language configuration
|
|
* language : italian Italy (it)
|
|
* author : Giacomo Trombi : http://cinquepunti.it
|
|
*/
|
|
(function () {
|
|
var language = {
|
|
delimiters: {
|
|
thousands: '.',
|
|
decimal: ','
|
|
},
|
|
abbreviations: {
|
|
thousand: 'mila',
|
|
million: 'mil',
|
|
billion: 'b',
|
|
trillion: 't'
|
|
},
|
|
ordinal: function (number) {
|
|
return 'º';
|
|
},
|
|
currency: {
|
|
symbol: '€'
|
|
}
|
|
};
|
|
|
|
// Node
|
|
if (typeof module !== 'undefined' && module.exports) {
|
|
module.exports = language;
|
|
}
|
|
// Browser
|
|
if (typeof window !== 'undefined' && this.numeral && this.numeral.language) {
|
|
this.numeral.language('it', language);
|
|
}
|
|
}()); |