A local-first personal finance app
feat(currency): Add Dominican Peso (DOP) currency (#7028)
Crhistopher Surielec22923f1898
diff --git a/packages/desktop-client/src/components/settings/Currency.tsx b/packages/desktop-client/src/components/settings/Currency.tsxindex f16c36ed4a..f14c7839c3 100644--- a/packages/desktop-client/src/components/settings/Currency.tsx+++ b/packages/desktop-client/src/components/settings/Currency.tsx@@ -33,6 +33,7 @@ export function CurrencySettings() {['CRC', t('Costa Rican Colón')],['CZK', t('Czech Koruna')],['DKK', t('Danish Krone')],+ ['DOP', t('Dominican Peso')],['EGP', t('Egyptian Pound')],['EUR', t('Euro')],['GBP', t('Pound Sterling')],diff --git a/packages/loot-core/src/shared/currencies.ts b/packages/loot-core/src/shared/currencies.tsindex ef68349025..44cb2ccd42 100644--- a/packages/loot-core/src/shared/currencies.ts+++ b/packages/loot-core/src/shared/currencies.ts@@ -33,6 +33,7 @@ export const currencies: Currency[] = [{ code: 'CRC', name: 'Costa Rican Colón', symbol: '₡', decimalPlaces: 2, numberFormat: 'space-comma', symbolFirst: true },{ code: 'CZK', name: 'Czech Koruna', symbol: 'Kč', decimalPlaces: 2, numberFormat: 'space-comma', symbolFirst: false },{ code: 'DKK', name: 'Danish Krone', symbol: 'kr', decimalPlaces: 2, numberFormat: 'dot-comma', symbolFirst: false },+ { code: 'DOP', name: 'Dominican Peso', symbol: 'RD$', decimalPlaces: 2, numberFormat: 'comma-dot', symbolFirst: true },{ code: 'EGP', name: 'Egyptian Pound', symbol: 'ج.م', decimalPlaces: 2, numberFormat: 'comma-dot', symbolFirst: false },{ code: 'EUR', name: 'Euro', symbol: '€', decimalPlaces: 2, numberFormat: 'dot-comma', symbolFirst: false },{ code: 'GBP', name: 'Pound Sterling', symbol: '£', decimalPlaces: 2, numberFormat: 'comma-dot', symbolFirst: true },diff --git a/upcoming-release-notes/7028.md b/upcoming-release-notes/7028.mdnew file mode 100644index 0000000000..ee172696e0--- /dev/null+++ b/upcoming-release-notes/7028.md@@ -0,0 +1,6 @@+---+category: Features+authors: [csuriel]+---++Adds Dominican Peso (DOP) currency