-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Log a warning if also if only original missing, in imageview
- Loading branch information
1 parent
940584e
commit 255417a
Showing
2 changed files
with
22 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,20 @@ | ||
|
||
|
||
function _(id: string) { | ||
|
||
return 'The filename of the missing image' + | ||
' is \’' + id + '\' (note: no file extension!). ' + | ||
'It should be found in the project folder below the imagestore (see settings page).' | ||
} | ||
|
||
|
||
export function showMissingImageMessageOnConsole(id: string) { | ||
|
||
console.error('Neither original nor thumbnail found for image. ' + | ||
'The filename of the missing image' + | ||
' is \’' + id + '\' (note: no file extension!). ' + | ||
'It should be found in the project folder below the imagestore (see settings page).'); | ||
console.error('Neither original nor thumbnail found for image. ' + _(id)); | ||
} | ||
|
||
|
||
export function showMissingOginalImageMessageOnConsole(id: string) { | ||
|
||
console.warn('No original found for image. ' + _(id)); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters