@monkvision/camera-web 5.1.8 → 5.2.0

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.
package/lib/i18n.js CHANGED
@@ -9,6 +9,7 @@ var en_json_1 = __importDefault(require("./translations/en.json"));
9
9
  var fr_json_1 = __importDefault(require("./translations/fr.json"));
10
10
  var de_json_1 = __importDefault(require("./translations/de.json"));
11
11
  var nl_json_1 = __importDefault(require("./translations/nl.json"));
12
+ var it_json_1 = __importDefault(require("./translations/it.json"));
12
13
  /**
13
14
  * i18n instance of the Camera package. You can use this instance to automatically sync your application current
14
15
  * language with the one used by the components of the package.
@@ -19,5 +20,6 @@ exports.i18nCamera = (0, common_1.i18nCreateSDKInstance)({
19
20
  fr: { translation: fr_json_1.default },
20
21
  de: { translation: de_json_1.default },
21
22
  nl: { translation: nl_json_1.default },
23
+ it: { translation: it_json_1.default },
22
24
  },
23
25
  });
@@ -0,0 +1,3 @@
1
+ {
2
+ "retry": "Riprova"
3
+ }
@@ -14,6 +14,7 @@ function getCameraErrorLabel(error) {
14
14
  fr: "L'apperçu de la caméra n'est pas disponible car l'accès à la caméra n'est pas autorisé.",
15
15
  de: 'Die Kameravorschau ist nicht verfügbar, da für die Seite kein Kamerazugriff gewährt wurde.',
16
16
  nl: 'De cameravoorbeeld is niet beschikbaar omdat er geen toegang tot de camera is verleend aan de pagina.',
17
+ it: "L'anteprima della fotocamera non è disponibile perché l'accesso alla fotocamera non è stato concesso alla pagina.",
17
18
  };
18
19
  case Camera_1.UserMediaErrorType.WEBPAGE_NOT_ALLOWED:
19
20
  return {
@@ -21,6 +22,7 @@ function getCameraErrorLabel(error) {
21
22
  fr: "Impossible d'accéder à la caméra. Veuillez vous assurer d'appuyer sur “Autoriser” lorsqu'on vous propose d'autoriser l'accès à la caméra pour cette page web.",
22
23
  de: 'Die Kamera kann nicht zugelassen werden. Stellen Sie sicher, dass Sie auf „Zulassen“ drücken, wenn Sie aufgefordert werden, die Kamera für diese Webseite zuzulassen.',
23
24
  nl: 'Kan geen toestemming krijgen voor de camera. Zorg ervoor dat u op “Toestaan” drukt wanneer u wordt gevraagd om toestemming te geven voor het gebruik van de camera op deze webpagina.',
25
+ it: 'Impossibile ottenere l\'accesso alla fotocamera. Assicurati di premere "Consenti" quando ti viene chiesto di concedere il permesso di utilizzare la fotocamera per questa pagina web.',
24
26
  };
25
27
  case Camera_1.UserMediaErrorType.BROWSER_NOT_ALLOWED:
26
28
  return {
@@ -28,6 +30,7 @@ function getCameraErrorLabel(error) {
28
30
  fr: "Impossible d'accéder à la caméra. Veuillez vous assurer d'autoriser l'accès à la caméra pour ce navigateur internet dans les paramètres de votre téléphone.",
29
31
  de: 'Der Zugriff auf die Kamera ist nicht möglich. Stellen Sie sicher, dass Sie in den Einstellungen Ihres Geräts den Kamerazugriff für Ihren aktuellen Internetbrowser zulassen.',
30
32
  nl: 'Kan geen cameratoegang krijgen. Zorg ervoor dat u de camera toegang verleent tot uw huidige internet browser in de instellingen van uw apparaat.',
33
+ it: "Impossibile ottenere l'accesso alla fotocamera. Assicurati di concedere l'accesso alla fotocamera al tuo browser internet corrente nelle impostazioni del tuo dispositivo.",
31
34
  };
32
35
  case Camera_1.UserMediaErrorType.STREAM_INACTIVE:
33
36
  return {
@@ -35,6 +38,7 @@ function getCameraErrorLabel(error) {
35
38
  fr: 'Le flux vidéo de la caméra a été coupé de manière inattendue.',
36
39
  de: 'Der Video-Stream der Kamera wurde unerwartet geschlossen.',
37
40
  nl: 'De videostream van de camera is onverwacht gesloten.',
41
+ it: 'Il flusso video della fotocamera è stato chiuso inaspettatamente.',
38
42
  };
39
43
  case Camera_1.UserMediaErrorType.INVALID_STREAM:
40
44
  return {
@@ -42,6 +46,7 @@ function getCameraErrorLabel(error) {
42
46
  fr: 'Impossible de traiter le flux vidéo de la caméra.',
43
47
  de: 'Der Videostrom der Kamera kann nicht verarbeitet werden.',
44
48
  nl: 'De videostream van de camera kan niet worden verwerkt.',
49
+ it: 'Impossibile elaborare il flusso video della fotocamera.',
45
50
  };
46
51
  default:
47
52
  return {
@@ -49,6 +54,7 @@ function getCameraErrorLabel(error) {
49
54
  fr: 'Une erreur inattendue est survenue lors de la récupération du flux vidéo de la caméra.',
50
55
  de: 'Beim Abrufen des Kamera-Videostreams ist ein unerwarteter Fehler aufgetreten.',
51
56
  nl: 'Er is een onverwachte fout opgetreden bij het ophalen van de videostream van de camera.',
57
+ it: 'Si è verificato un errore imprevisto durante il recupero del flusso video della fotocamera.',
52
58
  };
53
59
  }
54
60
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@monkvision/camera-web",
3
- "version": "5.1.8",
3
+ "version": "5.2.0",
4
4
  "license": "BSD-3-Clause-Clear",
5
5
  "packageManager": "yarn@3.2.4",
6
6
  "description": "MonkJs camera package for React (web) used to display a camera preview and take pictures",
@@ -28,9 +28,9 @@
28
28
  "lint:fix": "yarn run prettier:fix && yarn run eslint:fix"
29
29
  },
30
30
  "dependencies": {
31
- "@monkvision/common": "5.1.8",
32
- "@monkvision/common-ui-web": "5.1.8",
33
- "@monkvision/monitoring": "5.1.8",
31
+ "@monkvision/common": "5.2.0",
32
+ "@monkvision/common-ui-web": "5.2.0",
33
+ "@monkvision/monitoring": "5.2.0",
34
34
  "fast-deep-equal": "^3.1.3",
35
35
  "i18next": "^23.4.5",
36
36
  "react-i18next": "^13.2.0"
@@ -42,13 +42,13 @@
42
42
  "react-router-dom": "^6.22.3"
43
43
  },
44
44
  "devDependencies": {
45
- "@monkvision/eslint-config-base": "5.1.8",
46
- "@monkvision/eslint-config-typescript": "5.1.8",
47
- "@monkvision/eslint-config-typescript-react": "5.1.8",
48
- "@monkvision/jest-config": "5.1.8",
49
- "@monkvision/prettier-config": "5.1.8",
50
- "@monkvision/test-utils": "5.1.8",
51
- "@monkvision/typescript-config": "5.1.8",
45
+ "@monkvision/eslint-config-base": "5.2.0",
46
+ "@monkvision/eslint-config-typescript": "5.2.0",
47
+ "@monkvision/eslint-config-typescript-react": "5.2.0",
48
+ "@monkvision/jest-config": "5.2.0",
49
+ "@monkvision/prettier-config": "5.2.0",
50
+ "@monkvision/test-utils": "5.2.0",
51
+ "@monkvision/typescript-config": "5.2.0",
52
52
  "@testing-library/react": "^12.1.5",
53
53
  "@testing-library/react-hooks": "^8.0.1",
54
54
  "@types/fscreen": "^1.0.1",
@@ -90,5 +90,5 @@
90
90
  "url": "https://github.com/monkvision/monkjs/issues"
91
91
  },
92
92
  "homepage": "https://github.com/monkvision/monkjs",
93
- "gitHead": "ce18560b389d2fd97602f0730c96872f5ff93421"
93
+ "gitHead": "5380665942c8c075485142183e431996657e70d1"
94
94
  }