Index: trunk/extensions/Translate/MessageCollection.php |
— | — | @@ -10,6 +10,8 @@ |
11 | 11 | */ |
12 | 12 | |
13 | 13 | /** |
| 14 | + * Core message collection class. |
| 15 | + * |
14 | 16 | * @todo Needs documentation. |
15 | 17 | */ |
16 | 18 | class MessageCollection implements ArrayAccess, Iterator, Countable { |
Index: trunk/extensions/Translate/MessageChecks.php |
— | — | @@ -255,7 +255,7 @@ |
256 | 256 | /** |
257 | 257 | * Checks for missing and unknown printf formatting characters in |
258 | 258 | * translations. |
259 | | - * @param $messages \mixed Iterable list of TMessages. |
| 259 | + * @param $messages \mixed Iterable list of TMessage objects. |
260 | 260 | * @param $code \string Language code |
261 | 261 | * @param $warnings \array Array where warnings are appended to. |
262 | 262 | */ |
— | — | @@ -303,7 +303,7 @@ |
304 | 304 | /** |
305 | 305 | * Checks if the translation has even number of opening and closing |
306 | 306 | * parentheses. {, [ and ( are checked. |
307 | | - * @param $messages \mixed Iterable list of TMessages. |
| 307 | + * @param $messages \mixed Iterable list of TMessage objects. |
308 | 308 | * @param $code \string Language code |
309 | 309 | * @param $warnings \array Array where warnings are appended to. |
310 | 310 | */ |
Index: trunk/extensions/Translate/groups/FreeCol/Checker.php |
— | — | @@ -17,7 +17,7 @@ |
18 | 18 | /** |
19 | 19 | * Checks for missing and unknown variables in translations. |
20 | 20 | * |
21 | | - * @param $messages \array Iterable list of TMessages. |
| 21 | + * @param $messages \array Iterable list of TMessage objects. |
22 | 22 | * @param $code \string Language code of the translations. |
23 | 23 | * @param $warnings \array Array where warnings are appended to. |
24 | 24 | */ |
— | — | @@ -60,7 +60,7 @@ |
61 | 61 | /** |
62 | 62 | * Checks for bad escapes in translations. |
63 | 63 | * |
64 | | - * @param $messages \array Iterable list of TMessages. |
| 64 | + * @param $messages \array Iterable list of TMessage objects. |
65 | 65 | * @param $code \string Language code of the translations. |
66 | 66 | * @param $warnings \array Array where warnings are appended to. |
67 | 67 | */ |
Index: trunk/extensions/Translate/groups/Shapado/Checker.php |
— | — | @@ -17,7 +17,7 @@ |
18 | 18 | /** |
19 | 19 | * Checks for missing and unknown variables in translations. |
20 | 20 | * |
21 | | - * @param $messages \array Iterable list of TMessages. |
| 21 | + * @param $messages \array Iterable list of TMessage objects. |
22 | 22 | * @param $code \string Language code of the translations. |
23 | 23 | * @param $warnings \array Array where warnings are appended to. |
24 | 24 | */ |
Index: trunk/extensions/Translate/groups/OpenStreetMap/Checker.php |
— | — | @@ -18,7 +18,7 @@ |
19 | 19 | /** |
20 | 20 | * Checks for missing and unknown variables in translations. |
21 | 21 | * |
22 | | - * @param $messages \array Iterable list of TMessages. |
| 22 | + * @param $messages \array Iterable list of TMessage objects. |
23 | 23 | * @param $code \string Language code of the translations. |
24 | 24 | * @param $warnings \array Array where warnings are appended to. |
25 | 25 | */ |
Index: trunk/extensions/Translate/groups/FUDforum/Checker.php |
— | — | @@ -17,7 +17,7 @@ |
18 | 18 | /** |
19 | 19 | * Checks for missing and unknown variables in translations. |
20 | 20 | * |
21 | | - * @param $messages \array Iterable list of TMessages. |
| 21 | + * @param $messages \array Iterable list of TMessage objects. |
22 | 22 | * @param $code \string Language code of the translations. |
23 | 23 | * @param $warnings \array Array where warnings are appended to. |
24 | 24 | */ |
— | — | @@ -60,7 +60,7 @@ |
61 | 61 | /** |
62 | 62 | * Checks for incorrect syntax in translations. |
63 | 63 | * |
64 | | - * @param $messages \array Iterable list of TMessages. |
| 64 | + * @param $messages \array Iterable list of TMessage objects. |
65 | 65 | * @param $code \string Language code of the translations. |
66 | 66 | * @param $warnings \array Array where warnings are appended to. |
67 | 67 | */ |
Index: trunk/extensions/Translate/groups/MediaWiki/Checker.php |
— | — | @@ -18,7 +18,7 @@ |
19 | 19 | * Checks if the translation uses all variables $[1-9] that the definition |
20 | 20 | * uses and vice versa. |
21 | 21 | * |
22 | | - * @param $messages \array Iterable list of TMessages. |
| 22 | + * @param $messages \array Iterable list of TMessage objects. |
23 | 23 | * @param $code \string Language code of the translations. |
24 | 24 | * @param $warnings \array Array where warnings are appended to. |
25 | 25 | */ |
— | — | @@ -67,7 +67,7 @@ |
68 | 68 | * MediaWiki messages like {{MediaWiki:helppage-url}}:. Also links in the |
69 | 69 | * definition are allowed. |
70 | 70 | * |
71 | | - * @param $messages \array Iterable list of TMessages. |
| 71 | + * @param $messages \array Iterable list of TMessage objects. |
72 | 72 | * @param $code \string Language code of the translations. |
73 | 73 | * @param $warnings \array Array where warnings are appended to. |
74 | 74 | */ |
— | — | @@ -128,7 +128,7 @@ |
129 | 129 | /** |
130 | 130 | * Checks if the \<br /> and \<hr /> tags are using the correct syntax. |
131 | 131 | * |
132 | | - * @param $messages \array Iterable list of TMessages. |
| 132 | + * @param $messages \array Iterable list of TMessage objects. |
133 | 133 | * @param $code \string Language code of the translations. |
134 | 134 | * @param $warnings \array Array where warnings are appended to. |
135 | 135 | */ |
— | — | @@ -173,7 +173,7 @@ |
174 | 174 | /** |
175 | 175 | * Checks if the translation doesn't use plural while the definition has one. |
176 | 176 | * |
177 | | - * @param $messages \array Iterable list of TMessages. |
| 177 | + * @param $messages \array Iterable list of TMessage objects. |
178 | 178 | * @param $code \string Language code of the translations. |
179 | 179 | * @param $warnings \array Array where warnings are appended to. |
180 | 180 | */ |
— | — | @@ -199,7 +199,7 @@ |
200 | 200 | /** |
201 | 201 | * Checks for page names that they have an untranslated namespace. |
202 | 202 | * |
203 | | - * @param $messages \array Iterable list of TMessages. |
| 203 | + * @param $messages \array Iterable list of TMessage objects. |
204 | 204 | * @param $code \string Language code of the translations. |
205 | 205 | * @param $warnings \array Array where warnings are appended to. |
206 | 206 | */ |
— | — | @@ -226,7 +226,7 @@ |
227 | 227 | /** |
228 | 228 | * Checks for some miscellaneous messages with special syntax. |
229 | 229 | * |
230 | | - * @param $messages \array Iterable list of TMessages. |
| 230 | + * @param $messages \array Iterable list of TMessage objects. |
231 | 231 | * @param $code \string Language code of the translations. |
232 | 232 | * @param $warnings \array Array where warnings are appended to. |
233 | 233 | */ |
Index: trunk/extensions/Translate/groups/Voctrain.php |
— | — | @@ -26,7 +26,7 @@ |
27 | 27 | class VoctrainMessageChecker extends MessageChecker { |
28 | 28 | /** |
29 | 29 | * Checks for missing and unknown parameters |
30 | | - * @param $messages Iterable list of TMessages. |
| 30 | + * @param $messages Iterable list of TMessage objects. |
31 | 31 | * @param $code Language code of the translations. |
32 | 32 | * @param $warnings Array where warnings are appended to. |
33 | 33 | */ |
Index: trunk/extensions/Translate/utils/UserToggles.php |
— | — | @@ -26,7 +26,6 @@ |
27 | 27 | return true; |
28 | 28 | } |
29 | 29 | |
30 | | - |
31 | 30 | public static function translationAssistLanguages( $user, &$preferences ) { |
32 | 31 | $select = self::languageSelector(); |
33 | 32 | $select->setTargetId( 'mw-input-translate-editlangs' ); |