From 48dc8e45ba3095bec452b721970400d5b42a30f7 Mon Sep 17 00:00:00 2001 From: Bernd Bestel Date: Fri, 6 Mar 2020 20:58:01 +0100 Subject: [PATCH] Fixed localization string (references #588) --- localization/strings.pot | 2 +- public/viewjs/components/barcodescanner.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/localization/strings.pot b/localization/strings.pot index 07a6e805..0cbcdba2 100644 --- a/localization/strings.pot +++ b/localization/strings.pot @@ -1607,7 +1607,7 @@ msgstr "" msgid "Edit stock entry" msgstr "" -msgid "Camera access is on only possible when supported and allowed by your browser and when grocy is served via a secure (https://) connection" +msgid "Camera access is only possible when supported and allowed by your browser and when grocy is served via a secure (https://) connection" msgstr "" msgid "Keep screen on" diff --git a/public/viewjs/components/barcodescanner.js b/public/viewjs/components/barcodescanner.js index e1495272..5db834fa 100644 --- a/public/viewjs/components/barcodescanner.js +++ b/public/viewjs/components/barcodescanner.js @@ -63,7 +63,7 @@ Grocy.Components.BarcodeScanner.StartScanning = function() if (error) { Grocy.FrontendHelpers.ShowGenericError("Error while initializing the barcode scanning library", error.message); - toastr.info(__t("Camera access is on only possible when supported and allowed by your browser and when grocy is served via a secure (https://) connection")); + toastr.info(__t("Camera access is only possible when supported and allowed by your browser and when grocy is served via a secure (https://) connection")); setTimeout(function() { bootbox.hideAll();