Index: trunk/extensions/MoodBar/modules/ext.moodBar/ext.moodBar.core.css |
— | — | @@ -141,3 +141,11 @@ |
142 | 142 | .mw-moodBar-formInputs { |
143 | 143 | padding-left: 2em; |
144 | 144 | } |
| 145 | + |
| 146 | +.mw-moodBar-loading { |
| 147 | + background-image: url(images/ajax-spinner.gif); |
| 148 | + background-position: left center; |
| 149 | + background-repeat: no-repeat; |
| 150 | + padding-left: 70px; |
| 151 | + height: 70px; |
| 152 | +} |
Index: trunk/extensions/MoodBar/modules/ext.moodBar/ext.moodBar.core.js |
— | — | @@ -40,11 +40,11 @@ |
41 | 41 | <span class="mw-moodBar-typeTitle"><html:msg key="moodbar-type-$1-title" /></span>\ |
42 | 42 | </div>', |
43 | 43 | loading: '\ |
44 | | - <div><img src="' + mw.config.get( 'wgExtensionAssetsPath' ) + '/MoodBar/modules/ext.moodBar/images/ajax-spinner.gif" />Sharing...</div>', |
| 44 | + <div class="mw-moodBar-loading"><html:msg key="mw-moodbar-loading-title"/></div>', |
45 | 45 | success: '\ |
46 | | - <div>Thanks!</div>', |
| 46 | + <div><html:msg key="mw-moodbar-success-title" /></div>', |
47 | 47 | error: '\ |
48 | | - <div>Oops!</div>' |
| 48 | + <div><html:msg key="mw-moodbar-error-title" /></div>' |
49 | 49 | }, |
50 | 50 | |
51 | 51 | event: { |