@sapui5/sap.ndc 1.96.25 → 1.96.26

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (53) hide show
  1. package/package.json +1 -1
  2. package/src/sap/ndc/.library +1 -1
  3. package/src/sap/ndc/BarcodeScanner.js +94 -71
  4. package/src/sap/ndc/BarcodeScannerButton.js +8 -2
  5. package/src/sap/ndc/library.js +1 -1
  6. package/src/sap/ndc/messagebundle.properties +27 -0
  7. package/src/sap/ndc/messagebundle_ar.properties +39 -0
  8. package/src/sap/ndc/messagebundle_bg.properties +39 -0
  9. package/src/sap/ndc/messagebundle_ca.properties +39 -0
  10. package/src/sap/ndc/messagebundle_cs.properties +39 -0
  11. package/src/sap/ndc/messagebundle_cy.properties +39 -0
  12. package/src/sap/ndc/messagebundle_da.properties +39 -0
  13. package/src/sap/ndc/messagebundle_de.properties +39 -0
  14. package/src/sap/ndc/messagebundle_el.properties +39 -0
  15. package/src/sap/ndc/messagebundle_en.properties +27 -0
  16. package/src/sap/ndc/messagebundle_en_GB.properties +39 -0
  17. package/src/sap/ndc/messagebundle_en_US_saprigi.properties +49 -10
  18. package/src/sap/ndc/messagebundle_es.properties +39 -0
  19. package/src/sap/ndc/messagebundle_es_MX.properties +39 -0
  20. package/src/sap/ndc/messagebundle_et.properties +39 -0
  21. package/src/sap/ndc/messagebundle_fi.properties +39 -0
  22. package/src/sap/ndc/messagebundle_fr.properties +39 -0
  23. package/src/sap/ndc/messagebundle_fr_CA.properties +39 -0
  24. package/src/sap/ndc/messagebundle_hi.properties +39 -0
  25. package/src/sap/ndc/messagebundle_hr.properties +39 -0
  26. package/src/sap/ndc/messagebundle_hu.properties +39 -0
  27. package/src/sap/ndc/messagebundle_id.properties +39 -0
  28. package/src/sap/ndc/messagebundle_it.properties +39 -0
  29. package/src/sap/ndc/messagebundle_iw.properties +39 -0
  30. package/src/sap/ndc/messagebundle_ja.properties +39 -0
  31. package/src/sap/ndc/messagebundle_kk.properties +39 -0
  32. package/src/sap/ndc/messagebundle_ko.properties +39 -0
  33. package/src/sap/ndc/messagebundle_lt.properties +39 -0
  34. package/src/sap/ndc/messagebundle_lv.properties +39 -0
  35. package/src/sap/ndc/messagebundle_ms.properties +39 -0
  36. package/src/sap/ndc/messagebundle_nl.properties +39 -0
  37. package/src/sap/ndc/messagebundle_no.properties +39 -0
  38. package/src/sap/ndc/messagebundle_pl.properties +39 -0
  39. package/src/sap/ndc/messagebundle_pt.properties +39 -0
  40. package/src/sap/ndc/messagebundle_pt_PT.properties +39 -0
  41. package/src/sap/ndc/messagebundle_ro.properties +39 -0
  42. package/src/sap/ndc/messagebundle_ru.properties +39 -0
  43. package/src/sap/ndc/messagebundle_sh.properties +39 -0
  44. package/src/sap/ndc/messagebundle_sk.properties +39 -0
  45. package/src/sap/ndc/messagebundle_sl.properties +39 -0
  46. package/src/sap/ndc/messagebundle_sr.properties +39 -0
  47. package/src/sap/ndc/messagebundle_sv.properties +39 -0
  48. package/src/sap/ndc/messagebundle_th.properties +39 -0
  49. package/src/sap/ndc/messagebundle_tr.properties +39 -0
  50. package/src/sap/ndc/messagebundle_uk.properties +39 -0
  51. package/src/sap/ndc/messagebundle_vi.properties +39 -0
  52. package/src/sap/ndc/messagebundle_zh_CN.properties +39 -0
  53. package/src/sap/ndc/messagebundle_zh_TW.properties +39 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sapui5/sap.ndc",
3
- "version": "1.96.25",
3
+ "version": "1.96.26",
4
4
  "description": "SAPUI5 Library sap.ndc",
5
5
  "homepage": "https://sap.github.io/ui5-tooling/pages/SAPUI5/",
6
6
  "author": "SAP SE (https://www.sap.com)",
@@ -5,7 +5,7 @@
5
5
  <vendor>SAP SE</vendor>
6
6
  <copyright>SAPUI5
7
7
  * (c) Copyright 2009-2022 SAP SE. All rights reserved.</copyright>
8
- <version>1.96.25</version>
8
+ <version>1.96.26</version>
9
9
 
10
10
  <documentation>SAPUI5 library with controls with native device capabilities.</documentation>
11
11
 
