Index: trunk/extensions/Translate/api/ApiGroupReview.php |
— | — | @@ -48,7 +48,7 @@ |
49 | 49 | ); |
50 | 50 | |
51 | 51 | if ( $currentState == $requestParams['state'] ) { |
52 | | - $this->dieUsage( wfMessage( 'translate-workflow-set-error-alreadyset' ), 'sameworkflowstate' ); |
| 52 | + $this->dieUsage( 'The requested state is identical to the current state', 'sameworkflowstate' ); |
53 | 53 | } |
54 | 54 | |
55 | 55 | $dbw = wfGetDB( DB_MASTER ); |
— | — | @@ -137,6 +137,7 @@ |
138 | 138 | return array_merge( parent::getPossibleErrors(), array( |
139 | 139 | array( 'code' => 'permissiondenied', 'info' => "You must have $right right" ), |
140 | 140 | array( 'code' => 'disabled', 'info' => "Message group workflows are not in use" ), |
| 141 | + array( 'code' => 'sameworkflowstate', 'info' => "The requested state is identical to the current state" ), |
141 | 142 | ) ); |
142 | 143 | } |
143 | 144 | |