In a heavy pot or Dutch oven saute the onion and garlic in olive oil until translucent, add the chorizo and brown, add the squash and celery and saute for another 2 minutes, add the lentils, stock, bay leaf, curry powder, and salt and pepper. Bring to a slow boil, reduce heat to low, cover and simmer for 20 minutes or until the lentils and vegetables are soft. Add the Swiss chard and cook for another 3 minutes. Serve hot.