docs: protected void addStringsFromRelationships(final BuildData buildData, final List<Relationship> relationships, final String roleName,
              final Map<String, TranslationDetails> translations) {
          final boolean useFixedUrls = buildData.isUseFixedUrls();
  
          for (final Relationship relationship : relationships) {
              final SpecNode relatedNode;
              if (relationship instanceof TopicRelationship) {
                  relatedNode = ((TopicRelationship) relationship).getSecondaryRelationship();
              } else {
                  relatedNode = ((TargetRelationship) relationship).getSecondaryRelationship();
              }
  
              final String xrefString = DocBookUtilities.buildXRef(relatedNode.getUniqueLinkId(useFixedUrls), roleName);
              translations.put(xrefString, new TranslationDetails(xrefString, false, "para"));
          }
      }