From 1d7879986a827702377bbb2895d92e7d2cbd16bc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Stefan=20Bj=C3=B6rk?= Date: Wed, 11 Nov 2020 14:11:17 +0100 Subject: [PATCH] Translation fix of twentyfifteen theme. --- system/includes/functions.php | 2 +- themes/twentyfifteen/layout.html.php | 12 ++++++------ 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/system/includes/functions.php b/system/includes/functions.php index 665c683..a08a762 100644 --- a/system/includes/functions.php +++ b/system/includes/functions.php @@ -1539,7 +1539,7 @@ function has_pagination($total, $perpage, $page = 1) $total = count(get_post_unsorted()); } $totalPage = ceil($total / $perpage); - $number = 'Page '. $page . ' of ' . $totalPage; + $number = i18n('Page') . ' ' . $page . ' ' . i18n('of') . ' ' . $totalPage; $pager = get_pagination($page, $total, $perpage, 2); return array( 'prev' => $page > 1, diff --git a/themes/twentyfifteen/layout.html.php b/themes/twentyfifteen/layout.html.php index 98125e5..5b45c73 100644 --- a/themes/twentyfifteen/layout.html.php +++ b/themes/twentyfifteen/layout.html.php @@ -48,7 +48,7 @@