Merge branch 'master' of github.com:processing/processing

This commit is contained in:
Ben Fry
2016-10-29 09:53:45 -04:00
3 changed files with 17 additions and 5 deletions
@@ -461,7 +461,7 @@ class DetailPanel extends JPanel {
desc.append("</font> ");
String version = contrib.getPrettyVersion();
if (version != null) {
if (version != null && !version.equals("null")) {
desc.append(version);
}
desc.append(" <br/>");
@@ -259,12 +259,24 @@ class StatusPanel extends JPanel {
if (panel.getContrib().isCompatible(Base.getRevision())) {
if (installButton.isEnabled()) {
updateLabel.setText(latestVersion + " available");
if (latestVersion != null) {
updateLabel.setText(latestVersion + " available");
} else {
updateLabel.setText("Available");
}
} else {
updateLabel.setText(currentVersion + " installed");
if (currentVersion != null && !currentVersion.equals("null")) {
updateLabel.setText(currentVersion + " installed");
} else {
updateLabel.setText("Installed");
}
}
} else {
updateLabel.setText(currentVersion + " not compatible");
if (currentVersion != null && !currentVersion.equals("null")) {
updateLabel.setText(currentVersion + " not compatible");
} else {
updateLabel.setText("Not compatible");
}
}
if (latestVersion != null) {
+1 -1
View File
@@ -60,7 +60,7 @@ menu.library.contributed = Contribuidas
menu.library.no_core_libraries = el modo no tiene bibliotecas incluidas
# ---
menu.sketch = Sketch
menu.sketch.show_sketch_folder = Mostrar carpeta de sketches
menu.sketch.show_sketch_folder = Mostrar carpeta del sketch
menu.sketch.add_file = Añadir archivo
# | File | Edit | Sketch | Debug | Tools | Help |