Skip to content

A local-first personal finance app

Add COP (Colombian Peso) to Currencies (#6115)

Georg Hartmanned77caf9474f
diff --git a/packages/desktop-client/src/components/settings/Currency.tsx b/packages/desktop-client/src/components/settings/Currency.tsx
index 5144e6a6d3..57f12b3516 100644
--- a/packages/desktop-client/src/components/settings/Currency.tsx
+++ b/packages/desktop-client/src/components/settings/Currency.tsx
@@ -28,6 +28,7 @@ export function CurrencySettings() {
['CAD', t('Canadian Dollar')],
['CHF', t('Swiss Franc')],
['CNY', t('Yuan Renminbi')],
+ ['COP', t('Colombian Peso')],
['CRC', t('Costa Rican Colón')],
['DKK', t('Danish Krone')],
['EGP', t('Egyptian Pound')],
diff --git a/packages/loot-core/src/shared/currencies.ts b/packages/loot-core/src/shared/currencies.ts
index 37473db5ee..4ea5135a9e 100644
--- a/packages/loot-core/src/shared/currencies.ts
+++ b/packages/loot-core/src/shared/currencies.ts
@@ -28,6 +28,7 @@ export const currencies: Currency[] = [
{ code: 'CAD', name: 'Canadian Dollar', symbol: 'CA$', decimalPlaces: 2, numberFormat: 'comma-dot', symbolFirst: true },
{ code: 'CHF', name: 'Swiss Franc', symbol: 'Fr.', decimalPlaces: 2, numberFormat: 'apostrophe-dot', symbolFirst: true },
{ code: 'CNY', name: 'Yuan Renminbi', symbol: '¥', decimalPlaces: 2, numberFormat: 'comma-dot', symbolFirst: true },
+ { code: 'COP', name: 'Colombian Peso', symbol: 'Col$', decimalPlaces: 2, numberFormat: 'dot-comma', symbolFirst: true },
{ code: 'CRC', name: 'Costa Rican Colón', symbol: '₡', decimalPlaces: 2, numberFormat: 'space-comma', symbolFirst: true },
{ code: 'DKK', name: 'Danish Krone', symbol: 'kr', decimalPlaces: 2, numberFormat: 'dot-comma', symbolFirst: false },
{ code: 'EGP', name: 'Egyptian Pound', symbol: 'ج.م', decimalPlaces: 2, numberFormat: 'comma-dot', symbolFirst: false },
diff --git a/upcoming-release-notes/6115.md b/upcoming-release-notes/6115.md
new file mode 100644
index 0000000000..43a41126a1
--- /dev/null
+++ b/upcoming-release-notes/6115.md
@@ -0,0 +1,6 @@
+---
+category: Enhancements
+authors: [brasilikum]
+---
+
+Add COP (Colombian Peso) to Currencies