Index: trunk/phase3/includes/OutputPage.php |
— | — | @@ -1272,7 +1272,7 @@ |
1273 | 1273 | $text = wfMsgNoTrans( 'permissionserrorstext', count($errors)). "\n\n"; |
1274 | 1274 | } else { |
1275 | 1275 | global $wgLang; |
1276 | | - $action_desc = wfMsg( "action-$action" ); |
| 1276 | + $action_desc = wfMsgNoTrans( "action-$action" ); |
1277 | 1277 | $text = wfMsgNoTrans( 'permissionserrorstext-withaction', count($errors), $action_desc ) . "\n\n"; |
1278 | 1278 | } |
1279 | 1279 | |
— | — | @@ -1287,7 +1287,7 @@ |
1288 | 1288 | } |
1289 | 1289 | $text .= '</ul>'; |
1290 | 1290 | } else { |
1291 | | - $text .= '<div class="permissions-errors">' . call_user_func_array( 'wfMsgNoTrans', reset( $errors ) ) . '</div>'; |
| 1291 | + $text .= "<div class=\"permissions-errors\">\n" . call_user_func_array( 'wfMsgNoTrans', reset( $errors ) ) . "\n</div>"; |
1292 | 1292 | } |
1293 | 1293 | |
1294 | 1294 | return $text; |