protected function _typesNice() {
        $enumValues = singleton("SilverStripe\SiteConfig\SiteConfig")->dbObject("Type")->enumValues();

        $values = array();

        foreach($enumValues as $enumValue) {
            $values[$enumValue] = _t("SiteInfo.TYPE" . strtoupper($enumValue), $enumValue);
        }

        return $values;
    }
protected function _typesNice() {
        $enumValues = singleton("SilverStripe\SiteConfig\SiteConfig")->dbObject("Type")->enumValues();

        $values = array();

        foreach($enumValues as $enumValue) {
            $values[$enumValue] = _t("SiteInfo.TYPE" . strtoupper($enumValue), $enumValue);
        }

        return $values;
    }
protected function _typesNice ( ) { $ enumValues = singleton ( "SilverStripe\SiteConfig\SiteConfig" ) -> dbObject ( "Type" ) -> enumValues ( ) ; $ values = array ( ) ; foreach ( $ enumValues as $ enumValue ) { $ values [ $ enumValue ] = _t ( "SiteInfo.TYPE" . strtoupper ( $ enumValue ) , $ enumValue ) ; } return $ values ; }
Add translated labels for the dropdown field

@return array
Add translated labels for the dropdown field