Index: trunk/extensions/ArticleFeedback/ArticleFeedback.hooks.php |
— | — | @@ -31,11 +31,14 @@ |
32 | 32 | 'articlefeedback-pitch-or', |
33 | 33 | 'articlefeedback-pitch-thanks', |
34 | 34 | 'articlefeedback-pitch-survey-message', |
| 35 | + 'articlefeedback-pitch-survey-body', |
35 | 36 | 'articlefeedback-pitch-survey-accept', |
36 | 37 | 'articlefeedback-pitch-join-message', |
| 38 | + 'articlefeedback-pitch-join-body', |
37 | 39 | 'articlefeedback-pitch-join-accept', |
38 | 40 | 'articlefeedback-pitch-join-login', |
39 | 41 | 'articlefeedback-pitch-edit-message', |
| 42 | + 'articlefeedback-pitch-edit-body', |
40 | 43 | 'articlefeedback-pitch-edit-accept', |
41 | 44 | 'articlefeedback-survey-title', |
42 | 45 | 'articlefeedback-survey-message-success', |
Index: trunk/extensions/ArticleFeedback/modules/jquery.articleFeedback/jquery.articleFeedback.js |
— | — | @@ -57,6 +57,7 @@ |
58 | 58 | <div class="articleFeedback-title"></div>\ |
59 | 59 | <div class="articleFeedback-pop">\ |
60 | 60 | <div class="articleFeedback-message"></div>\ |
| 61 | + <div class="articleFeedback-body"></div>\ |
61 | 62 | <button class="articleFeedback-accept"></button>\ |
62 | 63 | <button class="articleFeedback-reject"></button>\ |
63 | 64 | </div>\ |
— | — | @@ -307,6 +308,9 @@ |
308 | 309 | .find( '.articleFeedback-message' ) |
309 | 310 | .text( mw.msg( context.options.pitches[key].message ) ) |
310 | 311 | .end() |
| 312 | + .find( '.articleFeedback-body' ) |
| 313 | + .text( mw.msg( context.options.pitches[key].body ) ) |
| 314 | + .end() |
311 | 315 | .find( '.articleFeedback-accept' ) |
312 | 316 | .text( mw.msg( context.options.pitches[key].accept ) ) |
313 | 317 | .click( function() { |
Index: trunk/extensions/ArticleFeedback/modules/ext.articleFeedback/ext.articleFeedback.js |
— | — | @@ -213,6 +213,7 @@ |
214 | 214 | }, |
215 | 215 | 'title': 'articlefeedback-pitch-thanks', |
216 | 216 | 'message': 'articlefeedback-pitch-survey-message', |
| 217 | + 'body': 'articlefeedback-pitch-survey-body', |
217 | 218 | 'accept': 'articlefeedback-pitch-survey-accept', |
218 | 219 | 'reject': 'articlefeedback-pitch-reject' |
219 | 220 | }, |
— | — | @@ -235,6 +236,7 @@ |
236 | 237 | }, |
237 | 238 | 'title': 'articlefeedback-pitch-thanks', |
238 | 239 | 'message': 'articlefeedback-pitch-join-message', |
| 240 | + 'body': 'articlefeedback-pitch-join-body', |
239 | 241 | 'accept': 'articlefeedback-pitch-join-accept', |
240 | 242 | 'reject': 'articlefeedback-pitch-reject', |
241 | 243 | // Special alternative action for going to login page |
— | — | @@ -281,6 +283,7 @@ |
282 | 284 | }, |
283 | 285 | 'title': 'articlefeedback-pitch-thanks', |
284 | 286 | 'message': 'articlefeedback-pitch-edit-message', |
| 287 | + 'body': 'articlefeedback-pitch-join-body', |
285 | 288 | 'accept': 'articlefeedback-pitch-edit-accept', |
286 | 289 | 'reject': 'articlefeedback-pitch-reject' |
287 | 290 | } |
Index: trunk/extensions/ArticleFeedback/ArticleFeedback.i18n.php |
— | — | @@ -54,11 +54,14 @@ |
55 | 55 | 'articlefeedback-pitch-or' => 'or', |
56 | 56 | 'articlefeedback-pitch-thanks' => 'Thanks! Your ratings have been saved.', |
57 | 57 | 'articlefeedback-pitch-survey-message' => 'Please take a moment to complete a short survey.', |
| 58 | + 'articlefeedback-pitch-survey-body' => '', |
58 | 59 | 'articlefeedback-pitch-survey-accept' => 'Start survey', |
59 | 60 | 'articlefeedback-pitch-join-message' => 'Did you want to create an account?', |
| 61 | + 'articlefeedback-pitch-join-body' => 'An account will help you track your edits, get involved in discussions, and be a part of the community.', |
60 | 62 | 'articlefeedback-pitch-join-accept' => 'Create an account', |
61 | 63 | 'articlefeedback-pitch-join-login' => 'Log in', |
62 | 64 | 'articlefeedback-pitch-edit-message' => 'Did you know that you can edit this page?', |
| 65 | + 'articlefeedback-pitch-edit-body' => '', |
63 | 66 | 'articlefeedback-pitch-edit-accept' => 'Edit this page', |
64 | 67 | 'articlefeedback-survey-message-success' => 'Thanks for filling out the survey.', |
65 | 68 | 'articlefeedback-survey-message-error' => 'An error has occurred. |