Index: trunk/extensions/Translate/utils/MessageWebImporter.php |
— | — | @@ -251,6 +251,7 @@ |
252 | 252 | $diff = array_diff( $keys, array_keys( $messages ) ); |
253 | 253 | |
254 | 254 | foreach ( $diff as $s ) { |
| 255 | + // @todo FIXME: Use CSS file. |
255 | 256 | $name = wfMsgHtml( 'translate-manage-import-deleted', |
256 | 257 | '<code style="font-weight:normal;">' . htmlspecialchars( $s ) . '</code>' |
257 | 258 | ); |
Index: trunk/extensions/Translate/specials/SpecialManageGroups.php |
— | — | @@ -44,7 +44,6 @@ |
45 | 45 | } |
46 | 46 | |
47 | 47 | if ( $group ) { |
48 | | - |
49 | 48 | if ( |
50 | 49 | $wgRequest->getBool( 'rebuildall', false ) && |
51 | 50 | $wgRequest->wasPosted() && |
— | — | @@ -71,6 +70,7 @@ |
72 | 71 | } |
73 | 72 | |
74 | 73 | } |
| 74 | + |
75 | 75 | // Main list |
76 | 76 | global $wgLang, $wgOut; |
77 | 77 | |
— | — | @@ -114,6 +114,7 @@ |
115 | 115 | $out .= $this->rebuildButton( $group, $modified, 'main' ); |
116 | 116 | } |
117 | 117 | } else { |
| 118 | + // @todo FIXME: should be in CSS file. |
118 | 119 | $out = Html::rawElement( 'span', array( 'style' => 'color:grey' ), $out ); |
119 | 120 | } |
120 | 121 | } else { |
Index: trunk/extensions/Translate/specials/SpecialImportTranslations.php |
— | — | @@ -17,7 +17,7 @@ |
18 | 18 | class SpecialImportTranslations extends SpecialPage { |
19 | 19 | /** |
20 | 20 | * Set up and fill some dependencies. |
21 | | - */ |
| 21 | + */ |
22 | 22 | public function __construct() { |
23 | 23 | parent::__construct( 'ImportTranslations', 'translate-import' ); |
24 | 24 | global $wgUser, $wgOut, $wgRequest; |
— | — | @@ -61,7 +61,6 @@ |
62 | 62 | $this->outputForm(); |
63 | 63 | return; |
64 | 64 | } |
65 | | - |
66 | 65 | } else { |
67 | 66 | /** |
68 | 67 | * Proceed to loading and parsing if possible |
— | — | @@ -195,6 +194,7 @@ |
196 | 195 | } |
197 | 196 | } elseif ( $source === 'local' ) { |
198 | 197 | $filename = $this->request->getFileTempname( 'upload-local' ); |
| 198 | + |
199 | 199 | if ( !is_uploaded_file( $filename ) ) { |
200 | 200 | return array( 'ul-failed' ); |
201 | 201 | } |