Update help text for quick switcher (#6599)
Этот коммит содержится в:
коммит произвёл
GitHub
родитель
cc1feddb5f
Коммит
c831e14ed0
@@ -274,18 +274,20 @@ export default class QuickSwitchModal extends React.PureComponent {
|
|||||||
}
|
}
|
||||||
|
|
||||||
let help;
|
let help;
|
||||||
if (this.props.showTeamSwitcher) {
|
if (Utils.isMobile()) {
|
||||||
|
help = null;
|
||||||
|
} else if (this.props.showTeamSwitcher) {
|
||||||
help = (
|
help = (
|
||||||
<FormattedMessage
|
<FormattedMessage
|
||||||
id='quick_switch_modal.help'
|
id='quick_switch_modal.help'
|
||||||
defaultMessage='Use TAB to toggle between teams/channels, ↑↓ to browse, ↵ to confirm, ESC to dismiss'
|
defaultMessage='Start typing then use TAB to toggle channels/teams, ↑↓ to browse, ↵ to select, and ESC to dismiss.'
|
||||||
/>
|
/>
|
||||||
);
|
);
|
||||||
} else {
|
} else {
|
||||||
help = (
|
help = (
|
||||||
<FormattedMessage
|
<FormattedMessage
|
||||||
id='quick_switch_modal.help_no_team'
|
id='quick_switch_modal.help_no_team'
|
||||||
defaultMessage='Type a channel name. Use ↑↓ to browse, ↵ to confirm, ESC to dismiss'
|
defaultMessage='Start typing then use ↑↓ to browse, ↵ to select, and ESC to dismiss.'
|
||||||
/>
|
/>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1169,8 +1169,8 @@
|
|||||||
"channel_select.placeholder": "--- Select a channel ---",
|
"channel_select.placeholder": "--- Select a channel ---",
|
||||||
"channel_switch_modal.dm": "(Direct Message)",
|
"channel_switch_modal.dm": "(Direct Message)",
|
||||||
"channel_switch_modal.failed_to_open": "Failed to open channel.",
|
"channel_switch_modal.failed_to_open": "Failed to open channel.",
|
||||||
"quick_switch_modal.help": "Use TAB to toggle between teams/channels, ↑↓ to browse, ↵ to confirm, ESC to dismiss",
|
"quick_switch_modal.help": "Start typing then use TAB to toggle channels/teams, ↑↓ to browse, ↵ to select, and ESC to dismiss.",
|
||||||
"quick_switch_modal.help_no_team": "Type a channel name. Use ↑↓ to browse, ↵ to confirm, ESC to dismiss",
|
"quick_switch_modal.help_no_team": "Start typing then use ↑↓ to browse, ↵ to select, and ESC to dismiss.",
|
||||||
"quick_switch_modal.channels": "Channels",
|
"quick_switch_modal.channels": "Channels",
|
||||||
"quick_switch_modal.teams": "Teams",
|
"quick_switch_modal.teams": "Teams",
|
||||||
"quick_switch_modal.teamsShortcut.mac": "- ⌘⌥K",
|
"quick_switch_modal.teamsShortcut.mac": "- ⌘⌥K",
|
||||||
|
|||||||
Ссылка в новой задаче
Block a user