Skip to content

Commit

Permalink
Show link to the admin_maintenance page in "rebuild search index" note
Browse files Browse the repository at this point in the history
  • Loading branch information
daris committed Feb 2, 2012
1 parent ec12a55 commit 3a2d0b7
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion converter.php
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@
}

// We're done
$alerts = array($lang_convert['Rebuild search index note']);
$alerts = array(sprintf($lang_convert['Rebuild search index note'], $lang_convert['rebuild search index']));

if (!$forum->converts_password())
$alerts[] = $lang_convert['Password converter mod'];
Expand Down
2 changes: 1 addition & 1 deletion index.php
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@
unset($_SESSION['fluxbb_converter']);

// We're done
$alerts = array($lang_convert['Rebuild search index note']);
$alerts = array(sprintf($lang_convert['Rebuild search index note'], '<a href="../admin_maintenance.php">'.$lang_convert['rebuild search index'].'</a>'));

if (!$forum->converts_password())
$alerts[] = $lang_convert['Password converter mod'];
Expand Down
3 changes: 2 additions & 1 deletion lang/English/convert.php
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,8 @@
'Alert users' => 'Alert users',

'Final instructions' => 'Final instructions',
'Rebuild search index note' => 'Don\'t forget to rebuild the search index!',
'Rebuild search index note' => 'Do not forget to %s!',
'rebuild search index' => 'rebuild the search index',
'Password converter mod' => 'This converter does not support converting passwords for specified forum. You have to install Password Converter Mod (file password_converter_mod.txt in converter directory) or you will not be able to login!',
'Database converted' => 'Your forum has been successfully converted! You may now %s.',
'go to forum index' => 'go to the forum index',
Expand Down

0 comments on commit 3a2d0b7

Please sign in to comment.