diff --git a/app/assets/javascripts/admin/standing_orders/services/standing_order_prototype.js.coffee b/app/assets/javascripts/admin/standing_orders/services/standing_order_prototype.js.coffee index 84ba84945c..b2925a2c88 100644 --- a/app/assets/javascripts/admin/standing_orders/services/standing_order_prototype.js.coffee +++ b/app/assets/javascripts/admin/standing_orders/services/standing_order_prototype.js.coffee @@ -28,7 +28,7 @@ angular.module("admin.standingOrders").factory 'StandingOrderPrototype', ($http, , (response) => $q.reject(response) cancel: -> - ConfirmDialog.open('error', t('admin.standing_orders.confirm_cancel_msg'), {cancel: t('back'), confirm: t('yes_i_am_sure')}) + ConfirmDialog.open('error', t('admin.standing_orders.confirm_cancel_msg'), {cancel: t('back'), confirm: t('admin.standing_orders.yes_i_am_sure')}) .then => @$cancel().then angular.noop, (response) => if response.data?.errors?.open_orders? @@ -39,7 +39,7 @@ angular.module("admin.standingOrders").factory 'StandingOrderPrototype', ($http, InfoDialog.open 'error', t('admin.standing_orders.cancel_failure_msg') pause: -> - ConfirmDialog.open('error', t('admin.standing_orders.confirm_pause_msg'), {confirm: t('yes_i_am_sure')}) + ConfirmDialog.open('error', t('admin.standing_orders.confirm_pause_msg'), {confirm: t('admin.standing_orders.yes_i_am_sure')}) .then => @$pause().then angular.noop, (response) => if response.data?.errors?.open_orders? @@ -50,7 +50,7 @@ angular.module("admin.standingOrders").factory 'StandingOrderPrototype', ($http, InfoDialog.open 'error', t('admin.standing_orders.pause_failure_msg') unpause: -> - ConfirmDialog.open('error', t('admin.standing_orders.confirm_unpause_msg'), {confirm: t('yes_i_am_sure')}) + ConfirmDialog.open('error', t('admin.standing_orders.confirm_unpause_msg'), {confirm: t('admin.standing_orders.yes_i_am_sure')}) .then => @$unpause().then angular.noop, -> InfoDialog.open 'error', t('admin.standing_orders.unpause_failure_msg') diff --git a/config/locales/en.yml b/config/locales/en.yml index ce8b149cb1..f8f24d8d12 100644 --- a/config/locales/en.yml +++ b/config/locales/en.yml @@ -861,6 +861,7 @@ en: confirm_cancel_open_orders_msg: "Some orders for this standing order are currently open. The customer has already been notified that the order will be placed. Would you like to cancel these order(s) or keep them?" yes_cancel_them: Cancel them no_keep_them: Keep them + yes_i_am_sure: Yes, I'm sure order_update_issues_msg: Some orders could not be automatically updated, this is most likely because they have been manually edited. Please review the issues listed below and make any adjustments to individual orders if required. no_results: no_standing_orders: No standing orders yet...