diff options
author | Morris Jobke <hey@morrisjobke.de> | 2018-01-02 11:44:39 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-01-02 11:44:39 +0100 |
commit | 99175c32e5305538e3ded6e80fbaa77cd8f7ebfb (patch) | |
tree | dffabc47ea076ab526473b3770e8d306f382c6bb /settings | |
parent | 37ed5b55234aff0fb0c083755c5876a681312a58 (diff) | |
parent | f801dc8a6da6f88e69ae4461f6b752587f5b7f75 (diff) | |
download | nextcloud-server-99175c32e5305538e3ded6e80fbaa77cd8f7ebfb.tar.gz nextcloud-server-99175c32e5305538e3ded6e80fbaa77cd8f7ebfb.zip |
Merge pull request #7583 from nextcloud/comradekingu-patch-1
Spelling: No ...., upgrades and email.
Diffstat (limited to 'settings')
-rw-r--r-- | settings/js/apps.js | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/settings/js/apps.js b/settings/js/apps.js index 6406e37cbcb..0a6e86ed701 100644 --- a/settings/js/apps.js +++ b/settings/js/apps.js @@ -535,20 +535,20 @@ OC.Settings.Apps = OC.Settings.Apps || { showEmptyUpdates: function() { $('#apps-list').addClass('hidden'); - $('#apps-list-empty').removeClass('hidden').find('h2').text(t('settings', 'No app updates available')); + $('#apps-list-empty').removeClass('hidden').find('h2').text(t('settings', 'App up to date')); $('#app-list-empty-icon').removeClass('icon-search').addClass('icon-download'); }, updateApp:function(appId, element) { var oldButtonText = element.val(); - element.val(t('settings','Updating....')); + element.val(t('settings','Upgrading …')); 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','Error while updating app')); + OC.Settings.Apps.showErrorMessage(appId, t('settings','Could not upgrade app')); } element.val(oldButtonText); } @@ -584,7 +584,7 @@ OC.Settings.Apps = OC.Settings.Apps || { element.val(t('settings','Removing …')); $.post(OC.filePath('settings','ajax','uninstallapp.php'),{appid:appId},function(result) { if(!result || result.status !== 'success') { - OC.Settings.Apps.showErrorMessage(appId, t('settings','Error while removing app')); + OC.Settings.Apps.showErrorMessage(appId, t('settings','Could not remove app')); element.val(t('settings','Remove')); } else { OC.Settings.Apps.rebuildNavigation(); @@ -722,9 +722,9 @@ OC.Settings.Apps = OC.Settings.Apps || { OC.dialogs.info( t( 'settings', - 'The app has been enabled but needs to be updated. You will be redirected to the update page in 5 seconds.' + 'The app has been enabled but needs to be upgraded. You will be redirected to the upgrade page in 5 seconds.' ), - t('settings','App update'), + t('settings','App upgrade'), function () { window.location.reload(); }, |