From c2d04d2d2d6a31eb5dabc687f1873d0dde4034e6 Mon Sep 17 00:00:00 2001 From: Hillel Coren Date: Thu, 6 Apr 2017 13:43:36 +0300 Subject: [PATCH] Add help for voice commands --- resources/lang/en/texts.php | 3 + resources/views/header.blade.php | 2 +- .../partials/keyboard_shortcuts.blade.php | 125 ++++++++++++------ resources/views/partials/sign_up.blade.php | 2 +- 4 files changed, 89 insertions(+), 43 deletions(-) diff --git a/resources/lang/en/texts.php b/resources/lang/en/texts.php index 97244efd3..76344f431 100644 --- a/resources/lang/en/texts.php +++ b/resources/lang/en/texts.php @@ -2465,6 +2465,9 @@ $LANG = array( 'import_started' => 'Your import has started, we\'ll send you an email once it completes.', 'listening' => 'Listening...', 'microphone_help' => 'Say \'new invoice for...\'', + 'voice_commands' => 'Voice Commands', + 'sample_commands' => 'Sample commands', + 'voice_commands_feedback' => 'We\'re actively working to improve this feature, if there\'s a command you\'d like us to support please email us at :email.', ); diff --git a/resources/views/header.blade.php b/resources/views/header.blade.php index b5ce6d8e4..c129f4459 100644 --- a/resources/views/header.blade.php +++ b/resources/views/header.blade.php @@ -398,7 +398,7 @@ - + diff --git a/resources/views/partials/keyboard_shortcuts.blade.php b/resources/views/partials/keyboard_shortcuts.blade.php index 5c5b00868..6f37a8fd1 100644 --- a/resources/views/partials/keyboard_shortcuts.blade.php +++ b/resources/views/partials/keyboard_shortcuts.blade.php @@ -29,52 +29,95 @@