A local-first personal finance app
Add Romanian and Moldovan currency (#5688)
biolanfafcee071d78
diff --git a/packages/desktop-client/src/components/settings/Currency.tsx b/packages/desktop-client/src/components/settings/Currency.tsxindex 7eb0fd4c20..cebbb22f94 100644--- a/packages/desktop-client/src/components/settings/Currency.tsx+++ b/packages/desktop-client/src/components/settings/Currency.tsx@@ -30,8 +30,10 @@ export function CurrencySettings() {['HKD', t('Hong Kong Dollar')],['INR', t('Indian Rupee')],// ['JPY', t('Yen')],+ ['MDL', t('Moldovan Leu')],['PHP', t('Philippine Peso')],['PLN', t('Polish Złoty')],+ ['RON', t('Romanian Leu')],['SEK', t('Swedish Krona')],['SGD', t('Singapore Dollar')],['TRY', t('Turkish Lira')],diff --git a/packages/loot-core/src/shared/currencies.ts b/packages/loot-core/src/shared/currencies.tsindex 0d4d01da95..0d6b747975 100644--- a/packages/loot-core/src/shared/currencies.ts+++ b/packages/loot-core/src/shared/currencies.ts@@ -21,8 +21,10 @@ export const currencies: Currency[] = [{ code: 'HKD', name: 'Hong Kong Dollar', symbol: 'HK$', decimalPlaces: 2 },{ code: 'INR', name: 'Indian Rupee', symbol: '₹', decimalPlaces: 2 },// { code: 'JPY', name: 'Yen', symbol: '¥', decimalPlaces: 0 },+ { code: 'MDL', name: 'Moldovan Leu', symbol: 'L', decimalPlaces: 2 },{ code: 'PHP', name: 'Philippine Peso', symbol: '₱', decimalPlaces: 2 },{ code: 'PLN', name: 'Polish Złoty', symbol: 'zł', decimalPlaces: 2 },+ { code: 'RON', name: 'Romanian Leu', symbol: 'lei', decimalPlaces: 2 },{ code: 'SEK', name: 'Swedish Krona', symbol: 'kr', decimalPlaces: 2 },{ code: 'SGD', name: 'Singapore Dollar', symbol: 'S$', decimalPlaces: 2 },{ code: 'TRY', name: 'Turkish Lira', symbol: '₺', decimalPlaces: 2 },diff --git a/upcoming-release-notes/5688.md b/upcoming-release-notes/5688.mdnew file mode 100644index 0000000000..e76dbb0921--- /dev/null+++ b/upcoming-release-notes/5688.md@@ -0,0 +1,6 @@+---+category: Enhancements+authors: [biolan]+---++Add Romanian and Moldovan Leu currencies