From 22d3bb6c073c19dc3dd967e848b9ced9a8736dc7 Mon Sep 17 00:00:00 2001 From: Hillel Coren Date: Sun, 13 Aug 2017 17:51:29 +0300 Subject: [PATCH] Update capitalization --- resources/lang/en/texts.php | 4 +++- resources/views/reports/chart_builder.blade.php | 10 +++++----- 2 files changed, 8 insertions(+), 6 deletions(-) diff --git a/resources/lang/en/texts.php b/resources/lang/en/texts.php index b379eca249cf..86bc60d65f95 100644 --- a/resources/lang/en/texts.php +++ b/resources/lang/en/texts.php @@ -670,6 +670,8 @@ $LANG = array( 'status_viewed' => 'Viewed', 'status_partial' => 'Partial', 'status_paid' => 'Paid', + 'status_unpaid' => 'Unpaid', + 'status_all' => 'All', 'show_line_item_tax' => 'Display line item taxes inline', 'iframe_url' => 'Website', 'iframe_url_help1' => 'Copy the following code to a page on your site.', @@ -1013,7 +1015,7 @@ $LANG = array( 'pro_plan_remove_logo' => ':link to remove the Invoice Ninja logo by joining the Pro Plan', 'pro_plan_remove_logo_link' => 'Click here', - 'invitation_status_sent' => 'Sent', + 'invitation_status_sent' => 'sent', 'invitation_status_opened' => 'Openend', 'invitation_status_viewed' => 'Viewed', 'email_error_inactive_client' => 'Emails can not be sent to inactive clients', diff --git a/resources/views/reports/chart_builder.blade.php b/resources/views/reports/chart_builder.blade.php index c007a799ac30..874bb025218f 100644 --- a/resources/views/reports/chart_builder.blade.php +++ b/resources/views/reports/chart_builder.blade.php @@ -121,11 +121,11 @@
{!! Former::select('invoice_status')->label('status') - ->addOption(trans('texts.all'), 'all') - ->addOption(trans('texts.draft'), 'draft') - ->addOption(trans('texts.sent'), 'sent') - ->addOption(trans('texts.unpaid'), 'unpaid') - ->addOption(trans('texts.paid'), 'paid') !!} + ->addOption(trans('texts.status_all'), 'all') + ->addOption(trans('texts.status_draft'), 'draft') + ->addOption(trans('texts.status_sent'), 'sent') + ->addOption(trans('texts.status_unpaid'), 'unpaid') + ->addOption(trans('texts.status_paid'), 'paid') !!}