From 9f9da4bdd7cf355a8f5a1173369bf665cc9fd2d0 Mon Sep 17 00:00:00 2001 From: ghost Date: Sun, 26 Nov 2023 13:50:47 +0200 Subject: [PATCH] update placeholder --- src/webui/index.php | 4 ++-- src/webui/search.php | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/webui/index.php b/src/webui/index.php index f6a2f0a..9e9d7b7 100644 --- a/src/webui/index.php +++ b/src/webui/index.php @@ -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 ); ?> diff --git a/src/webui/search.php b/src/webui/search.php index c7006c6..1c85cf1 100644 --- a/src/webui/search.php +++ b/src/webui/search.php @@ -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;