This commit is contained in:
2025-05-28 15:33:47 +08:00
parent 1a19aad120
commit 663be2794f
2 changed files with 1 additions and 2 deletions
@@ -44,7 +44,6 @@ class LocationController extends Crud
{
// 获取当前语言
$lang = session('lang', 'zh-cn');
Log::info('Current language', ['lang' => $lang]);
// 加载语言文件
$location_translations = include __DIR__ . "/../lang/{$lang}/location.php";
@@ -52,7 +51,6 @@ class LocationController extends Crud
// 合并翻译
$translations = array_merge($location_translations, $common_translations);
Log::info('Loaded translations', ['keys' => array_keys($translations)]);
return view('location/index', [
'lang' => $lang,