diff --git a/module/Application/config/module.config.php b/module/Application/config/module.config.php index 1351e19..c56183a 100644 --- a/module/Application/config/module.config.php +++ b/module/Application/config/module.config.php @@ -119,4 +119,15 @@ __DIR__ . '/../view', ], ], + # Translator + 'translator' => [ + 'locale' => 'de_DE', + 'translation_file_patterns' => [ + [ + 'type' => 'gettext', + 'base_dir' => __DIR__ . '/../language', + 'pattern' => '%s.mo', + ], + ], + ], ]; diff --git a/module/Application/view/partial/indextablecell.phtml b/module/Application/view/partial/indextablecell.phtml index 8a09056..54890bb 100644 --- a/module/Application/view/partial/indextablecell.phtml +++ b/module/Application/view/partial/indextablecell.phtml @@ -4,6 +4,11 @@ * Get Column Data based on type */ switch($this->oCol->type) { + case 'select': + if($this->oItem->getSelectFieldID($this->oCol->fieldkey) != 0) { + echo $this->oItem->getSelectField($this->oCol->fieldkey)->getLabel(); + } + break; case 'text': case 'email': if($this->oCol->url_view != '') {