Updated Catalan translation.

Refs: #2408.
Updated German translation.
Add missing brackets.
Initialize variables in the constructor.
Cppcheck fixes:

* reduce variable scope
* remove unneeded variable assignments
cosmetics: replace the section sign with the word section
apply astyle