title: $:/plugins/Gk0Wk/CPL-Repo/notifications/update-notify-template
created: 20231008081456278
modified: 20231010204534447
type: text/vnd.tiddlywiki

<$list filter="[[$:/language]get[text]removeprefix[$:/languages/]else[en-GB]search[zh]then[yes]else[no]]" variable="chinese">

<$list filter="[<chinese>match[yes]]">

!! CPL 更新提醒

您的 Wiki 中有 <<updateCount>> 款插件在 CPL 中有更新版本, 快来更新吧!

<$button class="cpl-normal-button">
    更新
    <$action-setfield $tiddler="$:/temp/CPL-Repo/plugins-index-request" text={{{ [<now "0hh:0mm:0ss.XYZ"]] }}}/>
    <$action-sendmessage $message="tm-modal" $param="$:/plugins/Gk0Wk/CPL-Repo/views/system/update-body" />
</$button>
<$button class="cpl-normal-button">
    设置
    <$action-sendmessage $message="tm-modal" $param="$:/plugins/Gk0Wk/CPL-Repo/views/system/settings" />
</$button>

</$list>

<$list filter="[<chinese>!match[yes]]">

!! CPL Update Alert

There are <<updateCount>> plugins in your Wiki that have newer versions in CPL, so update them now!

<$button class="cpl-normal-button">
    Update
    <$action-setfield $tiddler="$:/temp/CPL-Repo/plugins-index-request" text={{{ [<now "0hh:0mm:0ss.XYZ"]] }}}/>
    <$action-sendmessage $message="tm-modal" $param="$:/plugins/Gk0Wk/CPL-Repo/views/system/update-body" />
</$button>
<$button class="cpl-normal-button">
    Settings
    <$action-sendmessage $message="tm-modal" $param="$:/plugins/Gk0Wk/CPL-Repo/views/system/settings" />
</$button>

</$list>

</$list>
