forked from FoundKeyGang/FoundKey
✌️
This commit is contained in:
parent
be99dc0902
commit
1e7a7d16d4
3 changed files with 10 additions and 1 deletions
|
@ -377,6 +377,7 @@ desktop:
|
|||
mk-channel-home-widget:
|
||||
title: "Channel"
|
||||
settings: "Widget settings"
|
||||
get-started: "Please click the cog in the upper right to specify the channel to receive"
|
||||
|
||||
mk-timemachine-home-widget:
|
||||
title: "{1} / {2}"
|
||||
|
|
|
@ -377,6 +377,7 @@ desktop:
|
|||
mk-channel-home-widget:
|
||||
title: "チャンネル"
|
||||
settings: "ウィジェットの設定"
|
||||
get-started: "右上の歯車をクリックして受信するチャンネルを指定してください"
|
||||
|
||||
mk-timemachine-home-widget:
|
||||
title: "{1}年 {2}月"
|
||||
|
|
|
@ -3,7 +3,8 @@
|
|||
channel ? channel.title : '%i18n:desktop.tags.mk-channel-home-widget.title%'
|
||||
}</p>
|
||||
<button onclick={ settings } title="%i18n:desktop.tags.mk-channel-home-widget.settings%"><i class="fa fa-cog"></i></button>
|
||||
<mk-channel ref="channel"/>
|
||||
<p class="get-started" if={ this.data.channel == null }>%i18n:desktop.tags.mk-channel-home-widget.get-started%</p>
|
||||
<mk-channel ref="channel" show={ this.data.channel }/>
|
||||
<style>
|
||||
:scope
|
||||
display block
|
||||
|
@ -39,6 +40,12 @@
|
|||
&:active
|
||||
color #999
|
||||
|
||||
> .get-started
|
||||
margin 0
|
||||
padding 16px
|
||||
text-align center
|
||||
color #aaa
|
||||
|
||||
> mk-channel
|
||||
height 200px
|
||||
|
||||
|
|
Loading…
Reference in a new issue