Added Guatemalan quetzal (GTQ) and Danish krone (DKK) (#6084)

* chore: initialize add-gtq-dkk branch

* feat: add gtq and dkk currencies

* chore: add release-note
This commit is contained in:
Carlos Simon
2025-11-07 13:20:19 -06:00
committed by GitHub
parent b80c2d002b
commit b7841d0313
3 changed files with 10 additions and 0 deletions

View File

@@ -29,9 +29,11 @@ export function CurrencySettings() {
['CHF', t('Swiss Franc')],
['CNY', t('Yuan Renminbi')],
['CRC', t('Costa Rican Colón')],
['DKK', t('Danish Krone')],
['EGP', t('Egyptian Pound')],
['EUR', t('Euro')],
['GBP', t('Pound Sterling')],
['GTQ', t('Guatemalan Quetzal')],
['HKD', t('Hong Kong Dollar')],
['INR', t('Indian Rupee')],
['JMD', t('Jamaican Dollar')],

View File

@@ -29,9 +29,11 @@ export const currencies: Currency[] = [
{ 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: '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 },
{ 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: '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 },

View File

@@ -0,0 +1,6 @@
---
category: Enhancements
authors: [Charlisim]
---
Add support for GTQ and DKK currencies