release v0.3.0

This commit is contained in:
hanyixuanten
2026-07-31 19:56:27 +08:00
parent 7ad51fb281
commit 2f2046a809
8 changed files with 21 additions and 9 deletions
+1 -1
View File
@@ -33,7 +33,7 @@ body:
id: plugin-version
attributes:
label: HTBD version
placeholder: "For example: 0.2.4"
placeholder: "For example: 0.3.0"
validations:
required: true
+1 -1
View File
@@ -33,7 +33,7 @@ body:
id: plugin-version
attributes:
label: HTBD 版本
placeholder: 例如:0.2.4
placeholder: 例如:0.3.0
validations:
required: true
+1 -1
View File
@@ -7,7 +7,7 @@ on:
workflow_dispatch:
inputs:
release_tag:
description: GitHub Release tag to deploy (for example, v0.2.4)
description: GitHub Release tag to deploy (for example, v0.3.0)
required: true
type: string
+2 -2
View File
@@ -3,7 +3,7 @@
* Plugin Name: HTBD - hyx Translator powered by Baidu Translate
* Plugin URI: https://www.vblg.top/index.php/archives/147
* Description: Persistent multilingual WordPress translations powered by Baidu Translate.
* Version: 0.2.4
* Version: 0.3.0
* Requires at least: 6.4
* Requires PHP: 8.1
* Author: hanyixuanten
@@ -16,7 +16,7 @@
defined( 'ABSPATH' ) || exit;
define( 'HTBD_VERSION', '0.2.4' );
define( 'HTBD_VERSION', '0.3.0' );
define( 'HTBD_FILE', __FILE__ );
define( 'HTBD_PATH', plugin_dir_path( __FILE__ ) );
@@ -3,7 +3,7 @@
# This file is distributed under the same license as the hyx-translator-for-baidu-translate package.
msgid ""
msgstr ""
"Project-Id-Version: hyx-translator-for-baidu-translate 0.2.4\n"
"Project-Id-Version: hyx-translator-for-baidu-translate 0.3.0\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2026-07-28 14:41+0800\n"
"PO-Revision-Date: 2026-07-28 14:45+0800\n"
@@ -6,7 +6,7 @@
#, fuzzy
msgid ""
msgstr ""
"Project-Id-Version: hyx-translator-for-baidu-translate 0.2.4\n"
"Project-Id-Version: hyx-translator-for-baidu-translate 0.3.0\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2026-07-28 14:41+0800\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
+7 -1
View File
@@ -4,7 +4,7 @@ Homepage: https://www.vblg.top/index.php/archives/147
Requires at least: 6.4
Tested up to: 7.0
Requires PHP: 8.1
Stable tag: 0.2.4
Stable tag: 0.3.0
License: GPL-3.0-only
License URI: https://www.gnu.org/licenses/gpl-3.0.html
@@ -68,6 +68,12 @@ HTBD 将百度返回的译文保存在 WordPress 数据库中,但不保存完
== Changelog ==
= 0.3.0 =
* 新增使用百度翻译 `auto` 模式自动识别源语言的功能。
* 将目标语言路由中的 `wp-admin` 和 `wp-login.php` 请求重定向到源站,并保留查询参数。
* 新增 GitHub Release 自动打包及 WordPress.org SVN 自动部署工作流。
= 0.2.4 =
* 修复单篇内容页面未按当前文章上下文显示翻译标题的问题。
+7 -1
View File
@@ -4,7 +4,7 @@ Homepage: https://www.vblg.top/index.php/archives/147
Requires at least: 6.4
Tested up to: 7.0
Requires PHP: 8.1
Stable tag: 0.2.4
Stable tag: 0.3.0
License: GPL-3.0-only
License URI: https://www.gnu.org/licenses/gpl-3.0.html
@@ -63,6 +63,12 @@ Uninstalling removes plugin settings, scheduled tasks, and the custom translatio
== Changelog ==
= 0.3.0 =
* Add automatic source-language detection using Baidu's `auto` mode.
* Redirect target-language `wp-admin` and `wp-login.php` requests to the source site while preserving query parameters.
* Add automated GitHub Release packaging and WordPress.org SVN deployment workflows.
= 0.2.4 =
* Fix translated titles so singular views use the current post context.