diff options
author | Joas Schilling <coding@schilljs.com> | 2018-03-09 09:49:22 +0100 |
---|---|---|
committer | Joas Schilling <coding@schilljs.com> | 2018-03-09 11:25:25 +0100 |
commit | 92793e9d926c89e57150755ec57faa587f0b8ab1 (patch) | |
tree | a753d099236ff109155d7e56c015f07d4e68d1ed /settings/js | |
parent | d1547ee3b07b6a553dbbb4bcdd03f0d348b23156 (diff) | |
download | nextcloud-server-92793e9d926c89e57150755ec57faa587f0b8ab1.tar.gz nextcloud-server-92793e9d926c89e57150755ec57faa587f0b8ab1.zip |
Revert wording back to updates
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'settings/js')
-rw-r--r-- | settings/js/apps.js | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/settings/js/apps.js b/settings/js/apps.js index b0cc1a11a2f..f8db5088af0 100644 --- a/settings/js/apps.js +++ b/settings/js/apps.js @@ -542,14 +542,14 @@ OC.Settings.Apps = OC.Settings.Apps || { updateApp:function(appId, element) { var oldButtonText = element.val(); - element.val(t('settings','Upgrading …')); + element.val(t('settings','Updating …')); OC.Settings.Apps.hideErrorMessage(appId); $.post(OC.filePath('settings','ajax','updateapp.php'),{appid:appId},function(result) { if(!result || result.status !== 'success') { if (result.data && result.data.message) { OC.Settings.Apps.showErrorMessage(appId, result.data.message); } 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); } @@ -728,9 +728,9 @@ OC.Settings.Apps = OC.Settings.Apps || { OC.dialogs.info( t( '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 () { window.location.reload(); }, |