fix use of std::max()
update translations