From d814d37e634e8bbb4ff1feeba2d489fc425a44d0 Mon Sep 17 00:00:00 2001 From: Basil Suter Date: Tue, 20 Dec 2016 14:04:54 +0100 Subject: [PATCH] Broken file list block translations fixed. closes #1099 --- CHANGELOG.md | 3 ++- modules/cms/src/frontend/blocks/FileListBlock.php | 4 ++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index a85b142fd..d2b17602b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -25,8 +25,9 @@ The changelog contains informations about bug fixes, new features or bc breaking ### Fixed -- [#1097](https://github.com/luyadev/luya/issues/1097) Removed unused codes from the UrlManager parseRequest() method. - [#1111](https://github.com/luyadev/luya/issues/1111) Storage File selection does not display file name cause of not strict comparing method. +- [#1099](https://github.com/luyadev/luya/issues/1099) Broken file list block translations fixed. +- [#1097](https://github.com/luyadev/luya/issues/1097) Removed unused codes from the UrlManager parseRequest() method. 1.0.0-RC2 (29. Nov 2016) ----------------------- diff --git a/modules/cms/src/frontend/blocks/FileListBlock.php b/modules/cms/src/frontend/blocks/FileListBlock.php index b3f30e3b7..c2129150e 100644 --- a/modules/cms/src/frontend/blocks/FileListBlock.php +++ b/modules/cms/src/frontend/blocks/FileListBlock.php @@ -35,8 +35,8 @@ public function config() ], 'cfgs' => [ ['var' => 'showType', 'label' => Module::t("block_file_list_files_showtype_label"), 'initvalue' => 0, 'type' => 'zaa-select', 'options' => [ - ['value' => '1', 'label' => Module::t("block_file_list_files_showtype_yes")], - ['value' => '0', 'label' => Module::t("block_file_list_files_showtype_no")], + ['value' => '1', 'label' => Module::t("block_file_list_showtype_yes")], + ['value' => '0', 'label' => Module::t("block_file_list_showtype_no")], ], ], ],