This commit is contained in:
Mark Doerr 2025-05-21 00:45:07 +00:00 committed by GitHub
commit f82b4ef5b2
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
4 changed files with 7 additions and 0 deletions

View File

@ -59,6 +59,8 @@ module DiscourseSubscriptions
""
when "czk"
""
when "sek"
"kr"
else
"$"
end

View File

@ -46,6 +46,7 @@ export default class AdminPluginsDiscourseSubscriptionsProductsShowPlansShowCont
{ id: "CHF", name: "CHF" },
{ id: "PLN", name: "PLN" },
{ id: "CZK", name: "CZK" },
{ id: "SEK", name: "SEK" },
];
}

View File

@ -34,6 +34,9 @@ export function formatCurrency([currency, amount]) {
case "CZK":
currencySign = "Kč";
break;
case "SEK":
currencySign = "kr";
break;
default:
currencySign = "$";
}

View File

@ -38,6 +38,7 @@ discourse_subscriptions:
- CHF
- PLN
- CZK
- SEK
discourse_subscriptions_campaign_enabled:
client: true
default: false