The OverrideObjectTooltipNameAndDescription function doesn't work with all object types; some of them cannot be renamed using it. There is a separate function for creatures, as mentioned in the message above.
What types of objects do you want to rename: creatures, dwellings, or something else?
This is all for a one-way portal.