From 074faecbb8995d6198fdbf8e19c320ae579336ae Mon Sep 17 00:00:00 2001 From: lackoxygen Date: Tue, 31 Oct 2023 09:27:56 +0800 Subject: [PATCH 1/2] fix typo --- content/documents/v2/core-components/i18n.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/documents/v2/core-components/i18n.md b/content/documents/v2/core-components/i18n.md index de9562c..ea4c77b 100644 --- a/content/documents/v2/core-components/i18n.md +++ b/content/documents/v2/core-components/i18n.md @@ -100,7 +100,7 @@ return [ // 设置默认文本文件名称 // 未填写则默认 default.php - 'defualtCategory' => 'default', + 'defaultCategory' => 'default', ], // .... 其他配置 From 1b693638f9838ec745cd815cdc9aa1e92d7cc33f Mon Sep 17 00:00:00 2001 From: lackoxygen Date: Tue, 31 Oct 2023 09:35:59 +0800 Subject: [PATCH 2/2] fix typo --- content/documents/v2/core-components/i18n.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/documents/v2/core-components/i18n.md b/content/documents/v2/core-components/i18n.md index ea4c77b..e4335c1 100644 --- a/content/documents/v2/core-components/i18n.md +++ b/content/documents/v2/core-components/i18n.md @@ -92,7 +92,7 @@ return [ 'i18n' => [ // 设置到文本资源目录 - 'resoucePath' => '@resource/language/', // 结尾斜线必须 + 'resourcePath' => '@resource/language/', // 结尾斜线必须 // 设置默认文本文件夹名称 // 未填写则默认 en 文件夹