A local-first personal finance app
Fix: Added Czech CZK and Hungarian HUF currencies (#6500)
Andrii Hrushetskyi3091320719f4
diff --git a/packages/desktop-client/src/components/settings/Currency.tsx b/packages/desktop-client/src/components/settings/Currency.tsxindex 475e4c4c75..68994f70cc 100644--- a/packages/desktop-client/src/components/settings/Currency.tsx+++ b/packages/desktop-client/src/components/settings/Currency.tsx@@ -31,12 +31,14 @@ export function CurrencySettings() {['CNY', t('Yuan Renminbi')],['COP', t('Colombian Peso')],['CRC', t('Costa Rican Colón')],+ ['CZK', t('Czech Koruna')],['DKK', t('Danish Krone')],['EGP', t('Egyptian Pound')],['EUR', t('Euro')],['GBP', t('Pound Sterling')],['GTQ', t('Guatemalan Quetzal')],['HKD', t('Hong Kong Dollar')],+ ['HUF', t('Hungarian Forint')],['IDR', t('Indonesian Rupiah')],['INR', t('Indian Rupee')],['JMD', t('Jamaican Dollar')],diff --git a/packages/loot-core/src/shared/currencies.ts b/packages/loot-core/src/shared/currencies.tsindex c4854db517..6b0f06f2bc 100644--- a/packages/loot-core/src/shared/currencies.ts+++ b/packages/loot-core/src/shared/currencies.ts@@ -31,12 +31,14 @@ export const currencies: Currency[] = [{ 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: '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: '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 },{ code: 'GTQ', name: 'Guatemalan Quetzal', symbol: 'Q', decimalPlaces: 2, numberFormat: 'comma-dot', symbolFirst: true },{ code: 'HKD', name: 'Hong Kong Dollar', symbol: 'HK$', decimalPlaces: 2, numberFormat: 'comma-dot', symbolFirst: true },+ { 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: 'JMD', name: 'Jamaican Dollar', symbol: 'J$', decimalPlaces: 2, numberFormat: 'comma-dot', symbolFirst: true },diff --git a/upcoming-release-notes/6500.md b/upcoming-release-notes/6500.mdnew file mode 100644index 0000000000..c06742b05e--- /dev/null+++ b/upcoming-release-notes/6500.md@@ -0,0 +1,6 @@+---+category: Enhancements+authors: [Andrii256]+---++Added Czech Koruna (CZK) and Hungarian Forint (HUF) to the list of available currencies.