Backend\Modules\Locale\Engine\Model::getTypeName PHP Method

getTypeName() public static method

Get full type name.
public static getTypeName ( string $type ) : string
$type string The type of the locale.
return string
    public static function getTypeName($type)
    {
        // get full type name
        switch ($type) {
            case 'act':
                $type = 'action';
                break;
            case 'err':
                $type = 'error';
                break;
            case 'lbl':
                $type = 'label';
                break;
            case 'msg':
                $type = 'message';
                break;
        }
        return $type;
    }