wrapping with longer names

This commit is contained in:
Rimian Perkins 2019-12-04 09:35:07 +11:00
parent 95a263535e
commit 49591130a5
3 changed files with 9 additions and 3 deletions

View File

@ -12,7 +12,9 @@ export default Ember.Controller.extend({
},
paymentSuccessHandler(/* paymentIntentId */) {
bootbox.alert(I18n.t("discourse_subscriptions.transactions.payment.success"));
bootbox.alert(
I18n.t("discourse_subscriptions.transactions.payment.success")
);
this.transitionToRoute(
"user.billing",
Discourse.User.current().username.toLowerCase()

View File

@ -8,7 +8,9 @@ export default Discourse.Route.extend({
actions: {
destroyProduct(product) {
bootbox.confirm(
I18n.t("discourse_subscriptions.admin.products.operations.destroy.confirm"),
I18n.t(
"discourse_subscriptions.admin.products.operations.destroy.confirm"
),
I18n.t("no_value"),
I18n.t("yes_value"),
confirmed => {

View File

@ -20,7 +20,9 @@ export default Discourse.Route.extend({
actions: {
destroyPlan(plan) {
bootbox.confirm(
I18n.t("discourse_subscriptions.admin.plans.operations.destroy.confirm"),
I18n.t(
"discourse_subscriptions.admin.plans.operations.destroy.confirm"
),
I18n.t("no_value"),
I18n.t("yes_value"),
confirmed => {