A local-first personal finance app
Add TWD Currency (#7095)
YHCc7ebfd8ad4e3
diff --git a/packages/desktop-client/src/components/settings/Currency.tsx b/packages/desktop-client/src/components/settings/Currency.tsxindex 4bd971b3e2..08e05e82fa 100644--- a/packages/desktop-client/src/components/settings/Currency.tsx+++ b/packages/desktop-client/src/components/settings/Currency.tsx@@ -59,6 +59,7 @@ export function CurrencySettings() {['SGD', t('Singapore Dollar')],['THB', t('Thai Baht')],['TRY', t('Turkish Lira')],+ ['TWD', t('New Taiwan Dollar')],['UAH', t('Ukrainian Hryvnia')],['USD', t('US Dollar')],['UZS', t('Uzbek Soum')],diff --git a/packages/loot-core/src/shared/currencies.ts b/packages/loot-core/src/shared/currencies.tsindex f8f7b4e2f9..ce2eef1fe8 100644--- a/packages/loot-core/src/shared/currencies.ts+++ b/packages/loot-core/src/shared/currencies.ts@@ -59,6 +59,7 @@ export const currencies: Currency[] = [{ code: 'SGD', name: 'Singapore Dollar', symbol: 'S$', decimalPlaces: 2, numberFormat: 'comma-dot', symbolFirst: true },{ code: 'THB', name: 'Thai Baht', symbol: '฿', decimalPlaces: 2, numberFormat: 'comma-dot', symbolFirst: true },{ code: 'TRY', name: 'Turkish Lira', symbol: '₺', decimalPlaces: 2, numberFormat: 'dot-comma', symbolFirst: true },+ { code: 'TWD', name: 'New Taiwan Dollar', symbol: 'NT$', decimalPlaces: 2, numberFormat: 'comma-dot', symbolFirst: true },{ code: 'UAH', name: 'Ukrainian Hryvnia', symbol: '₴', decimalPlaces: 2, numberFormat: 'space-comma', symbolFirst: false },{ code: 'USD', name: 'US Dollar', symbol: '$', decimalPlaces: 2, numberFormat: 'comma-dot', symbolFirst: true },{ code: 'UZS', name: 'Uzbek Soum', symbol: 'UZS', decimalPlaces: 2, numberFormat: 'space-comma', symbolFirst: false },diff --git a/upcoming-release-notes/7095.md b/upcoming-release-notes/7095.mdnew file mode 100644index 0000000000..3c65e13a7d--- /dev/null+++ b/upcoming-release-notes/7095.md@@ -0,0 +1,6 @@+---+category: Enhancements+authors: [yhc0712]+---++Add New Taiwan Dollar (TWD) to the list of available currencies.