Skip to content

Commit

Permalink
improve logging for fallback
Browse files Browse the repository at this point in the history
  • Loading branch information
cbartondock committed May 25, 2024
1 parent ed2d79c commit 42c8e02
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/lang/en-US/langStrings.json
Original file line number Diff line number Diff line change
Expand Up @@ -443,8 +443,8 @@
"imageQueries__i": "[${index}/${total}]: ${query}",
"defaultImage__i": "[${index}/${total}]: Resolved fallback ${artworkType}:\r\n[${index}/${total}]: ${image}",
"resolvedDefaultImage__i": "[${index}/${total}]: Fallback ${artworkType}:",
"localImages__i": "[${index}/${total}]: Resolved ${artworkType}:",
"resolvedLocalImages__i": "[${index}/${total}]: ${artworkType} glob:",
"localImages__i": "[${index}/${total}]: Resolved local ${artworkType}:",
"resolvedLocalImages__i": "[${index}/${total}]: Local ${artworkType} glob:",
"indexInfo__i": "[${index}/${total}]: ${indexed}",
"removedControllers__i": "Succesfully removed controllers for parser: ${configTitle}",
"fetchedTemplates": "Fetched all controller templates"
Expand Down
2 changes: 1 addition & 1 deletion src/renderer/components/parsers.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -899,7 +899,7 @@ export class ParsersComponent implements AfterViewInit, OnDestroy {
}));
}
}
if (data.files[i].defaultImage[artworkType] !== undefined) {
if (data.files[i].defaultImage[artworkType]) {
success(this.lang.success.defaultImage__i.interpolate({
index: i+1,
total: totalLength,
Expand Down

0 comments on commit 42c8e02

Please sign in to comment.