diff options
| author | 2025-10-06 15:09:01 -0400 | |
|---|---|---|
| committer | 2025-10-06 21:09:01 +0200 | |
| commit | b6f4276c6cc2e5a53f0a4afb1536960427fa995e (patch) | |
| tree | 8ac7062239b9fa4d3cdb1a9d106db6ada1676a77 /app/i18n/zh-TW/index.php | |
| parent | aeecba7b30cf04a53fc23f7ed7a8c5ce12cb11a6 (diff) | |
Change regional language codes (#8065)
* Change regional language codes
According to `ISO-639-1` and `ISO-3166-1 alpha-2` recommendations, regional
languages must be written with the language code in lowercase and the region
in uppercase. For instance, we should have `en-US` instead of `en-us`.
Folders have been updated to reflect those recommendations and regional
language codes have been updated in the translation files.
* Update README files
* Fix configuration for typos
* Revert language order in documentation
* Remove unnecessary code
* Change language configuration getter
* Fix phpstan error
* Fix typo
* Add types
* escape regex
* Move language logic to avoid magic or deprecated methods
* Minor fix on regex
Diffstat (limited to 'app/i18n/zh-TW/index.php')
| -rw-r--r-- | app/i18n/zh-TW/index.php | 110 |
1 files changed, 110 insertions, 0 deletions
diff --git a/app/i18n/zh-TW/index.php b/app/i18n/zh-TW/index.php new file mode 100644 index 000000000..4fcae7478 --- /dev/null +++ b/app/i18n/zh-TW/index.php @@ -0,0 +1,110 @@ +<?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( + '_' => 'System information', // TODO + 'browser' => 'Browser', // TODO + 'database' => 'Database', // TODO + 'server_software' => 'Server software', // TODO + 'version_curl' => 'cURL version', // TODO + 'version_frss' => 'FreshRSS version', // TODO + 'version_php' => 'PHP version', // TODO + ), + ), + 'bugs_reports' => '報告錯誤', + 'documentation' => 'Documentation', // TODO + 'freshrss_description' => 'FreshRSS 是一個自托管的 RSS 聚合服務。 它不僅輕快又易用,而且強大又易於配置。', + 'github' => '<a href="https://github.com/FreshRSS/FreshRSS/issues">GitHub Issues</a>', + 'license' => '授權', + 'project_website' => '項目網站', + 'title' => '關於', + 'version' => '版本', + ), + 'feed' => array( + 'empty' => '暫時沒有文章可顯示。', + 'received' => array( + 'before_yesterday' => 'Received before yesterday', // TODO + 'today' => 'Received today', // TODO + 'yesterday' => 'Received yesterday', // TODO + ), + 'rss_of' => '%s 的訂閱源', + 'title' => '首頁', + 'title_fav' => '收藏', + 'title_global' => '全局視圖', + ), + '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' => '我的標籤', + 'newer_first' => '由新至舊', + 'non-starred' => '顯示未收藏', + 'normal_view' => '普通視圖', + 'older_first' => '由舊至新', + 'queries' => '自定義查詢', + 'read' => '顯示已讀', + 'reader_view' => '閱讀視圖', + 'rss_view' => '訂閱源', + 'search_short' => '搜尋', + 'sort' => array( + '_' => 'Sorting criteria', // TODO + 'c' => array( + 'name_asc' => 'Category, feed titles A→Z', // TODO + 'name_desc' => 'Category, feed titles Z→A', // TODO + ), + 'date_asc' => 'Publication date 1→9', // TODO + 'date_desc' => 'Publication date 9→1', // TODO + 'f' => array( + 'name_asc' => 'Feed title A→Z', // TODO + 'name_desc' => 'Feed title Z→A', // TODO + ), + 'id_asc' => 'Freshly received last', // TODO + 'id_desc' => 'Freshly received first', // TODO + 'link_asc' => 'Link A→Z', // TODO + 'link_desc' => 'Link Z→A', // TODO + 'rand' => 'Random order', // TODO + 'title_asc' => 'Title A→Z', // TODO + 'title_desc' => 'Title Z→A', // TODO + ), + 'starred' => '顯示收藏', + 'stats' => '統計', + 'subscription' => '訂閱管理', + 'unread' => '顯示未讀', + ), + 'share' => '分享', + 'tag' => array( + 'related' => '文章標籤', + ), + 'tos' => array( + 'title' => '服務條款', + ), +); |
