Update functions.php

Add translation for 404-page title
This commit is contained in:
vallyol 2021-11-15 09:31:52 +03:00 committed by GitHub
commit 18acadadcc
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -2304,7 +2304,7 @@ function not_found()
header($_SERVER["SERVER_PROTOCOL"] . " 404 Not Found");
render('404', array(
'title' => 'This page doesn\'t exist! - ' . blog_title(),
'title' => i18n('This_page_doesnt_exist') . ' - ' . blog_title(),
'description' => '404 Not Found',
'canonical' => site_url(),
'breadcrumb' => '<a href="' . site_url() . '">' . config('breadcrumb.home') . '</a> &#187; 404 Not Found',