Update help text for quick switcher (#6599)

Этот коммит содержится в:
Joram Wilander
2017-06-06 18:29:36 -04:00
коммит произвёл GitHub
родитель cc1feddb5f
Коммит c831e14ed0
2 изменённых файлов: 7 добавлений и 5 удалений

Просмотреть файл

@@ -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",