From 19d1b7a694dda77ec9fe4e4c87d24749dc4b85ec Mon Sep 17 00:00:00 2001 From: Edi Date: Tue, 14 Sep 2021 11:22:59 +0200 Subject: [PATCH] Update plugin.php --- bl-plugins/latest-pages/plugin.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/bl-plugins/latest-pages/plugin.php b/bl-plugins/latest-pages/plugin.php index 3420fa5b..09b75eac 100644 --- a/bl-plugins/latest-pages/plugin.php +++ b/bl-plugins/latest-pages/plugin.php @@ -8,7 +8,7 @@ class pluginLatestPages extends Plugin { global $pages; $html = '
'; - $html .= '

Latest pages

'; + $html .= '

' . $L->g('Latest pages') . '

'; $html .= '
'; $tmp = $pages->getList(1, 5); foreach ($tmp as $key) { @@ -17,7 +17,7 @@ class pluginLatestPages extends Plugin { $html .= '
'; $html .= '
'; $html .= '
'.($page->title() ? $page->title() : '' . $L->g('Empty title') . ' ').'
'; - $html .= '

Category: '.($page->category() ? $page->category() : $L->get('uncategorized')).'

'; + $html .= '

' . $L->g('Category') . ': '.($page->category() ? $page->category() : $L->get('uncategorized')).'

'; $html .= '
'; $html .= ''.$page->relativeTime().''; $html .= '
'; @@ -29,4 +29,4 @@ class pluginLatestPages extends Plugin { return $html; } -} \ No newline at end of file +}