protected void processPOBugLinks ( final POBuildData buildData , final DocBookXMLPreProcessor preProcessor , final String bugLinkUrl , final Map < String , TranslationDetails > translations ) { final String originalString = buildData . getConstants ( ) . getString ( "REPORT_A_BUG" ) ; final String translationString = buildData . getTranslationConstants ( ) . getString ( "REPORT_A_BUG" ) ; final String originalLink = preProcessor . createExternalLinkElement ( buildData . getDocBookVersion ( ) , originalString , bugLinkUrl ) ; // Check to see if the report a bug text has translations if ( originalString . equals ( translationString ) ) { translations . put ( originalLink , new TranslationDetails ( null , false , "para" ) ) ; } else { final String translatedLink = preProcessor . createExternalLinkElement ( buildData . getDocBookVersion ( ) , translationString , bugLinkUrl ) ; translations . put ( originalLink , new TranslationDetails ( translatedLink , false , "para" ) ) ; } }
Creates the strings for a specific bug link url .