@@ -116,7 +116,8 @@ sap.ui.define([
116
116
  barcodeOverlaySetup: false,
117
117
  isNoScanner: false,
118
118
  scanningStartTime: 0,
119
- keepCameraScan: false
119
+ keepCameraScan: false,
120
+ disableBarcodeInputDialog: false
120
121
  },
121
122
  callBackHandler: {
122
123
  onFnFail: null,
@@ -556,7 +557,7 @@ sap.ui.define([
556
557
  playbackVideoAndDecode();
557
558
  } else {
558
559
  oScanDialog.getModel().setProperty("/isNoScanner", true);
559
- openBarcodeInputDialog();
560
+ openBarcodeInputDialog(oResourceModel.getResourceBundle().getText('BARCODE_DIALOG_CAMERA_STREAM_ERROR_MSG'));
560
561
  }
561
562
  }, function() {
562
563
  videoTrack.stop();
@@ -740,78 +741,94 @@ sap.ui.define([
740
741
  function openBarcodeInputDialog(sMessage) {
741
742
  if (sMessage) {
742
743
  Log.warning("BarcodeScanner.openBarcodeInputDialog: isNoScanner. Message: " + sMessage);
744
+ var sErrorMsg = oResourceModel.getResourceBundle().getText('BARCODE_DIALOG_CAMERA_OTHER_ERROR_MSG', sMessage);
745
+ if (sMessage.name) {
746
+ var sErrorMsgKey = "BARCODE_DIALOG_CAMERA_" + sMessage.name.toUpperCase() + "_ERROR_MSG";
747
+ sErrorMsg = oResourceModel.getResourceBundle().getText(sErrorMsgKey);
748
+ }
749
+ MessageToast.show(
750
+ sErrorMsg,
751
+ {
752
+ duration: 1000
753
+ }
754
+ );
743
755
  }
744
756
 
745
- oScanDialog.destroyContent();
746
- oScanDialog.setTitle('');
747
- oScanDialog.setStretch(false);
748
- oScanDialog.setContentHeight('auto');
749
- if (oBarcodeOverlayDOM) {
750
- oBarcodeOverlayDOM.hidden = true;
751
- }
752
- oScanDialog.removeStyleClass('sapUiNoContentPadding');
753
-
754
- oScanDialog.setTitle(oModel.getProperty("/scanDialog/title"));
755
-
756
- var oMSGLabel = new Label(oScanDialog.getId() + '-txt_barcode', {
757
- text: "{i18n>BARCODE_DIALOG_MSG}",
758
- visible: "{/isNoScanner}"
759
- });
760
- oScanDialog.addContent(
761
- oMSGLabel
762
- );
757
+ var disableBarcodeInputDialog = oModel.getProperty("/scanDialog/disableBarcodeInputDialog");
758
+ if (disableBarcodeInputDialog) {
759
+ BarcodeScanner.closeScanDialog();
760
+ } else {
761
+ oScanDialog.destroyContent();
762
+ oScanDialog.setTitle('');
763
+ oScanDialog.setStretch(false);
764
+ oScanDialog.setContentHeight('auto');
765
+ if (oBarcodeOverlayDOM) {
766
+ oBarcodeOverlayDOM.hidden = true;
767
+ }
768
+ oScanDialog.removeStyleClass('sapUiNoContentPadding');
763
769
 
764
- var oFallbackInput = new Input(oScanDialog.getId() + '-inp_barcode', {
765
- value: "{/barcode}",
766
- valueLiveUpdate: true,
767
- ariaLabelledBy: oMSGLabel.getId(),
768
- liveChange: function(oEvent) {
769
- var onLiveUpdate = oModel.getProperty("/scanDialog/onLiveUpdate");
770
- if (typeof onLiveUpdate === "function") {
771
- onLiveUpdate({
772
- newValue: oEvent.getParameter("newValue")
773
- });
774
- }
775
- },
776
- placeholder: "{i18n>BARCODE_DIALOG_PLACEHOLDER}"
777
- });
778
- oScanDialog.addContent(oFallbackInput);
770
+ oScanDialog.setTitle(oModel.getProperty("/scanDialog/title"));
779
771
 
780
- // shortcut for sap.m.ButtonType
781
- var ButtonType = mobileLibrary.ButtonType;
772
+ var oMSGLabel = new Label(oScanDialog.getId() + '-txt_barcode', {
773
+ text: "{i18n>BARCODE_DIALOG_MSG}",
774
+ visible: "{/isNoScanner}"
775
+ });
776
+ oScanDialog.addContent(
777
+ oMSGLabel
778
+ );
782
779
 
783
- oScanDialog.setBeginButton(
784
- new Button(oScanDialog.getId() + '-btn_barcode_ok', {
785
- type: ButtonType.Emphasized,
786
- text: "{i18n>BARCODE_DIALOG_OK}",
787
- press: function(oEvent) {
788
- var onFnSuccess = oModel.getProperty("/callBackHandler/onFnSuccess");
789
- if (typeof onFnSuccess === "function") {
790
- var oScanningTime = "unknown";
791
- if (oModel.getProperty("/scanDialog/scanningStartTime") > 0) {
792
- var scanningStopTime = Date.now();
793
- oScanningTime = scanningStopTime - oModel.getProperty("/scanDialog/scanningStartTime");
794
- }
795
- onFnSuccess({
796
- text: oScanDialog.getModel().getProperty("/barcode"),
797
- scanningTime: oScanningTime,
798
- cancelled: false
780
+ var oFallbackInput = new Input(oScanDialog.getId() + '-inp_barcode', {
781
+ value: "{/barcode}",
782
+ valueLiveUpdate: true,
783
+ ariaLabelledBy: oMSGLabel.getId(),
784
+ liveChange: function(oEvent) {
785
+ var onLiveUpdate = oModel.getProperty("/scanDialog/onLiveUpdate");
786
+ if (typeof onLiveUpdate === "function") {
787
+ onLiveUpdate({
788
+ newValue: oEvent.getParameter("newValue")
799
789
  });
800
790
  }
801
- BarcodeScanner.closeScanDialog();
802
- }
803
- })
804
- );
805
- oScanDialog.setEndButton(
806
- new Button({
807
- text: "{i18n>BARCODE_DIALOG_CANCEL}",
808
- press: function() {
809
- BarcodeScanner.closeScanDialog();
810
- }
811
- })
812
- );
791
+ },
792
+ placeholder: "{i18n>BARCODE_DIALOG_PLACEHOLDER}"
793
+ });
794
+ oScanDialog.addContent(oFallbackInput);
795
+
796
+ // shortcut for sap.m.ButtonType
797
+ var ButtonType = mobileLibrary.ButtonType;
798
+
799
+ oScanDialog.setBeginButton(
800
+ new Button(oScanDialog.getId() + '-btn_barcode_ok', {
801
+ type: ButtonType.Emphasized,
802
+ text: "{i18n>BARCODE_DIALOG_OK}",
803
+ press: function(oEvent) {
804
+ var onFnSuccess = oModel.getProperty("/callBackHandler/onFnSuccess");
805
+ if (typeof onFnSuccess === "function") {
806
+ var oScanningTime = "unknown";
807
+ if (oModel.getProperty("/scanDialog/scanningStartTime") > 0) {
808
+ var scanningStopTime = Date.now();
809
+ oScanningTime = scanningStopTime - oModel.getProperty("/scanDialog/scanningStartTime");
810
+ }
811
+ onFnSuccess({
812
+ text: oScanDialog.getModel().getProperty("/barcode"),
813
+ scanningTime: oScanningTime,
814
+ cancelled: false
815
+ });
816
+ }
817
+ BarcodeScanner.closeScanDialog();
818
+ }
819
+ })
820
+ );
821
+ oScanDialog.setEndButton(
822
+ new Button({
823
+ text: "{i18n>BARCODE_DIALOG_CANCEL}",
824
+ press: function() {
825
+ BarcodeScanner.closeScanDialog();
826
+ }
827
+ })
828
+ );
813
829
 
814
- oScanDialog.setBusy(false);
830
+ oScanDialog.setBusy(false);
831
+ }
815
832
  }
816
833
 
817
834
  /**
@@ -875,7 +892,7 @@ sap.ui.define([
875
892
  playbackVideoAndDecode(bAttachOrientationChangeListener);
876
893
  } else {
877
894
  oModel.setProperty("/scanDialog/isNoScanner", true);
878
- openBarcodeInputDialog();
895
+ openBarcodeInputDialog(oResourceModel.getResourceBundle().getText('BARCODE_DIALOG_CAMERA_STREAM_ERROR_MSG'));
879
896
  }
880
897
  }
881
898
  )
@@ -888,7 +905,7 @@ sap.ui.define([
888
905
  openCamera();
889
906
  } else {
890
907
  oModel.setProperty("/scanDialog/isNoScanner", true);
891
- openBarcodeInputDialog();
908
+ openBarcodeInputDialog(error);
892
909
  }
893
910
  }
894
911
  );
@@ -917,8 +934,10 @@ sap.ui.define([
917
934
  }),
918
935
  afterClose: function() {
919
936
  closeScannerContain();
920
- oScanDialog.destroyContent();
921
- oScanDialog.destroy();
937
+ if (oScanDialog) {
938
+ oScanDialog.destroyContent();
939
+ oScanDialog.destroy();
940
+ }
922
941
  oScanDialog = null;
923
942
  }
924
943
  });
@@ -1438,6 +1457,7 @@ sap.ui.define([
1438
1457
  * true,
1439
1458
  * 30,
1440
1459
  * 1,
1460
+ * false,
1441
1461
  * false
1442
1462
  * );
1443
1463
  * });
@@ -1451,11 +1471,12 @@ sap.ui.define([
1451
1471
  * @param {float} [frameRate] Defines the frame rate of the camera.
1452
1472
  * @param {float} [zoom] Defines the zoom of the camera. This parameter is not supported on iOS.
1453
1473
  * @param {boolean} [keepCameraScan] Flag, which defines whether the camera should be used for scanning in Zebra Enterprise Browser.
1474
+ * @param {boolean} [disableBarcodeInputDialog] Flag, which defines whether the Barcode input dialog should be shown.
1454
1475
  *
1455
1476
  * @public
1456
1477
  * @static
1457
1478
  */
1458
- BarcodeScanner.scan = function (fnSuccess, fnFail, fnLiveUpdate, dialogTitle, preferFrontCamera, frameRate, zoom, keepCameraScan) {
1479
+ BarcodeScanner.scan = function (fnSuccess, fnFail, fnLiveUpdate, dialogTitle, preferFrontCamera, frameRate, zoom, keepCameraScan, disableBarcodeInputDialog) {
1459
1480
  if (!oModel.getProperty("/bReady")) {
1460
1481
  Log.error("BarcodeScanner.scan: Barcode scanning is already in progress.");
1461
1482
  return;
@@ -1516,6 +1537,7 @@ sap.ui.define([
1516
1537
  );
1517
1538
  }
1518
1539
  oModel.setProperty("/scanDialog/keepCameraScan", keepCameraScan);
1540
+ oModel.setProperty("/scanDialog/disableBarcodeInputDialog", disableBarcodeInputDialog);
1519
1541
  oModel.checkUpdate(true);
1520
1542
 
1521
1543
  if (checkZebraEBScanAvailable()) {
@@ -1540,6 +1562,7 @@ sap.ui.define([
1540
1562
  BarcodeScanner.closeScanDialog = function () {
1541
1563
  if (oScanDialog) {
1542
1564
  oScanDialog.close();
1565
+ oScanDialog.fireAfterClose();
1543
1566
  oModel.setProperty("/scanDialog/scanningStartTime", 0);
1544
1567
  oModel.setProperty("/scanDialog/onLiveUpdate", null);
1545
1568
  }
@@ -78,7 +78,12 @@ sap.ui.define([
78
78
  /**
79
79
  * If set to true, the camera should be used for scanning in Zebra Enterprise Browser.
80
80
  */
81
- keepCameraScan : {type : "boolean", defaultValue : false}
81
+ keepCameraScan : {type : "boolean", defaultValue : false},
82
+
83
+ /**
84
+ * If the value is true, the Barcode input dialog should be hidden.
85
+ */
86
+ disableBarcodeInputDialog : {type : "boolean", defaultValue : false}
82
87
  },
83
88
  aggregations : {
84
89
 
@@ -161,7 +166,8 @@ sap.ui.define([
161
166
  this.getProperty("preferFrontCamera"),
162
167
  this.getProperty("frameRate"),
163
168
  this.getProperty("zoom"),
164
- this.getProperty("keepCameraScan")
169
+ this.getProperty("keepCameraScan"),
170
+ this.getProperty("disableBarcodeInputDialog")
165
171
  );
166
172
  };
167
173
 
@@ -32,7 +32,7 @@ sap.ui.define(['sap/m/library', 'sap/ui/core/library'],
32
32
  ],
33
33
  elements: [],
34
34
  noLibraryCSS: true,
35
- version: "1.96.25"
35
+ version: "1.96.26"
36
36
  });
37
37
 
38
38
  return sap.ndc;
@@ -30,3 +30,30 @@ BARCODE_DIALOG_BUSY_TITLE=Loading Libraries
30
30
 
31
31
  #XTXT: text of loading zxing-cpp in the scan bar busy dialog
32
32
  BARCODE_DIALOG_BUSY_TEXT_ZXINGCPP=Loading ZXing-cpp library...
33
+
34
+ #XMSG: error message for the stream of Camera
35
+ BARCODE_DIALOG_CAMERA_STREAM_ERROR_MSG=Unable to obtain stream.
36
+
37
+ #XMSG: error message for User Media
38
+ BARCODE_DIALOG_CAMERA_OTHER_ERROR_MSG=The getUserMedia method encountered an error. {0}
39
+
40
+ #XMSG: AbortError message for User Media
41
+ BARCODE_DIALOG_CAMERA_ABORTERROR_ERROR_MSG=AbortError: Device usage prevented by an issue.
42
+
43
+ #XMSG: NotAllowedError message for User Media
44
+ BARCODE_DIALOG_CAMERA_NOTALLOWEDERROR_ERROR_MSG=NotAllowedError: Permission denied.
45
+
46
+ #XMSG: NotFoundError message for User Media
47
+ BARCODE_DIALOG_CAMERA_NOTFOUNDERROR_ERROR_MSG=NotFoundError: Requested device not found.
48
+
49
+ #XMSG: NotReadableError message for User Media
50
+ BARCODE_DIALOG_CAMERA_NOTREADABLEERROR_ERROR_MSG=NotReadableError: Device in use.
51
+
52
+ #XMSG: OverconstrainedError message for User Media
53
+ BARCODE_DIALOG_CAMERA_OVERCONSTRAINEDERROR_ERROR_MSG=OverconstrainedError: Constraints could not be satisfied.
54
+
55
+ #XMSG: SecurityError message for User Media
56
+ BARCODE_DIALOG_CAMERA_SECURITYERROR_ERROR_MSG=SecurityError: User media support disabled on Document.
57
+
58
+ #XMSG: TypeError message for User Media
59
+ BARCODE_DIALOG_CAMERA_TYPEERROR_ERROR_MSG=TypeError: Empty constraint list or all constraints set to false, or getUserMedia method called in insecure context.
@@ -1,20 +1,59 @@
1
+ #This is the resource bundle for the sap.ndc library
2
+ #
1
3
 
4
+ #XTIT: title of the manual barcode input
2
5
  BARCODE_DIALOG_TITLE=\u0625\u062F\u062E\u0627\u0644 \u0634\u0631\u064A\u0637 \u0627\u0644\u0631\u0645\u0648\u0632
3
6
 
7
+ #XBUT: OK button in the manual barcode input dialog
4
8
  BARCODE_DIALOG_OK=\u0645\u0648\u0627\u0641\u0642
5
9
 
10
+ #XBUT: Cancel button in the manual barcode input dialog
6
11
  BARCODE_DIALOG_CANCEL=\u0625\u0644\u063A\u0627\u0621
7
12
 
13
+ #XFLD: Placeholder of the barcode input field
8
14
  BARCODE_DIALOG_PLACEHOLDER=\u0625\u062F\u062E\u0627\u0644 \u0634\u0631\u064A\u0637 \u0627\u0644\u0631\u0645\u0648\u0632
9
15
 
16
+ #YMSG: Message in the manual barcode input dialog
10
17
  BARCODE_DIALOG_MSG=\u0627\u0644\u0645\u0627\u0633\u062D \u0627\u0644\u0636\u0648\u0626\u064A \u063A\u064A\u0631 \u0645\u062A\u0648\u0641\u0631
11
18
 
19
+ #XMSG: error message for updating parameter of Camera
12
20
  BARCODE_DIALOG_CAMERA_UPDATE_PARAMETER_ERROR_MSG=\u0627\u0644\u0645\u0639\u0627\u0645\u0644 {0} \u062E\u0627\u0631\u062C \u0627\u0644\u0646\u0637\u0627\u0642.
13
21
 
22
+ #XTIT: title of the scan barcode dialog
14
23
  BARCODE_DIALOG_SCANNING_TITLE=\u0645\u0633\u062D \u0634\u0631\u064A\u0637 \u0627\u0644\u0631\u0645\u0648\u0632 \u0636\u0648\u0626\u064A\u064B\u0627
15
24
 
25
+ #XTOL: Barcode Scanner Button tooltip
16
26
  BARCODE_SCANNER_BUTTON_TOOLTIP=\u0632\u0631 \u0645\u0627\u0633\u062D \u0634\u0631\u064A\u0637 \u0627\u0644\u0631\u0645\u0648\u0632 \u0627\u0644\u0636\u0648\u0626\u064A
17
27
 
28
+ #XTIT: title of the scan bar busy dialog
18
29
  BARCODE_DIALOG_BUSY_TITLE=\u062C\u0627\u0631\u064D \u062A\u062D\u0645\u064A\u0644 \u0627\u0644\u0645\u0643\u062A\u0628\u0627\u062A
19
30
 
31
+ #XTXT: text of loading zxing-cpp in the scan bar busy dialog
20
32
  BARCODE_DIALOG_BUSY_TEXT_ZXINGCPP=\u062C\u0627\u0631\u064D \u062A\u062D\u0645\u064A\u0644 \u0645\u0643\u062A\u0628\u0629 ZXing-cpp...
33
+
34
+ #XMSG: error message for the stream of Camera
35
+ BARCODE_DIALOG_CAMERA_STREAM_ERROR_MSG=\u0644\u0627 \u064A\u0645\u0643\u0646 \u0627\u0644\u062D\u0635\u0648\u0644 \u0639\u0644\u0649 \u0627\u0644\u062A\u062F\u0641\u0642.
36
+
37
+ #XMSG: error message for User Media
38
+ BARCODE_DIALOG_CAMERA_OTHER_ERROR_MSG=\u0648\u0627\u062C\u0647 \u0627\u0644\u0623\u0633\u0644\u0648\u0628 getUserMedia \u062E\u0637\u0623. {0}
39
+
40
+ #XMSG: AbortError message for User Media
41
+ BARCODE_DIALOG_CAMERA_ABORTERROR_ERROR_MSG=AbortError\: \u062A\u0645 \u0645\u0646\u0639 \u0627\u0633\u062A\u062E\u062F\u0627\u0645 \u0627\u0644\u062C\u0647\u0627\u0632 \u0644\u0648\u062C\u0648\u062F \u0645\u0634\u0643\u0644\u0629.
42
+
43
+ #XMSG: NotAllowedError message for User Media
44
+ BARCODE_DIALOG_CAMERA_NOTALLOWEDERROR_ERROR_MSG=NotAllowedError\: \u062A\u0645 \u0631\u0641\u0636 \u0627\u0644\u0625\u0630\u0646.
45
+
46
+ #XMSG: NotFoundError message for User Media
47
+ BARCODE_DIALOG_CAMERA_NOTFOUNDERROR_ERROR_MSG=NotFoundError\: \u0644\u0645 \u064A\u062A\u0645 \u0627\u0644\u0639\u062B\u0648\u0631 \u0639\u0644\u0649 \u0627\u0644\u062C\u0647\u0627\u0632 \u0627\u0644\u0645\u0637\u0644\u0648\u0628.
48
+
49
+ #XMSG: NotReadableError message for User Media
50
+ BARCODE_DIALOG_CAMERA_NOTREADABLEERROR_ERROR_MSG=NotReadableError\: \u0627\u0644\u062C\u0647\u0627\u0632 \u0642\u064A\u062F \u0627\u0644\u0627\u0633\u062A\u062E\u062F\u0627\u0645.
51
+
52
+ #XMSG: OverconstrainedError message for User Media
53
+ BARCODE_DIALOG_CAMERA_OVERCONSTRAINEDERROR_ERROR_MSG=OverconstrainedError\: \u062A\u0639\u0630\u0631 \u0627\u0633\u062A\u064A\u0641\u0627\u0621 \u0627\u0644\u0642\u064A\u0648\u062F.
54
+
55
+ #XMSG: SecurityError message for User Media
56
+ BARCODE_DIALOG_CAMERA_SECURITYERROR_ERROR_MSG=SecurityError\: \u062A\u0645 \u062A\u0639\u0637\u064A\u0644 \u062F\u0639\u0645 \u0648\u0633\u0627\u0626\u0637 \u0627\u0644\u0645\u0633\u062A\u062E\u062F\u0645 \u0641\u064A \u0627\u0644\u0645\u0633\u062A\u0646\u062F.
57
+
58
+ #XMSG: TypeError message for User Media
59
+ BARCODE_DIALOG_CAMERA_TYPEERROR_ERROR_MSG=TypeError\: \u0642\u0627\u0626\u0645\u0629 \u0627\u0644\u0642\u064A\u0648\u062F \u0641\u0627\u0631\u063A\u0629 \u0623\u0648 \u062A\u0645 \u062A\u0639\u064A\u064A\u0646 \u062C\u0645\u064A\u0639 \u0627\u0644\u0642\u064A\u0648\u062F \u0639\u0644\u0649 "\u062E\u0637\u0623"\u060C \u0623\u0648 \u062A\u0645 \u0627\u0633\u062A\u062F\u0639\u0627\u0621 \u0627\u0644\u0623\u0633\u0644\u0648\u0628 getUserMedia \u0641\u064A \u0633\u064A\u0627\u0642 \u063A\u064A\u0631 \u0622\u0645\u0646.
@@ -1,20 +1,59 @@
1
+ #This is the resource bundle for the sap.ndc library
2
+ #
1
3
 
4
+ #XTIT: title of the manual barcode input
2
5
  BARCODE_DIALOG_TITLE=\u0412\u044A\u0432\u0435\u0436\u0434\u0430\u043D\u0435 \u043D\u0430 \u0431\u0430\u0440\u043A\u043E\u0434
3
6
 
7
+ #XBUT: OK button in the manual barcode input dialog
4
8
  BARCODE_DIALOG_OK=OK
5
9
 
10
+ #XBUT: Cancel button in the manual barcode input dialog
6
11
  BARCODE_DIALOG_CANCEL=\u041E\u0442\u043A\u0430\u0437
7
12
 
13
+ #XFLD: Placeholder of the barcode input field
8
14
  BARCODE_DIALOG_PLACEHOLDER=\u0412\u044A\u0432\u0435\u0436\u0434\u0430\u043D\u0435 \u043D\u0430 \u0431\u0430\u0440\u043A\u043E\u0434
9
15
 
16
+ #YMSG: Message in the manual barcode input dialog
10
17
  BARCODE_DIALOG_MSG=\u0421\u043A\u0435\u043D\u0435\u0440 \u043D\u0435 \u0435 \u0434\u043E\u0441\u0442\u044A\u043F\u0435\u043D
11
18
 
19
+ #XMSG: error message for updating parameter of Camera
12
20
  BARCODE_DIALOG_CAMERA_UPDATE_PARAMETER_ERROR_MSG=\u041F\u0430\u0440\u0430\u043C\u0435\u0442\u044A\u0440 {0} \u0435 \u0438\u0437\u0432\u044A\u043D \u0434\u0438\u0430\u043F\u0430\u0437\u043E\u043D\u0430.
13
21
 
22
+ #XTIT: title of the scan barcode dialog
14
23
  BARCODE_DIALOG_SCANNING_TITLE=\u0421\u043A\u0430\u043D\u0438\u0440\u0430\u043D\u0435 \u0431\u0430\u0440\u043A\u043E\u0434
15
24
 
25
+ #XTOL: Barcode Scanner Button tooltip
16
26
  BARCODE_SCANNER_BUTTON_TOOLTIP=\u0411\u0443\u0442\u043E\u043D \u0437\u0430 \u0441\u043A\u0430\u043D\u0438\u0440\u0430\u043D\u0435 \u043D\u0430 \u0431\u0430\u0440\u043A\u043E\u0434
17
27
 
28
+ #XTIT: title of the scan bar busy dialog
18
29
  BARCODE_DIALOG_BUSY_TITLE=\u0417\u0430\u0440\u0435\u0436\u0434\u0430\u043D\u0435 \u043D\u0430 \u0431\u0438\u0431\u043B\u0438\u043E\u0442\u0435\u043A\u0438
19
30
 
31
+ #XTXT: text of loading zxing-cpp in the scan bar busy dialog
20
32
  BARCODE_DIALOG_BUSY_TEXT_ZXINGCPP=\u0417\u0430\u0440\u0435\u0436\u0434\u0430\u043D\u0435 \u043D\u0430 \u0431\u0438\u0431\u043B\u0438\u043E\u0442\u0435\u043A\u0430 ZXing-cpp...
33
+
34
+ #XMSG: error message for the stream of Camera
35
+ BARCODE_DIALOG_CAMERA_STREAM_ERROR_MSG=\u041D\u0435 \u0435 \u0432\u044A\u0437\u043C\u043E\u0436\u043D\u043E \u0434\u0430 \u0441\u0435 \u043F\u043E\u043B\u0443\u0447\u0438 \u043F\u043E\u0442\u043E\u043A\u0430.
36
+
37
+ #XMSG: error message for User Media
38
+ BARCODE_DIALOG_CAMERA_OTHER_ERROR_MSG=\u0412\u044A\u0437\u043D\u0438\u043A\u043D\u0430 \u0433\u0440\u0435\u0448\u043A\u0430 \u0437\u0430 \u043C\u0435\u0442\u043E\u0434\u0430 getUserMedia. {0}
39
+
40
+ #XMSG: AbortError message for User Media
41
+ BARCODE_DIALOG_CAMERA_ABORTERROR_ERROR_MSG=AbortError\: \u041F\u0440\u043E\u0431\u043B\u0435\u043C \u043F\u0440\u0435\u0447\u0438 \u043D\u0430 \u0438\u0437\u043F\u043E\u043B\u0437\u0432\u0430\u043D\u0435\u0442\u043E \u043D\u0430 \u0443\u0441\u0442\u0440\u043E\u0439\u0441\u0442\u0432\u043E\u0442\u043E.
42
+
43
+ #XMSG: NotAllowedError message for User Media
44
+ BARCODE_DIALOG_CAMERA_NOTALLOWEDERROR_ERROR_MSG=NotAllowedError\: \u0420\u0430\u0437\u0440\u0435\u0448\u0435\u043D\u0438\u0435\u0442\u043E \u0435 \u043E\u0442\u043A\u0430\u0437\u0430\u043D\u043E.
45
+
46
+ #XMSG: NotFoundError message for User Media
47
+ BARCODE_DIALOG_CAMERA_NOTFOUNDERROR_ERROR_MSG=NotFoundError\: \u0422\u044A\u0440\u0441\u0435\u043D\u043E\u0442\u043E \u0443\u0441\u0442\u0440\u043E\u0439\u0441\u0442\u0432\u043E \u043D\u0435 \u0435 \u043D\u0430\u043C\u0435\u0440\u0435\u043D\u043E.
48
+
49
+ #XMSG: NotReadableError message for User Media
50
+ BARCODE_DIALOG_CAMERA_NOTREADABLEERROR_ERROR_MSG=NotReadableError\: \u0423\u0441\u0442\u0440\u043E\u0439\u0441\u0442\u0432\u043E\u0442\u043E \u0441\u0435 \u0438\u0437\u043F\u043E\u043B\u0437\u0432\u0430.
51
+
52
+ #XMSG: OverconstrainedError message for User Media
53
+ BARCODE_DIALOG_CAMERA_OVERCONSTRAINEDERROR_ERROR_MSG=OverconstrainedError\: \u041E\u0433\u0440\u0430\u043D\u0438\u0447\u0435\u043D\u0438\u044F\u0442\u0430 \u043D\u0435 \u0441\u0430 \u0441\u043F\u0430\u0437\u0435\u043D\u0438.
54
+
55
+ #XMSG: SecurityError message for User Media
56
+ BARCODE_DIALOG_CAMERA_SECURITYERROR_ERROR_MSG=SecurityError\: \u041F\u043E\u0434\u0434\u0440\u044A\u0436\u043A\u0430\u0442\u0430 \u043D\u0430 \u043F\u043E\u0442\u0440\u0435\u0431\u0438\u0442\u0435\u043B\u0441\u043A\u0438 \u043C\u0435\u0434\u0438\u0438 \u0435 \u0434\u0435\u0437\u0430\u043A\u0442\u0438\u0432\u0438\u0440\u0430\u043D\u0430 \u0432 \u0434\u043E\u043A\u0443\u043C\u0435\u043D\u0442\u0430.
57
+
58
+ #XMSG: TypeError message for User Media
59
+ BARCODE_DIALOG_CAMERA_TYPEERROR_ERROR_MSG=TypeError\: \u041F\u0440\u0430\u0437\u0435\u043D \u0441\u043F\u0438\u0441\u044A\u043A \u0441 \u043E\u0433\u0440\u0430\u043D\u0438\u0447\u0435\u043D\u0438\u044F \u0438\u043B\u0438 \u0437\u0430 \u0432\u0441\u0438\u0447\u043A\u0438 \u043E\u0433\u0440\u0430\u043D\u0438\u0447\u0435\u043D\u0438\u044F \u0435 \u0437\u0430\u0434\u0430\u0434\u0435\u043D\u043E \u201E\u041D\u0435\u0432\u044F\u0440\u043D\u043E\u201D, \u0438\u043B\u0438 \u043C\u0435\u0442\u043E\u0434\u044A\u0442 getUserMedia \u0435 \u0438\u0437\u0432\u0438\u043A\u0430\u043D \u0432 \u043D\u0435\u0441\u0438\u0433\u0443\u0440\u0435\u043D \u043A\u043E\u043D\u0442\u0435\u043A\u0441\u0442.
@@ -1,20 +1,59 @@
1
+ #This is the resource bundle for the sap.ndc library
2
+ #
1
3
 
4
+ #XTIT: title of the manual barcode input
2
5
  BARCODE_DIALOG_TITLE=Introduir codi de barres
3
6
 
7
+ #XBUT: OK button in the manual barcode input dialog
4
8
  BARCODE_DIALOG_OK=D'acord
5
9
 
10
+ #XBUT: Cancel button in the manual barcode input dialog
6
11
  BARCODE_DIALOG_CANCEL=Cancel\u00B7lar
7
12
 
13
+ #XFLD: Placeholder of the barcode input field
8
14
  BARCODE_DIALOG_PLACEHOLDER=Introdu\u00EFr codi de barres
9
15
 
16
+ #YMSG: Message in the manual barcode input dialog
10
17
  BARCODE_DIALOG_MSG=L'esc\u00E0ner no est\u00E0 disponible
11
18
 
19
+ #XMSG: error message for updating parameter of Camera
12
20
  BARCODE_DIALOG_CAMERA_UPDATE_PARAMETER_ERROR_MSG=El par\u00E0metre {0} est\u00E0 fora de l''interval.
13
21
 
22
+ #XTIT: title of the scan barcode dialog
14
23
  BARCODE_DIALOG_SCANNING_TITLE=Escanejar codi de barres
15
24
 
25
+ #XTOL: Barcode Scanner Button tooltip
16
26
  BARCODE_SCANNER_BUTTON_TOOLTIP=Bot\u00F3 d'esc\u00E0ner de codis de barres
17
27
 
28
+ #XTIT: title of the scan bar busy dialog
18
29
  BARCODE_DIALOG_BUSY_TITLE=Carregant biblioteques
19
30
 
31
+ #XTXT: text of loading zxing-cpp in the scan bar busy dialog
20
32
  BARCODE_DIALOG_BUSY_TEXT_ZXINGCPP=S'est\u00E0 carregant la biblioteca ZXing-cpp...
33
+
34
+ #XMSG: error message for the stream of Camera
35
+ BARCODE_DIALOG_CAMERA_STREAM_ERROR_MSG=No es pot obtenir el flux.
36
+
37
+ #XMSG: error message for User Media
38
+ BARCODE_DIALOG_CAMERA_OTHER_ERROR_MSG=El m\u00E8tode getUserMedia ha detectat un error. {0}
39
+
40
+ #XMSG: AbortError message for User Media
41
+ BARCODE_DIALOG_CAMERA_ABORTERROR_ERROR_MSG=AbortError\: Un problema ha evitat l'\u00FAs del dispositiu.
42
+
43
+ #XMSG: NotAllowedError message for User Media
44
+ BARCODE_DIALOG_CAMERA_NOTALLOWEDERROR_ERROR_MSG=NotAllowedError\: Perm\u00EDs denegat.
45
+
46
+ #XMSG: NotFoundError message for User Media
47
+ BARCODE_DIALOG_CAMERA_NOTFOUNDERROR_ERROR_MSG=NotFoundError\: El dispositiu sol\u00B7licitat no existeix.
48
+
49
+ #XMSG: NotReadableError message for User Media
50
+ BARCODE_DIALOG_CAMERA_NOTREADABLEERROR_ERROR_MSG=NotReadableError\: Dispositiu en \u00FAs.
51
+
52
+ #XMSG: OverconstrainedError message for User Media
53
+ BARCODE_DIALOG_CAMERA_OVERCONSTRAINEDERROR_ERROR_MSG=OverconstrainedError\: No s'han pogut complir les restriccions.
54
+
55
+ #XMSG: SecurityError message for User Media
56
+ BARCODE_DIALOG_CAMERA_SECURITYERROR_ERROR_MSG=SecurityError\: El suport de mitjans de l'usuari est\u00E0 desactivat al document.
57
+
58
+ #XMSG: TypeError message for User Media
59
+ BARCODE_DIALOG_CAMERA_TYPEERROR_ERROR_MSG=TypeError\: La llista de restriccions buida o totes les restriccions estan definides com a falses; o, s'ha cridat al m\u00E8tode getUserMedia en un context no segur.
@@ -1,20 +1,59 @@
1
+ #This is the resource bundle for the sap.ndc library
2
+ #
1
3
 
4
+ #XTIT: title of the manual barcode input
2
5
  BARCODE_DIALOG_TITLE=Zadejte \u010D\u00E1rov\u00FD k\u00F3d
3
6
 
7
+ #XBUT: OK button in the manual barcode input dialog
4
8
  BARCODE_DIALOG_OK=OK
5
9
 
10
+ #XBUT: Cancel button in the manual barcode input dialog
6
11
  BARCODE_DIALOG_CANCEL=Zru\u0161it
7
12
 
13
+ #XFLD: Placeholder of the barcode input field
8
14
  BARCODE_DIALOG_PLACEHOLDER=Zadejte \u010D\u00E1rov\u00FD k\u00F3d
9
15
 
16
+ #YMSG: Message in the manual barcode input dialog
10
17
  BARCODE_DIALOG_MSG=Skener nen\u00ED k dispozici
11
18
 
19
+ #XMSG: error message for updating parameter of Camera
12
20
  BARCODE_DIALOG_CAMERA_UPDATE_PARAMETER_ERROR_MSG=Parametr {0} je mimo rozsah.
13
21
 
22
+ #XTIT: title of the scan barcode dialog
14
23
  BARCODE_DIALOG_SCANNING_TITLE=Skenovat \u010D\u00E1rov\u00FD k\u00F3d
15
24
 
25
+ #XTOL: Barcode Scanner Button tooltip
16
26
  BARCODE_SCANNER_BUTTON_TOOLTIP=Tla\u010D\u00EDtko skenov\u00E1n\u00ED \u010D\u00E1rov\u00E9ho k\u00F3du
17
27
 
28
+ #XTIT: title of the scan bar busy dialog
18
29
  BARCODE_DIALOG_BUSY_TITLE=Zav\u00E1d\u011Bn\u00ED knihoven
19
30
 
31
+ #XTXT: text of loading zxing-cpp in the scan bar busy dialog
20
32
  BARCODE_DIALOG_BUSY_TEXT_ZXINGCPP=Zav\u00E1d\u011Bn\u00ED knihovny ZXing-cpp...
33
+
34
+ #XMSG: error message for the stream of Camera
35
+ BARCODE_DIALOG_CAMERA_STREAM_ERROR_MSG=Nelze z\u00EDskat datov\u00FD proud
36
+
37
+ #XMSG: error message for User Media
38
+ BARCODE_DIALOG_CAMERA_OTHER_ERROR_MSG=Metoda getUserMedia narazila na chybu. {0}
39
+
40
+ #XMSG: AbortError message for User Media
41
+ BARCODE_DIALOG_CAMERA_ABORTERROR_ERROR_MSG=AbortError\: Pou\u017Eit\u00ED za\u0159\u00EDzen\u00ED br\u00E1n\u00ED probl\u00E9m.
42
+
43
+ #XMSG: NotAllowedError message for User Media
44
+ BARCODE_DIALOG_CAMERA_NOTALLOWEDERROR_ERROR_MSG=NotAllowedError\: Povolen\u00ED bylo odep\u0159eno.
45
+
46
+ #XMSG: NotFoundError message for User Media
47
+ BARCODE_DIALOG_CAMERA_NOTFOUNDERROR_ERROR_MSG=NotFoundError\: Po\u017Eadovan\u00E9 za\u0159\u00EDzen\u00ED nenalezeno.
48
+
49
+ #XMSG: NotReadableError message for User Media
50
+ BARCODE_DIALOG_CAMERA_NOTREADABLEERROR_ERROR_MSG=NotReadableError\: Za\u0159\u00EDzen\u00ED se pou\u017E\u00EDv\u00E1.
51
+
52
+ #XMSG: OverconstrainedError message for User Media
53
+ BARCODE_DIALOG_CAMERA_OVERCONSTRAINEDERROR_ERROR_MSG=OverconstrainedError\: Omezen\u00ED nelze splnit.
54
+
55
+ #XMSG: SecurityError message for User Media
56
+ BARCODE_DIALOG_CAMERA_SECURITYERROR_ERROR_MSG=SecurityError\: Podpora u\u017Eivatelsk\u00FDch m\u00E9di\u00ED je v dokumentu zak\u00E1z\u00E1na.
57
+
58
+ #XMSG: TypeError message for User Media
59
+ BARCODE_DIALOG_CAMERA_TYPEERROR_ERROR_MSG=TypeError\: Pr\u00E1zdn\u00FD seznam omezen\u00ED nebo v\u0161echna omezen\u00ED nastavena na false, nebo metoda getUserMedia vyvol\u00E1na v nezabezpe\u010Den\u00E9m kontextu.
@@ -1,20 +1,59 @@
1
+ #This is the resource bundle for the sap.ndc library
2
+ #
1
3
 
4
+ #XTIT: title of the manual barcode input
2
5
  BARCODE_DIALOG_TITLE=Rhowch God Bar
3
6
 
7
+ #XBUT: OK button in the manual barcode input dialog
4
8
  BARCODE_DIALOG_OK=Iawn
5
9
 
10
+ #XBUT: Cancel button in the manual barcode input dialog
6
11
  BARCODE_DIALOG_CANCEL=Canslo
7
12
 
13
+ #XFLD: Placeholder of the barcode input field
8
14
  BARCODE_DIALOG_PLACEHOLDER=Rhowch god bar
9
15
 
16
+ #YMSG: Message in the manual barcode input dialog
10
17
  BARCODE_DIALOG_MSG=Dydy\u2019r sganiwr ddim ar gael
11
18
 
19
+ #XMSG: error message for updating parameter of Camera
12
20
  BARCODE_DIALOG_CAMERA_UPDATE_PARAMETER_ERROR_MSG=Dydy paramedr {0} ddim yn yr ystod.
13
21
 
22
+ #XTIT: title of the scan barcode dialog
14
23
  BARCODE_DIALOG_SCANNING_TITLE=Sganio Cod Bar
15
24
 
25
+ #XTOL: Barcode Scanner Button tooltip
16
26
  BARCODE_SCANNER_BUTTON_TOOLTIP=Botwm Sganiwr Cod Bar
17
27
 
28
+ #XTIT: title of the scan bar busy dialog
18
29
  BARCODE_DIALOG_BUSY_TITLE=Wrthi'n Llwytho Llyfrgelloedd
19
30
 
31
+ #XTXT: text of loading zxing-cpp in the scan bar busy dialog
20
32
  BARCODE_DIALOG_BUSY_TEXT_ZXINGCPP=Wrthi'n llwytho llyfrgell ZXing-cpp...
33
+
34
+ #XMSG: error message for the stream of Camera
35
+ BARCODE_DIALOG_CAMERA_STREAM_ERROR_MSG=Methu cael ffrwd.
36
+
37
+ #XMSG: error message for User Media
38
+ BARCODE_DIALOG_CAMERA_OTHER_ERROR_MSG=Gwall wedi digwydd gyda dull getUserMedia. {0}
39
+
40
+ #XMSG: AbortError message for User Media
41
+ BARCODE_DIALOG_CAMERA_ABORTERROR_ERROR_MSG=AbortError\: Problem wedi atal defnydd dyfais.
42
+
43
+ #XMSG: NotAllowedError message for User Media
44
+ BARCODE_DIALOG_CAMERA_NOTALLOWEDERROR_ERROR_MSG=NotAllowedError\: Hawl wedi'i gwrthod.
45
+
46
+ #XMSG: NotFoundError message for User Media
47
+ BARCODE_DIALOG_CAMERA_NOTFOUNDERROR_ERROR_MSG=NotFoundError\: Heb ddod o hyd i'r ddyfais y gofynnwyd amdani.
48
+
49
+ #XMSG: NotReadableError message for User Media
50
+ BARCODE_DIALOG_CAMERA_NOTREADABLEERROR_ERROR_MSG=NotReadableError\: Dyfais yn cael ei defnyddio.
51
+
52
+ #XMSG: OverconstrainedError message for User Media
53
+ BARCODE_DIALOG_CAMERA_OVERCONSTRAINEDERROR_ERROR_MSG=OverconstrainedError\: Doedd dim modd bodloni cyfyngiadau.
54
+
55
+ #XMSG: SecurityError message for User Media
56
+ BARCODE_DIALOG_CAMERA_SECURITYERROR_ERROR_MSG=SecurityError\: Cymorth cyfryngau i ddefnyddiwr wedi'i analluogi ar ddogfen.
57
+
58
+ #XMSG: TypeError message for User Media
59
+ BARCODE_DIALOG_CAMERA_TYPEERROR_ERROR_MSG=TypeError\: Rhestr gyfyngiadau wag neu mae'r holl gyfyngiadau wedi'u gosod i gau, neu mae dull getUserMedia wedi galw cyd-destun anniogel.