size = size.substr(1);
}
- $("#disk-key").html(negative ? "Disk Freeing" : "Disk Using");
+ $("#disk-key").html(cydia.localize(negative ? "DISK_FREEING" : "DISK_USING"));
$("#disk-value").html($.xml(size));
} else for (var i = 0; i != issues.length; ++i) {
- document.title = "Cannot Comply";
+ document.title = cydia.localize("CANNOT_COMPLY");
$("._issues").remove();
var type = entry[0];
if (type == "PreDepends")
type = "Depends";
- $("#i" + i).append("<div><div>" +
+ $("#i" + i).append("<div class=\"clearfix\"><div>" +
"<label>" + $.xml(type) + "</label>" +
- "<labe>" + $.xml(entry[1] + " " + entry[3]) + "</label>" +
+ "<label>" + $.xml(entry[1] + " " + entry[3]) + "</label>" +
"</div></div>");
}
}
var keys = [
- "Install",
- "Reinstall",
- "Upgrade",
- "Downgrade",
- "Remove"
+ "INSTALL",
+ "REINSTALL",
+ "UPGRADE",
+ "DOWNGRADE",
+ "REMOVE"
];
for (var i = 0; i != 5; ++i) {
if (length != 0) {
$("#modifications").append("<div class=\"clearfix\"><div>" +
- "<label>" + $.xml(keys[i]) + "</label>" +
+ "<label>" + cydia.localize($.xml(keys[i])) + "</label>" +
"<label id=\"c" + i + "\"></label>" +
"</div></div>");