- // Prepare the URLs according to the user's language
- Locale lang = Instance.getTrans().getLocale();
+ // Use the right project:
+ String base = VersionCheck.base.replace("${PROJECT}",
+ githubProject);
+
+ // Prepare the URLs according to the user's language:
+ Locale lang = Instance.getInstance().getTrans().getLocale();