Skip to content

YikaiCMS v2.2.1

Choose a tag to compare

@bluesailor bluesailor released this 08 Nov 08:34
· 35 commits to main since this release

YikaiCMS v2.2.1

简体中文

升级须知

  • 含数据库升级(新增翻译任务与译文来源追踪三张表,只新增表、不改已有内容)。在线升级后请在后台「数据库升级」中执行;升级前照常备份文件与数据库。最低 PHP 仍为 8.2。
  • 增量包覆盖 2.0.6 至 2.2.0,更早的版本使用完整包。
  • 已有译文不会自动补登来源记录,在译文编辑页显示为「未追踪」,需要时点「标为已审」即可开始追踪。

新功能

  • 产品修改草稿:已上架的产品照常展示,后台可把正文、图片和规格参数的修改暂存为私有草稿,预览、继续编辑,或从历史版本恢复;应用到产品是单独一步,有人同时修改时会提示冲突。
  • 译文来源追踪:记录每份译文对应的原文版本,原文改过后标为过期;重新翻译人工改过、审过或已上线的译文时,新译文存为待审,在译文编辑页逐字段对比采用。
  • 产品批量翻译任务:一次选多个产品和语言,进度保存在库里,关掉页面后可继续;已完成的项不重复调用模型。
  • 外部 AI 接入(MCP)增加产品读取与产品内容提案,仍需后台审核,令牌不能直接应用或发布。
  • 交付检查清单:分开显示资料状态、自动检查与人工确认,确认可撤销,不随模板导出。
  • 整站模板导入可选择设计刻度的处理方式。

修复

  • 重新翻译会把已上线的译文改回草稿、并整份覆盖内容,外语页面会从前台消失。现在已上线的译文只生成待审译文,发布状态不变;产品分类列表没有审阅界面,已启用的分类重译后保持启用。
  • 新建的产品译文沿用原语言的产品分类,目标语言的分类页查不到它。现在按分类的翻译组换成目标语言分类;目标语言还没有该分类时放在未分类并提示。
  • 取消批量翻译任务后,正在生成的那一项仍可能写入译文;租约过期后旧请求的结果也会覆盖新的处理。现在都不会再写入。
  • 两人同时审阅时,旧页面上的「采用」「放弃」可能作用到对方新生成的待审译文,「标为已审」可能标到页面打开后又被改过的内容。现在页面过期时会提示刷新重看。
  • 导入含新设计刻度的整站模板失败;每次请求读取设置时多余地载入首页编辑历史。
  • 14 个可下载语言包补齐新增后台文案,繁体中文同步更新。

English

Before you upgrade

  • This release includes a database upgrade (three new tables for translation tasks and translation source tracking; it only adds tables and does not change existing content). After the online upgrade, run it under Database upgrade in the admin. Back up files and the database first, as always. The minimum PHP version is still 8.2.
  • Delta packages cover 2.0.6 to 2.2.0; older versions use the full package.
  • Existing translations are not backfilled with source records. They show as Untracked on the translation edit page; click Mark as reviewed to start tracking one.

New

  • Product edit drafts: published products stay visible while you save changes to body text, images and specifications as a private draft, preview it, keep editing, or restore it from history. Applying the draft to the product is a separate step, and concurrent edits are flagged as conflicts.
  • Translation source tracking: each translation records which version of the original it came from and is marked outdated when the original changes. Retranslating a translation that was edited, reviewed or is live saves the new text for review, and you choose field by field what to use on the translation edit page.
  • Product batch translation tasks: pick several products and languages at once; progress is stored, so you can close the page and continue later, and finished items never call the model again.
  • External AI access (MCP) can now read products and propose product content. Proposals still need admin review; tokens cannot apply or publish anything.
  • Delivery checklist: shows content status, automatic checks and manual confirmations separately. Confirmations can be undone and are not exported with templates.
  • Whole-site template import lets you choose how design scales are handled.

