Index: trunk/extensions/OpenGraphMeta/OpenGraphMeta.php |
— | — | @@ -28,11 +28,13 @@ |
29 | 29 | "path" => __FILE__, |
30 | 30 | "name" => "OpenGraphMeta", |
31 | 31 | "author" => "[http://mediawiki.org/wiki/User:Dantman Daniel Friesen]", |
32 | | - "description" => "Adds OpenGraph meta tags used by FaceBook's Like button", |
| 32 | + 'descriptionmsg' => 'opengraphmeta-desc', |
33 | 33 | 'url' => 'http://www.mediawiki.org/wiki/Extension:OpenGraphMeta', |
34 | 34 | ); |
35 | 35 | |
36 | | -$wgExtensionMessagesFiles['OpenGraphMetaMagic'] = dirname( __FILE__ ) . '/OpenGraphMeta.magic.php'; |
| 36 | +$dir = dirname( __FILE__ ); |
| 37 | +$wgExtensionMessagesFiles['OpenGraphMetaMagic'] = $dir . '/OpenGraphMeta.magic.php'; |
| 38 | +$wgExtensionMessagesFiles['OpenGraphMeta'] = $dir . '/OpenGraphMeta.i18n.php'; |
37 | 39 | |
38 | 40 | $wgHooks['ParserFirstCallInit'][] = 'efOpenGraphMetaParserInit'; |
39 | 41 | function efOpenGraphMetaParserInit( $parser ) { |
Index: trunk/extensions/OpenGraphMeta/OpenGraphMeta.i18n.php |
— | — | @@ -0,0 +1,17 @@ |
| 2 | +<?php |
| 3 | +/** |
| 4 | + * Internationalisation for OpenGraphMeta extension |
| 5 | + * |
| 6 | + * @file |
| 7 | + * @ingroup Extensions |
| 8 | + */ |
| 9 | + |
| 10 | +$messages = array(); |
| 11 | + |
| 12 | +/** English |
| 13 | + * @author Daniel Friesen |
| 14 | + */ |
| 15 | +$messages['en'] = array( |
| 16 | + 'opengraphmeta-desc' => "Adds OpenGraph meta tags used by FaceBook's Like button", |
| 17 | +); |
| 18 | + |
Property changes on: trunk/extensions/OpenGraphMeta/OpenGraphMeta.i18n.php |
___________________________________________________________________ |
Added: svn:eol-style |
1 | 19 | + native |
Index: trunk/extensions/Translate/groups/mediawiki-defines.txt |
— | — | @@ -824,6 +824,9 @@ |
825 | 825 | aliasfile = OpenID/OpenID.alias.php |
826 | 826 | optional = prefs-openid, openid-urls-url |
827 | 827 | |
| 828 | +Open Graph Meta |
| 829 | +magicfile = OpenGraphMeta/OpenGraphMeta.magic.php |
| 830 | + |
828 | 831 | Open Search Xml |
829 | 832 | |
830 | 833 | Other Sites |