renamed variables
removed comment
fixed tooltip and docs link
fixed typo
added missing translation string
removed unnecessary code
now use a map for storing node severity weights