nicolium: keyboard shortcuts update
Signed-off-by: nicole mikołajczyk <git@mkljczk.pl>
This commit is contained in:
@ -1167,6 +1167,7 @@
|
||||
"keyboard_shortcuts.mention": "to mention author",
|
||||
"keyboard_shortcuts.muted": "to open muted users list",
|
||||
"keyboard_shortcuts.my_profile": "to open your profile",
|
||||
"keyboard_shortcuts.navigate_search": "to open search page",
|
||||
"keyboard_shortcuts.notifications": "to open notifications list",
|
||||
"keyboard_shortcuts.open_media": "to open media",
|
||||
"keyboard_shortcuts.profile": "to open author's profile",
|
||||
@ -1326,7 +1327,7 @@
|
||||
"navigation.sidebar": "Open sidebar",
|
||||
"navigation.sidebar.close": "Close sidebar",
|
||||
"navigation.source_code": "Source code",
|
||||
"navigation_bar.compose": "Compose a post",
|
||||
"navigation_bar.compose": "Compose new post",
|
||||
"navigation_bar.compose_direct": "Direct message",
|
||||
"navigation_bar.compose_draft": "Edit draft post",
|
||||
"navigation_bar.compose_edit": "Edit post",
|
||||
|
||||
@ -121,7 +121,7 @@ const ComposeModal: React.FC<BaseModalProps & ComposeModalProps> = ({
|
||||
} else if (quoteId) {
|
||||
return <FormattedMessage id='navigation_bar.compose_quote' defaultMessage='Quote post' />;
|
||||
} else {
|
||||
return <FormattedMessage id='navigation_bar.compose' defaultMessage='Compose a post' />;
|
||||
return <FormattedMessage id='navigation_bar.compose' defaultMessage='Compose new post' />;
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
@ -149,7 +149,14 @@ const HotkeysModal: React.FC<BaseModalProps> = ({ onClose }) => {
|
||||
<Hotkey>s</Hotkey>, <Hotkey>/</Hotkey>
|
||||
</>
|
||||
),
|
||||
label: <FormattedMessage id='keyboard_shortcuts.search' defaultMessage='to focus search' />,
|
||||
label: document.querySelector('#search') ? (
|
||||
<FormattedMessage id='keyboard_shortcuts.search' defaultMessage='to focus search' />
|
||||
) : (
|
||||
<FormattedMessage
|
||||
id='keyboard_shortcuts.navigate_search'
|
||||
defaultMessage='to open search page'
|
||||
/>
|
||||
),
|
||||
},
|
||||
{
|
||||
key: <Hotkey>esc</Hotkey>,
|
||||
|
||||
Reference in New Issue
Block a user