Index: trunk/extensions/Translate/TranslateEditAddons.php |
— | — | @@ -71,7 +71,7 @@ |
72 | 72 | |
73 | 73 | $text .= <<<EOEO |
74 | 74 | <hr /> |
75 | | -<ul> |
| 75 | +<ul class="mw-translate-nav-prev-next-list"> |
76 | 76 | <li>$prevLink</li> |
77 | 77 | <li>$nextLink</li> |
78 | 78 | <li>$list</li> |
— | — | @@ -230,7 +230,7 @@ |
231 | 231 | } |
232 | 232 | } |
233 | 233 | if ( count( $inOtherLanguages ) ) { |
234 | | - $boxes[] = TranslateUtils::fieldset( wfMsgHtml( self::MSG . 'in-other-languages' ), |
| 234 | + $boxes[] = TranslateUtils::fieldset( wfMsgHtml( self::MSG . 'in-other-languages' , $key ), |
235 | 235 | implode( "\n", $inOtherLanguages ), array( 'class' => 'mw-sp-translate-edit-inother' ) ); |
236 | 236 | } |
237 | 237 | |
— | — | @@ -265,7 +265,7 @@ |
266 | 266 | // Remove whatever block element wrapup the parser likes to add |
267 | 267 | $contents = preg_replace( '~^<([a-z]+)>(.*)</\1>$~us', '\2', $contents ); |
268 | 268 | $boxes[] = TranslateUtils::fieldset( |
269 | | - wfMsgHtml( self::MSG . 'information', $edit ), $contents, array( 'class' => $class ) |
| 269 | + wfMsgHtml( self::MSG . 'information', $edit , $key ), $contents, array( 'class' => $class ) |
270 | 270 | ); |
271 | 271 | } |
272 | 272 | } |
Index: trunk/extensions/Translate/Translate.i18n.php |
— | — | @@ -65,8 +65,8 @@ |
66 | 66 | 'translate-edit-contribute' => 'contribute', |
67 | 67 | 'translate-edit-no-information' => "''This message has no documentation. |
68 | 68 | If you know where or how this message is used, you can help other translators by adding documentation to this message.''", |
69 | | - 'translate-edit-information' => 'Information about this message ($1)', |
70 | | - 'translate-edit-in-other-languages' => 'Message in other languages', |
| 69 | + 'translate-edit-information' => 'Information about message "$2" ($1)', |
| 70 | + 'translate-edit-in-other-languages' => 'Message "$1" in other languages', |
71 | 71 | 'translate-edit-committed' => 'Current translation in software', |
72 | 72 | 'translate-edit-warnings' => 'Warnings about incomplete translations', |
73 | 73 | |
— | — | @@ -239,7 +239,8 @@ |
240 | 240 | 'translate-page-edit' => '{{Identical|Edit}}', |
241 | 241 | 'translate-optional' => '{{Identical|Optional}}', |
242 | 242 | 'translate-edit-no-information' => 'Message is used as a hint to translators that documentation for a message without documentation is needed.', |
243 | | - 'translate-edit-in-other-languages' => 'Caption for box which contains translation of message in other languages', |
| 243 | + 'translate-edit-information' => 'Caption for box which contains information about the message. $2 is the message name. $1 is {{msg-mw|translate-edit-contribute}}.', |
| 244 | + 'translate-edit-in-other-languages' => 'Caption for box which contains translation of message in other languages. $1 is the message name.', |
244 | 245 | 'translate-edit-warnings' => 'Title of the warnings box when editing a message. |
245 | 246 | This box list the problems found in the translation.', |
246 | 247 | 'translate-magic-help' => 'Description of [[Special:AdvancedTranslate]].', |