1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-12 06:13:38 +00:00

[PM-15814]Alert owners of reseller-managed orgs to renewal events (#12834)

* Makes changes on the text

* Rename the message names
This commit is contained in:
cyprain-okeke
2025-01-13 18:12:24 +01:00
committed by GitHub
parent 52b6bfea1d
commit 698479eb5a
2 changed files with 9 additions and 9 deletions

View File

@@ -33,7 +33,7 @@ export class ResellerWarningService {
return { return {
type: "warning", type: "warning",
message: this.i18nService.t( message: this.i18nService.t(
"resellerPastDueWarning", "resellerPastDueWarningMsg",
organization.providerName, organization.providerName,
this.formatDate(gracePeriodEnd), this.formatDate(gracePeriodEnd),
), ),
@@ -50,7 +50,7 @@ export class ResellerWarningService {
return { return {
type: "info", type: "info",
message: this.i18nService.t( message: this.i18nService.t(
"resellerOpenInvoiceWarning", "resellerOpenInvoiceWarningMgs",
organization.providerName, organization.providerName,
this.formatDate(organizationBillingMetadata.invoiceCreatedDate), this.formatDate(organizationBillingMetadata.invoiceCreatedDate),
this.formatDate(organizationBillingMetadata.invoiceDueDate), this.formatDate(organizationBillingMetadata.invoiceDueDate),
@@ -68,7 +68,7 @@ export class ResellerWarningService {
return { return {
type: "info", type: "info",
message: this.i18nService.t( message: this.i18nService.t(
"resellerRenewalWarning", "resellerRenewalWarningMsg",
organization.providerName, organization.providerName,
this.formatDate(organizationBillingMetadata.subPeriodEndDate), this.formatDate(organizationBillingMetadata.subPeriodEndDate),
), ),

View File

@@ -10104,8 +10104,8 @@
"organizationNameMaxLength": { "organizationNameMaxLength": {
"message": "Organization name cannot exceed 50 characters." "message": "Organization name cannot exceed 50 characters."
}, },
"resellerRenewalWarning": { "resellerRenewalWarningMsg": {
"message": "Your subscription will renew soon. To insure uninterrupted service, contact $RESELLER$ to confirm your renewal before $RENEWAL_DATE$.", "message": "Your subscription will renew soon. To ensure uninterrupted service, contact $RESELLER$ to confirm your renewal before $RENEWAL_DATE$.",
"placeholders": { "placeholders": {
"reseller": { "reseller": {
"content": "$1", "content": "$1",
@@ -10117,8 +10117,8 @@
} }
} }
}, },
"resellerOpenInvoiceWarning": { "resellerOpenInvoiceWarningMgs": {
"message": "An invoice for your subscription was issued on $ISSUED_DATE$. To insure uninterrupted service, contact $RESELLER$ to confirm your renewal before $DUE_DATE$.", "message": "An invoice for your subscription was issued on $ISSUED_DATE$. To ensure uninterrupted service, contact $RESELLER$ to confirm your renewal before $DUE_DATE$.",
"placeholders": { "placeholders": {
"reseller": { "reseller": {
"content": "$1", "content": "$1",
@@ -10134,8 +10134,8 @@
} }
} }
}, },
"resellerPastDueWarning": { "resellerPastDueWarningMsg": {
"message": "The invoice for your subscription has not been paid. To insure uninterrupted service, contact $RESELLER$ to confirm your renewal before $GRACE_PERIOD_END$.", "message": "The invoice for your subscription has not been paid. To ensure uninterrupted service, contact $RESELLER$ to confirm your renewal before $GRACE_PERIOD_END$.",
"placeholders": { "placeholders": {
"reseller": { "reseller": {
"content": "$1", "content": "$1",