From 9a9744a491bc8ec0d44f5f4b8c3fc1df00e4886b Mon Sep 17 00:00:00 2001 From: Lynh Date: Tue, 5 Apr 2016 09:41:11 +0700 Subject: [PATCH] Fix language path --- resources/lang/en/ui.php | 12 ++++++++++++ resources/lang/zh-CN/ui.php | 6 ------ src/PluploadServiceProvider.php | 2 +- 3 files changed, 13 insertions(+), 7 deletions(-) delete mode 100644 resources/lang/zh-CN/ui.php diff --git a/resources/lang/en/ui.php b/resources/lang/en/ui.php index c3a2a80..eb8cdd0 100644 --- a/resources/lang/en/ui.php +++ b/resources/lang/en/ui.php @@ -1,6 +1,18 @@ 'Browse', 'upload' => 'Upload', + ]; diff --git a/resources/lang/zh-CN/ui.php b/resources/lang/zh-CN/ui.php deleted file mode 100644 index 1211278..0000000 --- a/resources/lang/zh-CN/ui.php +++ /dev/null @@ -1,6 +0,0 @@ - '选择文件', - 'upload' => '上传', -]; diff --git a/src/PluploadServiceProvider.php b/src/PluploadServiceProvider.php index b03746d..72004e2 100644 --- a/src/PluploadServiceProvider.php +++ b/src/PluploadServiceProvider.php @@ -53,7 +53,7 @@ protected function setupConfig() $this->publishes([ $viewsPath => base_path('resources/views/vendor/plupload'), $assetsPath.'/js' => base_path('resources/assets/plupload'), - $translationsPath => base_path('resources/lang'), + $translationsPath => base_path('resources/lang/vendor/plupload'), ]); }