first commit
This commit is contained in:
@@ -0,0 +1,34 @@
|
||||
/*!
|
||||
* numeral.js language configuration
|
||||
* language : japanese
|
||||
* author : teppeis : https://github.com/teppeis
|
||||
*/
|
||||
(function () {
|
||||
var language = {
|
||||
delimiters: {
|
||||
thousands: ',',
|
||||
decimal: '.'
|
||||
},
|
||||
abbreviations: {
|
||||
thousand: '千',
|
||||
million: '百万',
|
||||
billion: '十億',
|
||||
trillion: '兆'
|
||||
},
|
||||
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('ja', language);
|
||||
}
|
||||
}());
|
||||
Reference in New Issue
Block a user