edit currency aliases

This commit is contained in:
MM20
2026-06-27 16:18:07 +02:00
parent b1b2daa67d
commit fd25df0121

View File

@@ -58,6 +58,7 @@ class CurrencyRepository(
"ARS", "ARS",
"CLP", "CLP",
"COP", "COP",
"CUP",
"DOP", "DOP",
"MXN", "MXN",
"UYU", "UYU",
@@ -79,9 +80,15 @@ class CurrencyRepository(
put("¥", if (ownCurrency == "CNY") "CNY" else "JPY") put("¥", if (ownCurrency == "CNY") "CNY" else "JPY")
put("", if (ownCurrency == "KPW") "KPW" else "KRW") put("", if (ownCurrency == "KPW") "KPW" else "KRW")
put("kr", if (ownCurrency == "NOK") "NOK" else "SEK") if (ownCurrency == "NOK" || ownCurrency == "SEK" || ownCurrency == "DKK" || ownCurrency == "ISK") {
put("kr.", "DKK") put("kr", ownCurrency)
put("Kr", "ISK") put("kr.", ownCurrency)
put("Kr", ownCurrency)
} else {
put("kr", "SEK")
put("kr.", "DKK")
put("Kr", "ISK")
}
put("", "PLN") put("", "PLN")
put("", "CZK") put("", "CZK")
@@ -90,11 +97,11 @@ class CurrencyRepository(
put("Ft", "HUF") put("Ft", "HUF")
put("", "ILS") put("", "ILS")
put("TL", "TRY") put("", "TRY")
put("R$", "BRL") put("R$", "BRL")
put("", if (ownCurrency == "CUP") "CUP" else "PHP") put("", "PHP")
put("฿", "THB") put("฿", "THB")
put("", "INR") put("", "INR")