package utils; import java.util.Locale; import java.util.ResourceBundle; /** * Manages What Google Analytics is used by the Shepherd instance. If Any * @author Mark Denihan * */ public class Analytics { public static boolean googleAnalyticsOn = false; public static String googleAnalyticsScript = ""; public static String sourceForgeMobileVmLinkBlurb = new String("" + "To complete this challenge you'll need to use the Security Shepherd Android Virtual Machine that contains the app. "); public static String sponsorshipMessage(Locale locale) { //Get Language Bundle ResourceBundle bundle = ResourceBundle.getBundle("i18n.text", locale); return new String("

" + bundle.getString("sponsorship.title") + "

" + "

" + bundle.getString("sponsorship.message.1") + "

" + "\"BCC" + "\"EdgeScan\"" + "
" + "" + "

" + bundle.getString("sponsorship.message.2") + "

"); } }