mirror of
https://github.com/processing/processing4.git
synced 2026-06-16 04:26:26 +02:00
Merge branch 'master' of github.com:processing/processing
This commit is contained in:
@@ -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) {
|
||||
|
||||
@@ -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 |
|
||||
|
||||
Reference in New Issue
Block a user