Fixing some errors/warnings fom phpSniffer. updating localization

Signed-off-by: Alexander Book <redchrome@gmx.de>