Skip to content

A local-first personal finance app

Add the Norwegian Krone to the list of available currencies (#9256)

Antoine A.8c2fa0e86be1
diff --git a/packages/desktop-client/src/components/settings/Currency.tsx b/packages/desktop-client/src/components/settings/Currency.tsx
index 7b18132a87..1ca7cf6898 100644
--- a/packages/desktop-client/src/components/settings/Currency.tsx
+++ b/packages/desktop-client/src/components/settings/Currency.tsx
@@ -52,6 +52,7 @@ export function CurrencySettings() {
['MKD', t('Macedonian Denar')],
['MXN', t('Mexican Peso')],
['MYR', t('Malaysian Ringgit')],
+ ['NOK', t('Norwegian Krone')],
['PEN', t('Peruvian Sol')],
['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.ts
index e86293aede..a0a790bd2b 100644
--- a/packages/loot-core/src/shared/currencies.ts
+++ b/packages/loot-core/src/shared/currencies.ts
@@ -54,6 +54,7 @@ export const currencies: Currency[] = [
{ code: 'MKD', name: 'Macedonian Denar', symbol: 'ден', 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: 'NOK', name: 'Norwegian Krone', symbol: 'kr', decimalPlaces: 2, numberFormat: 'space-comma', symbolFirst: false },
{ code: 'PEN', name: 'Peruvian Sol', symbol: 'S/', 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/add-norwegian-krone-currency.md b/upcoming-release-notes/add-norwegian-krone-currency.md
new file mode 100644
index 0000000000..aa97553811
--- /dev/null
+++ b/upcoming-release-notes/add-norwegian-krone-currency.md
@@ -0,0 +1,6 @@
+---
+category: Enhancements
+authors: [mirfire]
+---
+
+Add the Norwegian Krone to the list of available currencies