Skip to content
Snippets Groups Projects
Commit 2d354399 authored by Steinwender, Tamara's avatar Steinwender, Tamara
Browse files

Change text of QR code scanner if no access to cam

parent 361c56bd
No related branches found
No related tags found
No related merge requests found
{
"no-camera-access": "Zugriff auf Kamera nicht möglich (bitte stellen Sie sicher, dass eine Webcam aktiviert ist)",
"no-camera-access": "Zugriff auf Kamera nicht möglich.",
"check-access": "Bitte stellen Sie sicher, dass eine Webcam oder Kamera aktiviert ist und überprüfen Sie ob Ihr Browser die notwendigen Berechtigungen besitzt.",
"finished-scan": "Scannen abgeschlossen.",
"loading-video": "Video laden ...",
"no-qr-detected": "Kein QR-Code erkannt.",
......
{
"no-camera-access": "Unable to access video stream (please make sure you have a webcam enabled)",
"no-camera-access": "Unable to access video stream.",
"check-access": "Please make sure that a webcam or camera is activated and check whether your browser has the necessary authorizations.",
"finished-scan": "Finished scanning.",
"loading-video": "⌛ Loading video...",
"no-qr-detected": "No QR code detected.",
......
......@@ -241,7 +241,7 @@ export class QrCodeScanner extends ScopedElementsMixin(DBPLitElement) {
let firstDrawDone = false;
this._askPermission = true;
this._loadingMessage = i18n.t('no-camera-access');
this._loadingMessage = html` ${i18n.t('no-camera-access')} <br> ${i18n.t('check-access')}`;
let video = await createVideoElement(this._activeCamera);
if ( video !== null ) {
targetvideo.appendChild(video);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment