first commit
This commit is contained in:
@@ -0,0 +1,34 @@
|
||||
/*!
|
||||
* numeral.js language configuration
|
||||
* language : Hungarian (hu)
|
||||
* author : Peter Bakondy : https://github.com/pbakondy
|
||||
*/
|
||||
(function () {
|
||||
var language = {
|
||||
delimiters: {
|
||||
thousands: ' ',
|
||||
decimal: ','
|
||||
},
|
||||
abbreviations: {
|
||||
thousand: 'E', // ezer
|
||||
million: 'M', // millió
|
||||
billion: 'Mrd', // milliárd
|
||||
trillion: 'T' // trillió
|
||||
},
|
||||
ordinal: function (number) {
|
||||
return '.';
|
||||
},
|
||||
currency: {
|
||||
symbol: ' Ft'
|
||||
}
|
||||
};
|
||||
|
||||
// Node
|
||||
if (typeof module !== 'undefined' && module.exports) {
|
||||
module.exports = language;
|
||||
}
|
||||
// Browser
|
||||
if (typeof window !== 'undefined' && this.numeral && this.numeral.language) {
|
||||
this.numeral.language('hu', language);
|
||||
}
|
||||
}());
|
||||
Reference in New Issue
Block a user