minor changes to _build_translations_cache(), remove unneeded NULL checks and use slightly different funcs for getting strings.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@53939 954f8c5b-7b00-dc11-b283-0030488c597c
Bugfix [#33946] Bake Action fails in SVN for Objects

The problems here were caused by a cleanup commit (r. 53369).
BTW, the code here is pretty convoluted mess.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@53940 954f8c5b-7b00-dc11-b283-0030488c597c