Fix/manga white screen missing extension (#285)

* Prevent white screen when source is missing

A undefined source caused a TypeError

* Show error message when source is missing
This commit is contained in:
schroda
2023-05-01 23:31:14 +02:00
committed by GitHub
parent 9a27335760
commit f5a961e82f
2 changed files with 13 additions and 6 deletions

View File

@@ -238,7 +238,8 @@
"filter": "Filter",
"loading": "Loading...",
"none": "None",
"sort": "Sort"
"sort": "Sort",
"unknown": "Unknown"
},
"language": {
"label": {
@@ -435,7 +436,8 @@
},
"error": {
"label": {
"no_sources_found": "No sources found. Install Some Extensions first."
"no_sources_found": "No sources found. Install Some Extensions first.",
"source_not_found": "Could not find source. Check your installed extensions."
}
},
"local_source": {