Version 3.3.4
This commit is contained in:
1 parent
78706903a2
commit
fb6b5baabc
2206 files changed
+409828
-382984
No files matched your search
@@ -157,7 +157,7 @@ function ipsUpgrade()
|
||||
}
|
||||
|
||||
/* Start text output.. */
|
||||
this.writeToLog( "Обновление <strong>" + this.applications[ app_dir ].real_name + "</strong>" );
|
||||
this.writeToLog( "Starting upgrade for <strong>" + this.applications[ app_dir ].real_name + "</strong>" );
|
||||
|
||||
/* Reset progress bar */
|
||||
this.updateProgressBar( false );
|
||||
@@ -293,14 +293,14 @@ function ipsUpgrade()
|
||||
*/
|
||||
this.timeOutAjax = function( t )
|
||||
{
|
||||
if ( confirm( "Сервер не отвечает.\nПодождать еще ?" ) )
|
||||
if ( confirm( "No response from the webserver.\nDo you wish to continue waiting?" ) )
|
||||
{
|
||||
return true;
|
||||
}
|
||||
else
|
||||
{
|
||||
t.transport.abort();
|
||||
alert( "Запрос отменен" );
|
||||
alert( "Request Cancelled" );
|
||||
}
|
||||
};
|
||||
|
||||
@@ -309,7 +309,7 @@ function ipsUpgrade()
|
||||
*/
|
||||
this.failureAjax = function( t )
|
||||
{
|
||||
alert( "Ошибка: " + t.responseText );
|
||||
alert( "Failure: " + t.responseText );
|
||||
};
|
||||
|
||||
/**
|
||||
@@ -317,7 +317,7 @@ function ipsUpgrade()
|
||||
*/
|
||||
this.exceptionAjax = function( t )
|
||||
{
|
||||
alert( "Исключение: " + t.responseText );
|
||||
alert( "Exception: " + t.responseText );
|
||||
};
|
||||
|
||||
/**
|
||||
@@ -332,7 +332,7 @@ function ipsUpgrade()
|
||||
|
||||
if ( ! t.responseText.match( /^(\s+?)?\{/ ) )
|
||||
{
|
||||
alert( "Ошибка:\n" + t.responseText );
|
||||
alert( "Error:\n" + t.responseText );
|
||||
return;
|
||||
}
|
||||
|
||||
@@ -347,7 +347,7 @@ function ipsUpgrade()
|
||||
|
||||
if ( json['warning'] )
|
||||
{
|
||||
alert( 'Предупреждение: ' + json['warning'] );
|
||||
alert( 'Warning: ' + json['warning'] );
|
||||
}
|
||||
|
||||
/* All good: Update status message... */
|
||||
@@ -377,7 +377,7 @@ function ipsUpgrade()
|
||||
this.updateProgressBar( 'finish' );
|
||||
this.updateProgressImage( 'ready' );
|
||||
|
||||
this.writeToLog( "<strong>Обновление завершено</strong>" );
|
||||
this.writeToLog( "<strong>Upgrade Completed</strong>" );
|
||||
|
||||
/* Update version information */
|
||||
this.applications[ this.upgradingApp.app_dir ].current_human = json['new_human'];
|
||||
@@ -466,7 +466,7 @@ function ipsUpgrade()
|
||||
{
|
||||
_button.className = _button.className.replace( / available$/, '' );
|
||||
_button.title = '';
|
||||
_button.innerHTML = "Нет доступных обновлений";
|
||||
_button.innerHTML = "No Upgrade Available";
|
||||
|
||||
Event.stopObserving( 'upgradeRowButton-' + this.applications[i].app_dir, 'click', this._buttonClicker );
|
||||
|
||||
@@ -474,8 +474,8 @@ function ipsUpgrade()
|
||||
else
|
||||
{
|
||||
_button.className = _button.className + ' available';
|
||||
_button.title = 'Нажмите для начала обновления';
|
||||
_button.innerHTML = "Есть обновления";
|
||||
_button.title = 'Click to begin upgrade';
|
||||
_button.innerHTML = "Upgrade Available";
|
||||
|
||||
this._buttonClicker = this.beginUpgrade.bindAsEventListener( this, 'upgradeRowButton-' + this.applications[i].app_dir, this.applications[i].app_dir );
|
||||
Event.observe( 'upgradeRowButton-' + this.applications[i].app_dir, 'click', this._buttonClicker );
|
||||
|
||||
Reference in new issue
Block a user