fix problems reported by lupdate

together with PR #1427