ValueFormats: Currency: Add support for Bulgarian Lev (BGN) (#77333)

* Add Bulgarian Lev in Currency

* Adding BGN to polestar.json

* Adding Bulgarian lev currency to polystat_test.json
This commit is contained in:
Tisho
2023-10-30 12:21:05 +02:00
committed by GitHub
parent 87eba34745
commit 8a2d058a94
3 changed files with 26 additions and 1 deletions

View File

@ -453,6 +453,10 @@
"text": "CFP franc (XPF)",
"value": "currencyXPF"
}
{
"text": "Bulgarian Lev (BGN)",
"value": "currencyBGN"
}
],
"text": "currency"
},
@ -1612,6 +1616,10 @@
"text": "Malaysian Ringgit (RM)",
"value": "currencyMYR"
}
{
"text": "Bulgarian Lev (BGN)",
"value": "currencyBGN"
}
],
"text": "currency"
},
@ -2711,6 +2719,10 @@
"text": "Malaysian Ringgit (RM)",
"value": "currencyMYR"
}
{
"text": "Bulgarian Lev (BGN)",
"value": "currencyBGN"
}
],
"text": "currency"
},

View File

@ -449,10 +449,14 @@
"text": "Malaysian Ringgit (RM)",
"value": "currencyMYR"
},
{
{
"text": "CFP franc (XPF)",
"value": "currencyXPF"
}
{
"text": "Bulgarian Lev (BGN)",
"value": "currencyBGN"
}
],
"text": "currency"
},
@ -1612,6 +1616,10 @@
"text": "Malaysian Ringgit (RM)",
"value": "currencyMYR"
}
{
"text": "Bulgarian Lev (BGN)",
"value": "currencyBGN"
}
],
"text": "currency"
},
@ -2707,6 +2715,10 @@
"text": "Malaysian Ringgit (RM)",
"value": "currencyMYR"
}
{
"text": "Bulgarian Lev (BGN)",
"value": "currencyBGN"
}
],
"text": "currency"
},

View File

@ -144,6 +144,7 @@ export const getCategories = (): ValueFormatCategory[] => [
{ name: 'Turkish Lira (₺)', id: 'currencyTRY', fn: currency('₺', true) },
{ name: 'Malaysian Ringgit (RM)', id: 'currencyMYR', fn: currency('RM') },
{ name: 'CFP franc (XPF)', id: 'currencyXPF', fn: currency('XPF') },
{ name: 'Bulgarian Lev (BGN)', id: 'currencyBGN', fn: currency('BGN') },
],
},
{