about summary refs log tree commit diff
path: root/app/javascript/flavours/glitch/features/keyboard_shortcuts/index.js
diff options
context:
space:
mode:
authorThibaut Girka <thib@sitedethib.com>2018-07-24 20:44:19 +0200
committerThibG <thib@sitedethib.com>2018-07-24 21:15:21 +0200
commit1769a7e9aa45731bf4673faee59d1ca7ce11773c (patch)
treeafe95b67b78e43372050b61d9ff4a9e6a9e60953 /app/javascript/flavours/glitch/features/keyboard_shortcuts/index.js
parentb1ed2b1d03cc57cfae8593cc37e2f521c125a033 (diff)
Use the same description string as upstream for the “x” hotkey
Diffstat (limited to 'app/javascript/flavours/glitch/features/keyboard_shortcuts/index.js')
-rw-r--r--app/javascript/flavours/glitch/features/keyboard_shortcuts/index.js8
1 files changed, 4 insertions, 4 deletions
diff --git a/app/javascript/flavours/glitch/features/keyboard_shortcuts/index.js b/app/javascript/flavours/glitch/features/keyboard_shortcuts/index.js
index 8aed471f2..7f059b627 100644
--- a/app/javascript/flavours/glitch/features/keyboard_shortcuts/index.js
+++ b/app/javascript/flavours/glitch/features/keyboard_shortcuts/index.js
@@ -53,6 +53,10 @@ export default class KeyboardShortcuts extends ImmutablePureComponent {
                 <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>
               </tr>
@@ -85,10 +89,6 @@ export default class KeyboardShortcuts extends ImmutablePureComponent {
                 <td><FormattedMessage id='keyboard_shortcuts.unfocus' defaultMessage='to un-focus compose textarea/search' /></td>
               </tr>
               <tr>
-                <td><kbd>x</kbd></td>
-                <td><FormattedMessage id='keyboard_shortcuts.expand' defaultMessage='to expand a status with a content warning' /></td>
-              </tr>
-              <tr>
                 <td><kbd>?</kbd></td>
                 <td><FormattedMessage id='keyboard_shortcuts.legend' defaultMessage='to display this legend' /></td>
               </tr>