akkoma/priv/static/packs/features/keyboard_shortcuts.js
Haelwenn (lanodan) Monnier 83e3afac2c Update mastodon frontend
2018-09-20 16:13:13 +00:00

2 lines
No EOL
6.2 KiB
JavaScript

(window.webpackJsonp=window.webpackJsonp||[]).push([[20],{728:function(d,o,t){"use strict";t.r(o),t.d(o,"default",function(){return M});var e,i,s,a=t(0),r=t.n(a),v=t(6),b=t.n(v),u=t(3),n=t.n(u),k=t(7),l=t.n(k),c=(t(1),t(193)),h=t(197),f=t(4),g=t(2),p=t.n(g),y=t(18),_=Object(f.f)({heading:{id:"keyboard_shortcuts.heading",defaultMessage:"Keyboard Shortcuts"}}),M=Object(f.g)((s=i=function(d){function o(){return b()(this,o),n()(this,d.apply(this,arguments))}return l()(o,d),o.prototype.render=function(){var d=this.props.intl;return r()(c.a,{icon:"question",heading:d.formatMessage(_.heading)},void 0,r()(h.a,{}),r()("div",{className:"keyboard-shortcuts scrollable optionally-scrollable"},void 0,r()("table",{},void 0,r()("thead",{},void 0,r()("tr",{},void 0,r()("th",{},void 0,r()(f.b,{id:"keyboard_shortcuts.hotkey",defaultMessage:"Hotkey"})),r()("th",{},void 0,r()(f.b,{id:"keyboard_shortcuts.description",defaultMessage:"Description"})))),r()("tbody",{},void 0,r()("tr",{},void 0,r()("td",{},void 0,r()("kbd",{},void 0,"r")),r()("td",{},void 0,r()(f.b,{id:"keyboard_shortcuts.reply",defaultMessage:"to reply"}))),r()("tr",{},void 0,r()("td",{},void 0,r()("kbd",{},void 0,"m")),r()("td",{},void 0,r()(f.b,{id:"keyboard_shortcuts.mention",defaultMessage:"to mention author"}))),r()("tr",{},void 0,r()("td",{},void 0,r()("kbd",{},void 0,"p")),r()("td",{},void 0,r()(f.b,{id:"keyboard_shortcuts.profile",defaultMessage:"to open author's profile"}))),r()("tr",{},void 0,r()("td",{},void 0,r()("kbd",{},void 0,"f")),r()("td",{},void 0,r()(f.b,{id:"keyboard_shortcuts.favourite",defaultMessage:"to favourite"}))),r()("tr",{},void 0,r()("td",{},void 0,r()("kbd",{},void 0,"b")),r()("td",{},void 0,r()(f.b,{id:"keyboard_shortcuts.boost",defaultMessage:"to boost"}))),r()("tr",{},void 0,r()("td",{},void 0,r()("kbd",{},void 0,"enter"),", ",r()("kbd",{},void 0,"o")),r()("td",{},void 0,r()(f.b,{id:"keyboard_shortcuts.enter",defaultMessage:"to open status"}))),r()("tr",{},void 0,r()("td",{},void 0,r()("kbd",{},void 0,"x")),r()("td",{},void 0,r()(f.b,{id:"keyboard_shortcuts.toggle_hidden",defaultMessage:"to show/hide text behind CW"}))),r()("tr",{},void 0,r()("td",{},void 0,r()("kbd",{},void 0,"up"),", ",r()("kbd",{},void 0,"k")),r()("td",{},void 0,r()(f.b,{id:"keyboard_shortcuts.up",defaultMessage:"to move up in the list"}))),r()("tr",{},void 0,r()("td",{},void 0,r()("kbd",{},void 0,"down"),", ",r()("kbd",{},void 0,"j")),r()("td",{},void 0,r()(f.b,{id:"keyboard_shortcuts.down",defaultMessage:"to move down in the list"}))),r()("tr",{},void 0,r()("td",{},void 0,r()("kbd",{},void 0,"1"),"-",r()("kbd",{},void 0,"9")),r()("td",{},void 0,r()(f.b,{id:"keyboard_shortcuts.column",defaultMessage:"to focus a status in one of the columns"}))),r()("tr",{},void 0,r()("td",{},void 0,r()("kbd",{},void 0,"n")),r()("td",{},void 0,r()(f.b,{id:"keyboard_shortcuts.compose",defaultMessage:"to focus the compose textarea"}))),r()("tr",{},void 0,r()("td",{},void 0,r()("kbd",{},void 0,"alt"),"+",r()("kbd",{},void 0,"n")),r()("td",{},void 0,r()(f.b,{id:"keyboard_shortcuts.toot",defaultMessage:"to start a brand new toot"}))),r()("tr",{},void 0,r()("td",{},void 0,r()("kbd",{},void 0,"backspace")),r()("td",{},void 0,r()(f.b,{id:"keyboard_shortcuts.back",defaultMessage:"to navigate back"}))),r()("tr",{},void 0,r()("td",{},void 0,r()("kbd",{},void 0,"s")),r()("td",{},void 0,r()(f.b,{id:"keyboard_shortcuts.search",defaultMessage:"to focus search"}))),r()("tr",{},void 0,r()("td",{},void 0,r()("kbd",{},void 0,"esc")),r()("td",{},void 0,r()(f.b,{id:"keyboard_shortcuts.unfocus",defaultMessage:"to un-focus compose textarea/search"}))),r()("tr",{},void 0,r()("td",{},void 0,r()("kbd",{},void 0,"g"),"+",r()("kbd",{},void 0,"h")),r()("td",{},void 0,r()(f.b,{id:"keyboard_shortcuts.home",defaultMessage:"to open home timeline"}))),r()("tr",{},void 0,r()("td",{},void 0,r()("kbd",{},void 0,"g"),"+",r()("kbd",{},void 0,"n")),r()("td",{},void 0,r()(f.b,{id:"keyboard_shortcuts.notifications",defaultMessage:"to open notifications column"}))),r()("tr",{},void 0,r()("td",{},void 0,r()("kbd",{},void 0,"g"),"+",r()("kbd",{},void 0,"l")),r()("td",{},void 0,r()(f.b,{id:"keyboard_shortcuts.local",defaultMessage:"to open local timeline"}))),r()("tr",{},void 0,r()("td",{},void 0,r()("kbd",{},void 0,"g"),"+",r()("kbd",{},void 0,"t")),r()("td",{},void 0,r()(f.b,{id:"keyboard_shortcuts.federated",defaultMessage:"to open federated timeline"}))),r()("tr",{},void 0,r()("td",{},void 0,r()("kbd",{},void 0,"g"),"+",r()("kbd",{},void 0,"d")),r()("td",{},void 0,r()(f.b,{id:"keyboard_shortcuts.direct",defaultMessage:"to open direct messages column"}))),r()("tr",{},void 0,r()("td",{},void 0,r()("kbd",{},void 0,"g"),"+",r()("kbd",{},void 0,"s")),r()("td",{},void 0,r()(f.b,{id:"keyboard_shortcuts.start",defaultMessage:'to open "get started" column'}))),r()("tr",{},void 0,r()("td",{},void 0,r()("kbd",{},void 0,"g"),"+",r()("kbd",{},void 0,"f")),r()("td",{},void 0,r()(f.b,{id:"keyboard_shortcuts.favourites",defaultMessage:"to open favourites list"}))),r()("tr",{},void 0,r()("td",{},void 0,r()("kbd",{},void 0,"g"),"+",r()("kbd",{},void 0,"p")),r()("td",{},void 0,r()(f.b,{id:"keyboard_shortcuts.pinned",defaultMessage:"to open pinned toots list"}))),r()("tr",{},void 0,r()("td",{},void 0,r()("kbd",{},void 0,"g"),"+",r()("kbd",{},void 0,"u")),r()("td",{},void 0,r()(f.b,{id:"keyboard_shortcuts.my_profile",defaultMessage:"to open your profile"}))),r()("tr",{},void 0,r()("td",{},void 0,r()("kbd",{},void 0,"g"),"+",r()("kbd",{},void 0,"b")),r()("td",{},void 0,r()(f.b,{id:"keyboard_shortcuts.blocked",defaultMessage:"to open blocked users list"}))),r()("tr",{},void 0,r()("td",{},void 0,r()("kbd",{},void 0,"g"),"+",r()("kbd",{},void 0,"m")),r()("td",{},void 0,r()(f.b,{id:"keyboard_shortcuts.muted",defaultMessage:"to open muted users list"}))),r()("tr",{},void 0,r()("td",{},void 0,r()("kbd",{},void 0,"g"),"+",r()("kbd",{},void 0,"r")),r()("td",{},void 0,r()(f.b,{id:"keyboard_shortcuts.requests",defaultMessage:"to open follow requests list"}))),r()("tr",{},void 0,r()("td",{},void 0,r()("kbd",{},void 0,"?")),r()("td",{},void 0,r()(f.b,{id:"keyboard_shortcuts.legend",defaultMessage:"to display this legend"})))))))},o}(y.a),i.propTypes={intl:p.a.object.isRequired,multiColumn:p.a.bool},e=s))||e}}]);
//# sourceMappingURL=keyboard_shortcuts.js.map