]> cat aescling's git repositories - mastodon.git/commitdiff
Add revealing/hiding statuses button to keyboard shortcuts legend column (#7178)
authorMarcin Mikołajczak <me@m4sk.in>
Wed, 18 Apr 2018 11:15:57 +0000 (13:15 +0200)
committerEugen Rochko <eugen@zeonfederated.com>
Wed, 18 Apr 2018 11:15:57 +0000 (13:15 +0200)
Signed-off-by: Marcin Mikołajczak <me@m4sk.in>
app/javascript/mastodon/features/keyboard_shortcuts/index.js

index 8531e03c07bac267e55ec085993623b7ddbef4f4..5ae7b34a2e6962e052a09590d1580084f1b0ad4e 100644 (file)
@@ -52,6 +52,10 @@ export default class KeyboardShortcuts extends ImmutablePureComponent {
                 <td><kbd>enter</kbd></td>
                 <td><FormattedMessage id='keyboard_shortcuts.enter' defaultMessage='to open status' /></td>
               </tr>
+              <tr>
+                <td><kbd>x</kbd></td>
+                <td><FormattedMessage id='keyboard_shortcuts.toggle_hidden' defaultMessage='to show/hide text behind CW' /></td>
+              </tr>
               <tr>
                 <td><kbd>up</kbd></td>
                 <td><FormattedMessage id='keyboard_shortcuts.up' defaultMessage='to move up in the list' /></td>