Skip to content

A local-first personal finance app

Add LKR and CRC currencies (#5848)

Haritha Hasathcharu8bf099727599
diff --git a/packages/desktop-client/src/components/settings/Currency.tsx b/packages/desktop-client/src/components/settings/Currency.tsx
index ce8d6c0223..6cbb5c8e0f 100644
--- a/packages/desktop-client/src/components/settings/Currency.tsx
+++ b/packages/desktop-client/src/components/settings/Currency.tsx
@@ -26,12 +26,14 @@ export function CurrencySettings() {
['CAD', t('Canadian Dollar')],
['CHF', t('Swiss Franc')],
['CNY', t('Yuan Renminbi')],
+ ['CRC', t('Costa Rican Colón')],
['EUR', t('Euro')],
['GBP', t('Pound Sterling')],
['HKD', t('Hong Kong Dollar')],
['INR', t('Indian Rupee')],
['JMD', t('Jamaican Dollar')],
// ['JPY', t('Yen')],
+ ['LKR', t('Sri Lankan Rupee')],
['MDL', t('Moldovan Leu')],
['PHP', t('Philippine Peso')],
['PLN', t('Polish Złoty')],
diff --git a/packages/loot-core/src/shared/currencies.ts b/packages/loot-core/src/shared/currencies.ts
index 084860c8d7..2f06db6ff7 100644
--- a/packages/loot-core/src/shared/currencies.ts
+++ b/packages/loot-core/src/shared/currencies.ts
@@ -17,12 +17,14 @@ export const currencies: Currency[] = [
{ code: 'CAD', name: 'Canadian Dollar', symbol: 'CA$', decimalPlaces: 2 },
{ code: 'CHF', name: 'Swiss Franc', symbol: 'Fr.', decimalPlaces: 2 },
{ code: 'CNY', name: 'Yuan Renminbi', symbol: '¥', decimalPlaces: 2 },
+ { code: 'CRC', name: 'Costa Rican Colón', symbol: '₡', decimalPlaces: 2 },
{ code: 'EUR', name: 'Euro', symbol: '€', decimalPlaces: 2 },
{ code: 'GBP', name: 'Pound Sterling', symbol: '£', decimalPlaces: 2 },
{ code: 'HKD', name: 'Hong Kong Dollar', symbol: 'HK$', decimalPlaces: 2 },
{ code: 'INR', name: 'Indian Rupee', symbol: '₹', decimalPlaces: 2 },
{ code: 'JMD', name: 'Jamaican Dollar', symbol: 'J$', decimalPlaces: 2 },
// { code: 'JPY', name: 'Yen', symbol: '¥', decimalPlaces: 0 },
+ { code: 'LKR', name: 'Sri Lankan Rupee', symbol: 'Rs.', decimalPlaces: 2 },
{ 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 },
diff --git a/upcoming-release-notes/5848.md b/upcoming-release-notes/5848.md
new file mode 100644
index 0000000000..83aacd6428
--- /dev/null
+++ b/upcoming-release-notes/5848.md
@@ -0,0 +1,6 @@
+---
+category: Features
+authors: [hasathcharu]
+---
+
+Add LKR and CRC currencies