From: Andrew Dolgov Date: Fri, 7 Sep 2018 07:24:46 +0000 (+0300) Subject: rewrite per-feed/global strip images to strip media X-Git-Tag: 18.12~77 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=d4fef362379ab010960ba6614baf3a1622cb17be;p=tt-rss.git rewrite per-feed/global strip images to strip media --- diff --git a/classes/pref/feeds.php b/classes/pref/feeds.php index 4c9574cd..817966e1 100755 --- a/classes/pref/feeds.php +++ b/classes/pref/feeds.php @@ -697,7 +697,7 @@ class Pref_Feeds extends Handler_Protected { print "
 "; + __('Do not embed media').""; $cache_images = $row["cache_images"]; @@ -888,7 +888,7 @@ class Pref_Feeds extends Handler_Protected { name=\"hide_images\" dojoType=\"dijit.form.CheckBox\"> "; + __('Do not embed media').""; print " "; $this->batch_edit_cbox("hide_images", "hide_images_l"); diff --git a/classes/pref/prefs.php b/classes/pref/prefs.php index da62ea70..7a3b363f 100644 --- a/classes/pref/prefs.php +++ b/classes/pref/prefs.php @@ -48,7 +48,7 @@ class Pref_Prefs extends Handler_Protected { "SHOW_CONTENT_PREVIEW" => array(__("Show content preview in headlines list"), ""), "SORT_HEADLINES_BY_FEED_DATE" => array(__("Sort headlines by feed date"), __("Use feed-specified date to sort headlines instead of local import date.")), "SSL_CERT_SERIAL" => array(__("Login with an SSL certificate"), __("Click to register your SSL client certificate with tt-rss")), - "STRIP_IMAGES" => array(__("Do not embed images in articles"), ""), + "STRIP_IMAGES" => array(__("Do not embed media in articles"), ""), "STRIP_UNSAFE_TAGS" => array(__("Strip unsafe tags from articles"), __("Strip all but most common HTML tags when reading articles.")), "USER_STYLESHEET" => array(__("Customize stylesheet"), __("Customize CSS stylesheet to your liking")), "USER_TIMEZONE" => array(__("Time zone"), ""),