code: protected void addStringsFromTopicRelationships(final POBuildData buildData, final List<Relationship> relationships,
              final String key, final String roleName,
              final Map<String, TranslationDetails> translations) {
          if (!relationships.isEmpty()) {
              if (key != null) {
                  addStringsForConstant(buildData, key, "title", translations);
              }
  
              addStringsFromRelationships(buildData, relationships, roleName, translations);
          }
      }
docs: Add the translation strings from a list of relationships for a specific topic.
  
  @param buildData               Information and data structures for the build.
  @param relationships           The list of relationships to add strings for.
  @param key                     The constants key to be used for the relationship list.
  @param roleName                The role name to be used on the relationship xrefs.
  @param translations            The mapping of original strings to translation strings, that will be used to build the po/pot files.