From fe1fba9828ad4d68a3cc93ed5f8e361f34e5a873 Mon Sep 17 00:00:00 2001 From: Alexis Degrugillier Date: Tue, 16 Feb 2021 12:00:49 -0500 Subject: Add a content action parameter to work with CSS selector (#3453) Before, when retrieving article contents with CSS selector, the content of the RSS feed was replaced by the content of the CSS selector. It works well in most of the cases but if there is a different content in the feed and in the selector, the former is lost. Now, there is a parameter to decide which action is performed after retrieving the content. By default, the previous behavior is kept. But now, it is possible to append or prepend the CSS selector content to the feed content. See #3451 --- app/i18n/sk/sub.php | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'app/i18n/sk/sub.php') diff --git a/app/i18n/sk/sub.php b/app/i18n/sk/sub.php index 5c97ef174..b60d16400 100644 --- a/app/i18n/sk/sub.php +++ b/app/i18n/sk/sub.php @@ -33,6 +33,12 @@ return array( 'username' => 'Používateľské meno pre HTTP', ), 'clear_cache' => 'Vždy vymazať vyrovnávaciu pamäť', + 'content_action' => array( + '_' => 'Content action when fetching the article content', // TODO - Translation + 'append' => 'Add after existing content', // TODO - Translation + 'prepend' => 'Add before existing content', // TODO - Translation + 'replace' => 'Replace existing content', // TODO - Translation + ), 'css_cookie' => 'Use Cookies when fetching the article content', // TODO - Translation 'css_cookie_help' => 'Example: foo=bar; gdpr_consent=true; cookie=value', // TODO - Translation 'css_help' => 'Stiahnuť skrátenú verziu RSS kanála (pozor, vyžaduje viac času!)', -- cgit v1.2.3