")
.append("| ").append(_("Version")).append(" | ").append(appProps.getProperty("version"))
.append(" |
| ")
.append(_("Signed by")).append(" | ").append(appProps.getProperty("keyName"));
String s = appProps.getProperty("date");
if (s != null) {
long ms = 0;
try {
ms = Long.parseLong(s);
} catch (NumberFormatException nfe) {}
if (ms > 0) {
String date = (new SimpleDateFormat("yyyy-MM-dd HH:mm")).format(new Date(ms));
desc.append(" |
| ")
.append(_("Date")).append(" | ").append(date);
}
}
s = appProps.getProperty("author");
if (s != null) {
// fixme translate info using bundle specified in appProps
desc.append(" |
| ")
.append(_("Author")).append(" | ").append(s);
}
s = appProps.getProperty("description_" + Messages.getLanguage(_context));
if (s == null)
s = appProps.getProperty("description");
if (s != null) {
// fixme translate info using bundle specified in appProps
desc.append(" |
| ")
.append(_("Description")).append(" | ").append(s);
}
s = appProps.getProperty("license");
if (s != null) {
desc.append(" |
| ")
.append(_("License")).append(" | ").append(s);
}
s = appProps.getProperty("websiteURL");
if (s != null) {
desc.append(" |
| ")
.append("").append(_("Website")).append(" | ");
}
s = appProps.getProperty("updateURL");
if (s != null) {
desc.append(" |
| ")
.append("").append(_("Update link")).append(" | ");
}
desc.append(" |
");
renderForm(buf, app, app, false,
"true".equals(val), false, desc.toString(), false, false);
}
}
buf.append("