aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorJonathan Dalrymple <[email protected]>2019-12-06 19:50:50 +0000
committerGitHub <[email protected]>2019-12-06 19:50:50 +0000
commit6cd6d077b78aac09b1a30f4bcfcaf8dca9e66608 (patch)
tree0102869f6b3fafa1a9a61b76774aced3221ba1d1 /lib
parent9fd8d7d37b398842d0784a116a340f7aa6afb89b (diff)
downloadfaker-6cd6d077b78aac09b1a30f4bcfcaf8dca9e66608.tar.xz
faker-6cd6d077b78aac09b1a30f4bcfcaf8dca9e66608.zip
Fixed the currency list
Previously this list included invalid ISO4217 codes, probably as a result of the parser/generator that was used to create the list. I've split all of the combined codes, and removed some of the [fund code](https://en.wikipedia.org/wiki/Unidad_de_Fomento) codes. I've also taken the time to give some the currencies their correct names and symbols according to their respective wikipedia pages.
Diffstat (limited to 'lib')
-rw-r--r--lib/locales/en/finance/currency.js60
1 files changed, 34 insertions, 26 deletions
diff --git a/lib/locales/en/finance/currency.js b/lib/locales/en/finance/currency.js
index 442d937c..2c22801c 100644
--- a/lib/locales/en/finance/currency.js
+++ b/lib/locales/en/finance/currency.js
@@ -71,9 +71,9 @@ module["exports"] = {
"code": "BND",
"symbol": "$"
},
- "Boliviano Mvdol": {
- "code": "BOB BOV",
- "symbol": "$b"
+ "Boliviano boliviano": {
+ "code": "BOB",
+ "symbol": "Bs"
},
"Brazilian Real": {
"code": "BRL",
@@ -107,26 +107,30 @@ module["exports"] = {
"code": "CHF",
"symbol": "CHF"
},
- "Chilean Peso Unidades de fomento": {
- "code": "CLP CLF",
+ "Chilean Peso": {
+ "code": "CLP",
"symbol": "$"
},
"Yuan Renminbi": {
"code": "CNY",
"symbol": "¥"
},
- "Colombian Peso Unidad de Valor Real": {
- "code": "COP COU",
+ "Colombian Peso": {
+ "code": "COP",
"symbol": "$"
},
"Costa Rican Colon": {
"code": "CRC",
"symbol": "₡"
},
- "Cuban Peso Peso Convertible": {
- "code": "CUP CUC",
+ "Cuban Peso": {
+ "code": "CUP",
"symbol": "₱"
},
+ "Cuban Peso Convertible": {
+ "code": "CUC",
+ "symbol": "$"
+ },
"Cape Verde Escudo": {
"code": "CVE",
"symbol": ""
@@ -223,8 +227,8 @@ module["exports"] = {
"code": "HRK",
"symbol": "kn"
},
- "Gourde US Dollar": {
- "code": "HTG USD",
+ "Gourde": {
+ "code": "HTG",
"symbol": ""
},
"Forint": {
@@ -243,9 +247,13 @@ module["exports"] = {
"code": "INR",
"symbol": ""
},
- "Indian Rupee Ngultrum": {
- "code": "INR BTN",
- "symbol": ""
+ "Bhutanese Ngultrum": {
+ "code": "BTN",
+ "symbol": "Nu"
+ },
+ "Indian Rupee": {
+ "code": "INR",
+ "symbol": "₹"
},
"Iraqi Dinar": {
"code": "IQD",
@@ -379,8 +387,8 @@ module["exports"] = {
"code": "MWK",
"symbol": ""
},
- "Mexican Peso Mexican Unidad de Inversion (UDI)": {
- "code": "MXN MXV",
+ "Mexican Peso": {
+ "code": "MXN",
"symbol": "$"
},
"Malaysian Ringgit": {
@@ -507,9 +515,9 @@ module["exports"] = {
"code": "STD",
"symbol": ""
},
- "El Salvador Colon US Dollar": {
- "code": "SVC USD",
- "symbol": "$"
+ "El Salvador Colon": {
+ "code": "SVC",
+ "symbol": "₡"
},
"Syrian Pound": {
"code": "SYP",
@@ -567,8 +575,8 @@ module["exports"] = {
"code": "USD",
"symbol": "$"
},
- "Peso Uruguayo Uruguay Peso en Unidades Indexadas": {
- "code": "UYU UYI",
+ "Peso Uruguayo": {
+ "code": "UYU",
"symbol": "$U"
},
"Uzbekistan Sum": {
@@ -659,13 +667,13 @@ module["exports"] = {
"code": "ZAR",
"symbol": "R"
},
- "Rand Loti": {
- "code": "ZAR LSL",
+ "Lesotho Loti": {
+ "code": "LSL",
"symbol": ""
},
- "Rand Namibia Dollar": {
- "code": "ZAR NAD",
- "symbol": ""
+ "Namibia Dollar": {
+ "code": "NAD",
+ "symbol": "N$"
},
"Zambian Kwacha": {
"code": "ZMK",