[gnome-calculator/gnome-3-28] Fixes #66: Updated currency names based on updated IMF document
- From: Robert Roth <robertroth src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-calculator/gnome-3-28] Fixes #66: Updated currency names based on updated IMF document
- Date: Mon, 18 Jun 2018 17:14:19 +0000 (UTC)
commit 8d72d31cb26f81a277c35ac071aa96a64460fb24
Author: Robert Roth <robert roth off gmail com>
Date: Mon Jun 18 20:08:33 2018 +0300
Fixes #66: Updated currency names based on updated IMF document
lib/currency.vala | 98 +++++++++++++++++++++++++++----------------------------
1 file changed, 49 insertions(+), 49 deletions(-)
---
diff --git a/lib/currency.vala b/lib/currency.vala
index e29ddcd6..f9b913aa 100644
--- a/lib/currency.vala
+++ b/lib/currency.vala
@@ -166,55 +166,55 @@ public class CurrencyManager : Object
{
var name_map = new HashTable <string, string> (str_hash, str_equal);
name_map.insert ("Euro", "EUR");
- name_map.insert ("Japanese Yen", "JPY");
- name_map.insert ("U.K. Pound Sterling", "GBP");
- name_map.insert ("U.S. Dollar", "USD");
- name_map.insert ("Algerian Dinar", "DZD");
- name_map.insert ("Australian Dollar", "AUD");
- name_map.insert ("Bahrain Dinar", "BHD");
- name_map.insert ("Botswana Pula", "BWP");
- name_map.insert ("Brazilian Real", "BRL");
- name_map.insert ("Brunei Dollar", "BND");
- name_map.insert ("Canadian Dollar", "CAD");
- name_map.insert ("Chilean Peso", "CLP");
- name_map.insert ("Chinese Yuan", "CNY");
- name_map.insert ("Colombian Peso", "COP");
- name_map.insert ("Czech Koruna", "CZK");
- name_map.insert ("Danish Krone", "DKK");
- name_map.insert ("Hungarian Forint", "HUF");
- name_map.insert ("Icelandic Krona", "ISK");
- name_map.insert ("Indian Rupee", "INR");
- name_map.insert ("Indonesian Rupiah", "IDR");
- name_map.insert ("Iranian Rial", "IRR");
- name_map.insert ("Israeli New Sheqel", "ILS");
- name_map.insert ("Kazakhstani Tenge", "KZT");
- name_map.insert ("Korean Won", "KRW");
- name_map.insert ("Kuwaiti Dinar", "KWD");
- name_map.insert ("Libyan Dinar", "LYD");
- name_map.insert ("Malaysian Ringgit", "MYR");
- name_map.insert ("Mauritian Rupee", "MUR");
- name_map.insert ("Mexican Peso", "MXN");
- name_map.insert ("Nepalese Rupee", "NPR");
- name_map.insert ("New Zealand Dollar", "NZD");
- name_map.insert ("Norwegian Krone", "NOK");
- name_map.insert ("Rial Omani", "OMR");
- name_map.insert ("Pakistani Rupee", "PKR");
- name_map.insert ("Nuevo Sol", "PEN");
- name_map.insert ("Philippine Peso", "PHP");
- name_map.insert ("Polish Zloty", "PLN");
- name_map.insert ("Qatar Riyal", "QAR");
- name_map.insert ("Russian Ruble", "RUB");
- name_map.insert ("Saudi Arabian Riyal", "SAR");
- name_map.insert ("Singapore Dollar", "SGD");
- name_map.insert ("South African Rand", "ZAR");
- name_map.insert ("Sri Lanka Rupee", "LKR");
- name_map.insert ("Swedish Krona", "SEK");
- name_map.insert ("Swiss Franc", "CHF");
- name_map.insert ("Thai Baht", "THB");
- name_map.insert ("Trinidad And Tobago Dollar", "TTD");
- name_map.insert ("Tunisian Dinar", "TND");
- name_map.insert ("U.A.E. Dirham", "AED");
- name_map.insert ("Peso Uruguayo", "UYU");
+ name_map.insert ("Japanese yen", "JPY");
+ name_map.insert ("U.K. pound", "GBP");
+ name_map.insert ("U.S. dollar", "USD");
+ name_map.insert ("Algerian dinar", "DZD");
+ name_map.insert ("Australian dollar", "AUD");
+ name_map.insert ("Bahrain dinar", "BHD");
+ name_map.insert ("Botswana pula", "BWP");
+ name_map.insert ("Brazilian real", "BRL");
+ name_map.insert ("Brunei dollar", "BND");
+ name_map.insert ("Canadian dollar", "CAD");
+ name_map.insert ("Chilean peso", "CLP");
+ name_map.insert ("Chinese yuan", "CNY");
+ name_map.insert ("Colombian peso", "COP");
+ name_map.insert ("Czech koruna", "CZK");
+ name_map.insert ("Danish krone", "DKK");
+ name_map.insert ("Hungarian forint", "HUF");
+ name_map.insert ("Icelandic krona", "ISK");
+ name_map.insert ("Indian rupee", "INR");
+ name_map.insert ("Indonesian rupiah", "IDR");
+ name_map.insert ("Iranian rial", "IRR");
+ name_map.insert ("Israeli New Shekel", "ILS");
+ name_map.insert ("Kazakhstani tenge", "KZT");
+ name_map.insert ("Korean won", "KRW");
+ name_map.insert ("Kuwaiti dinar", "KWD");
+ name_map.insert ("Libyan dinar", "LYD");
+ name_map.insert ("Malaysian ringgit", "MYR");
+ name_map.insert ("Mauritian rupee", "MUR");
+ name_map.insert ("Mexican peso", "MXN");
+ name_map.insert ("Nepalese rupee", "NPR");
+ name_map.insert ("New Zealand dollar", "NZD");
+ name_map.insert ("Norwegian krone", "NOK");
+ name_map.insert ("Omani rial", "OMR");
+ name_map.insert ("Pakistani rupee", "PKR");
+ name_map.insert ("Peruvian sol", "PEN");
+ name_map.insert ("Philippine peso", "PHP");
+ name_map.insert ("Polish zloty", "PLN");
+ name_map.insert ("Qatari riyal", "QAR");
+ name_map.insert ("Russian ruble", "RUB");
+ name_map.insert ("Saudi Arabian riyal", "SAR");
+ name_map.insert ("Singapore dollar", "SGD");
+ name_map.insert ("South African rand", "ZAR");
+ name_map.insert ("Sri Lankan rupee", "LKR");
+ name_map.insert ("Swedish krona", "SEK");
+ name_map.insert ("Swiss franc", "CHF");
+ name_map.insert ("Thai baht", "THB");
+ name_map.insert ("Trinidadian dollar", "TTD");
+ name_map.insert ("Tunisian dinar", "TND");
+ name_map.insert ("U.A.E. dirham", "AED");
+ name_map.insert ("Uruguayan peso", "UYU");
name_map.insert ("Bolivar Fuerte", "VEF");
var filename = get_imf_rate_filepath ();
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]