Browse Source

More i18n [1/2]

pull/658/head
Robert Riebisch 2 years ago
committed by GitHub
parent
commit
301b5d19ae
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      system/admin/admin.php

+ 2
- 2
system/admin/admin.php View File

@ -854,7 +854,7 @@ function get_feed($feed_url, $credit)
} elseif (!empty($descriptionB)) { } elseif (!empty($descriptionB)) {
$content = preg_replace('#<br\s*/?>#i', "\n", $descriptionB); $content = preg_replace('#<br\s*/?>#i', "\n", $descriptionB);
} else { } else {
return $str = '<li>Can not read the feed content.</li>';
return $str = '<li>' . i18n('Cannot_read_feed_content') . '</li>';
} }
$time = new DateTime($entry->pubDate); $time = new DateTime($entry->pubDate);
$timestamp = $time->format("Y-m-d H:i:s"); $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); migrate($title, $time, $tags, $content, $url, $user, $source);
} }
} else { } else {
return $str = '<li>Unsupported feed.</li>';
return $str = '<li>' . i18n('Unknown_feed_format') . '</li>';
} }
} }


Loading…
Cancel
Save