Skip to content

Commit

Permalink
fixes #57
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelwittig committed Aug 29, 2017
1 parent 26c1415 commit 5918971
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ var pad = require("pad");

var codes = require("./codes.json");
var data = {
"gr": require("./langs/gr.json"),
"ar": require("./langs/ar.json"),
"cs": require("./langs/cs.json"),
"da": require("./langs/da.json"),
Expand All @@ -12,6 +11,8 @@ var data = {
"et": require("./langs/et.json"),
"fi": require("./langs/fi.json"),
"fr": require("./langs/fr.json"),
"el": require("./langs/el.json"),
"he": require("./langs/he.json"),
"hu": require("./langs/hu.json"),
"it": require("./langs/it.json"),
"ja": require("./langs/ja.json"),
Expand All @@ -25,8 +26,7 @@ var data = {
"sv": require("./langs/sv.json"),
"tr": require("./langs/tr.json"),
"uk": require("./langs/uk.json"),
"zh": require("./langs/zh.json"),
"he": require("./langs/he.json")
"zh": require("./langs/zh.json")
};

/*
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
"et",
"fi",
"fr",
"gr",
"el",
"he",
"hu",
"it",
Expand Down
4 changes: 2 additions & 2 deletions test/iso-i18n-countries.js
Original file line number Diff line number Diff line change
Expand Up @@ -249,8 +249,8 @@ describe("i18n for iso 3166-1", function () {
});
});
});
describe("gr", function () {
var lang = "gr";
describe("el", function () {
var lang = "el";
describe("get Alpha-2 code", function() {
it("nameToAlpha2 'Βραζιλία' => BR", function() {
assert.equal(i18niso.getAlpha2Code("Βραζιλία", lang), "BR");
Expand Down

0 comments on commit 5918971

Please sign in to comment.