From 3ccc59c29825b898b38829db8f190e996bbac4bc Mon Sep 17 00:00:00 2001 From: Hillel Coren Date: Sun, 9 Apr 2017 16:17:49 +0300 Subject: [PATCH] Update help texts --- resources/lang/en/texts.php | 4 +++- resources/views/accounts/management.blade.php | 4 ++-- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/resources/lang/en/texts.php b/resources/lang/en/texts.php index ab4d5cb3fa1d..2282fb556e23 100644 --- a/resources/lang/en/texts.php +++ b/resources/lang/en/texts.php @@ -2256,7 +2256,7 @@ $LANG = array( 'edit_credit' => 'Edit Credit', 'live_preview_help' => 'Display a live PDF preview on the invoice page.
Disable this to improve performance when editing invoices.', 'force_pdfjs_help' => 'Replace the built-in PDF viewer in :chrome_link and :firefox_link.
Enable this if your browser is automatically downloading the PDF.', - 'force_pdfjs' => 'PDF Viewer', + 'force_pdfjs' => 'Prevent Download', 'redirect_url' => 'Redirect URL', 'redirect_url_help' => 'Optionally specify a URL to redirect to after a payment is entered.', 'save_draft' => 'Save Draft', @@ -2471,6 +2471,8 @@ $LANG = array( '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.', 'payment_type_Venmo' => 'Venmo', 'archived_products' => 'Successfully archived :count products', + 'recommend_on' => 'We recommend enabling this setting.', + 'recommend_off' => 'We recommend disabling this setting.', ); diff --git a/resources/views/accounts/management.blade.php b/resources/views/accounts/management.blade.php index 8455d2c839db..62d614a93abd 100644 --- a/resources/views/accounts/management.blade.php +++ b/resources/views/accounts/management.blade.php @@ -199,7 +199,7 @@ {!! Former::checkbox('live_preview') ->text(trans('texts.enable')) - ->help('live_preview_help') + ->help(trans('texts.live_preview_help') . '
' . trans('texts.recommend_on')) ->value(1) !!} {!! Former::checkbox('force_pdfjs') @@ -208,7 +208,7 @@ ->help(trans('texts.force_pdfjs_help', [ 'chrome_link' => link_to(CHROME_PDF_HELP_URL, 'Chrome', ['target' => '_blank']), 'firefox_link' => link_to(FIREFOX_PDF_HELP_URL, 'Firefox', ['target' => '_blank']), - ])) !!} + ]) . '
' . trans('texts.recommend_off')) !!}