Index: trunk/extensions/Translate/groups/mediawiki-defines.txt |
— | — | @@ -1620,6 +1620,7 @@ |
1621 | 1621 | aliasfile = Translate/Translate.alias.php |
1622 | 1622 | optional = translate-page-paging-links, translate-languagestats-groups, supportedlanguages-portallink, supportedlanguages-portallink-nocldr |
1623 | 1623 | optional = translate-edit-tab-next, translate-edit-tab-prev |
| 1624 | +ignored = translate-edit-tag-warning |
1624 | 1625 | |
1625 | 1626 | Translate - First Steps |
1626 | 1627 | id = ext-translate-firststeps |
Index: trunk/extensions/Translate/TranslateEditAddons.php |
— | — | @@ -122,6 +122,11 @@ |
123 | 123 | static function intro( $object ) { |
124 | 124 | $object->suppressIntro = true; |
125 | 125 | |
| 126 | + $msg = wfMsgForContent( 'translate-edit-tag-warning' ); |
| 127 | + if ( $msg !== '' && $msg !== '-' && TranslatablePage::isSourcePage( $object->mTitle ) ) { |
| 128 | + global $wgOut; |
| 129 | + $object->editFormTextTop .= $wgOut->parse( $msg ); |
| 130 | + } |
126 | 131 | return true; |
127 | 132 | } |
128 | 133 | |
Index: trunk/extensions/Translate/Translate.i18n.php |
— | — | @@ -88,6 +88,8 @@ |
89 | 89 | 'translate-edit-tab-next' => '>>>', |
90 | 90 | 'translate-edit-tab-list' => 'Message list', |
91 | 91 | |
| 92 | + 'translate-edit-tag-warning' => '', |
| 93 | + |
92 | 94 | 'translate-magic-pagename' => 'Extended MediaWiki translation', |
93 | 95 | 'translate-magic-help' => 'You can translate special pages aliases, magic words and namespace names. |
94 | 96 | |