diff --git a/data/com.github.lainsce.coin.appdata.xml.in b/data/com.github.lainsce.coin.appdata.xml.in index 587947b..0fe0ed9 100644 --- a/data/com.github.lainsce.coin.appdata.xml.in +++ b/data/com.github.lainsce.coin.appdata.xml.in @@ -55,6 +55,15 @@ none + + +

Release: Portuguese Reis

+
    +
  • Added: Hungarian Forint.
  • +
  • Fixed: Symbols of Bitcoin Cash, Tezos and Cardano Ada.
  • +
+
+

Release: Greek Drachma

diff --git a/meson.build b/meson.build index 4badf8e..613e5d1 100644 --- a/meson.build +++ b/meson.build @@ -1,6 +1,6 @@ # Name our project project('com.github.lainsce.coin', ['vala', 'c'], - version: '1.2.8' + version: '1.3.0' ) # Import main lib files diff --git a/src/MainWindow.vala b/src/MainWindow.vala index f3d1504..444e483 100644 --- a/src/MainWindow.vala +++ b/src/MainWindow.vala @@ -75,6 +75,7 @@ namespace Coin { base_currency.append_text(_("Japanese Yen")); base_currency.append_text(_("Russian Ruble")); base_currency.append_text(_("S. African Rand")); + base_currency.append_text(_("Hungarian Forint")); base_currency.margin = 6; base_currency.set_active(Coin.Application.gsettings.get_int("coin")); @@ -89,7 +90,7 @@ namespace Coin { base_vcurrency.append_text("ZCash"); base_vcurrency.append_text("Monero"); base_vcurrency.append_text("Bitcoin Cash"); - base_vcurrency.append_text("Cardano"); + base_vcurrency.append_text("Cardano Ada"); base_vcurrency.append_text("Tezos"); base_vcurrency.margin = 6; @@ -271,6 +272,9 @@ namespace Coin { } else if (Coin.Application.gsettings.get_int("coin") == 10) { base_currency.set_active(10); coin_iso = "ZAR"; + } else if (Coin.Application.gsettings.get_int("coin") == 11) { + base_currency.set_active(11); + coin_iso = "HUF"; } else { base_currency.set_active(0); coin_iso = "USD"; @@ -345,18 +349,15 @@ namespace Coin { var curr_symbol = ""; Coin.Application.gsettings.set_int("coin", base_currency.get_active()); switch (Coin.Application.gsettings.get_int("coin")) { - case 4: - curr_symbol = "R$"; - break; - case 10: - curr_symbol = "R"; - break; case 1: curr_symbol = "€"; break; case 2: curr_symbol = "£"; break; + case 4: + curr_symbol = "R$"; + break; case 0: case 3: case 5: @@ -366,11 +367,17 @@ namespace Coin { case 6: curr_symbol = "¥"; break; + case 7: + curr_symbol = "₹"; + break; case 9: curr_symbol = "₽"; break; - case 7: - curr_symbol = "₹"; + case 10: + curr_symbol = "R"; + break; + case 11: + curr_symbol = "ቂ"; break; default: curr_symbol = "¤"; @@ -405,13 +412,13 @@ namespace Coin { vcurr_symbol = "ɱ"; break; case 8: - vcurr_symbol = "BC"; + vcurr_symbol = "Ƀ"; break; case 9: - vcurr_symbol = "ADA"; + vcurr_symbol = "₳"; break; case 10: - vcurr_symbol = "XTZ"; + vcurr_symbol = "ꜩ"; break; default: curr_symbol = "¬";