A local-first personal finance app
feat(currency): Add South Korean Won (#6846)
jintakhan9798c26462f7
diff --git a/packages/desktop-client/src/components/settings/Currency.tsx b/packages/desktop-client/src/components/settings/Currency.tsxindex 68994f70cc..e8e04dddd0 100644--- a/packages/desktop-client/src/components/settings/Currency.tsx+++ b/packages/desktop-client/src/components/settings/Currency.tsx@@ -43,6 +43,7 @@ export function CurrencySettings() {['INR', t('Indian Rupee')],['JMD', t('Jamaican Dollar')],['JPY', t('Japanese Yen')],+ ['KRW', t('South Korean Won')],['LKR', t('Sri Lankan Rupee')],['MDL', t('Moldovan Leu')],['MYR', t('Malaysian Ringgit')],diff --git a/packages/loot-core/src/shared/currencies.ts b/packages/loot-core/src/shared/currencies.tsindex 0e5bd9b521..e136d1c89b 100644--- a/packages/loot-core/src/shared/currencies.ts+++ b/packages/loot-core/src/shared/currencies.ts@@ -43,6 +43,7 @@ export const currencies: Currency[] = [{ code: 'INR', name: 'Indian Rupee', symbol: '₹', decimalPlaces: 2, numberFormat: 'comma-dot-in', symbolFirst: true },{ code: 'JMD', name: 'Jamaican Dollar', symbol: 'J$', decimalPlaces: 2, numberFormat: 'comma-dot', symbolFirst: true },{ code: 'JPY', name: 'Japanese Yen', symbol: '¥', decimalPlaces: 0, numberFormat: 'comma-dot', symbolFirst: true },+ { code: 'KRW', name: 'South Korean Won', symbol: '₩', decimalPlaces: 0, numberFormat: 'comma-dot', symbolFirst: true },{ code: 'LKR', name: 'Sri Lankan Rupee', symbol: 'Rs.', decimalPlaces: 2, numberFormat: 'comma-dot', symbolFirst: true },{ code: 'MDL', name: 'Moldovan Leu', symbol: 'L', decimalPlaces: 2, numberFormat: 'dot-comma', symbolFirst: false },{ code: 'MYR', name: 'Malaysian Ringgit', symbol: 'RM', decimalPlaces: 2, numberFormat: 'comma-dot', symbolFirst: true },diff --git a/upcoming-release-notes/6846.md b/upcoming-release-notes/6846.mdnew file mode 100644index 0000000000..ff38ddacc3--- /dev/null+++ b/upcoming-release-notes/6846.md@@ -0,0 +1,6 @@+---+category: Enhancements+authors: [jintakhan]+---++Add South Korean Won to list of currencies