File tree Expand file tree Collapse file tree 5 files changed +16
-7
lines changed
app/code/Magento/Review/Controller/Adminhtml/Product Expand file tree Collapse file tree 5 files changed +16
-7
lines changed Original file line number Diff line number Diff line change @@ -64,7 +64,10 @@ protected function _isAllowed()
64
64
65
65
if ($ this ->getModel ()->getStatusId () != Review::STATUS_PENDING ) {
66
66
$ this ->messageManager ->addErrorMessage (
67
- __ ('Sorry, You have not permission to do this. The Review is not in Pending status. ' )
67
+ __ (
68
+ 'You don’t have permission to perform this operation. '
69
+ . ' The selected review must be in Pending Status. '
70
+ )
68
71
);
69
72
70
73
return false ;
Original file line number Diff line number Diff line change @@ -51,7 +51,10 @@ protected function _isAllowed()
51
51
52
52
if ($ this ->getModel ()->getStatusId () != Review::STATUS_PENDING ) {
53
53
$ this ->messageManager ->addErrorMessage (
54
- __ ('Sorry, You have not permission to do this. The Review is not in Pending status. ' )
54
+ __ (
55
+ 'You don’t have permission to perform this operation. '
56
+ . ' The selected review must be in Pending Status. '
57
+ )
55
58
);
56
59
57
60
return false ;
Original file line number Diff line number Diff line change @@ -97,8 +97,8 @@ protected function _isAllowed()
97
97
if ($ model ->getStatusId () != Review::STATUS_PENDING ) {
98
98
$ this ->messageManager ->addErrorMessage (
99
99
__ (
100
- 'Sorry, You have not permission to do this. '
101
- . ' One or more of the reviews are not in Pending Status. '
100
+ 'You don’t have permission to perform this operation . '
101
+ . ' Selected reviews must be in Pending Status only . '
102
102
)
103
103
);
104
104
Original file line number Diff line number Diff line change @@ -101,8 +101,8 @@ protected function _isAllowed()
101
101
if ($ model ->getStatusId () != Review::STATUS_PENDING ) {
102
102
$ this ->messageManager ->addErrorMessage (
103
103
__ (
104
- 'Sorry, You have not permission to do this. '
105
- . 'One or more of the reviews are not in Pending Status. '
104
+ 'You don’t have permission to perform this operation . '
105
+ . 'Selected reviews must be in Pending Status only . '
106
106
)
107
107
);
108
108
Original file line number Diff line number Diff line change @@ -115,7 +115,10 @@ protected function _isAllowed()
115
115
116
116
if ($ this ->getModel ()->getStatusId () != Review::STATUS_PENDING ) {
117
117
$ this ->messageManager ->addErrorMessage (
118
- __ ('Sorry, You have not permission to do this. The Review is not in Pending status. ' )
118
+ __ (
119
+ 'You don’t have permission to perform this operation. '
120
+ . ' The selected review must be in Pending Status. '
121
+ )
119
122
);
120
123
121
124
return false ;
You can’t perform that action at this time.
0 commit comments