summaryrefslogtreecommitdiff
path: root/Cydia.app/confirm.js
diff options
context:
space:
mode:
authorJay Freeman (saurik) <saurik@saurik.com>2009-04-15 20:36:10 +0000
committerJay Freeman (saurik) <saurik@saurik.com>2010-09-30 07:13:11 +0000
commitf79a451249afae7da9887ff92f0d9d1d70c92dd4 (patch)
tree0ae29ed116fae713bb5be33f69f1238c60a084aa /Cydia.app/confirm.js
parent55bd124e13c658480b9e008802c45c4e86d1549b (diff)
This is getting nuts, I need an internal branch.
Diffstat (limited to 'Cydia.app/confirm.js')
-rw-r--r--Cydia.app/confirm.js16
1 files changed, 8 insertions, 8 deletions
diff --git a/Cydia.app/confirm.js b/Cydia.app/confirm.js
index 5322af6..bd78c2e 100644
--- a/Cydia.app/confirm.js
+++ b/Cydia.app/confirm.js
@@ -24,10 +24,10 @@ $(function () {
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();
@@ -51,11 +51,11 @@ $(function () {
}
var keys = [
- "Install",
- "Reinstall",
- "Upgrade",
- "Downgrade",
- "Remove"
+ "INSTALL",
+ "REINSTALL",
+ "UPGRADE",
+ "DOWNGRADE",
+ "REMOVE"
];
for (var i = 0; i != 5; ++i) {
@@ -64,7 +64,7 @@ $(function () {
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>");