mirror of
https://codeberg.org/yeentown/barkey
synced 2024-11-25 07:05:12 +00:00
wip #313
This commit is contained in:
parent
50e65d292c
commit
502637116d
3 changed files with 22 additions and 6 deletions
|
@ -11,6 +11,14 @@
|
|||
"weeks_ago": "{}weeks ago",
|
||||
"months_ago": "{}months ago",
|
||||
"years_ago": "{}years ago"
|
||||
},
|
||||
"reactions": {
|
||||
"like": "Like",
|
||||
"love": "Love",
|
||||
"laugh": "Laugh",
|
||||
"hmm": "Hmm...?",
|
||||
"surprise": "Wow",
|
||||
"congrats": "Congrats!"
|
||||
}
|
||||
},
|
||||
"desktop": {
|
||||
|
|
|
@ -11,6 +11,14 @@
|
|||
"weeks_ago": "{}週間前",
|
||||
"months_ago": "{}ヶ月前",
|
||||
"years_ago": "{}年前"
|
||||
},
|
||||
"reactions": {
|
||||
"like": "いいね",
|
||||
"love": "ハート",
|
||||
"laugh": "笑",
|
||||
"hmm": "ふぅ~む",
|
||||
"surprise": "わお",
|
||||
"congrats": "おめでとう"
|
||||
}
|
||||
},
|
||||
"desktop": {
|
||||
|
|
|
@ -3,12 +3,12 @@
|
|||
<div class="popover { compact: opts.compact }" ref="popover">
|
||||
<p if={ !opts.compact }>{ title }</p>
|
||||
<div>
|
||||
<button onclick={ react.bind(null, 'like') } onmouseover={ onmouseover } onmouseout={ onmouseout } tabindex="1" title="いいね"><mk-reaction-icon reaction='like'></mk-reaction-icon></button>
|
||||
<button onclick={ react.bind(null, 'love') } onmouseover={ onmouseover } onmouseout={ onmouseout } tabindex="2" title="ハート"><mk-reaction-icon reaction='love'></mk-reaction-icon></button>
|
||||
<button onclick={ react.bind(null, 'laugh') } onmouseover={ onmouseover } onmouseout={ onmouseout } tabindex="3" title="笑"><mk-reaction-icon reaction='laugh'></mk-reaction-icon></button>
|
||||
<button onclick={ react.bind(null, 'hmm') } onmouseover={ onmouseover } onmouseout={ onmouseout } tabindex="4" title="ふぅ~む"><mk-reaction-icon reaction='hmm'></mk-reaction-icon></button>
|
||||
<button onclick={ react.bind(null, 'surprise') } onmouseover={ onmouseover } onmouseout={ onmouseout } tabindex="5" title="驚き"><mk-reaction-icon reaction='surprise'></mk-reaction-icon></button>
|
||||
<button onclick={ react.bind(null, 'congrats') } onmouseover={ onmouseover } onmouseout={ onmouseout } tabindex="6" title="おめでとう"><mk-reaction-icon reaction='congrats'></mk-reaction-icon></button>
|
||||
<button onclick={ react.bind(null, 'like') } onmouseover={ onmouseover } onmouseout={ onmouseout } tabindex="1" title="%i18n:common.reactions.like%"><mk-reaction-icon reaction='like'></mk-reaction-icon></button>
|
||||
<button onclick={ react.bind(null, 'love') } onmouseover={ onmouseover } onmouseout={ onmouseout } tabindex="2" title="%i18n:common.reactions.love%"><mk-reaction-icon reaction='love'></mk-reaction-icon></button>
|
||||
<button onclick={ react.bind(null, 'laugh') } onmouseover={ onmouseover } onmouseout={ onmouseout } tabindex="3" title="%i18n:common.reactions.laugh%"><mk-reaction-icon reaction='laugh'></mk-reaction-icon></button>
|
||||
<button onclick={ react.bind(null, 'hmm') } onmouseover={ onmouseover } onmouseout={ onmouseout } tabindex="4" title="%i18n:common.reactions.hmm%"><mk-reaction-icon reaction='hmm'></mk-reaction-icon></button>
|
||||
<button onclick={ react.bind(null, 'surprise') } onmouseover={ onmouseover } onmouseout={ onmouseout } tabindex="5" title="%i18n:common.reactions.surprise%"><mk-reaction-icon reaction='surprise'></mk-reaction-icon></button>
|
||||
<button onclick={ react.bind(null, 'congrats') } onmouseover={ onmouseover } onmouseout={ onmouseout } tabindex="6" title="%i18n:common.reactions.congrats%"><mk-reaction-icon reaction='congrats'></mk-reaction-icon></button>
|
||||
</div>
|
||||
</div>
|
||||
<style>
|
||||
|
|
Loading…
Reference in a new issue