Update TranslationWalker.php

fixed condidtion