Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/i18n/locales/de/pricing.json
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@
"pricing.commercial.priceNote": "Für Premium-Sync, Wörterbuch-Autokorrektur, Nicht-GPL-Bedingungen, Beschaffung und Support.",
"pricing.commercial.feature.sameFeatures": "Cloud-Ordner-Sync für Wörterbuch und Snippets",
"pricing.commercial.feature.proprietary": "Automatisches Korrektur-Lernen für wiederkehrende Bearbeitungen",
"pricing.commercial.feature.devices": "Bis zu 2, 10 oder unbegrenzt viele Geräte",
"pricing.commercial.feature.devices": "Bis zu 3, 10 oder unbegrenzt viele Geräte",
"pricing.commercial.feature.priority": "Alternative Bedingungen und Priority-Support",
"pricing.commercial.feature.payWhatYouWant": "Zahl was du willst, ab dem angegebenen Preis",
"pricing.commercial.cta": "Kommerzielle Pläne ansehen",
Expand Down
2 changes: 1 addition & 1 deletion src/i18n/locales/en/pricing.json
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@
"pricing.commercial.priceNote": "For Premium sync, dictionary autocorrection, non-GPL terms, procurement, and support.",
"pricing.commercial.feature.sameFeatures": "Cloud Folder Sync for dictionary and snippets",
"pricing.commercial.feature.proprietary": "Automatic Correction Learning for recurring edits",
"pricing.commercial.feature.devices": "Up to 2, 10, or unlimited devices",
"pricing.commercial.feature.devices": "Up to 3, 10, or unlimited devices",
"pricing.commercial.feature.priority": "Alternative terms and priority support",
"pricing.commercial.feature.payWhatYouWant": "Pay what you want, starting at the listed price",
"pricing.commercial.cta": "See commercial plans",
Expand Down
2 changes: 1 addition & 1 deletion src/lib/pricing.ts
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ export const commercialTiers: CommercialTier[] = [
{
id: "individual",
name: "Individual",
devices: 2,
devices: 3,
price: { monthly: 5, lifetime: 99 },
checkout: {
monthly:
Expand Down
17 changes: 17 additions & 0 deletions tests/pricing.test.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
import assert from "node:assert/strict";
import test from "node:test";

import { commercialTiers } from "../src/lib/pricing.ts";

test("commercial plans expose the current device limits", () => {
assert.deepEqual(
Object.fromEntries(
commercialTiers.map((tier) => [tier.id, tier.devices]),
),
{
individual: 3,
team: 10,
enterprise: "unlimited",
},
);
});
Loading