Index: trunk/extensions/Translate/tag/PageTranslationHooks.php |
— | — | @@ -616,9 +616,9 @@ |
617 | 617 | if ( $_['languages'] === false ) { |
618 | 618 | return wfMsgExt( 'pt-log-priority-langs-unset', $opts, $title->getPrefixedText(), $user ); |
619 | 619 | } elseif ( $_['force'] === 'on' ) { |
620 | | - return wfMsgExt( 'pt-log-priority-langs-force', $opts, $title->getPrefixedText(), $user, $_['languages'] ); |
| 620 | + return wfMsgExt( 'pt-log-priority-langs-force', $opts, $title->getPrefixedText(), $user, $_['languages'], $_['reason'] ); |
621 | 621 | } else { |
622 | | - return wfMsgExt( 'pt-log-priority-langs', $opts, $title->getPrefixedText(), $user , $_['languages'] ); |
| 622 | + return wfMsgExt( 'pt-log-priority-langs', $opts, $title->getPrefixedText(), $user , $_['languages'], $_['reason'] ); |
623 | 623 | } |
624 | 624 | } |
625 | 625 | return ''; |
Index: trunk/extensions/Translate/PageTranslation.i18n.php |
— | — | @@ -137,8 +137,8 @@ |
138 | 138 | 'pt-log-encourage' => '{{GENDER:$2|encouraged}} translation of page [[:$1]]', |
139 | 139 | 'pt-log-discourage' => '{{GENDER:$2|discouraged}} translation of page [[:$1]]', |
140 | 140 | 'pt-log-priority-langs-unset' => '{{GENDER:$2|removed}} priority languages from translatable page [[:$1]]', |
141 | | - 'pt-log-priority-langs' => '{{GENDER:$2|set}} the priority languages for translatable page [[:$1]] to $3', |
142 | | - 'pt-log-priority-langs-force' => '{{GENDER:$2|limited}} languages for translatable page [[:$1]] to $3', |
| 141 | + 'pt-log-priority-langs' => '{{GENDER:$2|set}} the priority languages for translatable page [[:$1]] to $3. Reason: $4', |
| 142 | + 'pt-log-priority-langs-force' => '{{GENDER:$2|limited}} languages for translatable page [[:$1]] to $3. Reason: $4', |
143 | 143 | |
144 | 144 | # move page replacement |
145 | 145 | 'pt-movepage-title' => 'Move translatable page $1', |