Fixes

  • Retranslating a live translation turned it back into a draft and replaced its content, so the foreign-language page disappeared from the site. Live translations now only get a translation for review and keep their status. The product category list has no review panel, so an enabled category stays enabled after retranslation.
  • New product translations kept the source-language product category, so target-language category pages did not list them. They now use the target-language category from the same translation group; if that category does not exist yet, the product is left uncategorized and you are told.
  • After cancelling a batch translation task, the item being generated could still be written, and a result from an expired lease could overwrite newer work. Neither is written any more.
  • When two people reviewed at once, Accept or Discard on an outdated page could act on a newer pending translation, and Mark as reviewed could mark content changed after the page was opened. Outdated pages are now asked to reload.
  • Importing a whole-site template with new design scales failed; reading settings loaded the homepage edit history on every request.
  • The 14 downloadable language packs now include all new admin strings; Traditional Chinese is updated too.

日本語

アップグレード前の注意

  • データベースのアップグレードを含みます(翻訳タスクと翻訳元追跡用の 3 テーブルを追加。テーブルを追加するだけで既存の内容は変更しません)。オンラインアップグレード後、管理画面の「データベースアップグレード」で実行してください。事前にファイルとデータベースをバックアップしてください。PHP の最低要件は引き続き 8.2 です。
  • 差分パッケージは 2.0.6〜2.2.0 に対応します。それより前のバージョンは完全パッケージを使ってください。
  • 既存の翻訳には翻訳元の記録が自動補完されません。翻訳の編集画面では「未追跡」と表示され、「確認済みにする」を押すと追跡が始まります。

新機能

  • 製品の編集下書き:公開中の製品はそのまま表示しながら、本文・画像・仕様の変更を非公開の下書きに保存し、プレビュー・続きの編集・履歴からの復元ができます。製品への反映は別の操作で、同時編集は競合として通知されます。
  • 翻訳元の追跡:翻訳ごとに元の版を記録し、原文が変わると古い翻訳として表示します。編集済み・確認済み・公開中の翻訳を再翻訳すると新しい訳文は確認待ちとして保存され、翻訳の編集画面で項目ごとに比較して採用できます。
  • 製品の一括翻訳タスク:複数の製品と言語をまとめて選べます。進行状況は保存されるので、ページを閉じても後で続行でき、完了した項目でモデルを再度呼び出すことはありません。
  • 外部 AI 接続(MCP)で製品の読み取りと製品内容の提案ができるようになりました。提案は引き続き管理者の確認が必要で、トークンでは適用も公開もできません。
  • 引き渡しチェックリスト:コンテンツの状態、自動チェック、手動確認を分けて表示します。確認は取り消せ、テンプレートと一緒にはエクスポートされません。
  • サイト全体テンプレートのインポートで、デザインスケールの扱いを選べるようになりました。

修正

  • 公開中の翻訳を再翻訳すると下書きに戻り、内容も置き換わって外国語ページがサイトから消えていました。公開中の翻訳には確認待ちの訳文を作るだけになり、公開状態は変わりません。製品カテゴリ一覧には確認画面がないため、有効なカテゴリは再翻訳後も有効のままです。
  • 新しく作成した製品の翻訳が元の言語の製品カテゴリのままで、翻訳先のカテゴリページに表示されませんでした。同じ翻訳グループの翻訳先カテゴリを使うようになり、そのカテゴリがまだない場合は未分類にしてお知らせします。
  • 一括翻訳タスクを取り消しても生成中の項目が書き込まれることがあり、期限切れのリースの結果が新しい処理を上書きすることもありました。どちらも書き込まれなくなりました。
  • 2 人が同時に確認していると、古いページの「採用」「破棄」が新しく生成された確認待ちの訳文に作用し、「確認済みにする」がページを開いた後に変更された内容に付くことがありました。古いページでは再読み込みを求めるようになりました。
  • 新しいデザインスケールを含むサイト全体テンプレートのインポートに失敗していました。設定の読み込みで毎回ホームページの編集履歴を読み込んでいました。
  • ダウンロード可能な 14 言語パックに新しい管理画面の文言を追加し、繁体字中国語も更新しました。

Build commit: 24dde1a
CI checks: https://github.com/bluesailor/yikaicms/commit/24dde1a763261b24b1f3f624c675301e35f86d59/checks
CI run: https://github.com/bluesailor/yikaicms/actions/runs/42460974055