Index: trunk/extensions/UsabilityInitiative/EditToolbar/EditToolbar.js |
— | — | @@ -1204,7 +1204,7 @@ |
1205 | 1205 | $textarea.setSelection( start, end ); |
1206 | 1206 | $textarea.encapsulateSelection( '', replaceStr, '', false, true ); |
1207 | 1207 | } |
1208 | | - if ( i > 1 ) |
| 1208 | + if ( $j( '#edittoolbar-replace-all' ).is( ':checked' ) ) |
1209 | 1209 | alert( gM( 'edittoolbar-tool-replace-success', i ) ); |
1210 | 1210 | $textarea.scrollToCaretPosition( start ); |
1211 | 1211 | $textarea.setSelection( start, start + replaceStr.length ); |
Index: trunk/extensions/UsabilityInitiative/EditToolbar/EditToolbar.i18n.php |
— | — | @@ -109,7 +109,7 @@ |
110 | 110 | 'edittoolbar-tool-replace-button' => 'Replace', |
111 | 111 | 'edittoolbar-tool-replace-close' => 'Cancel', |
112 | 112 | 'edittoolbar-tool-replace-nomatch' => 'Your search did not match anything.', |
113 | | - 'edittoolbar-tool-replace-success' => '$1 replacements made.', |
| 113 | + 'edittoolbar-tool-replace-success' => '$1 replacement(s) made.', |
114 | 114 | /* Special characters Section */ |
115 | 115 | 'edittoolbar-section-characters' => 'Special characters', |
116 | 116 | 'edittoolbar-characters-page-latin' => 'Latin', |
Index: trunk/extensions/UsabilityInitiative/EditToolbar/EditToolbar.php |
— | — | @@ -19,7 +19,7 @@ |
20 | 20 | /* Configuration */ |
21 | 21 | |
22 | 22 | // Bump the version number every time you change any of the .css/.js files |
23 | | -$wgEditToolbarStyleVersion = 34; |
| 23 | +$wgEditToolbarStyleVersion = 35; |
24 | 24 | |
25 | 25 | // Set this to true to simply override the stock toolbar for everyone |
26 | 26 | $wgEditToolbarGlobalEnable = false; |