From 5a932d12c5c8cab2b7c5d005a7f4b27dd7680ac6 Mon Sep 17 00:00:00 2001 From: vallyol Date: Mon, 15 Nov 2021 21:39:19 +0300 Subject: [PATCH] Update htmly.php Add traslation to 404-search rendering --- system/htmly.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/system/htmly.php b/system/htmly.php index abfa262..0e17ab2 100644 --- a/system/htmly.php +++ b/system/htmly.php @@ -2149,10 +2149,10 @@ get('/search/:keyword', function ($keyword) { if (!$posts || $page < 1) { // a non-existing page or no search result render('404-search', array( - 'title' => 'Search results not found! - ' . blog_title(), - 'description' => 'Search results not found!', + 'title' => i18n('Search_results_not_found') . ' - ' . blog_title(), + 'description' => i18n('Search_results_not_found'), 'search' => $tsearch, - 'breadcrumb' => '' . config('breadcrumb.home') . ' » No search results', + 'breadcrumb' => '' . config('breadcrumb.home') . ' » ' . i18n('No_search_results'), 'canonical' => site_url(), 'bodyclass' => 'error-404-search', 'is_404search' => true,