Fixed localization string (references #588)

This commit is contained in:
Bernd Bestel
2020-03-06 20:58:01 +01:00
parent f440604007
commit 48dc8e45ba
2 changed files with 2 additions and 2 deletions

View File

@@ -1607,7 +1607,7 @@ msgstr ""
msgid "Edit stock entry" msgid "Edit stock entry"
msgstr "" 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 "" msgstr ""
msgid "Keep screen on" msgid "Keep screen on"

View File

@@ -63,7 +63,7 @@ Grocy.Components.BarcodeScanner.StartScanning = function()
if (error) if (error)
{ {
Grocy.FrontendHelpers.ShowGenericError("Error while initializing the barcode scanning library", error.message); 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() setTimeout(function()
{ {
bootbox.hideAll(); bootbox.hideAll();