html5-qrcode--fr
Advanced tools
Comparing version 2.3.8 to 2.3.9
@@ -0,1 +1,2 @@ | ||
"use strict"; | ||
@@ -5,139 +6,158 @@ Object.defineProperty(exports, "__esModule", { value: true }); | ||
var Html5QrcodeStrings = (function () { | ||
function Html5QrcodeStrings() { | ||
} | ||
Html5QrcodeStrings.codeParseError = function (exception) { | ||
return "QR code parse error, error = ".concat(exception); | ||
}; | ||
Html5QrcodeStrings.errorGettingUserMedia = function (error) { | ||
return "Error getting userMedia, error = ".concat(error); | ||
}; | ||
Html5QrcodeStrings.onlyDeviceSupportedError = function () { | ||
return "The device doesn't support navigator.mediaDevices , only " | ||
+ "supported cameraIdOrConfig in this case is deviceId parameter " | ||
+ "(string)."; | ||
}; | ||
Html5QrcodeStrings.cameraStreamingNotSupported = function () { | ||
return "Camera streaming not supported by the browser."; | ||
}; | ||
Html5QrcodeStrings.unableToQuerySupportedDevices = function () { | ||
return "Unable to query supported devices, unknown error."; | ||
}; | ||
Html5QrcodeStrings.insecureContextCameraQueryError = function () { | ||
return "Camera access is only supported in secure context like https " | ||
+ "or localhost."; | ||
}; | ||
Html5QrcodeStrings.scannerPaused = function () { | ||
return "Scanner paused"; | ||
}; | ||
return Html5QrcodeStrings; | ||
function Html5QrcodeStrings() { | ||
} | ||
Html5QrcodeStrings.codeParseError = function (exception) { | ||
return "Erreur d'analyse du code QR, erreur = ".concat(exception); | ||
}; | ||
Html5QrcodeStrings.errorGettingUserMedia = function (error) { | ||
return "Erreur lors de l'obtention des données de l'utilisateur, erreur = ".concat(error); | ||
}; | ||
Html5QrcodeStrings.onlyDeviceSupportedError = function () { | ||
return "Le périphérique ne prend pas en charge navigator.mediaDevices, seul " | ||
+ "le paramètre cameraIdOrConfig pris en charge dans ce cas est le paramètre " | ||
+ "deviceId (chaîne de caractères)."; | ||
}; | ||
Html5QrcodeStrings.cameraStreamingNotSupported = function () { | ||
return "La diffusion en continu de la caméra n'est pas prise en charge par le navigateur."; | ||
}; | ||
Html5QrcodeStrings.unableToQuerySupportedDevices = function () { | ||
return "Impossible de interroger les périphériques pris en charge, erreur inconnue."; | ||
}; | ||
Html5QrcodeStrings.insecureContextCameraQueryError = function () { | ||
return "L'accès à la caméra est uniquement pris en charge dans un contexte sécurisé comme https " | ||
+ "ou localhost."; | ||
}; | ||
Html5QrcodeStrings.scannerPaused = function () { | ||
return "Lecteur en pause"; | ||
}; | ||
return Html5QrcodeStrings; | ||
}()); | ||
exports.Html5QrcodeStrings = Html5QrcodeStrings; | ||
var Html5QrcodeScannerStrings = (function () { | ||
function Html5QrcodeScannerStrings() { | ||
} | ||
Html5QrcodeScannerStrings.scanningStatus = function () { | ||
return "Scanning"; | ||
}; | ||
Html5QrcodeScannerStrings.idleStatus = function () { | ||
return "Idle"; | ||
}; | ||
Html5QrcodeScannerStrings.errorStatus = function () { | ||
return "Error"; | ||
}; | ||
Html5QrcodeScannerStrings.permissionStatus = function () { | ||
return "Permission"; | ||
}; | ||
Html5QrcodeScannerStrings.noCameraFoundErrorStatus = function () { | ||
return "No Cameras"; | ||
}; | ||
Html5QrcodeScannerStrings.lastMatch = function (decodedText) { | ||
return "Last Match: ".concat(decodedText); | ||
}; | ||
Html5QrcodeScannerStrings.codeScannerTitle = function () { | ||
return "Code Scanner"; | ||
}; | ||
Html5QrcodeScannerStrings.cameraPermissionTitle = function () { | ||
return "Request CameraTT Permissions"; | ||
}; | ||
Html5QrcodeScannerStrings.cameraPermissionRequesting = function () { | ||
return "Requesting camera permissions..."; | ||
}; | ||
Html5QrcodeScannerStrings.noCameraFound = function () { | ||
return "No camera found"; | ||
}; | ||
Html5QrcodeScannerStrings.scanButtonStopScanningText = function () { | ||
return "Stop Scanning"; | ||
}; | ||
Html5QrcodeScannerStrings.scanButtonStartScanningText = function () { | ||
return "Start Scanning"; | ||
}; | ||
Html5QrcodeScannerStrings.torchOnButton = function () { | ||
return "Switch On Torch"; | ||
}; | ||
Html5QrcodeScannerStrings.torchOffButton = function () { | ||
return "Switch Off Torch"; | ||
}; | ||
Html5QrcodeScannerStrings.torchOnFailedMessage = function () { | ||
return "Failed to turn on torch"; | ||
}; | ||
Html5QrcodeScannerStrings.torchOffFailedMessage = function () { | ||
return "Failed to turn off torch"; | ||
}; | ||
Html5QrcodeScannerStrings.scanButtonScanningStarting = function () { | ||
return "Launching Camera..."; | ||
}; | ||
Html5QrcodeScannerStrings.textIfCameraScanSelected = function () { | ||
return "Scan an Image File"; | ||
}; | ||
Html5QrcodeScannerStrings.textIfFileScanSelected = function () { | ||
return "Scan using camera directly"; | ||
}; | ||
Html5QrcodeScannerStrings.selectCamera = function () { | ||
return "Select Camera"; | ||
}; | ||
Html5QrcodeScannerStrings.fileSelectionChooseImage = function () { | ||
return "Choose Image"; | ||
}; | ||
Html5QrcodeScannerStrings.fileSelectionChooseAnother = function () { | ||
return "Choose Another"; | ||
}; | ||
Html5QrcodeScannerStrings.fileSelectionNoImageSelected = function () { | ||
return "No image choosen"; | ||
}; | ||
Html5QrcodeScannerStrings.anonymousCameraPrefix = function () { | ||
return "Anonymous Camera"; | ||
}; | ||
Html5QrcodeScannerStrings.dragAndDropMessage = function () { | ||
return "Or drop an image to scan"; | ||
}; | ||
Html5QrcodeScannerStrings.dragAndDropMessageOnlyImages = function () { | ||
return "Or drop an image to scan (other files not supported)"; | ||
}; | ||
Html5QrcodeScannerStrings.zoom = function () { | ||
return "zoom"; | ||
}; | ||
Html5QrcodeScannerStrings.loadingImage = function () { | ||
return "Loading image..."; | ||
}; | ||
Html5QrcodeScannerStrings.cameraScanAltText = function () { | ||
return "Camera based scan"; | ||
}; | ||
Html5QrcodeScannerStrings.fileScanAltText = function () { | ||
return "Fule based scan"; | ||
}; | ||
return Html5QrcodeScannerStrings; | ||
function Html5QrcodeScannerStrings() { | ||
} | ||
Html5QrcodeScannerStrings.scanningStatus = function () { | ||
return "Scanning"; | ||
}; | ||
Html5QrcodeScannerStrings.idleStatus = function () { | ||
return "Inactif"; | ||
}; | ||
Html5QrcodeScannerStrings.errorStatus = function () { | ||
return "Erreur"; | ||
}; | ||
Html5QrcodeScannerStrings.permissionStatus = function () { | ||
return "Autorisation"; | ||
}; | ||
Html5QrcodeScannerStrings.noCameraFoundErrorStatus = function () { | ||
return "Aucune caméra"; | ||
}; | ||
Html5QrcodeScannerStrings.lastMatch = function (decodedText) { | ||
return "Dernière correspondance : ".concat(decodedText); | ||
}; | ||
Html5QrcodeScannerStrings.codeScannerTitle = function () { | ||
return "Scanner de codes"; | ||
}; | ||
Html5QrcodeScannerStrings.cameraPermissionTitle = function () { | ||
return "Demander les autorisations de la caméra"; | ||
}; | ||
Html5QrcodeScannerStrings.cameraPermissionRequesting = function () { | ||
return "Demande d'autorisation de la caméra en cours..."; | ||
}; | ||
Html5QrcodeScannerStrings.noCameraFound = function () { | ||
return "Aucune caméra trouvée"; | ||
}; | ||
Html5QrcodeScannerStrings.scanButtonStopScanningText = function () { | ||
return "Arrêter la numérisation"; | ||
}; | ||
Html5QrcodeScannerStrings.scanButtonStartScanningText = function () { | ||
return "Démarrer la numérisation"; | ||
}; | ||
Html5QrcodeScannerStrings.torchOnButton = function () { | ||
return "Activer la torche"; | ||
}; | ||
Html5QrcodeScannerStrings.torchOffButton = function () { | ||
return "Éteindre la torche"; | ||
}; | ||
Html5QrcodeScannerStrings.torchOnFailedMessage = function () { | ||
return "Échec de l'activation de la torche"; | ||
}; | ||
Html5QrcodeScannerStrings.torchOffFailedMessage = function () { | ||
return "Échec de la désactivation de la torche"; | ||
}; | ||
Html5QrcodeScannerStrings.scanButtonScanningStarting = function () { | ||
return "Lancement de la caméra..."; | ||
}; | ||
Html5QrcodeScannerStrings.textIfCameraScanSelected = function () { | ||
return "Numériser un fichier image"; | ||
}; | ||
Html5QrcodeScannerStrings.textIfFileScanSelected = function () { | ||
return "Numériser en utilisant la caméra directement"; | ||
}; | ||
Html5QrcodeScannerStrings.selectCamera = function () { | ||
return "Sélectionner une caméra"; | ||
}; | ||
Html5QrcodeScannerStrings.fileSelectionChooseImage = function () { | ||
return "Choisir une image"; | ||
}; | ||
Html5QrcodeScannerStrings.fileSelectionChooseAnother = function () { | ||
return "Choisir une autre"; | ||
}; | ||
Html5QrcodeScannerStrings.fileSelectionNoImageSelected = function () { | ||
return "Aucune image sélectionnée"; | ||
}; | ||
Html5QrcodeScannerStrings.anonymousCameraPrefix = function () { | ||
return "Caméra anonyme"; | ||
}; | ||
Html5QrcodeScannerStrings.dragAndDropMessage = function () { | ||
return "Ou déposez une image à numériser"; | ||
}; | ||
Html5QrcodeScannerStrings.dragAndDropMessageOnlyImages = function () { | ||
return "Ou déposez une image à numériser (les autres fichiers ne sont pas pris en charge)"; | ||
}; | ||
Html5QrcodeScannerStrings.zoom = function () { | ||
return "zoom"; | ||
}; | ||
Html5QrcodeScannerStrings.loadingImage = function () { | ||
return "Chargement de l'image..."; | ||
}; | ||
Html5QrcodeScannerStrings.cameraScanAltText = function () { | ||
return "Numérisation basée sur la caméra"; | ||
}; | ||
Html5QrcodeScannerStrings.fileScanAltText = function () { | ||
return "Numérisation basée sur le fichier"; | ||
}; | ||
return Html5QrcodeScannerStrings; | ||
}()); | ||
exports.Html5QrcodeScannerStrings = Html5QrcodeScannerStrings; | ||
var LibraryInfoStrings = (function () { | ||
function LibraryInfoStrings() { | ||
} | ||
LibraryInfoStrings.poweredBy = function () { | ||
return "Powered by "; | ||
}; | ||
LibraryInfoStrings.reportIssues = function () { | ||
return "Report issues"; | ||
}; | ||
return LibraryInfoStrings; | ||
function LibraryInfoStrings() { | ||
} | ||
LibraryInfoStrings.poweredBy = function () { | ||
return "Propulsé par "; | ||
}; | ||
LibraryInfoStrings.reportIssues = function () { | ||
return "Signaler des problèmes"; | ||
}; | ||
return LibraryInfoStrings; | ||
}()); | ||
exports.LibraryInfoStrings = LibraryInfoStrings; | ||
//# sourceMappingURL=strings.js.map |
@@ -0,127 +1,127 @@ | ||
export class Html5QrcodeStrings { | ||
static codeParseError(exception) { | ||
return `QR code parse error, error = ${exception}`; | ||
return `Erreur d'analyse du code QR, erreur = ${exception}`; | ||
} | ||
static errorGettingUserMedia(error) { | ||
return `Error getting userMedia, error = ${error}`; | ||
return `Erreur lors de l'obtention des médias de l'utilisateur, erreur = ${error}`; | ||
} | ||
static onlyDeviceSupportedError() { | ||
return "The device doesn't support navigator.mediaDevices , only " | ||
+ "supported cameraIdOrConfig in this case is deviceId parameter " | ||
+ "(string)."; | ||
return "L'appareil ne prend pas en charge navigator.mediaDevices, le seul " | ||
+ "paramètre de cameraIdOrConfig pris en charge dans ce cas est le paramètre " | ||
+ "deviceId (chaîne de caractères)."; | ||
} | ||
static cameraStreamingNotSupported() { | ||
return "Camera streaming not supported by the browser."; | ||
return "La diffusion en continu de la caméra n'est pas prise en charge par le navigateur."; | ||
} | ||
static unableToQuerySupportedDevices() { | ||
return "Unable to query supported devices, unknown error."; | ||
return "Impossible de interroger les appareils pris en charge, erreur inconnue."; | ||
} | ||
static insecureContextCameraQueryError() { | ||
return "Camera access is only supported in secure context like https " | ||
+ "or localhost."; | ||
return "L'accès à la caméra est uniquement pris en charge dans un contexte sécurisé comme https " | ||
+ "ou localhost."; | ||
} | ||
static scannerPaused() { | ||
return "Scanner paused"; | ||
return "Scanner en pause"; | ||
} | ||
} | ||
export class Html5QrcodeScannerStrings { | ||
} | ||
export class Html5QrcodeScannerStrings { | ||
static scanningStatus() { | ||
return "Scanning"; | ||
return "Numérisation"; | ||
} | ||
static idleStatus() { | ||
return "Idle"; | ||
return "Inactif"; | ||
} | ||
static errorStatus() { | ||
return "Error"; | ||
return "Erreur"; | ||
} | ||
static permissionStatus() { | ||
return "Permission"; | ||
return "Autorisation"; | ||
} | ||
static noCameraFoundErrorStatus() { | ||
return "No Cameras"; | ||
return "Aucune caméra"; | ||
} | ||
static lastMatch(decodedText) { | ||
return `Last Match: ${decodedText}`; | ||
return `Dernière correspondance : ${decodedText}` | ||
} | ||
static codeScannerTitle() { | ||
return "Code Scanner"; | ||
return "Scanner de code"; | ||
} | ||
static cameraPermissionTitle() { | ||
return "Request CameraTT Permissions"; | ||
return "Demander les autorisations de la caméra"; | ||
} | ||
static cameraPermissionRequesting() { | ||
return "Requesting camera permissions..."; | ||
return "Demande des autorisations de la caméra..."; | ||
} | ||
static noCameraFound() { | ||
return "No camera found"; | ||
return "Aucune caméra trouvée"; | ||
} | ||
static scanButtonStopScanningText() { | ||
return "Stop Scanning"; | ||
return "Arrêter la numérisation"; | ||
} | ||
static scanButtonStartScanningText() { | ||
return "Start Scanning"; | ||
return "Démarrer la numérisation"; | ||
} | ||
static torchOnButton() { | ||
return "Switch On Torch"; | ||
return "Activer la torche"; | ||
} | ||
static torchOffButton() { | ||
return "Switch Off Torch"; | ||
return "Désactiver la torche"; | ||
} | ||
static torchOnFailedMessage() { | ||
return "Failed to turn on torch"; | ||
return "Échec de l'activation de la torche"; | ||
} | ||
static torchOffFailedMessage() { | ||
return "Failed to turn off torch"; | ||
return "Échec de la désactivation de la torche"; | ||
} | ||
static scanButtonScanningStarting() { | ||
return "Launching Camera..."; | ||
return "Lancement de la caméra..."; | ||
} | ||
static textIfCameraScanSelected() { | ||
return "Scan an Image File"; | ||
return "Numériser un fichier image"; | ||
} | ||
static textIfFileScanSelected() { | ||
return "Scan using camera directly"; | ||
return "Numériser en utilisant la caméra directement"; | ||
} | ||
static selectCamera() { | ||
return "Select Camera"; | ||
return "Sélectionner une caméra"; | ||
} | ||
static fileSelectionChooseImage() { | ||
return "Choose Image"; | ||
return "Choisir une image"; | ||
} | ||
static fileSelectionChooseAnother() { | ||
return "Choose Another"; | ||
return "Choisir une autre"; | ||
} | ||
static fileSelectionNoImageSelected() { | ||
return "No image choosen"; | ||
return "Aucune image sélectionnée"; | ||
} | ||
static anonymousCameraPrefix() { | ||
return "Anonymous Camera"; | ||
return "Caméra anonyme"; | ||
} | ||
static dragAndDropMessage() { | ||
return "Or drop an image to scan"; | ||
} | ||
static dragAndDropMessageOnlyImages() { | ||
return "Or drop an image to scan (other files not supported)"; | ||
} | ||
static zoom() { | ||
return "zoom"; | ||
} | ||
static loadingImage() { | ||
return "Loading image..."; | ||
} | ||
static cameraScanAltText() { | ||
return "Camera based scan"; | ||
} | ||
static fileScanAltText() { | ||
return "Fule based scan"; | ||
} | ||
return "Ou déposez une image à scanner"; | ||
} | ||
static dragAndDropMessageOnlyImages() { | ||
return "Ou déposez une image à scanner (les autres fichiers ne sont pas pris en charge)"; | ||
} | ||
static zoom() { | ||
return "zoom"; | ||
} | ||
static loadingImage() { | ||
return "Chargement de l'image..."; | ||
} | ||
static cameraScanAltText() { | ||
return "Numérisation basée sur la caméra"; | ||
} | ||
static fileScanAltText() { | ||
return "Numérisation basée sur un fichier"; | ||
} | ||
} | ||
export class LibraryInfoStrings { | ||
static poweredBy() { | ||
return "Powered by "; | ||
} | ||
static reportIssues() { | ||
return "Report issues"; | ||
} | ||
static poweredBy() { | ||
return "Propulsé par "; | ||
} | ||
//# sourceMappingURL=strings.js.map | ||
static reportIssues() { | ||
return "Signaler des problèmes"; | ||
} | ||
} |
{ | ||
"name": "html5-qrcode--fr", | ||
"version": "2.3.8", | ||
"description": "A cross platform HTML5 QR Code & bar code scanner", | ||
"version": "2.3.9", | ||
"description": "A cross platform HTML5 QR Code & bar code scanner, translated to french", | ||
"main": "./cjs/index.js", | ||
@@ -6,0 +6,0 @@ "module": "./esm/index.js", |
3013074
61662