update: match the ui in settings page

This commit is contained in:
Girish Ramakrishnan
2024-07-15 16:23:37 +02:00
parent d97d82b225
commit bc96f9c5e5
5 changed files with 33 additions and 45 deletions

View File

@@ -3703,7 +3703,7 @@ angular.module('Application').service('Client', ['$http', '$interval', '$timeout
} else if (data.label) {
return `Label ${appName('of', app)} was set to ${data.label}`;
} else if (data.tags) {
return `Tags ${appName('of', app)} were set to ${data.tags.join(', ')}`;
return `Tags ${appName('of', app)} was set to ${data.tags.join(', ')}`;
} else if (data.icon) {
return 'Icon ' + appName('of', app) + ' was changed';
} else if (data.memoryLimit) {
@@ -3721,9 +3721,9 @@ angular.module('Application').service('Client', ['$http', '$interval', '$timeout
return appName('', app, 'App') + ' was taken out of repair mode';
}
} else if ('enableBackup' in data) {
return 'Automatic backups ' + appName('of', app) + ' were ' + (data.enableBackup ? 'enabled' : 'disabled');
return 'Automatic backups ' + appName('of', app) + ' was ' + (data.enableBackup ? 'enabled' : 'disabled');
} else if ('enableAutomaticUpdate' in data) {
return 'Automatic updates ' + appName('of', app) + ' were ' + (data.enableAutomaticUpdate ? 'enabled' : 'disabled');
return 'Automatic updates ' + appName('of', app) + ' was ' + (data.enableAutomaticUpdate ? 'enabled' : 'disabled');
} else if ('reverseProxyConfig' in data) {
return 'Reverse proxy configuration ' + appName('of', app) + ' was updated';
} else if ('upstreamUri' in data) {