Repository: syncthing/syncthing
File: gui/default/syncthing/core/syncthingController.js (JavaScript)

Code before:
        $scope.folderStatusIcon = function(cfg) {
            switch ($scope.folderStatus(cfg)) {
                case 'paused':
                    return 'fa-pause';
                case 'unknown':
                    return 'fa-question-circle';
                case 'unshared':
                    return 'fa-unlink';
                case 'scan-waiting':
                    return 'fa-hourglass-half';
                case 'cleaning':
                    return 'fa-recycle';
                case 'clean-waiting':
                    return 'fa-hourglass-half';
                case 'stopped':
                    return 'fa-stop';
                case 'scanning':
                    return 'fa-search';
                case 'idle':
                    return 'fa-check';
                case 'localadditions':
                    return 'fa-check';
                case 'sync-waiting':
                    return 'fa-hourglass-half';
                case 'sync-preparing':
                    return 'fa-hourglass-half';
                case 'syncing':
                    return 'fa-sync';
                case 'outofsync':
                    return 'fa-exclamation-circle';
                case 'faileditems':
                    return 'fa-exclamation-circle';
                case 'localunencrypted':
                    return 'fa-exclamation-circle';
            }
        };

        $scope.folderStatusText = function(folder) {
            switch ($scope.folderStatus(folder)) {
                case 'paused':
                    return $translate.instant('Paused');
                case 'unknown':
                    return $translate.instant('Unknown');
                case 'unshared':
                    return $translate.instant('Unshared');
                case 'scan-waiting':
                    return $translate.instant('Waiting to Scan');
                case 'cleaning':
                    return $translate.instant('Cleaning Versions');
                case 'clean-waiting':
                    return $translate.instant('Waiting to Clean');

Review comment (suggestion):
```suggestion
                case 'sync-waiting':
                case 'sync-preparing':
                    return 'fa-hourglass-half';
```

And similar for all the other repeated values.

Code after:
                case 'scan-waiting':
                case 'sync-preparing':
                case 'sync-waiting':
                    return 'fa-hourglass-half';
                case 'cleaning':
                    return 'fa-recycle';
                case 'faileditems':
                case 'localunencrypted':
                case 'outofsync':
                    return 'fa-exclamation-circle';
                case 'idle':
                case 'localadditions':
                    return 'fa-check';
                case 'paused':
                    return 'fa-pause';
                case 'scanning':
                    return 'fa-search';
                case 'stopped':
                    return 'fa-stop';
                case 'syncing':
                    return 'fa-sync';
                case 'unknown':
                    return 'fa-question-circle';
                case 'unshared':
                    return 'fa-unlink';
            }
        };

        $scope.folderStatusText = function(folder) {
            switch ($scope.folderStatus(folder)) {
                case 'clean-waiting':
                    return $translate.instant('Waiting to Clean');
                case 'cleaning':
                    return $translate.instant('Cleaning Versions');
                case 'faileditems':
                    return $translate.instant('Failed Items');
                case 'idle':
                    return $translate.instant('Up to Date');
                case 'localadditions':
                    return $translate.instant('Local Additions');
                case 'localunencrypted':
                    return $translate.instant('Unexpected Items');
                case 'outofsync':
                    return $translate.instant('Out of Sync');
                case 'paused':
                    return $translate.instant('Paused');
                case 'scan-waiting':
                    return $translate.instant('Waiting to Scan');
                case 'scanning':
                    return $translate.instant('Scanning');
                case 'stopped':