Index: trunk/extensions/UploadWizard/UploadWizard.i18n.php |
— | — | @@ -83,6 +83,7 @@ |
84 | 84 | 'mwe-upwiz-file-some-failed' => 'Some uploads failed.', |
85 | 85 | 'mwe-upwiz-file-retry' => 'Retry failed uploads', |
86 | 86 | 'mwe-upwiz-next-file-despite-failures' => 'Continue anyway', |
| 87 | + 'mwe-upwiz-skip-tutorial-future' => 'Skip this step in the future', |
87 | 88 | 'mwe-upwiz-file-all-failed' => 'None of the uploads were successful.', |
88 | 89 | 'mwe-upwiz-upload-count' => '$1 of $2 {{PLURAL:$2|file|files}} uploaded', |
89 | 90 | 'mwe-upwiz-progressbar-uploading' => 'uploading', |
Index: trunk/extensions/UploadWizard/SpecialUploadWizard.php |
— | — | @@ -177,10 +177,12 @@ |
178 | 178 | function getWizardHtml() { |
179 | 179 | $tutorialHtml = ''; |
180 | 180 | // only load the tutorial HTML if we aren't skipping the first step |
| 181 | + // TODO should use user preference not a cookie ( so the user does not have to skip it for every browser ) |
181 | 182 | if ( !isset( $_COOKIE['skiptutorial'] ) ) { |
182 | 183 | $tutorialHtml = UploadWizardTutorial::getHtml(); |
183 | 184 | } |
184 | | - // TODO loading spinner, hide these by default till enhanced? |
| 185 | + // TODO move this into UploadWizard.js or some other javascript resource so the upload wizard |
| 186 | + // can be dynamically included ( for example the add media wizard ) |
185 | 187 | return |
186 | 188 | '<div id="upload-wizard" class="upload-section">' |
187 | 189 | |
— | — | @@ -202,7 +204,7 @@ |
203 | 205 | . '</div>' |
204 | 206 | . '<div class="mwe-upwiz-buttons">' |
205 | 207 | . '<input type="checkbox" id="mwe-upwiz-skip" value="1" name="skip">' |
206 | | - . '<label for="mwe-upwiz-skip">Skip this step in the future</label>' |
| 208 | + . '<label for="mwe-upwiz-skip">' . wfMsg('mwe-upwiz-skip-tutorial-future') . '</label>' |
207 | 209 | . '<button class="mwe-upwiz-button-next">' . wfMsg( "mwe-upwiz-next" ) . '</button>' |
208 | 210 | . '</div>' |
209 | 211 | . '</div>' |