1
0
Fork 0
arangodb/js/node/node_modules/numeral/languages/de-ch.js

34 lines
875 B
JavaScript

/*!
* numeral.js language configuration
* language : German in Switzerland (de-ch)
* author : Michael Piefel : https://github.com/piefel (based on work from Marco Krage : https://github.com/sinky)
*/
(function () {
var language = {
delimiters: {
thousands: ' ',
decimal: ','
},
abbreviations: {
thousand: 'k',
million: 'm',
billion: 'b',
trillion: 't'
},
ordinal: function (number) {
return '.';
},
currency: {
symbol: 'CHF'
}
};
// Node
if (typeof module !== 'undefined' && module.exports) {
module.exports = language;
}
// Browser
if (typeof window !== 'undefined' && this.numeral && this.numeral.language) {
this.numeral.language('de-ch', language);
}
}());