A local-first personal finance app
feat(currency): Add Malaysian Ringgit (MYR) currency (#6195)
Jamesbe65d295d075
diff --git a/packages/desktop-client/src/components/settings/Currency.tsx b/packages/desktop-client/src/components/settings/Currency.tsxindex de42b8c1ca..6b4964fb60 100644--- a/packages/desktop-client/src/components/settings/Currency.tsx+++ b/packages/desktop-client/src/components/settings/Currency.tsx@@ -42,6 +42,7 @@ export function CurrencySettings() {['JPY', t('Japanese Yen')],['LKR', t('Sri Lankan Rupee')],['MDL', t('Moldovan Leu')],+ ['MYR', t('Malaysian Ringgit')],['PHP', t('Philippine Peso')],['PLN', t('Polish Złoty')],['QAR', t('Qatari Riyal')],diff --git a/packages/loot-core/src/shared/currencies.ts b/packages/loot-core/src/shared/currencies.tsindex f59f5b00ce..202e86c310 100644--- a/packages/loot-core/src/shared/currencies.ts+++ b/packages/loot-core/src/shared/currencies.ts@@ -42,6 +42,7 @@ export const currencies: Currency[] = [{ code: 'JPY', name: 'Japanese Yen', 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 },{ code: 'PHP', name: 'Philippine Peso', symbol: '₱', decimalPlaces: 2, numberFormat: 'comma-dot', symbolFirst: true },{ code: 'PLN', name: 'Polish Złoty', symbol: 'zł', decimalPlaces: 2, numberFormat: 'space-comma', symbolFirst: false },{ code: 'QAR', name: 'Qatari Riyal', symbol: 'ر.ق', decimalPlaces: 2, numberFormat: 'comma-dot', symbolFirst: false },diff --git a/upcoming-release-notes/6195.md b/upcoming-release-notes/6195.mdnew file mode 100644index 0000000000..f73545c3cc--- /dev/null+++ b/upcoming-release-notes/6195.md@@ -0,0 +1,6 @@+---+category: Features+authors: [voidranjer]+---++Adds Malaysian Ringgit (MYR) currency