From 5f5835927594160706a62ef26ebcb10dba582158 Mon Sep 17 00:00:00 2001 From: Konstantin Shevsky Date: Fri, 9 Mar 2018 00:27:54 +0500 Subject: [PATCH] Update shopBackendLoc.action.php MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit wa.core.js создает по умолчанию buttons, в которых прописано $_('Cancel'). При эксепшенах срабатывает JS localization failed: Cancel --- lib/actions/backend/shopBackendLoc.action.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lib/actions/backend/shopBackendLoc.action.php b/lib/actions/backend/shopBackendLoc.action.php index b741ee189..3bdb286a2 100755 --- a/lib/actions/backend/shopBackendLoc.action.php +++ b/lib/actions/backend/shopBackendLoc.action.php @@ -67,7 +67,9 @@ public function execute() 'Profit', '%s will be sent to customer by email. Are you sure?', 'This is a preview of actions available for orders in this state', - 'Maximum of %d orders is allowed for bulk form printing.' + 'Maximum of %d orders is allowed for bulk form printing.', + 'Cancel', + 'cancel' ) as $s) { $strings[$s] = _w($s); }