From 301b5d19ae23fbfccc54c293e8b2bb4701ce7011 Mon Sep 17 00:00:00 2001 From: Robert Riebisch <15858666+bttrx@users.noreply.github.com> Date: Sat, 9 Dec 2023 22:15:23 +0100 Subject: [PATCH] More i18n [1/2] --- system/admin/admin.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/system/admin/admin.php b/system/admin/admin.php index e0633e2..e4af206 100644 --- a/system/admin/admin.php +++ b/system/admin/admin.php @@ -854,7 +854,7 @@ function get_feed($feed_url, $credit) } elseif (!empty($descriptionB)) { $content = preg_replace('##i', "\n", $descriptionB); } else { - return $str = '
  • Can not read the feed content.
  • '; + return $str = '
  • ' . i18n('Cannot_read_feed_content') . '
  • '; } $time = new DateTime($entry->pubDate); $timestamp = $time->format("Y-m-d H:i:s"); @@ -872,7 +872,7 @@ function get_feed($feed_url, $credit) migrate($title, $time, $tags, $content, $url, $user, $source); } } else { - return $str = '
  • Unsupported feed.
  • '; + return $str = '
  • ' . i18n('Unknown_feed_format') . '
  • '; } }