Index: trunk/extensions/LiquidThreads/Lqt.i18n.php |
— | — | @@ -12,6 +12,8 @@ |
13 | 13 | $messages = array(); |
14 | 14 | |
15 | 15 | $messages['en'] = array( |
| 16 | + 'lqt-desc' => 'Add threading discussions to talk pages', |
| 17 | + 'lqt-nothread' => 'There are no threads in the archive.', |
16 | 18 | 'lqt_newmessages' => 'New Messages', |
17 | 19 | 'lqt_movethread' => 'Move Thread to Another Page', |
18 | 20 | 'lqt_deletethread' => 'Delete or Undelete Thread', |
— | — | @@ -279,6 +281,8 @@ |
280 | 282 | * @author Dereckson |
281 | 283 | */ |
282 | 284 | $messages['fr'] = array( |
| 285 | + 'lqt-desc' => 'Ajoute des fils de discussion dans les pages de discussion', |
| 286 | + 'lqt-nothread' => 'Il n’existe aucun fil de discussion dans les archives.', |
283 | 287 | 'lqt_newmessages' => 'Nouveaux messages', |
284 | 288 | 'lqt_movethread' => 'Déplacer le fil vers une autre page', |
285 | 289 | 'lqt_deletethread' => 'Effacer ou récupérer le fil', |
Index: trunk/extensions/LiquidThreads/LqtPages.php |
— | — | @@ -13,11 +13,12 @@ |
14 | 14 | } |
15 | 15 | |
16 | 16 | $wgExtensionCredits['other'][] = array( |
17 | | - 'name' => 'Liquid Threads', |
18 | | - 'version' => '1.0', |
19 | | - 'url' => 'http://www.mediawiki.org/wiki/Extension:LiquidThreads', |
20 | | - 'author' => 'David McCabe', |
21 | | - 'description' => 'Add threading discussions to talk pages', |
| 17 | + 'name' => 'Liquid Threads', |
| 18 | + 'version' => '1.0', |
| 19 | + 'url' => 'http://www.mediawiki.org/wiki/Extension:LiquidThreads', |
| 20 | + 'author' => 'David McCabe', |
| 21 | + 'description' => 'Add threading discussions to talk pages', |
| 22 | + 'descriptionmsg' => 'lqt-desc', |
22 | 23 | ); |
23 | 24 | |
24 | 25 | function efArrayDefault($name, $key, $default) { |
— | — | @@ -475,7 +476,7 @@ |
476 | 477 | |
477 | 478 | $empty = $this->showSearchForm(); |
478 | 479 | if ($empty) { |
479 | | - $this->output->addHTML('<p>There are no threads in the archive.'); |
| 480 | + $this->output->addHTML('<p><br/><b>'. wfMsg('lqt-nothread' ) . '</b>' ); |
480 | 481 | return false; |
481 | 482 | } |
482 | 483 | |