mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2026-07-03 19:41:52 +02:00
Update Task object to handle translation keys with subs
This commit is contained in:
+6
-1
@@ -301,7 +301,12 @@ class FolderWatcher extends EventEmitter {
|
||||
libraryId,
|
||||
libraryName: libwatcher.name
|
||||
}
|
||||
this.pendingTask = TaskManager.createAndAddTask('watcher-scan', `Scanning file changes in "${libwatcher.name}"`, null, true, taskData)
|
||||
const taskTitleString = {
|
||||
text: `Scanning file changes in "${libwatcher.name}"`,
|
||||
key: 'MessageTaskScanningFileChanges',
|
||||
subs: [libwatcher.name]
|
||||
}
|
||||
this.pendingTask = TaskManager.createAndAddTask('watcher-scan', taskTitleString, null, true, taskData)
|
||||
}
|
||||
this.pendingFileUpdates.push({
|
||||
path,
|
||||
|
||||
Reference in New Issue
Block a user