Skip to content

Commit

Permalink
Merge branch 'release/3.3.0'
Browse files Browse the repository at this point in the history
  • Loading branch information
jacobdekeizer committed May 6, 2024
2 parents ba28d0f + caafc96 commit 4746835
Show file tree
Hide file tree
Showing 5 changed files with 141 additions and 9 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/php.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
strategy:
fail-fast: true
matrix:
php: [ 8.0, 8.1, 8.2 ]
php: [ 8.0, 8.1, 8.2, 8.3 ]
stability: [ prefer-lowest, prefer-stable ]

name: PHP ${{ matrix.php }} - ${{ matrix.stability }}
Expand Down
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,12 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [3.3.0] - 2024-05-06

### Added

- Added Chinese translations.

## [3.2.0] - 2023-04-05

- Dropped support for October CMS 2.0
Expand Down
13 changes: 5 additions & 8 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,22 +26,19 @@
"laminas/laminas-http": "^2.18",
"october/rain": "^3.0"
},
"require-dev": {
"ergebnis/composer-normalize": "^2.42"
},
"repositories": [
{
"type": "composer",
"url": "https://gateway.octobercms.com"
}
],
"archive": {
"exclude": [
".gitattributes",
".github",
".gitignore"
]
},
"config": {
"allow-plugins": {
"composer/installers": true
"composer/installers": true,
"ergebnis/composer-normalize": true
}
}
}
128 changes: 128 additions & 0 deletions lang/zh-cn/lang.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,128 @@
<?php

declare(strict_types=1);

return [
'plugin' => [
'name' => 'RSS获取器',
'description' => '从各种来源获取RSS项目,并将其放在您的网站上',
],
'permissions' => [
'access_sources' => '管理来源',
'access_items' => '管理项目',
'access_import_export' => '允许导入和导出',
'access_feeds' => '管理订阅',
],
'navigation' => [
'menu_label' => 'RSS获取器',
'side_menu_label_sources' => '来源',
'side_menu_label_items' => '项目',
'side_menu_label_feeds' => '订阅',
],
'source' => [
'source' => '来源',
'sources' => '来源',
'name' => '名称',
'source_url' => '来源URL',
'source_id' => '来源ID',
'description' => '描述',
'enabled' => '启用',
'enabled_comment' => '点击此开关以启用此RSS来源',
'items_count' => '项目',
'last_fetched' => '上次获取',
'max_items' => '最大项目数',
'max_items_description' => '从来源获取的最大项目数',
'publish_new_items' => '发布新获取的项目',
'source_not_enabled' => '来源未启用,请先启用它',
'items_fetch_success' => '已成功从此来源获取RSS项目',
'items_fetch_fail' => '在获取RSS项目时发生错误::error',
'new_source' => '新来源',
'create_source' => '创建来源',
'edit_source' => '编辑来源',
'manage_sources' => '管理来源',
'return_to_sources' => '返回来源列表',
'fetch_items' => '获取项目',
'fetching_items' => '正在获取项目...',
'delete_confirm' => '您确定吗?',
'import_sources' => '导入来源',
'export_sources' => '导出来源',
'update_existing_sources' => '更新现有来源',
'update_existing_sources_comment' => '勾选此框以更新具有相同ID的来源。',
],
'item' => [
'item' => '项目',
'items' => '项目',
'items_per_page' => '每页项目数',
'items_per_page_validation' => '每页项目数值的格式无效',
'new_item' => '新项目',
'create_item' => '创建项目',
'edit_item' => '编辑项目',
'manage_items' => '管理项目',
'return_to_items' => '返回项目列表',
'delete_confirm' => '您确定吗?',
'hide_published' => '隐藏已发布',
'import_sources' => '导入来源',
'export_sources' => '导出来源',
'publish' => '发布',
'unpublish' => '取消发布',
'enclosure_url' => '附件URL',
'enclosure_length' => '附件长度',
'enclosure_type' => '附件类型',
'title' => '标题',
'link' => '链接',
'description' => '描述',
'author' => '作者',
'category' => '类别',
'comments' => '评论',
'published_at' => '发布时间',
'is_published' => '已发布',
'is_published_comment' => '点击此开关以发布此项目',
],
'feed' => [
'feed' => '订阅',
'feeds' => '订阅',
'title' => '标题',
'type' => '类型',
'description' => '描述',
'path' => '路径',
'path_placeholder' => 'path/to/feed',
'path_comment' => '输入此订阅应该可用的相对路径。例如:news/financial/latest',
'sources' => '来源',
'sources_comment' => '选择应包含在此订阅中的来源',
'enabled' => '启用',
'enabled_comment' => '点击此开关以启用此订阅',
'max_items' => '订阅中的最大项目数',
'new_feed' => '新订阅',
'return_to_feeds' => '返回订阅列表',
'delete_confirm' => '您确定吗?',
'manage_feeds' => '管理订阅',
'create_feed' => '创建订阅',
'edit_feed' => '编辑订阅',
],
'component' => [
'item_list' => [
'name' => '项目列表',
'description' => '显示最新的RSS项目列表。',
],
'paginatable_item_list' => [
'name' => '可分页的项目列表',
'description' => '显示可分页的RSS项目列表。',
],
'source_list' => [
'name' => '来源列表',
'description' => '显示来源列表。',
],
],
'report_widget' => [
'headlines' => [
'name' => 'RSS项目小部件',
'description' => '显示最新获取的RSS项目',
'title_title' => '小部件标题',
'title_default' => '最新头条',
'title_required' => '需要小部件标题',
'max_items_title' => '要显示的项目数',
'date_format_title' => '日期格式',
'date_format_description' => '请检查php.net上的官方PHP文档以获取日期格式说明。',
],
],
];
1 change: 1 addition & 0 deletions updates/version.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,3 +28,4 @@ v3.0.4: "Update CHANGELOG.md and fix v3.0.0 description"
v3.1.0: "Maintenance update -- see CHANGELOG.md"
v3.2.0: "Maintenance update -- see CHANGELOG.md"
v3.2.1: "Update plugin icon"
v3.3.0: "Added Chinese translations"

0 comments on commit 4746835

Please sign in to comment.