aboutsummaryrefslogtreecommitdiff
path: root/app/i18n/oc/conf.php
diff options
context:
space:
mode:
authorGravatar Mike <mtalexan@users.noreply.github.com> 2024-10-17 08:38:25 +0000
committerGravatar GitHub <noreply@github.com> 2024-10-17 10:38:25 +0200
commit24a4fcb5c3a001ee9810d7140f107160472fc1d5 (patch)
treead41446c937a6b1b3768bd466129100dad333378 /app/i18n/oc/conf.php
parentd9a82e6b9e92276122c75843183d3e42f3e17559 (diff)
Add move to next unread Label on mark as read. (#6886)
* Add move to next unread Label on mark as read. The Labels, unlike the Feeds and Categories, don't move to the next unread when "move to next unread on mark all as read" user feature is enabled. Labels are more complex than Feeds and Categories because Entries can be in more than Label at a time. So when marking all Entries in the Label as read, it can cause other Labels to end up with all their Entries marked as read as well. The calculation of what the next Label/Feed/Category is to jump to normally happens when generating the link for the "Mark as Read" buttons, but it can't for Labels. To address the problem for Labels, use a placeholder value during the pre-calculation of the "Mark as Read" button link. When that placeholder value is encountered during the "Mark as Read" action, the next Label with unread Entries will be calculated immediately after the mark as read action has been processed. Fix all the translations of the 'jump_next' text to remove the '(feed or categories' part that no longer applies. Attempt to fix the inconsistent Russian, Italian, and Polish translations of 'jump_next' text, which phrased the '(feed or categories)' part differently. * Minor code formattting * Fixes * Optimize next label lookup. Only get the tag list once, and actually error check that it returned successfully. Fix a typo in a comment as well. * Fix fallback when all Labels are read. Fix the missing check for whether we're in the fallback case or not. * Update app/i18n/ru/conf.php * Update app/Controllers/entryController.php * Minor changes * One more minor --------- Co-authored-by: Alexandre Alapetite <alexandre@alapetite.fr>
Diffstat (limited to 'app/i18n/oc/conf.php')
-rw-r--r--app/i18n/oc/conf.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/i18n/oc/conf.php b/app/i18n/oc/conf.php
index dcdbf2ff2..2e2afa73d 100644
--- a/app/i18n/oc/conf.php
+++ b/app/i18n/oc/conf.php
@@ -220,7 +220,7 @@ return array(
),
'hide_read_feeds' => 'Rescondre las categorias & fluxes sens articles pas legits (fonciona pas amb la configuracion « Mostrar totes los articles »)',
'img_with_lazyload' => 'Utilizar lo mòde “cargament tardiu” pels imatges',
- 'jump_next' => 'sautar al vesin venent pas legit (flux o categoria)',
+ 'jump_next' => 'sautar al vesin venent pas legit',
'mark_updated_article_unread' => 'Marcar los articles actualizats coma pas legits',
'number_divided_when_reader' => 'Devisat per 2 dins la vista de lectura.',
'read' => array(