Revert wording back to updates
Signed-off-by: Joas Schilling <coding@schilljs.com>
This commit is contained in:
parent
d1547ee3b0
commit
92793e9d92
|
@ -542,14 +542,14 @@ OC.Settings.Apps = OC.Settings.Apps || {
|
||||||
|
|
||||||
updateApp:function(appId, element) {
|
updateApp:function(appId, element) {
|
||||||
var oldButtonText = element.val();
|
var oldButtonText = element.val();
|
||||||
element.val(t('settings','Upgrading …'));
|
element.val(t('settings','Updating …'));
|
||||||
OC.Settings.Apps.hideErrorMessage(appId);
|
OC.Settings.Apps.hideErrorMessage(appId);
|
||||||
$.post(OC.filePath('settings','ajax','updateapp.php'),{appid:appId},function(result) {
|
$.post(OC.filePath('settings','ajax','updateapp.php'),{appid:appId},function(result) {
|
||||||
if(!result || result.status !== 'success') {
|
if(!result || result.status !== 'success') {
|
||||||
if (result.data && result.data.message) {
|
if (result.data && result.data.message) {
|
||||||
OC.Settings.Apps.showErrorMessage(appId, result.data.message);
|
OC.Settings.Apps.showErrorMessage(appId, result.data.message);
|
||||||
} else {
|
} else {
|
||||||
OC.Settings.Apps.showErrorMessage(appId, t('settings','Could not upgrade app'));
|
OC.Settings.Apps.showErrorMessage(appId, t('settings','Could not update app'));
|
||||||
}
|
}
|
||||||
element.val(oldButtonText);
|
element.val(oldButtonText);
|
||||||
}
|
}
|
||||||
|
@ -728,9 +728,9 @@ OC.Settings.Apps = OC.Settings.Apps || {
|
||||||
OC.dialogs.info(
|
OC.dialogs.info(
|
||||||
t(
|
t(
|
||||||
'settings',
|
'settings',
|
||||||
'The app has been enabled but needs to be upgraded. You will be redirected to the upgrade page in 5 seconds.'
|
'The app has been enabled but needs to be updated. You will be redirected to the update page in 5 seconds.'
|
||||||
),
|
),
|
||||||
t('settings','App upgrade'),
|
t('settings','App update'),
|
||||||
function () {
|
function () {
|
||||||
window.location.reload();
|
window.location.reload();
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in New Issue