Files
FreshRSS/app/i18n/uk/index.php
PeterVavercak ee7eb67f3c Implement sort order per feed (#8234)
* added local feed sorting

Addresses https://github.com/FreshRSS/FreshRSS/issues/4761

- Added number of sorted feeds and associative array for feed sorting option in Context.
- Number of sorted feeds and local sorting option by its index saved into Minz Request Parameters.
- Number of sorted feeds and local sorting options deleted when choosing another Option Of Global Sorting.
- Added option of allowing sorting by feed in configuration.
- Added variable for allowing local sorting in userConf.
- Added function to get feeds by current get in context.
- Added menu button for all individual feed sorting.
- New database options for individual feed sorting in EntryDAO.
- Considered choosing new entries based on chosen load limit.
- Local sorting parameter saved into continuation value in Index Controller.

How to test the feature manually:

1. At the bottom of Reading Configuration menu turn on individual sorting option menu 
2. Choose Sorting by feed option
3. Choose feed at next sorting menu and choose sorting option for that feed

* added feed sorting option

* added sort feeds display

* added template for sort feed name

* added title to feed sorting button

* added comments

* added local sorting option

* Added Docs

* css reset

* added getter and seter for local sort

* added getter and seter for local sort

* allowed sorting per feed

* allowed sorting per feed

* added sorting option for category

* deleted changes from NetryDAO

* add setting up sorting for category

* docs reset

* i18 reset

* updated i18 for category

* added i18 for categories

* added i18 for category

* added setting sorting for feeds and category

* removing userConf.allow-local-sort

* removing userConf.allow-local-sort

* removing white space

* added credits

* removed feeds_by_get

* removed whitespace

* changed escaping for values

* added escaping to user set values

* added in_array

* added secondary sort and order

* added secondary sort and order

* fixed readme

* removed whitespace change

* reseted i18n

* added translations

* added feed setting translations

* fixed i18n

* fixed i18n

* changes in sort order per feed

* changes in sort order per feed

* added secondary sort order

* primary sort

* changed to preferred sort order

* i18n

* Revert wrong whitespace changes

* Re-order new options

* added blank option

* fixed escaping

* fixed default sort in feed

* fixed default sort recovery

* siplyfied option

* added rand option

* Revert unrelated change

* Minor plaintext

* Whitespace and formatting fixes

* Avoid unneeded SQL requests and processing

* Improve syntax

* Improve logic

* Reuse existing translations as much as possible

* i18n

* Remove some options that make little sense

* Separators

* Fix old transation key

* Add help messages

* Progress on secondary sort

* raw name

* Pass parameters. Add TODO

* Progress

* Minor ordering

* Fix parenthesis

---------

Co-authored-by: root <root@LAPTOP-C8TCHHPN.localdomain>
Co-authored-by: Alexandre Alapetite <alexandre@alapetite.fr>
2026-02-01 13:12:47 +01:00

133 lines
6.0 KiB
PHP
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
<?php
/******************************************************************************
* Each entry of that file can be associated with a comment to indicate its *
* state. When there is no comment, it means the entry is fully translated. *
* The recognized comments are (comment matching is case-insensitive): *
* + TODO: the entry has never been translated. *
* + DIRTY: the entry has been translated but needs to be updated. *
* + IGNORE: the entry does not need to be translated. *
* When a comment is not recognized, it is discarded. *
******************************************************************************/
return array(
'about' => array(
'_' => 'Про програму',
'agpl3' => '<a href="https://www.gnu.org/licenses/agpl-3.0.html">AGPL 3</a>', // IGNORE
'bug_reports' => array(
'environment_information' => array(
'_' => 'Дані про систему',
'browser' => 'Браузер',
'database' => 'База даних',
'server_software' => 'Серверне ПЗ',
'version_curl' => 'Версія cURL',
'version_frss' => 'Версія FreshRSS',
'version_php' => 'Версія PHP',
),
),
'bugs_reports' => 'Звіти про вади',
'documentation' => 'Документація',
'freshrss_description' => 'FreshRSS — це агрегатор і читач RSS-стрічок, який можна встановити на власному сервері. Це надає змогу підписуватись на декілька сайтів новин і читати їх в одній стрічці, не перемикаючись між сайтами. FreshRSS — ощадлива й проста у використанні програма, гнучка в налаштуванні.',
'github' => '<a href="https://github.com/FreshRSS/FreshRSS/issues">на GitHub</a>',
'license' => 'Ліцензія',
'project_website' => 'Сайт проєкту',
'title' => 'Про програму',
'version' => 'Версія',
),
'feed' => array(
'empty' => 'Нема статей для показу.',
'published' => array(
'_' => 'Published', // TODO
'future' => 'Published in the future', // TODO
'today' => 'Published today', // TODO
'yesterday' => 'Published yesterday', // TODO
),
'received' => array(
'_' => 'Received', // TODO
'today' => 'Отримано сьогодні',
'yesterday' => 'Отримано вчора',
),
'rss_of' => 'RSS-стрічка %s',
'title' => 'Головний потік',
'title_fav' => 'Вподобані',
'title_global' => 'Глобальний показ',
'userModified' => array(
'_' => 'Modified by user', // TODO
'today' => 'Modified by user today', // TODO
'yesterday' => 'Modified by user yesterday', // TODO
),
),
'log' => array(
'_' => 'Журнали',
'clear' => 'Очистити журнали',
'empty' => 'Файл журналів порожній',
'title' => 'Журнали',
),
'menu' => array(
'about' => 'Про FreshRSS',
'before_one_day' => 'Старіші за день',
'before_one_week' => 'Старіші за тиждень',
'bookmark_query' => 'Додати поточний запит у закладки',
'favorites' => 'Вподобані (%s)',
'global_view' => 'Загальний показ',
'important' => 'Важливі стрічки',
'main_stream' => 'Головний потік',
'mark_all_read' => 'Позначити всі прочитаними',
'mark_cat_read' => 'Позначити категорію прочитаною',
'mark_feed_read' => 'Позначити стрічку прочитаною',
'mark_selection_unread' => 'Позначити вибрані непрочитаними',
'mylabels' => 'Мої мітки',
'non-starred' => 'Показати невподобані',
'normal_view' => 'Звичайний показ',
'queries' => 'Користувацькі запити',
'read' => 'Показати прочитані',
'reader_view' => 'Читацький показ',
'rss_view' => 'RSS-стрічка',
'search_short' => 'Пошук',
'sort' => array(
'asc' => 'Ascending', // TODO
'c' => array(
'name_asc' => 'Заголовки категорії та стрічки А→Я',
'name_desc' => 'Заголовки категорії та стрічки Я→А',
),
'date_asc' => 'Дата оприлюднення 1→9',
'date_desc' => 'Дата оприлюднення 9→1',
'desc' => 'Descending', // TODO
'f' => array(
'name_asc' => 'Назва стрічки A→Z',
'name_desc' => 'Назва стрічки Z→A',
),
'id_asc' => 'Спершу найдавніше отримані',
'id_desc' => 'Спершу щойно отримані',
'length_asc' => 'Content length 1→9', // TODO
'length_desc' => 'Content length 9→1', // TODO
'link_asc' => 'Посилання А→Я',
'link_desc' => 'Посилання Я→А',
'primary' => array(
'_' => 'Sorting criterion', // TODO
'help' => 'Sorting by <em>received</em> date is recommended in most cases, for consistency and performance', // TODO
),
'rand' => 'Довільний порядок',
'secondary' => array(
'_' => 'Secondary sorting criterion', // TODO
'help' => 'Only relevant when the primary sorting criterion is categories or feeds titles', // TODO
),
'title_asc' => 'Заголовок А→Я',
'title_desc' => 'Заголовок Я→А',
'user_modified_asc' => 'User modified 1→9', // TODO
'user_modified_desc' => 'User modified 9→1', // TODO
),
'starred' => 'Показати вподобані',
'stats' => 'Статистика',
'subscription' => 'Керування підписками',
'unread' => 'Показати непрочитані',
),
'share' => 'Поширити',
'tag' => array(
'related' => 'Теги статей',
),
'tos' => array(
'title' => 'Умови надання послуг',
),
);