Skip to content

Commit

Permalink
Fix notification text
Browse files Browse the repository at this point in the history
  • Loading branch information
TatianaFomina committed Dec 11, 2024
1 parent f29c515 commit 6418938
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/components/workspace/settings/BillingOverview.vue
Original file line number Diff line number Diff line change
Expand Up @@ -383,13 +383,13 @@ export default Vue.extend({
});
notifier.show({
message: 'Subscription successfully canceled',
message: this.$i18n.t('billing.autoProlongation.cancelSuccessMessage') as string,
style: 'success',
time: 5000,
});
} catch {
notifier.show({
message: 'Error during subscription cancelling',
message: this.$i18n.t('billing.autoProlongation.cancelErrorMessage') as string,
style: 'error',
time: 5000,
});
Expand Down
4 changes: 3 additions & 1 deletion src/i18n/messages/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -356,7 +356,9 @@
"description": "You are about to subscribe for auto prolongation of the current plan of the workspace. That means that when the next payment date has come, the plan price will be automatically charged from your card. Read more about {0}.",
"theNextPaymentDateTitle": "The next payment date",
"acceptRecurrentPaymentAgreement": "I understand and accept the recurrent payments agreement",
"allowingChargesEveryMonth": "I allow charges from my bank card every month"
"allowingChargesEveryMonth": "I allow charges from my bank card every month",
"cancelSuccessMessage": "Subscription successfully canceled",
"cancelErrorMessage": "Error during subscription cancelling"
},
"cloudPaymentsWidget": {
"description": "Payment for tariff \"{tariffPlanName}\" for {workspaceName} workspace for a month"
Expand Down
4 changes: 3 additions & 1 deletion src/i18n/messages/ru.json
Original file line number Diff line number Diff line change
Expand Up @@ -356,7 +356,9 @@
"description": "Вы собираетесь подписаться на автоматическое продление текущего плана воркспейса. Это означает, что при наступлении следующей даты платежа стоимость плана будет автоматически списана с вашей карты. Подробнее читайте в {0}.",
"theNextPaymentDateTitle": "Дата следующего списания",
"acceptRecurrentPaymentAgreement": "Я понимаю и принимаю соглашение об автоматических платежах",
"allowingChargesEveryMonth": "Я разрешаю ежемесячные списания с моей банковской карты"
"allowingChargesEveryMonth": "Я разрешаю ежемесячные списания с моей банковской карты",
"cancelSuccessMessage": "Подписка отменена",
"cancelErrorMessage": "Ошибка при попытке отменить подписку"
},
"cloudPaymentsWidget": {
"description": "Оплата тарифа \"{tariffPlanName}\" для воркспейса {workspaceName} на месяц."
Expand Down

0 comments on commit 6418938

Please sign in to comment.