Browse Source

update placeholder

main
ghost 1 year ago
parent
commit
9f9da4bdd7
  1. 4
      src/webui/index.php
  2. 4
      src/webui/search.php

4
src/webui/index.php

@ -38,11 +38,11 @@ $total = $index->search('')
->getTotal(); ->getTotal();
$placeholder = sprintf( $placeholder = sprintf(
_('index contain %s documents %s'), _('Search in %s documents %s'),
number_format( number_format(
$total $total
), ),
$config->webui->search->index->request->url->enabled ? _('or crawl new address...') : false $config->webui->search->index->request->url->enabled ? _('or enter new address to crawl...') : false
); );
?> ?>

4
src/webui/search.php

@ -36,11 +36,11 @@ $total = $index->search('')
->getTotal(); ->getTotal();
$placeholder = sprintf( $placeholder = sprintf(
_('index contain %s documents %s'), _('Search in %s documents %s'),
number_format( number_format(
$total $total
), ),
$config->webui->search->index->request->url->enabled ? _('or crawl new address...') : false $config->webui->search->index->request->url->enabled ? _('or enter new address to crawl...') : false
); );
$response = false; $response = false;

Loading…
Cancel
Save