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 */) { paymentSuccessHandler(/* paymentIntentId */) {
bootbox.alert(I18n.t("discourse_subscriptions.transactions.payment.success")); bootbox.alert(
I18n.t("discourse_subscriptions.transactions.payment.success")
);
this.transitionToRoute( this.transitionToRoute(
"user.billing", "user.billing",
Discourse.User.current().username.toLowerCase() Discourse.User.current().username.toLowerCase()

View File

@ -8,7 +8,9 @@ export default Discourse.Route.extend({
actions: { actions: {
destroyProduct(product) { destroyProduct(product) {
bootbox.confirm( 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("no_value"),
I18n.t("yes_value"), I18n.t("yes_value"),
confirmed => { confirmed => {

View File

@ -20,7 +20,9 @@ export default Discourse.Route.extend({
actions: { actions: {
destroyPlan(plan) { destroyPlan(plan) {
bootbox.confirm( 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("no_value"),
I18n.t("yes_value"), I18n.t("yes_value"),
confirmed => { confirmed => {