A local-first personal finance app
add MXN peso (#8060)
youngcw5194e418740f
diff --git a/packages/desktop-client/src/components/settings/Currency.tsx b/packages/desktop-client/src/components/settings/Currency.tsxindex 45c8041e3f..baaf0d64ca 100644--- a/packages/desktop-client/src/components/settings/Currency.tsx+++ b/packages/desktop-client/src/components/settings/Currency.tsx@@ -48,6 +48,7 @@ export function CurrencySettings() {['KRW', t('South Korean Won')],['LKR', t('Sri Lankan Rupee')],['MDL', t('Moldovan Leu')],+ ['MXN', t('Mexican Peso')],['MYR', t('Malaysian Ringgit')],['PHP', t('Philippine Peso')],['PKR', t('Pakistani Rupee')],diff --git a/packages/loot-core/src/shared/currencies.ts b/packages/loot-core/src/shared/currencies.tsindex 8f171ca300..3a82411682 100644--- a/packages/loot-core/src/shared/currencies.ts+++ b/packages/loot-core/src/shared/currencies.ts@@ -49,6 +49,7 @@ export const currencies: Currency[] = [{ code: 'KRW', name: 'South Korean Won', symbol: '₩', decimalPlaces: 0, numberFormat: 'comma-dot', symbolFirst: true },{ code: 'LKR', name: 'Sri Lankan Rupee', symbol: 'Rs.', decimalPlaces: 2, numberFormat: 'comma-dot', symbolFirst: true },{ code: 'MDL', name: 'Moldovan Leu', symbol: 'L', decimalPlaces: 2, numberFormat: 'dot-comma', symbolFirst: false },+ { code: 'MXN', name: 'Mexican Peso', symbol: '$', decimalPlaces: 2, numberFormat: 'comma-dot', symbolFirst: true },{ code: 'MYR', name: 'Malaysian Ringgit', symbol: 'RM', decimalPlaces: 2, numberFormat: 'comma-dot', symbolFirst: true },{ code: 'PHP', name: 'Philippine Peso', symbol: '₱', decimalPlaces: 2, numberFormat: 'comma-dot', symbolFirst: true },{ code: 'PKR', name: 'Pakistani Rupee', symbol: 'Rs.', decimalPlaces: 2, numberFormat: 'comma-dot', symbolFirst: true },diff --git a/upcoming-release-notes/8060.md b/upcoming-release-notes/8060.mdnew file mode 100644index 0000000000..c3a0b0975e--- /dev/null+++ b/upcoming-release-notes/8060.md@@ -0,0 +1,6 @@+---+category: Enhancements+authors: [youngcw]+---++Add Mexican Peso as usable currency