1
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user