fix translation issue for layers without name

git-svn-id: https://svn.bgdi.admin.ch/applications/translation/scripts@193 c7bacb06-31ca-45ca-81e0-dc0d7326716e