So "Dim" means not ?
It's general meaning is nothing, a lack of, this is often transposed into English as 'not' or 'no'
Dim diolch = no thanks (literally 'a lack of thanks)
The free mobile dictionary app is very handy for looking up meanings. It's called 'ap geiriaduron'