if(message==='Exception: Updates between multiple major versions and downgrades are unsupported.'){
updateUnsuccessful.append(t('core','The update was unsuccessful. For more information <a href="{url}">check our forum post</a> covering this issue.',{'url':'https://help.nextcloud.com/t/updates-between-multiple-major-versions-are-unsupported/7094'}));
$('<input type="button" class="update-continue" value="'+t('core','Continue to Nextcloud')+'">').on('click',function(){
$('<input type="button" class="update-continue" value="'+t('core','Continue to {productName}',OC.Update.options)+'">').on('click',function(){
window.location.reload();
})
);
}else{
// FIXME: use product name
$el.find('.update-show-detailed').before(
$('<p id="redirect-countdown"></p>')
);
@ -115,7 +114,9 @@
updateCountdown:function(i,total){
setTimeout(function(){
$("#redirect-countdown").text(n('core','The update was successful. Redirecting you to Nextcloud in %n second.','The update was successful. Redirecting you to Nextcloud in %n seconds.',i));
$("#redirect-countdown").text(
n('core','The update was successful. Redirecting you to {productName} in %n second.','The update was successful. Redirecting you to {productName} in %n seconds.',i,OC.Update.options)