Add TRY (Turkish lira) to currency list (#29897)
This commit is contained in:
parent
117276fb6b
commit
76a54c6c74
2 changed files with 3 additions and 0 deletions
|
|
@ -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 {
|
||||
|
|
|
|||
|
|
@ -381,6 +381,7 @@ export enum CURRENCY {
|
|||
DKK = "DKK",
|
||||
SEK = "SEK",
|
||||
ZAR = "ZAR",
|
||||
TRY = "TRY",
|
||||
}
|
||||
|
||||
export enum ICON_SIZE {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue