Index: trunk/extensions/YouTube/YouTube.i18n.php |
— | — | @@ -0,0 +1,21 @@ |
| 2 | +<?php |
| 3 | +/** |
| 4 | + * Internationalisation for YouTube extension |
| 5 | + * |
| 6 | + * @file |
| 7 | + * @ingroup Extensions |
| 8 | + */ |
| 9 | + |
| 10 | +$messages = array(); |
| 11 | + |
| 12 | +$messages['en'] = array( |
| 13 | + 'youtube-desc' => 'Embeds YouTube and Google Video movies, Archive.org audio and video, WeGame and Gametrailers video, Tangler forum, and GoGreenTube video', |
| 14 | +); |
| 15 | + |
| 16 | +/** Message documentation (Message documentation) |
| 17 | + * @author Raymond |
| 18 | + */ |
| 19 | +$messages['qqq'] = array( |
| 20 | + 'youtube-desc' => '{{desc}}', |
| 21 | +); |
| 22 | + |
Property changes on: trunk/extensions/YouTube/YouTube.i18n.php |
___________________________________________________________________ |
Added: svn:eol-style |
1 | 23 | + native |
Index: trunk/extensions/YouTube/YouTube.php |
— | — | @@ -35,12 +35,16 @@ |
36 | 36 | } |
37 | 37 | |
38 | 38 | $wgExtensionCredits['parserhook'][] = array( |
| 39 | + 'path' => __FILE__, |
39 | 40 | 'name' => 'YouTube', |
40 | 41 | 'version' => '1.8.1', |
41 | 42 | 'author' => 'Przemek Piotrowski', |
42 | | - 'description' => 'Embeds YouTube and Google Video movies + Archive.org audio and video + WeGame and Gametrailers video + Tangler forum + GoGreenTube video', |
| 43 | + 'descriptionmsg' => 'youtube-desc', |
43 | 44 | ); |
44 | 45 | |
| 46 | +$dir = dirname( __FILE__ ) . '/'; |
| 47 | +$wgExtensionMessagesFiles['YouTube'] = $dir . 'YouTube.i18n.php'; |
| 48 | + |
45 | 49 | $wgHooks['ParserFirstCallInit'][] = 'wfYouTube'; |
46 | 50 | |
47 | 51 | function wfYouTube( &$parser ) { |
Index: trunk/extensions/Translate/groups/mediawiki-defines.txt |
— | — | @@ -1475,4 +1475,6 @@ |
1476 | 1476 | |
1477 | 1477 | XMLRC |
1478 | 1478 | |
| 1479 | +YouTube |
| 1480 | + |
1479 | 1481 | YouTube Auth Sub |