Skip to content

A local-first personal finance app

Add Iranian Rial (#7945)

Amirhosein Azhdarnezhad09cd6c8f15db
diff --git a/packages/desktop-client/src/components/settings/Currency.tsx b/packages/desktop-client/src/components/settings/Currency.tsx
index dc4fcc2b71..fc551a1ac0 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() {
['HUF', t('Hungarian Forint')],
['IDR', t('Indonesian Rupiah')],
['INR', t('Indian Rupee')],
+ ['IRR', t('Iranian Rial')],
['JMD', t('Jamaican Dollar')],
['JPY', t('Japanese Yen')],
['KRW', t('South Korean Won')],
diff --git a/packages/loot-core/src/shared/currencies.ts b/packages/loot-core/src/shared/currencies.ts
index be572d57ab..868f37457e 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: 'HUF', name: 'Hungarian Forint', symbol: 'Ft', decimalPlaces: 2, numberFormat: 'space-comma', symbolFirst: false },
{ code: 'IDR', name: 'Indonesian Rupiah', symbol: 'Rp', decimalPlaces: 2, numberFormat: 'dot-comma', symbolFirst: true },
{ code: 'INR', name: 'Indian Rupee', symbol: '₹', decimalPlaces: 2, numberFormat: 'comma-dot-in', symbolFirst: true },
+ { code: 'IRR', name: 'Iranian Rial', symbol: '﷼', decimalPlaces: 0, numberFormat: 'comma-dot', symbolFirst: false },
{ 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 },
diff --git a/upcoming-release-notes/7945.md b/upcoming-release-notes/7945.md
new file mode 100644
index 0000000000..36aaf25d16
--- /dev/null
+++ b/upcoming-release-notes/7945.md
@@ -0,0 +1,6 @@
+---
+category: Enhancements
+authors: [YoungMind1]
+---
+
+Add IRR currency