Small logic fixes, gettext fixes and make php -l happy
Small logic fixes, gettext fixes and make php -l happy

NOYB/pfsense,NewEraCracker/pfsense,dennypage/pfsense,ch1c4um/pfsense,ptorsten/pfsense,ch1c4um/pfsense,BlackstarGroup/pfsense,pfsense/pfsense,pfsense/pfsense,phil-davis/pfsense,pfsense/pfsense,NewEraCracker/pfsense,ch1c4um/pfsense,phil-davis/pfsense,phil-davis/pfsense,BlackstarGroup/pfsense,dennypage/pfsense,jxmx/pfsense,NewEraCracker/pfsense,NOYB/pfsense,brunostein/pfsense,pfsense/pfsense,jxmx/pfsense,brunostein/pfsense,phil-davis/pfsense,ptorsten/pfsense,NewEraCracker/pfsense,NOYB/pfsense,brunostein/pfsense,BlackstarGroup/pfsense,ptorsten/pfsense,ch1c4um/pfsense,BlackstarGroup/pfsense,jxmx/pfsense,dennypage/pfsense,dennypage/pfsense