Skip to content

Commit

Permalink
bump 3.2.4
Browse files Browse the repository at this point in the history
  • Loading branch information
yiichou committed Nov 7, 2018
1 parent c744a31 commit 3475dab
Show file tree
Hide file tree
Showing 5 changed files with 78 additions and 23 deletions.
9 changes: 9 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,15 @@
## ChangeLog - 阿里云附件存储
____________________

### 版本号: 3.2.4

修正日期:2018-11-07

#### 修订内容:

1. 为 Exclude 项追加 Regexp Formatter, 避免不正确的表达式导致 Warning
2. 添加 Exclude 选项的翻译

### 版本号: 3.2.3

修正日期:2018-11-06
Expand Down
22 changes: 12 additions & 10 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@

![screenshot](https://github.com/IvanChou/aliyun-oss-support/blob/master/screenshot.png)

## 关于图片服务
## 启用 OSS 图片服务

阿里云 OSS 提供了根据 url 参数来获得各种尺寸的 `阿里云OSS图片处理服务(Image Service,简称 IMG)`, 相比起 WordPress 上传的时候生成各种尺寸的图片, 这是一种更优雅的解决方案, 占用的存储空间更小, 尺寸变更更灵活。

Expand Down Expand Up @@ -68,24 +68,26 @@

本插架由官方商店中 马文建(@mawenjian) 同学的[「阿里云附件」](https://github.com/mawenjian/aliyun-oss-support)插件拓展而来。由于马同学在曾经的某段时间里没能即时维护这个项目,也没有开源,于是我在修复 bug 并 rebuild 后,将这个野生的修订版发布到阿里云社区,意外获得了 ACE 社区官方管理组的推荐。

后来,马同学 release 了 2.0 版本并开源他的项目了,我就中止了这边的维护。但依旧是有网友提 Issue 或发邮件来询问,加上自己的需求,有时间的时候,也就修补一下大家反应的问题,也许还是会有人会用到。
后来,马同学 release 了 2.0 版本并开源他的项目了,~~我就中止了这边的维护~~。但依旧是有网友提 Issue 或发邮件来询问,加上自己的需求,有时间的时候,也就修补一下大家反应的问题,也许还是会有人会用到。

由于插件沿用了马同学插件的名字,并 WordPress 官方不再允许在未经授权的情况下使用知名商标(如:Aliyun) 作为插件名称的一部分,所以这个插件并没有提交官方商店的计划。(重新想个名字对我来说太麻烦了~~( ̄▽ ̄))

## 更新日志

https://github.com/IvanChou/aliyun-oss-support/blob/master/CHANGELOG.md

## 冲突列表
## 插件兼容

- EvernoteSync
- ~~ultimate member~~
- ~~BuddyPress~~
- WP-AutoPost
- ARMember
- minify
由于新增了 Exclude 选项,理论上来说绝大部分插件的兼容问题都可以通过这这个选项来解决

## 依赖
- ~~EvernoteSync~~ Exclude 可解
- ~~ultimate member~~ Exclude 填写 `/ultimatemember/`
- ~~BuddyPress~~ 已兼容
- ~~WP-AutoPost~~ Exclude 可解
- ~~ARMember~~ Exclude 可解
- ~~minify~~ Exclude 可解

## 项目依赖

- https://github.com/aliyun/aliyun-oss-php-sdk
- https://github.com/YahnisElsts/plugin-update-checker
Expand Down
4 changes: 2 additions & 2 deletions aliyun-oss.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
* Description: 使用阿里云 OSS 作为附件的存储空间。 This is a plugin that used Aliyun OSS for attachments remote saving.
* Author: Ivan Chou
* Author URI: https://yii.im/
* Version: 3.2.3
* Updated_at: 2018-11-06
* Version: 3.2.4
* Updated_at: 2018-11-07
*/

/* Copyright 2016 Ivan Chou (email : yiichou@gmail.com)
Expand Down
Binary file modified languages/aliyun-oss-zh_CN.mo
Binary file not shown.
66 changes: 55 additions & 11 deletions languages/aliyun-oss-zh_CN.po
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
msgid ""
msgstr ""
"Project-Id-Version: Aliyun OSS Support\n"
"POT-Creation-Date: 2018-08-20 15:56+0800\n"
"PO-Revision-Date: 2018-08-20 15:57+0800\n"
"POT-Creation-Date: 2018-11-07 17:37+0800\n"
"PO-Revision-Date: 2018-11-07 17:39+0800\n"
"Last-Translator: \n"
"Language-Team: \n"
"Language: zh_CN\n"
Expand All @@ -21,15 +21,15 @@ msgstr ""
"X-Poedit-SearchPathExcluded-0: *.js\n"

#. Plugin Name of the plugin/theme
#: src/Setting.php:24 src/Setting.php:25
#: src/Setting.php:25 src/Setting.php:26
msgid "Aliyun OSS"
msgstr "阿里云 OSS"

#: src/Setting.php:42
#: src/Setting.php:43
msgid "Settings"
msgstr "设置"

#: src/Setting.php:51
#: src/Setting.php:52
#, php-format
msgid ""
"Aliyun OSS Support is almost ready. You should <a href=\"%s\">Setting</a> it "
Expand All @@ -38,10 +38,50 @@ msgstr ""
"阿里云 OSS 附件存储插件已启用,请通过 <a href=\"%s\">配置 OSS</a> 来让它工"
"作。"

#: src/Setting.php:102
#: src/Setting.php:105
msgid "The settings have been saved"
msgstr "配置已保存"

#: vendor/plugin-update-checker/Puc/v4p4/Plugin/UpdateChecker.php:395
msgid "Check for updates"
msgstr "检查更新"

#: vendor/plugin-update-checker/Puc/v4p4/Plugin/UpdateChecker.php:432
msgid "View details"
msgstr "查看详情"

#: vendor/plugin-update-checker/Puc/v4p4/Plugin/UpdateChecker.php:455
#, php-format
msgid "More information about %s"
msgstr ""

#: vendor/plugin-update-checker/Puc/v4p4/Plugin/UpdateChecker.php:548
#, php-format
msgctxt "the plugin title"
msgid "The %s plugin is up to date."
msgstr ""

#: vendor/plugin-update-checker/Puc/v4p4/Plugin/UpdateChecker.php:550
#, php-format
msgctxt "the plugin title"
msgid "A new version of the %s plugin is available."
msgstr ""

#: vendor/plugin-update-checker/Puc/v4p4/Plugin/UpdateChecker.php:552
#, php-format
msgctxt "the plugin title"
msgid "Could not determine if updates are available for %s."
msgstr ""

#: vendor/plugin-update-checker/Puc/v4p4/Plugin/UpdateChecker.php:558
#, php-format
msgid "Unknown update checker status \"%s\""
msgstr ""

#: vendor/plugin-update-checker/Puc/v4p4/Vcs/PluginUpdateChecker.php:98
msgid "There is no changelog available."
msgstr ""

#: view/setting.php:7
msgid "Aliyun OSS Settings"
msgstr "阿里云 OSS 设置"
Expand Down Expand Up @@ -233,14 +273,18 @@ msgstr "不在本地服务器上保留文件"
msgid "keep Settings When Uninstall"
msgstr "卸载时保留配置"

#: view/setting.php:200
#: view/setting.php:198
msgid "Files To Exclude"
msgstr "需要排除的文件"

#: view/setting.php:201
msgid "Regular expression only"
msgstr "仅支持正则表达式"

#: view/setting.php:207
msgid "Commit"
msgstr "保存配置"

#. Plugin URI of the plugin/theme
msgid "\"https://github.com/IvanChou/aliyun-oss-support\""
msgstr ""

#. Description of the plugin/theme
msgid ""
"使用阿里云 OSS 作为附件的存储空间。 This is a plugin that used Aliyun OSS "
Expand Down

0 comments on commit 3475dab

Please sign in to comment.