Révision 2835

tmp/org.txm.rcp/src/main/java/org/txm/rcp/commands/OpenWelcomePage.java (revision 2835)
59 59
	public static boolean openWelcomePage() {
60 60
		
61 61
		String locale = Locale.getDefault().getLanguage();
62
		String version = Platform.getBundle(Activator.PLUGIN_ID).getVersion().toString()+"beta";
62
		String version = Platform.getBundle(Activator.PLUGIN_ID).getVersion().toString();
63 63
		int idx = version.lastIndexOf("."); //$NON-NLS-1$
64 64
		if (idx > 0) version = version.substring(0, idx); // remove the "qualifier" part
65
		
65
		version += "beta";
66 66
		return OpenBrowser.openfile(OpenLocalizedWebPage.getValidURL(WELCOME+version+"/"+locale, (WELCOME+version))) != null;
67 67
	}
68 68
}

Formats disponibles : Unified diff