1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-15 07:43:35 +00:00

[PM-8228] - new premium component - fix copy (#10642)

* fix copy

* remove change to default config
This commit is contained in:
Jordan Aasen
2024-08-21 09:20:13 -07:00
committed by GitHub
parent 0873f03932
commit 15088b66e9
3 changed files with 16 additions and 4 deletions

View File

@@ -1083,7 +1083,7 @@
"message": "1 GB encrypted storage for file attachments." "message": "1 GB encrypted storage for file attachments."
}, },
"premiumSignUpEmergency": { "premiumSignUpEmergency": {
"message": "Emergency access" "message": "Emergency access."
}, },
"premiumSignUpTwoStepOptions": { "premiumSignUpTwoStepOptions": {
"message": "Proprietary two-step login options such as YubiKey and Duo." "message": "Proprietary two-step login options such as YubiKey and Duo."
@@ -1115,6 +1115,9 @@
"premiumCurrentMemberThanks": { "premiumCurrentMemberThanks": {
"message": "Thank you for supporting Bitwarden." "message": "Thank you for supporting Bitwarden."
}, },
"premiumFeatures": {
"message": "Upgrade to premium and receive:"
},
"premiumPrice": { "premiumPrice": {
"message": "All for just $PRICE$ /year!", "message": "All for just $PRICE$ /year!",
"placeholders": { "placeholders": {
@@ -1124,6 +1127,15 @@
} }
} }
}, },
"premiumPriceV2": {
"message": "All for just $PRICE$ per year!",
"placeholders": {
"price": {
"content": "$1",
"example": "$10"
}
}
},
"refreshComplete": { "refreshComplete": {
"message": "Refresh complete" "message": "Refresh complete"
}, },

View File

@@ -9,13 +9,13 @@
<h2 class="tw-font-bold">{{ "premiumFeatures" | i18n }}</h2> <h2 class="tw-font-bold">{{ "premiumFeatures" | i18n }}</h2>
<bit-section> <bit-section>
<bit-card> <bit-card>
<div class="tw-flex tw-flex-col tw-p-3"> <div class="tw-flex tw-flex-col tw-p-2">
<ul class="tw-list-disc tw-pl-5 tw-space-y-2 tw-break-words"> <ul class="tw-list-disc tw-pl-5 tw-space-y-2 tw-break-words">
<li> <li>
{{ "ppremiumSignUpStorage" | i18n }} {{ "ppremiumSignUpStorage" | i18n }}
</li> </li>
<li> <li>
{{ "ppremiumSignUpTwoStepOptions" | i18n }} {{ "premiumSignUpTwoStepOptions" | i18n }}
</li> </li>
<li> <li>
{{ "premiumSignUpEmergency" | i18n }} {{ "premiumSignUpEmergency" | i18n }}

View File

@@ -74,7 +74,7 @@ export class PremiumV2Component extends BasePremiumComponent {
const formattedPrice = this.platformUtilsService.isSafari() const formattedPrice = this.platformUtilsService.isSafari()
? thePrice.replace("$", "$$$") ? thePrice.replace("$", "$$$")
: thePrice; : thePrice;
this.priceString = i18nService.t("premiumPrice", formattedPrice); this.priceString = i18nService.t("premiumPriceV2", formattedPrice);
if (this.priceString.indexOf("%price%") > -1) { if (this.priceString.indexOf("%price%") > -1) {
this.priceString = this.priceString.replace("%price%", thePrice); this.priceString = this.priceString.replace("%price%", thePrice);
} }