fix(ui): correct language usage re: "sync" vs. "scan" (#1079)

This commit is contained in:
TheCatLady
2021-03-05 20:16:56 -05:00
committed by GitHub
parent 92508b3f42
commit e98f2b9605
13 changed files with 67 additions and 60 deletions

View File

@@ -35,7 +35,7 @@ class JobSonarrSync {
const settings = getSettings();
const sessionId = uuid();
this.sessionId = sessionId;
this.log('Sonarr sync starting', 'info', { sessionId });
this.log('Sonarr scan starting', 'info', { sessionId });
try {
this.running = true;
@@ -78,7 +78,7 @@ class JobSonarrSync {
}
}
this.log('Sonarr sync complete', 'info');
this.log('Sonarr scan complete', 'info');
} catch (e) {
this.log('Something went wrong.', 'error', { errorMessage: e.message });
} finally {
@@ -374,7 +374,7 @@ class JobSonarrSync {
level: 'info' | 'error' | 'debug' | 'warn' = 'debug',
optional?: Record<string, unknown>
): void {
logger[level](message, { label: 'Sonarr Sync', ...optional });
logger[level](message, { label: 'Sonarr Scan', ...optional });
}
}