From cbed7f0c34517f7aedf1471ccb97b7b2b305cc40 Mon Sep 17 00:00:00 2001 From: Edward Yang Date: Fri, 26 Aug 2022 13:46:25 +0800 Subject: [PATCH] dashboard language --- resources/beike/admin/views/pages/home.blade.php | 8 ++++---- resources/lang/en/admin/dashboard.php | 5 +++++ resources/lang/zh_cn/admin/dashboard.php | 5 +++++ 3 files changed, 14 insertions(+), 4 deletions(-) diff --git a/resources/beike/admin/views/pages/home.blade.php b/resources/beike/admin/views/pages/home.blade.php index 58a3c777..be68e38b 100644 --- a/resources/beike/admin/views/pages/home.blade.php +++ b/resources/beike/admin/views/pages/home.blade.php @@ -84,12 +84,12 @@
-
订单统计
+
{{ __('admin/dashboard.order_report') }}
- - - + + +
diff --git a/resources/lang/en/admin/dashboard.php b/resources/lang/en/admin/dashboard.php index b60dd744..ac40b4c1 100644 --- a/resources/lang/en/admin/dashboard.php +++ b/resources/lang/en/admin/dashboard.php @@ -16,4 +16,9 @@ return [ 'order_amount' => 'Order Amount', 'yesterday' => 'Yesterday', 'day_before' => 'Last day', + + 'order_report' => 'Order Report', + 'latest_month' => 'Latest Month', + 'latest_week' => 'Latest Week', + 'latest_year' => 'Latest Year', ]; diff --git a/resources/lang/zh_cn/admin/dashboard.php b/resources/lang/zh_cn/admin/dashboard.php index a5afa00e..f4394eec 100644 --- a/resources/lang/zh_cn/admin/dashboard.php +++ b/resources/lang/zh_cn/admin/dashboard.php @@ -16,4 +16,9 @@ return [ 'order_amount' => '销售额', 'yesterday' => '昨日', 'day_before' => '较前一日', + + 'order_report' => '订单统计', + 'latest_month' => '一个月', + 'latest_week' => '一周', + 'latest_year' => '一年', ];