summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrbuj <[email protected]>2019-04-29 13:07:01 +0200
committerraveit65 <[email protected]>2019-04-29 17:01:10 +0200
commit58d1529002f45fa59c890a4f2b266acf6a302eaf (patch)
tree99f4218890bc742a1736fda9ee9d1ff188eecd06
parent79e6f583f1736fc5669028e361752ac783832e41 (diff)
downloadmate-calc-58d1529002f45fa59c890a4f2b266acf6a302eaf.tar.bz2
mate-calc-58d1529002f45fa59c890a4f2b266acf6a302eaf.tar.xz
currency-manager: Update name_map in load_imf_rates
Fixes #103
-rw-r--r--src/currency-manager.c86
1 files changed, 44 insertions, 42 deletions
diff --git a/src/currency-manager.c b/src/currency-manager.c
index c29eede..d48f99a 100644
--- a/src/currency-manager.c
+++ b/src/currency-manager.c
@@ -292,57 +292,59 @@ load_imf_rates(CurrencyManager *manager)
const gchar *name, *symbol;
} name_map[] =
{
+ {"Algerian dinar", "DZD"},
+ {"Australian dollar", "AUD"},
+ {"Bahrain Dinar", "BHD"},
+ {"Bolivar Fuerte", "VEF"},
+ {"Botswana pula", "BWP"},
+ {"Brazilian real", "BRL"},
+ {"Brunei dollar", "BND"},
+ {"Canadian dollar", "CAD"},
+ {"Chilean peso", "CLP"},
+ {"Chinese yuan", "CNY"},
+ {"Colombian peso", "COP"},
+ {"Czech koruna", "CZK"},
+ {"Danish krone", "DKK"},
{"Euro", "EUR"},
- {"Japanese Yen", "JPY"},
- {"U.K. Pound Sterling", "GBP"},
- {"U.S. Dollar", "USD"},
- {"Algerian Dinar", "DZD"},
- {"Australian Dollar", "AUD"},
- {"Bahrain Dinar", "BHD"},
- {"Botswana Pula", "BWP"},
- {"Brazilian Real", "BRL"},
- {"Brunei Dollar", "BND"},
- {"Canadian Dollar", "CAD"},
- {"Chilean Peso", "CLP"},
- {"Chinese Yuan", "CNY"},
- {"Colombian Peso", "COP"},
- {"Czech Koruna", "CZK"},
- {"Danish Krone", "DKK"},
{"Hungarian Forint", "HUF"},
{"Icelandic Krona", "ISK"},
- {"Indian Rupee", "INR"},
+ {"Indian rupee", "INR"},
{"Indonesian Rupiah", "IDR"},
{"Iranian Rial", "IRR"},
- {"Israeli New Sheqel", "ILS"},
+ {"Israeli New Shekel", "ILS"},
+ {"Japanese yen", "JPY"},
{"Kazakhstani Tenge", "KZT"},
- {"Korean Won", "KRW"},
- {"Kuwaiti Dinar", "KWD"},
+ {"Korean won", "KRW"},
+ {"Kuwaiti dinar", "KWD"},
{"Libyan Dinar", "LYD"},
- {"Malaysian Ringgit", "MYR"},
- {"Mauritian Rupee", "MUR"},
- {"Mexican Peso", "MXN"},
- {"Nepalese Rupee", "NPR"},
- {"New Zealand Dollar", "NZD"},
- {"Norwegian Krone", "NOK"},
- {"Rial Omani", "OMR"},
- {"Pakistani Rupee", "PKR"},
+ {"Malaysian ringgit", "MYR"},
+ {"Mauritian rupee", "MUR"},
+ {"Mexican peso", "MXN"},
+ {"Nepalese Rupee", "NPR"},
+ {"New Zealand dollar", "NZD"},
+ {"Norwegian krone", "NOK"},
{"Nuevo Sol", "PEN"},
- {"Philippine Peso", "PHP"},
- {"Polish Zloty", "PLN"},
- {"Qatar Riyal", "QAR"},
- {"Russian Ruble", "RUB"},
- {"Saudi Arabian Riyal", "SAR"},
- {"Singapore Dollar", "SGD"},
- {"South African Rand", "ZAR"},
+ {"Omani rial", "OMR"},
+ {"Pakistani Rupee", "PKR"},
+ {"Peruvian sol", "PEN"},
+ {"Philippine peso", "PHP"},
+ {"Polish zloty", "PLN"},
+ {"Qatari riyal", "QAR"},
+ {"Rial Omani", "OMR"},
+ {"Russian ruble", "RUB"},
+ {"Saudi Arabian riyal", "SAR"},
+ {"Singapore dollar", "SGD"},
+ {"South African rand", "ZAR"},
{"Sri Lanka Rupee", "LKR"},
- {"Swedish Krona", "SEK"},
- {"Swiss Franc", "CHF"},
- {"Thai Baht", "THB"},
- {"Trinidad And Tobago Dollar", "TTD"},
- {"Tunisian Dinar", "TND"},
- {"U.A.E. Dirham", "AED"},
- {"Peso Uruguayo", "UYU"},
- {"Bolivar Fuerte", "VEF"},
+ {"Swedish krona", "SEK"},
+ {"Swiss franc", "CHF"},
+ {"Thai baht", "THB"},
+ {"Trinidadian dollar", "TTD"},
+ {"Tunisian Dinar", "TND"},
+ {"U.A.E. dirham", "AED"},
+ {"U.K. pound", "GBP"},
+ {"Uruguayan peso", "UYU"},
+ {"U.S. dollar", "USD"},
{NULL, NULL}
};