fix: add error message in webcam panel, if no webcam is available (#754)

* fix: add error message in webcam panel, if no webcam is available

Signed-off-by: Stefan Dej <meteyou@gmail.com>

* locale: Update en.json

Co-authored-by: th33xitus <th33xitus@googlemail.com>

Co-authored-by: th33xitus <th33xitus@googlemail.com>
This commit is contained in:
Stefan Dejandth33xitus authored and GitHub committed 2022-04-18 04:20:14 +02:00
1 parent b521b1cd1e
commit 1ea5edd504
3 files changed
+7 -2

No files matched your search

+4 -1
View File
@@ -36,7 +36,7 @@
</v-list>
</v-menu>
</template>
<v-card-text class="px-0 py-0 content d-inline-block">
<v-card-text v-if="webcams.length" class="px-0 py-0 content d-inline-block">
<v-row>
<v-col class="pb-0" style="position: relative">
<template v-if="currentCam.service === 'grid'">
@@ -60,6 +60,9 @@
</v-col>
</v-row>
</v-card-text>
<v-card-text v-else>
<p class="text-center mb-0 text--disabled">{{ $t('Panels.WebcamPanel.NoWebcam') }}</p>
</v-card-text>
</panel>
</template>
+2 -1
View File
@@ -592,6 +592,7 @@
"All": "Alle",
"FPS": "FPS",
"Headline": "Webcam",
"NoWebcam": "Keine Webcam verfügbar. Füge eine Webcam unter \"Interface Einstellungen\" -> \"Webcams\".",
"UnknownWebcamService": "Unbekannter Webcam Dienst",
"UrlNotAvailable": "URL nicht verfügbar"
},
@@ -742,7 +743,7 @@
"Restore": "Wiederherstellung",
"RestoreDialog": "Bitte wähle alle Abschnitte aus, die du wiederherstellen möchtest:"
},
"InterfaceSettings": "Schnittstelleneinstellungen",
"InterfaceSettings": "Interface Einstellungen",
"MacrosTab": {
"Add": "hinzufügen",
"AddGroup": "Gruppe hinzufügen",
+1
View File
@@ -593,6 +593,7 @@
"All": "All",
"FPS": "FPS",
"Headline": "Webcam",
"NoWebcam": "No webcam available. Add a webcam under \"Interface Settings\" -> \"Webcams\".",
"UnknownWebcamService": "Unknown Webcam Service",
"UrlNotAvailable": "URL not available"
},