Index: trunk/extensions/WikiLove/WikiLove.php |
— | — | @@ -110,6 +110,7 @@ |
111 | 111 | 'wikilove-title', |
112 | 112 | 'wikilove-enter-message', |
113 | 113 | 'wikilove-omit-sig', |
| 114 | + 'wikilove-image-example', |
114 | 115 | 'wikilove-button-preview', |
115 | 116 | 'wikilove-preview', |
116 | 117 | 'wikilove-notify', |
Index: trunk/extensions/WikiLove/modules/ext.wikiLove/ext.wikiLove.core.js |
— | — | @@ -81,6 +81,7 @@ |
82 | 82 | <label for="mw-wikilove-title" id="mw-wikilove-title-label"><html:msg key="wikilove-title"/></label>\ |
83 | 83 | <input type="text" class="text" id="mw-wikilove-title"/>\ |
84 | 84 | <label for="mw-wikilove-image" id="mw-wikilove-image-label"><html:msg key="wikilove-image"/></label>\ |
| 85 | + <span class="mw-wikilove-note" id="mw-wikilove-image-note"><html:msg key="wikilove-image-example"/></span>\ |
85 | 86 | <input type="text" class="text" id="mw-wikilove-image"/>\ |
86 | 87 | <label for="mw-wikilove-message" id="mw-wikilove-message-label"><html:msg key="wikilove-enter-message"/></label>\ |
87 | 88 | <span class="mw-wikilove-note" id="mw-wikilove-message-note"><html:msg key="wikilove-omit-sig"/></span>\ |
— | — | @@ -230,7 +231,7 @@ |
231 | 232 | $( '#mw-wikilove-title' ).val( currentTypeOrSubtype.title || '' ); |
232 | 233 | |
233 | 234 | // show or hide image label and textbox depending on fields configuration |
234 | | - $( '#mw-wikilove-image, #mw-wikilove-image-label') |
| 235 | + $( '#mw-wikilove-image, #mw-wikilove-image-label, #mw-wikilove-image-note' ) |
235 | 236 | .toggle( $.inArray( 'image', currentTypeOrSubtype.fields ) >= 0 ); |
236 | 237 | |
237 | 238 | // set the new text for the image textbox |
Index: trunk/extensions/WikiLove/WikiLove.i18n.php |
— | — | @@ -30,6 +30,7 @@ |
31 | 31 | 'wikilove-title' => 'Enter a title:', |
32 | 32 | 'wikilove-enter-message' => 'Enter a message:', |
33 | 33 | 'wikilove-omit-sig' => '(without a signature)', |
| 34 | + 'wikilove-image-example' => '(example: Trophy.png)', |
34 | 35 | 'wikilove-button-preview' => 'Preview', |
35 | 36 | 'wikilove-preview' => 'Preview', |
36 | 37 | 'wikilove-notify' => 'Notify the user by e-mail', |
— | — | @@ -55,6 +56,7 @@ |
56 | 57 | 'wikilove-button-preview' => 'Button text. Verb.', |
57 | 58 | 'wikilove-preview' => 'Title. Noun.', |
58 | 59 | 'wikilove-barnstar-header' => 'See [[:wikipedia:Barnstar]]. Probably not literally translatable.', |
| 60 | + 'wikilove-image-example' => 'The filename should be an actual image on Wikimedia Commons.', |
59 | 61 | ); |
60 | 62 | |
61 | 63 | /** Bulgarian (Български) |