Skip to content

Commit

Permalink
Add hu-HU locale.
Browse files Browse the repository at this point in the history
  • Loading branch information
mbostock committed Oct 26, 2015
1 parent 8f36a39 commit 939cddb
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 0 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -183,6 +183,7 @@ Returns a *locale* object for the specified *definition* with [*locale*.format](
* `"fr-CA"` - [French (Canada)](https://github.com/d3/d3-format/tree/master/src/locale/fr-CA.js)
* `"fr-FR"` - [French (France)](https://github.com/d3/d3-format/tree/master/src/locale/fr-FR.js)
* `"he-IL"` - [Hebrew (Israel)](https://github.com/d3/d3-format/tree/master/src/locale/he-IL.js)
* `"hu-HU"` - [Hungarian (Hungary)](https://github.com/d3/d3-format/tree/master/src/locale/hu-HU.js)
* `"it-IT"` - [Italian (Italy)](https://github.com/d3/d3-format/tree/master/src/locale/it-IT.js)
* `"ja-JP"` - [Japanese (Japan)](https://github.com/d3/d3-format/tree/master/src/locale/ja-JP.js)
* `"ko-KR"` - [Korean (South Korea)](https://github.com/d3/d3-format/tree/master/src/locale/ko-KR.js)
Expand Down
2 changes: 2 additions & 0 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ import fiFi from "./src/locale/fi-FI";
import frCa from "./src/locale/fr-CA";
import frFr from "./src/locale/fr-FR";
import heIl from "./src/locale/he-IL";
import huHu from "./src/locale/hu-HU";
import itIt from "./src/locale/it-IT";
import jaJp from "./src/locale/ja-JP";
import koKr from "./src/locale/ko-KR";
Expand All @@ -38,6 +39,7 @@ var localeDefinitions = {
"fr-CA": frCa,
"fr-FR": frFr,
"he-IL": heIl,
"hu-HU": huHu,
"it-IT": itIt,
"ja-JP": jaJp,
"ko-KR": koKr,
Expand Down
6 changes: 6 additions & 0 deletions src/locale/hu-HU.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
export default {
decimal: ",",
thousands: "\xa0",
grouping: [3],
currency: ["", "\xa0Ft"]
};

0 comments on commit 939cddb

Please sign in to comment.