Last active
August 29, 2015 14:12
-
-
Save icetee/f629a7bbbd867401c2de to your computer and use it in GitHub Desktop.
Numeral Hungarian language
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/*! | |
* numeral.js language configuration | |
* language : Hungarian (hu) | |
* source : Peter Bakondy : https://github.com/pbakondy | |
* author : Horváth Tamás András | |
*/ | |
(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); | |
} | |
}()); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment