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('') @@ -38,11 +38,11 @@ $total = $index->search('')
->getTotal();
$placeholder = sprintf(
_('index contain %s documents %s'),
_('Search in %s documents %s'),
number_format(
$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('') @@ -36,11 +36,11 @@ $total = $index->search('')
->getTotal();
$placeholder = sprintf(
_('index contain %s documents %s'),
_('Search in %s documents %s'),
number_format(
$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;

Loading…
Cancel
Save