Skip to content

armgit / papra

Public Imported from GitHub
0

The minimalistic document archiving platform.

docs(selfhst): update terminology to "Insider" (#1360)

Corentin Thomassetb6c060d35936
diff --git a/apps/papra-client/src/locales/en.dictionary.ts b/apps/papra-client/src/locales/en.dictionary.ts
index 35d5a8cf..93a628e8 100644
--- a/apps/papra-client/src/locales/en.dictionary.ts
+++ b/apps/papra-client/src/locales/en.dictionary.ts
@@ -1224,11 +1224,11 @@ export const translations = {
// Plan entitlements
- 'plan-entitlements.claim.selfhst.title': 'Claim your selfh.st perk',
+ 'plan-entitlements.claim.selfhst.title': 'Claim your selfh.st Insider perk',
'plan-entitlements.claim.selfhst.description':
- "As a selfh.st premium supporter, you're entitled to a bigger Papra free tier: twice the document storage, email intakes and members on all the free organizations you own.",
+ "As a selfh.st Insider, you're entitled to a bigger Papra free tier: twice the document storage, email intakes and members on all the free organizations you own.",
'plan-entitlements.claim.selfhst.email-notice':
- 'We will verify that your Papra account email {{ email }} has an active selfh.st premium subscription.',
+ 'We will verify that your Papra account email {{ email }} has an active selfh.st Insider membership.',
'plan-entitlements.claim.selfhst.claim-button': 'Claim perk',
'plan-entitlements.claim.selfhst.success.title': 'Perk claimed!',
'plan-entitlements.claim.selfhst.success.description':
@@ -1237,7 +1237,7 @@ export const translations = {
'plan-entitlements.claim.selfhst.already-claimed.description':
'Your selfh.st perk is already active on this account.',
'plan-entitlements.claim.selfhst.errors.not-eligible':
- 'We could not find an active selfh.st premium subscription for {{ email }}. Make sure your Papra account uses the same email as your selfh.st account.',
+ 'We could not find an active selfh.st Insider membership for {{ email }}. Make sure your Papra account uses the same email as your selfh.st account.',
'plan-entitlements.claim.selfhst.errors.claims-disabled':
'Claiming this perk is currently disabled. Please try again later.',
'plan-entitlements.claim.selfhst.errors.rate-limited':
diff --git a/apps/papra-server/src/modules/plan-entitlements/selfhst/selfhst.plan-entitlements.constants.ts b/apps/papra-server/src/modules/plan-entitlements/selfhst/selfhst.plan-entitlements.constants.ts
index 6a66647d..49f5c423 100644
--- a/apps/papra-server/src/modules/plan-entitlements/selfhst/selfhst.plan-entitlements.constants.ts
+++ b/apps/papra-server/src/modules/plan-entitlements/selfhst/selfhst.plan-entitlements.constants.ts
@@ -1,13 +1,13 @@
export const SELFHST_ENTITLEMENT_NAME = 'selfhst-premium';
// Validity window granted on claim and rolled forward by the periodic
-// re-verification task; a lapsed selfh.st subscription expires naturally.
+// re-verification task; a lapsed selfh.st Insider membership expires naturally.
// Temporal.Instant does not support calendar units, hence hours.
export const SELFHST_ENTITLEMENT_CLAIM_VALIDITY_DURATION: Temporal.DurationLike = {
hours: 45 * 24,
};
-// Once selfh.st confirms a user is no longer premium, their entitlement
+// Once selfh.st confirms a user is no longer an Insider, their entitlement
// expiration is capped to this grace period instead of the full validity
// window, long enough to absorb billing hiccups on selfh.st's side
export const SELFHST_ENTITLEMENT_INELIGIBILITY_GRACE_DURATION: Temporal.DurationLike = {