Skip to content

Commit 9798c26

Browse files
authored
feat(currency): Add South Korean Won (#6846)
* Add South Korean Won * Update currencies.ts * Add release notes
1 parent 37a7d0e commit 9798c26

File tree

3 files changed

+8
-0
lines changed

3 files changed

+8
-0
lines changed

packages/desktop-client/src/components/settings/Currency.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@ export function CurrencySettings() {
4343
['INR', t('Indian Rupee')],
4444
['JMD', t('Jamaican Dollar')],
4545
['JPY', t('Japanese Yen')],
46+
['KRW', t('South Korean Won')],
4647
['LKR', t('Sri Lankan Rupee')],
4748
['MDL', t('Moldovan Leu')],
4849
['MYR', t('Malaysian Ringgit')],

packages/loot-core/src/shared/currencies.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@ export const currencies: Currency[] = [
4343
{ code: 'INR', name: 'Indian Rupee', symbol: '₹', decimalPlaces: 2, numberFormat: 'comma-dot-in', symbolFirst: true },
4444
{ code: 'JMD', name: 'Jamaican Dollar', symbol: 'J$', decimalPlaces: 2, numberFormat: 'comma-dot', symbolFirst: true },
4545
{ code: 'JPY', name: 'Japanese Yen', symbol: '¥', decimalPlaces: 0, numberFormat: 'comma-dot', symbolFirst: true },
46+
{ code: 'KRW', name: 'South Korean Won', symbol: '₩', decimalPlaces: 0, numberFormat: 'comma-dot', symbolFirst: true },
4647
{ code: 'LKR', name: 'Sri Lankan Rupee', symbol: 'Rs.', decimalPlaces: 2, numberFormat: 'comma-dot', symbolFirst: true },
4748
{ code: 'MDL', name: 'Moldovan Leu', symbol: 'L', decimalPlaces: 2, numberFormat: 'dot-comma', symbolFirst: false },
4849
{ code: 'MYR', name: 'Malaysian Ringgit', symbol: 'RM', decimalPlaces: 2, numberFormat: 'comma-dot', symbolFirst: true },

upcoming-release-notes/6846.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
---
2+
category: Enhancements
3+
authors: [jintakhan]
4+
---
5+
6+
Add South Korean Won to list of currencies

0 commit comments

Comments
 (0)