Files
FreshRSS/app/i18n/fa/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
5.7 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>',
'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 خود میزبان است. این به شما امکان می دهد بدون نیاز به مرور از یک وب سایت به وب سایت دیگر',
'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' => 'دسته بندی، عناوین فید A→Z',
'name_desc' => 'دسته بندی، عناوین فید Z→A',
),
'date_asc' => 'تاریخ انتشار ۱→۹',
'date_desc' => 'تاریخ انتشار ۹→۱',
'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' => 'لینک A→Z',
'link_desc' => 'لینک Z→A',
'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' => 'عنوانA→Z',
'title_desc' => 'عنوان Z→A',
'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' => ' شرایط خدمات',
),
);