From 68c8b0fef47cdc2483ce4afc95afb6d55d091c59 Mon Sep 17 00:00:00 2001 From: Nafies Luthfi Date: Tue, 21 Nov 2017 21:52:06 +0800 Subject: [PATCH] Update dashboard view to use lang files --- resources/lang/id/dashboard.php | 11 ++++++++++ resources/views/pages/home.blade.php | 24 ++++++++++++---------- .../projects/partials/project-stats.blade.php | 4 ++-- 3 files changed, 26 insertions(+), 13 deletions(-) create mode 100644 resources/lang/id/dashboard.php diff --git a/resources/lang/id/dashboard.php b/resources/lang/id/dashboard.php new file mode 100644 index 0000000..5f55e28 --- /dev/null +++ b/resources/lang/id/dashboard.php @@ -0,0 +1,11 @@ + 'Statistik Status Project', + 'earnings_stats' => 'Statistik Pendapatan', + 'upcoming_subscriptions_expiry' => 'Langganan akan Berakhir', + 'no_upcoming_subscriptions_expiry' => 'Belum ada Langganan yang akan berakhir dalam 60 hari ke depan.', + 'yearly_earnings' => 'Pendapatan Tahunan', + 'finished_projects_count' => 'Project Selesai', + 'receiveable_earnings' => 'Pendapatan akan Datang', +]; diff --git a/resources/views/pages/home.blade.php b/resources/views/pages/home.blade.php index 1d85f07..3c9ef97 100755 --- a/resources/views/pages/home.blade.php +++ b/resources/views/pages/home.blade.php @@ -6,7 +6,7 @@
- Project Status Stats + {{ trans('dashboard.project_status_stats') }}
@foreach(ProjectStatus::all() as $statusId => $status)
@@ -22,13 +22,13 @@
- Earnings Stats + {{ trans('dashboard.earnings_stats') }}