X-Git-Url: https://git.saurik.com/cydia.git/blobdiff_plain/fefdda6bcfde597dac30b4f18341a0598cff98c1..7376b55c232c27ffe62335ad1e55b00ac8833b29:/Cydia.app/confirm.js diff --git a/Cydia.app/confirm.js b/Cydia.app/confirm.js index 9210295d..bd78c2e5 100644 --- a/Cydia.app/confirm.js +++ b/Cydia.app/confirm.js @@ -24,15 +24,17 @@ $(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 = cydia.localize("CANNOT_COMPLY"); + $("._issues").remove(); var issue = issues[i]; $("#issues").append( - "" + + "" + "
" ); @@ -41,19 +43,19 @@ $(function () { var type = entry[0]; if (type == "PreDepends") type = "Depends"; - $("#i" + i).append("
" + - "" + - "
" + entry[1] + " " + entry[3] + "
" + - "
"); + $("#i" + i).append("
" + + "" + + "" + + "
"); } } var keys = [ - "Install", - "Reinstall", - "Upgrade", - "Downgrade", - "Remove" + "INSTALL", + "REINSTALL", + "UPGRADE", + "DOWNGRADE", + "REMOVE" ]; for (var i = 0; i != 5; ++i) { @@ -61,10 +63,10 @@ $(function () { var length = list.length; if (length != 0) { - $("#modifications").append("
" + - "" + - "
" + - "
"); + $("#modifications").append("
" + + "" + + "" + + "
"); var value = ""; for (var j = 0; j != length; ++j) {