Correct types

Switch 'type' variables to string, texts to mono- or multilingual
text.