Index: trunk/extensions/Translate/Translate.css |
— | — | @@ -49,6 +49,10 @@ |
50 | 50 | margin: 0px !important; |
51 | 51 | } |
52 | 52 | |
| 53 | +.mw-sp-translate-edit-extra { |
| 54 | + border-bottom: 1px solid black; |
| 55 | +} |
| 56 | + |
53 | 57 | .mw-sp-translate-group { |
54 | 58 | border: 0; |
55 | 59 | margin: 0 3em 3em 3em; |
Index: trunk/extensions/Translate/TranslateEditAddons.php |
— | — | @@ -333,7 +333,7 @@ |
334 | 334 | if ( $s['target'] === $translation ) continue; |
335 | 335 | $sugboxes[] = TranslateUtils::fieldset( |
336 | 336 | wfMsgHtml( 'translate-edit-tmsug' , sprintf( '%.2f', $s['quality'] ) ), |
337 | | - $s['target'], |
| 337 | + TranslateUtils::convertWhiteSpaceToHTML( $s['target'] ), |
338 | 338 | array( 'class' => 'mw-sp-translate-edit-tmsug', 'title' => $s['source'] ) |
339 | 339 | ); |
340 | 340 | } |
— | — | @@ -346,6 +346,11 @@ |
347 | 347 | } |
348 | 348 | } |
349 | 349 | |
| 350 | + // Make the non-mandatory boxes a different group, for easy access |
| 351 | + $boxes = array( |
| 352 | + Xml::tags( 'div', array( 'class' => 'mw-sp-translate-edit-extra' ), implode( "\n\n", $boxes ) ) |
| 353 | + ); |
| 354 | + |
350 | 355 | // User provided documentation |
351 | 356 | if ( $wgTranslateDocumentationLanguageCode ) { |
352 | 357 | global $wgUser; |