If nothing else, we could abstract this out of the template by using a more targeted name for the property, e.g.

    {if needsManager} __MSG__DOCUMENT_AT_LEAST_ONE_MANAGER__{else} __MSG__DOCUMENT_DELETE_FAIL__{/if}

And then rendering the template with

    var data = {
        'count': count,
        'errCount': errCount,
        'resourceType': resourceType,
        'resourceSubType': selectedResources[0].resourceSubType
        'needsManager': !hardDeleteManage
};