more translation stuff.
revert translation strings for port types. going to do it as a bitmap and have
only 1 func to manage printing port type
continuation of last commit
some code encountered mccabe too complex warning. refactored some of it.
change print_carrier to print_linkstate
update translations for yalnp-lib.
fix tests after changing translation files