Index: trunk/extensions/Translate/TranslateHooks.php |
— | — | @@ -328,6 +328,7 @@ |
329 | 329 | |
330 | 330 | if ( $action === 'group' ) { |
331 | 331 | $languageCode = $params[0]; |
| 332 | + $groupLabel = $params[1]; |
332 | 333 | $languageNames = Language::getTranslatedLanguageNames( $languageCode ); |
333 | 334 | $languageName = "$languageNames[$languageCode] ($languageCode)"; |
334 | 335 | $oldState = $params[2]; |
— | — | @@ -340,8 +341,13 @@ |
341 | 342 | return wfMessage( 'logentry-groupreview-message' )->params( |
342 | 343 | '', // User link in the new system |
343 | 344 | '#', // User name for gender in the new system |
| 345 | + Message::rawParam( $linker->link( |
| 346 | + $title, |
| 347 | + $groupLabel, |
| 348 | + array(), |
| 349 | + array( 'language' => $languageCode ) ) |
| 350 | + ), |
344 | 351 | $languageName, |
345 | | - $params[1], // group |
346 | 352 | $oldState, |
347 | 353 | $newState |
348 | 354 | )->inLanguage( $language )->text(); |
Index: trunk/extensions/Translate/Translate.i18n.php |
— | — | @@ -398,7 +398,7 @@ |
399 | 399 | 'log-name-translationreview' => 'Translation review log', |
400 | 400 | 'log-description-translationreview' => 'Log of all reviews to translations and message groups.', |
401 | 401 | 'logentry-translationreview-message' => '$1 {{GENDER:$2|accepted}} translation $3', |
402 | | - 'logentry-groupreview-message' => '$1 {{GENDER:$2|changed}} the status of $3 translations of message group $4 from $5 to $6', |
| 402 | + 'logentry-groupreview-message' => '$1 {{GENDER:$2|changed}} the status of $4 translations of message group $3 from $5 to $6', |
403 | 403 | |
404 | 404 | // The actual states, when set, come after the hyphen. |
405 | 405 | // The dangling hyphen hints that it's unset. |
— | — | @@ -663,8 +663,7 @@ |
664 | 664 | 'logentry-groupreview-message' => '{{Logentry}} |
665 | 665 | |
666 | 666 | Additional parameters: |
667 | | -* $3: Language |
668 | | -* $4: Message group name |
| 667 | +* $4: Language |
669 | 668 | * $5: Previous workflow state |
670 | 669 | * $6: New workflow state', |
671 | 670 | 'translate-workflow-state-' => 'Unselectable select option in Special:Translate if workflow state editing is on. The dangling hyphen in the message key hints that this state is unset; the actual states have the same key with something after the hyphen.', |
— | — | @@ -9448,7 +9447,7 @@ |
9449 | 9448 | 'log-name-translationreview' => 'יומן סקירת תרגומים', |
9450 | 9449 | 'log-description-translationreview' => 'יומן של כל הסקירות של תרגומים ושל קבוצות תרגומים.', |
9451 | 9450 | 'logentry-translationreview-message' => '$1 {{GENDER:$2|אישר|אישרה}} את התרגום $3', |
9452 | | - 'logentry-groupreview-message' => '$1 {{GENDER:$2|שינה|שינתה}} את מצב התרגום ל$3 של הקבוצה $4 מ"$5" ל"$6"', |
| 9451 | + 'logentry-groupreview-message' => '$1 {{GENDER:$2|שינה|שינתה}} את מצב התרגום של הקבוצה $3 ל$4 מ"$5" ל"$6"', |
9453 | 9452 | 'translate-workflow-state-' => '(לא מוגדר)', |
9454 | 9453 | 'translate-workflowstatus' => 'מצב: $1', |
9455 | 9454 | 'translate-workflow-set-do' => 'הגדרה', |
Index: trunk/extensions/Translate/api/ApiGroupReview.php |
— | — | @@ -33,7 +33,6 @@ |
34 | 34 | $this->dieUsageMsg( array( 'missingparam', 'group' ) ); |
35 | 35 | } |
36 | 36 | |
37 | | - // XXX Is this part needed? |
38 | 37 | $languages = Language::getLanguageNames( false ); |
39 | 38 | if ( !isset( $languages[$requestParams['language']] ) ) { |
40 | 39 | $this->dieUsageMsg( array( 'missingparam', 'language' ) ); |
— | — | @@ -67,7 +66,7 @@ |
68 | 67 | ); |
69 | 68 | $logger->addEntry( |
70 | 69 | 'group', |
71 | | - SpecialPage::getTitleFor( 'Translate', $groupid ), // It's not really a page |
| 70 | + SpecialPage::getTitleFor( 'Translate', $groupid ), |
72 | 71 | '', // No comments |
73 | 72 | $logParams, |
74 | 73 | $wgUser |