Skip to content

Commit

Permalink
Normalize locale titles to (loosely) comply with Unicode BCP 47
Browse files Browse the repository at this point in the history
- All locale titles are now in the format "<Language> (<Country> <Region or Variant>);
- "Greek" is now in english.
  • Loading branch information
oscarmarcelo committed May 31, 2020
1 parent 84b8d4e commit ca0d981
Show file tree
Hide file tree
Showing 13 changed files with 15 additions and 15 deletions.
2 changes: 1 addition & 1 deletion lib/locales/af_ZA/index.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
var en_ZA = {};
module['exports'] = en_ZA;
en_ZA.title = "South Africa (Afrikaans)";
en_ZA.title = "Afrikaans";
en_ZA.address = require("./address");
en_ZA.internet = require("./internet");
en_ZA.phone_number = require("./phone_number");
Expand Down
2 changes: 1 addition & 1 deletion lib/locales/el/index.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
var el = {};
module['exports'] = el;
el.title = "Ελληνικά";
el.title = "Greek";
el.separator = " & ";
el.address = require("./address");
el.credit_card = require("./credit_card");
Expand Down
2 changes: 1 addition & 1 deletion lib/locales/en_AU/index.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
var en_AU = {};
module['exports'] = en_AU;
en_AU.title = "Australia (English)";
en_AU.title = "English (Australia)";
en_AU.name = require("./name");
en_AU.company = require("./company");
en_AU.internet = require("./internet");
Expand Down
2 changes: 1 addition & 1 deletion lib/locales/en_BORK/index.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
var en_BORK = {};
module['exports'] = en_BORK;
en_BORK.title = "Bork (English)";
en_BORK.title = "English (Bork)";
en_BORK.lorem = require("./lorem");
2 changes: 1 addition & 1 deletion lib/locales/en_CA/index.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
var en_CA = {};
module['exports'] = en_CA;
en_CA.title = "Canada (English)";
en_CA.title = "English (Canada)";
en_CA.address = require("./address");
en_CA.internet = require("./internet");
en_CA.phone_number = require("./phone_number");
2 changes: 1 addition & 1 deletion lib/locales/en_GB/index.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
var en_GB = {};
module['exports'] = en_GB;
en_GB.title = "Great Britain (English)";
en_GB.title = "English (Great Britain)";
en_GB.address = require("./address");
en_GB.internet = require("./internet");
en_GB.phone_number = require("./phone_number");
Expand Down
2 changes: 1 addition & 1 deletion lib/locales/en_IE/index.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
var en_IE = {};
module['exports'] = en_IE;
en_IE.title = "Ireland (English)";
en_IE.title = "English (Ireland)";
en_IE.address = require("./address");
en_IE.internet = require("./internet");
en_IE.phone_number = require("./phone_number");
Expand Down
2 changes: 1 addition & 1 deletion lib/locales/en_IND/index.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
var en_IND = {};
module['exports'] = en_IND;
en_IND.title = "India (English)";
en_IND.title = "English (India)";
en_IND.name = require("./name");
en_IND.address = require("./address");
en_IND.internet = require("./internet");
Expand Down
2 changes: 1 addition & 1 deletion lib/locales/en_US/index.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
var en_US = {};
module['exports'] = en_US;
en_US.title = "United States (English)";
en_US.title = "English (United States)";
en_US.internet = require("./internet");
en_US.address = require("./address");
en_US.phone_number = require("./phone_number");
4 changes: 2 additions & 2 deletions lib/locales/en_ZA/index.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
var en_ZA = {};
module['exports'] = en_ZA;
en_ZA.title = "South Africa (English)";
en_ZA.title = "English (South Africa)";
en_ZA.address = require("./address");
en_ZA.internet = require("./internet");
en_ZA.name = require("./name");
en_ZA.phone_number = require("./phone_number");
en_ZA.cell_phone = require("./cell_phone");
en_ZA.company = require("./company");
en_ZA.company = require("./company");
4 changes: 2 additions & 2 deletions lib/locales/es_MX/index.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
var es_MX = {};
module['exports'] = es_MX;
es_MX.title = "Spanish Mexico";
es_MX.title = "Spanish (Mexico)";
es_MX.separator = " & ";
es_MX.name = require("./name");
es_MX.address = require("./address");
Expand All @@ -10,4 +10,4 @@ es_MX.phone_number = require("./phone_number");
es_MX.cell_phone = require("./cell_phone");
es_MX.lorem = require("./lorem");
es_MX.commerce = require("./commerce");
es_MX.team = require("./team");
es_MX.team = require("./team");
2 changes: 1 addition & 1 deletion lib/locales/fr_CA/index.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
var fr_CA = {};
module['exports'] = fr_CA;
fr_CA.title = "Canada (French)";
fr_CA.title = "French (Canada)";
fr_CA.address = require("./address");
fr_CA.internet = require("./internet");
fr_CA.phone_number = require("./phone_number");
2 changes: 1 addition & 1 deletion lib/locales/zu_ZA/index.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
var en_ZA = {};
module['exports'] = en_ZA;
en_ZA.title = "South Africa (Zulu)";
en_ZA.title = "Zulu (South Africa)";
en_ZA.address = require("./address");
en_ZA.internet = require("./internet");
en_ZA.phone_number = require("./phone_number");
Expand Down

0 comments on commit ca0d981

Please sign in to comment.