Add TRY (Turkish lira) to currency list (#29897)

This commit is contained in:
Mehmet Uyanik 2026-05-15 09:45:41 +02:00 • committed by GitHub
parent 117276fb6b
commit 76a54c6c74
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 3 additions and 0 deletions

View file

@ -23,6 +23,7 @@ const CURRENCY_SYMBOLS: Record<CURRENCY, string> = {
DKK: "kr",
SEK: "kr",
ZAR: "R",
TRY: "₺",
};
// list of currencies where energy price should be displayed in subunits (factor 100)
@ -41,6 +42,7 @@ const ENERGY_PRICE_IN_SUBUNIT: Partial<Record<CURRENCY, string>> = {
DKK: "øre", // Danish øre
SEK: "öre", // Swedish öre
ZAR: "c", // South African cent
TRY: "krş", // Türkiye kuruş
};
export enum POWER_UNIT {

View file

@ -381,6 +381,7 @@ export enum CURRENCY {
DKK = "DKK",
SEK = "SEK",
ZAR = "ZAR",
TRY = "TRY",
}
export enum ICON_SIZE {