Add CommonMark library, and components and thrustcurve databases, to About dialog
Convert all URLs in About dialog to hyperlinks
This commit is contained in:
parent
4734ea5e85
commit
1ae6a845d5
@ -25,45 +25,58 @@ import net.sf.openrocket.gui.widgets.SelectColorButton;
|
|||||||
@SuppressWarnings("serial")
|
@SuppressWarnings("serial")
|
||||||
public class AboutDialog extends JDialog {
|
public class AboutDialog extends JDialog {
|
||||||
|
|
||||||
public static final String OPENROCKET_URL = "http://openrocket.info/";
|
public final String OPENROCKET_URL = "http://openrocket.info/";
|
||||||
private static final Translator trans = Application.getTranslator();
|
|
||||||
|
private final Translator trans = Application.getTranslator();
|
||||||
|
|
||||||
private static final String CREDITS = "<html><center>" +
|
private final String CREDITS = "<html><center>" +
|
||||||
"<font size=\"+1\"><b>OpenRocket has been developed by:</b></font><br><br>" +
|
"<font size=\"+1\"><b>OpenRocket has been developed by:</b></font><br>" +
|
||||||
"Sampo Niskanen (main developer)<br>" +
|
"<br>" +
|
||||||
"Doug Pedrick (RockSim file format, printing)<br>" +
|
"Sampo Niskanen (main developer)<br>" +
|
||||||
"Kevin Ruland (Android version)<br>" +
|
"Doug Pedrick (RockSim file format, printing)<br>" +
|
||||||
"Bill Kuker (3D visualization)<br>" +
|
"Kevin Ruland (Android version)<br>" +
|
||||||
"Boris du Reau (internationalization, translation lead)<br>" +
|
"Bill Kuker (3D visualization)<br>" +
|
||||||
"Richard Graham (geodetic computations)<br>" +
|
"Boris du Reau (internationalization, translation lead)<br>" +
|
||||||
"Jason Blood (finset import)<br>" +
|
"Richard Graham (geodetic computations)<br>" +
|
||||||
"Daniel Williams (pod support, maintainer)<br>" +
|
"Jason Blood (finset import)<br>" +
|
||||||
"Joe Pfeiffer (maintainer)<br>" +
|
"Daniel Williams (pod support, maintainer)<br>" +
|
||||||
"Billy Olsen (maintainer)<br>" +
|
"Joe Pfeiffer (maintainer)<br>" +
|
||||||
"Neil Weinstock (tester, icons, forum support)<br>" +
|
"Billy Olsen (maintainer)<br>" +
|
||||||
"H. Craig Miller (tester)<br><br>" +
|
"Neil Weinstock (tester, icons, forum support)<br>" +
|
||||||
"<b>Translations by:</b><br><br>" +
|
"H. Craig Miller (tester)<br><br>" +
|
||||||
"Tripoli France (French)<br>" +
|
"<b>Translations by:</b><br><br>" +
|
||||||
"Stefan Lobas / ERIG e.V. (German)<br>" +
|
"Tripoli France (French)<br>" +
|
||||||
"Tripoli Spain (Spanish)<br>" +
|
"Stefan Lobas / ERIG e.V. (German)<br>" +
|
||||||
"Sky Dart Team (Russian)<br>" +
|
"Tripoli Spain (Spanish)<br>" +
|
||||||
"Mauro Biasutti (Italian)<br>" +
|
"Sky Dart Team (Russian)<br>" +
|
||||||
"Vladimir Beran (Czech)<br>" +
|
"Mauro Biasutti (Italian)<br>" +
|
||||||
"Polish Rocketry Society / \u0141ukasz & Alex Kazanski (Polish)<br>" +
|
"Vladimir Beran (Czech)<br>" +
|
||||||
"Sibo Van Gool (Dutch)<br><br>" +
|
"Polish Rocketry Society / \u0141ukasz & Alex Kazanski (Polish)<br>" +
|
||||||
"See all contributors at <br>https://github.com/openrocket/openrocket/graphs/contributors<br><br>" +
|
"Sibo Van Gool (Dutch)<br>" +
|
||||||
"<b>OpenRocket utilizes the following libraries:</b><br><br>" +
|
"<br>" +
|
||||||
"MiG Layout (http://www.miglayout.com/)<br>" +
|
"See all contributors at <br>" +
|
||||||
"JFreeChart (http://www.jfree.org/jfreechart/)<br>" +
|
href("https://github.com/openrocket/openrocket/graphs/contributors") + "<br>" +
|
||||||
"iText (http://www.itextpdf.com/)<br>" +
|
"<br>" +
|
||||||
"exp4j (http://projects.congrace.de/exp4j/index.html)<br>" +
|
"<b>OpenRocket utilizes the following libraries:</b><br>" +
|
||||||
"JOGL (http://jogamp.org/jogl/www/)<br>" +
|
"<br>" +
|
||||||
"Guava (https://github.com/google/guava)<br>" +
|
"MiG Layout (" + href("http://www.miglayout.com/") + ")<br>" +
|
||||||
"Opencsv (http://opencsv.sourceforge.net/)<br>" +
|
"JFreeChart (" + href("http://www.jfree.org/jfreechart/") + ")<br>" +
|
||||||
"Simple Logging Facade for Java (http://www.slf4j.org/)<br><br>" +
|
"iText (" + href("http://www.itextpdf.com/") + ")<br>" +
|
||||||
"<b>OpenRocket gratefully acknowledges our use of the following databases:</b><br><br>" +
|
"exp4j (" + href("http://projects.congrace.de/exp4j/index.html") + ")<br>" +
|
||||||
"Rocket Motor Data (https://www.thrustcurve.org/)<br>" +
|
"JOGL (" + href("http://jogamp.org/jogl/www/") + ")<br>" +
|
||||||
"Enhanced components database for OpenRocket (https://github.com/dbcook/openrocket-database/";
|
"Guava (" + href("https://github.com/google/guava") + ")<br>" +
|
||||||
|
"Opencsv (" + href("http://opencsv.sourceforge.net/") + ")<br>" +
|
||||||
|
"Simple Logging Facade for Java (" + href("http://www.slf4j.org/") + ")<br>" +
|
||||||
|
"Java library for parsing and rendering CommonMark (" + href("https://github.com/commonmark/commonmark-java") + ")<br>" +
|
||||||
|
"<br>" +
|
||||||
|
"<b>OpenRocket gratefully acknowledges our use of the following databases:</b><br>" +
|
||||||
|
"<br>" +
|
||||||
|
"Rocket Motor Data (" + href("https://www.thrustcurve.org/") + ")<br>" +
|
||||||
|
"Enhanced components database for OpenRocket" + href("https://github.com/dbcook/openrocket-database/") + ")<br>";
|
||||||
|
|
||||||
|
private String href(String url) {
|
||||||
|
return "<a href=\"" + url + "\">" + url + "</a>";
|
||||||
|
}
|
||||||
|
|
||||||
public AboutDialog(JFrame parent) {
|
public AboutDialog(JFrame parent) {
|
||||||
super(parent, true);
|
super(parent, true);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user