From 69e45a80445f14e55c8e74cec160a9d6fae78471 Mon Sep 17 00:00:00 2001 From: jsasg <735273025@qq.com> Date: Fri, 27 Jun 2025 17:10:57 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20ipd=E8=AE=BF=E9=97=AE=E6=97=B6lang?= =?UTF-8?q?=E9=94=99=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/index/config/lang.php | 2 +- app/index/lang/en-us/pc.php | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/app/index/config/lang.php b/app/index/config/lang.php index 980ab80c..8944bc1a 100644 --- a/app/index/config/lang.php +++ b/app/index/config/lang.php @@ -19,7 +19,7 @@ return [ // 扩展语言包 'extend_list' => [ 'en-us' => [ - app()->getAppPath() . '/lang/en-us/' . (request()->isMobile() ? 'mobile' : 'pc') . '.php', + app()->getAppPath() . '/lang/en-us/' . get_platform() . '.php', app()->getAppPath() . '/lang/en-us/validate.php', ], ], diff --git a/app/index/lang/en-us/pc.php b/app/index/lang/en-us/pc.php index c895e7e9..3572f170 100644 --- a/app/index/lang/en-us/pc.php +++ b/app/index/lang/en-us/pc.php @@ -1,6 +1,7 @@ 'Home', '产品列表' => 'Products', '店铺' => 'Store', '搜索记录' => 'Search History',