Forgot to localise these keyboard shortcuts

This commit is contained in:
Lim Chee Aun 2024-08-14 21:58:22 +08:00
parent 6cc96b8a71
commit b16907dc24
2 changed files with 66 additions and 22 deletions

View file

@ -62,17 +62,17 @@ export default memo(function KeyboardShortcutsHelp() {
{
action: t`Skip carousel to next post`,
keys: (
<>
<Trans>
<kbd>Shift</kbd> + <kbd>j</kbd>
</>
</Trans>
),
},
{
action: t`Skip carousel to previous post`,
keys: (
<>
<Trans>
<kbd>Shift</kbd> + <kbd>k</kbd>
</>
</Trans>
),
},
{
@ -82,9 +82,9 @@ export default memo(function KeyboardShortcutsHelp() {
{
action: t`Open post details`,
keys: (
<>
<Trans>
<kbd>Enter</kbd> or <kbd>o</kbd>
</>
</Trans>
),
},
{
@ -100,17 +100,17 @@ export default memo(function KeyboardShortcutsHelp() {
{
action: t`Close post or dialogs`,
keys: (
<>
<Trans>
<kbd>Esc</kbd> or <kbd>Backspace</kbd>
</>
</Trans>
),
},
{
action: t`Focus column in multi-column mode`,
keys: (
<>
<Trans>
<kbd>1</kbd> to <kbd>9</kbd>
</>
</Trans>
),
},
{
@ -121,18 +121,18 @@ export default memo(function KeyboardShortcutsHelp() {
action: t`Compose new post (new window)`,
className: 'insignificant',
keys: (
<>
<Trans>
<kbd>Shift</kbd> + <kbd>c</kbd>
</>
</Trans>
),
},
{
action: t`Send post`,
keys: (
<>
<Trans>
<kbd>Ctrl</kbd> + <kbd>Enter</kbd> or <kbd></kbd> +{' '}
<kbd>Enter</kbd>
</>
</Trans>
),
},
{
@ -147,25 +147,25 @@ export default memo(function KeyboardShortcutsHelp() {
action: t`Reply (new window)`,
className: 'insignificant',
keys: (
<>
<Trans>
<kbd>Shift</kbd> + <kbd>r</kbd>
</>
</Trans>
),
},
{
action: t`Like (favourite)`,
keys: (
<>
<Trans>
<kbd>l</kbd> or <kbd>f</kbd>
</>
</Trans>
),
},
{
action: t`Boost`,
keys: (
<>
<Trans>
<kbd>Shift</kbd> + <kbd>b</kbd>
</>
</Trans>
),
},
{
@ -175,9 +175,9 @@ export default memo(function KeyboardShortcutsHelp() {
{
action: t`Toggle Cloak mode`,
keys: (
<>
<Trans>
<kbd>Shift</kbd> + <kbd>Alt</kbd> + <kbd>k</kbd>
</>
</Trans>
),
},
].map(({ action, className, keys }) => (

View file

@ -983,10 +983,18 @@ msgstr ""
msgid "Skip carousel to next post"
msgstr ""
#: src/components/keyboard-shortcuts-help.jsx:65
msgid "<0>Shift</0> + <1>j</1>"
msgstr ""
#: src/components/keyboard-shortcuts-help.jsx:71
msgid "Skip carousel to previous post"
msgstr ""
#: src/components/keyboard-shortcuts-help.jsx:73
msgid "<0>Shift</0> + <1>k</1>"
msgstr ""
#: src/components/keyboard-shortcuts-help.jsx:79
msgid "Load new posts"
msgstr ""
@ -996,6 +1004,10 @@ msgstr ""
msgid "Open post details"
msgstr ""
#: src/components/keyboard-shortcuts-help.jsx:85
msgid "<0>Enter</0> or <1>o</1>"
msgstr ""
#: src/components/keyboard-shortcuts-help.jsx:92
msgid "Expand content warning or<0/>toggle expanded/collapsed thread"
msgstr ""
@ -1004,10 +1016,18 @@ msgstr ""
msgid "Close post or dialogs"
msgstr ""
#: src/components/keyboard-shortcuts-help.jsx:103
msgid "<0>Esc</0> or <1>Backspace</1>"
msgstr ""
#: src/components/keyboard-shortcuts-help.jsx:109
msgid "Focus column in multi-column mode"
msgstr ""
#: src/components/keyboard-shortcuts-help.jsx:111
msgid "<0>1</0> to <1>9</1>"
msgstr ""
#: src/components/keyboard-shortcuts-help.jsx:117
msgid "Compose new post"
msgstr ""
@ -1016,10 +1036,18 @@ msgstr ""
msgid "Compose new post (new window)"
msgstr ""
#: src/components/keyboard-shortcuts-help.jsx:124
msgid "<0>Shift</0> + <1>c</1>"
msgstr ""
#: src/components/keyboard-shortcuts-help.jsx:130
msgid "Send post"
msgstr ""
#: src/components/keyboard-shortcuts-help.jsx:132
msgid "<0>Ctrl</0> + <1>Enter</1> or <2>⌘</2> + <3>Enter</3>"
msgstr ""
#: src/components/keyboard-shortcuts-help.jsx:139
#: src/components/nav-menu.jsx:367
#: src/components/search-form.jsx:72
@ -1034,10 +1062,18 @@ msgstr ""
msgid "Reply (new window)"
msgstr ""
#: src/components/keyboard-shortcuts-help.jsx:150
msgid "<0>Shift</0> + <1>r</1>"
msgstr ""
#: src/components/keyboard-shortcuts-help.jsx:156
msgid "Like (favourite)"
msgstr ""
#: src/components/keyboard-shortcuts-help.jsx:158
msgid "<0>l</0> or <1>f</1>"
msgstr ""
#: src/components/keyboard-shortcuts-help.jsx:164
#: src/components/status.jsx:842
#: src/components/status.jsx:2287
@ -1046,6 +1082,10 @@ msgstr ""
msgid "Boost"
msgstr ""
#: src/components/keyboard-shortcuts-help.jsx:166
msgid "<0>Shift</0> + <1>b</1>"
msgstr ""
#: src/components/keyboard-shortcuts-help.jsx:172
#: src/components/status.jsx:927
#: src/components/status.jsx:2344
@ -1057,6 +1097,10 @@ msgstr ""
msgid "Toggle Cloak mode"
msgstr ""
#: src/components/keyboard-shortcuts-help.jsx:178
msgid "<0>Shift</0> + <1>Alt</1> + <2>k</2>"
msgstr ""
#: src/components/list-add-edit.jsx:37
msgid "Edit list"
msgstr ""