CheckScannerScreenTextLocalization constructor

CheckScannerScreenTextLocalization({
  1. String topBarTitle = "Check Scanner",
  2. String topBarCancelButton = "Cancel",
  3. String topUserGuidance = "Point the camera at the check",
  4. String finderViewUserGuidance = "Looking for check...",
  5. String introScreenTitle = "How to scan a check",
  6. String introScreenDoneButton = "Start Scanning",
  7. String introScreenText = "This scanner reads the MICR (Magnetic Ink Character Recognition) line – the numbers and characters printed at the bottom of your check.\n\nTo scan, place the check on a flat, well-lit surface and position your camera so the entire check is within the frame. The check data will be automatically extracted.\nTap 'Start Scanning' to begin.",
  8. String completionOverlaySuccessMessage = "Scanned successfully",
  9. String accessibilityDescriptionOpenIntroScreenButton = "Open Check Scanner introduction",
  10. String accessibilityDescriptionIntroScreenDoneButton = "Start check scanning",
  11. String accessibilityDescriptionCancelButton = "Cancel check scanning",
  12. String accessibilityDescriptionRetryButton = "Retry check scanning",
  13. String accessibilityDescriptionCloseScannerButton = "Close check scanner",
  14. String checkAlertRetryButton = "Retry",
  15. String checkAlertCloseScannerButton = "Close Scanner",
  16. String checkNoCheckDetectedAlertTitle = "No check detected",
  17. String checkNoCheckDetectedAlertSubtitle = "The scanner couldn't detect the check. Please ensure the check is valid, well-lit, and fully visible, then try again.",
  18. String checkImageNotGoodAlertTitle = "Check not recognized",
  19. String checkImageNotGoodAlertSubtitle = "Make sure the check is valid, well-lit, and fully visible. Then try again.",
  20. String accessibilityDescriptionFlashButton = "Toggle flash",
  21. String accessibilityDescriptionZoomButton = "Toggle camera zoom",
  22. String accessibilityDescriptionFlipCameraButton = "Flip camera",
  23. String cameraPermissionEnableCameraTitle = "Camera permission denied!",
  24. String cameraPermissionEnableCameraExplanation = "Please allow the usage of the camera to start the scanning process.",
  25. String cameraPermissionEnableCameraButton = "Grant permission",
  26. String cameraPermissionCloseButton = "Close",
  27. String accessibilityDescriptionCameraPermissionEnableCameraButton = "Tap to grant camera permission",
  28. String accessibilityDescriptionCameraPermissionCloseButton = "Close screen without granting permission",
  29. String checkUserGuidanceNoCheckFound = "Looking for check...",
  30. String checkUserGuidanceScanningProgress = "Scanning the check...",
  31. String checkUserGuidanceTooDark = "Too dark. Please turn on a light.",
  32. String checkUserGuidanceTooSmall = "Please move closer to the check.",
  33. String checkUserGuidanceBadPerspective = "Please hold your device straight over the check.",
})

Implementation

CheckScannerScreenTextLocalization({
  this.topBarTitle = "Check Scanner",
  this.topBarCancelButton = "Cancel",
  this.topUserGuidance = "Point the camera at the check",
  this.finderViewUserGuidance = "Looking for check...",
  this.introScreenTitle = "How to scan a check",
  this.introScreenDoneButton = "Start Scanning",
  this.introScreenText =
      "This scanner reads the MICR (Magnetic Ink Character Recognition) line – the numbers and characters printed at the bottom of your check.\n\nTo scan, place the check on a flat, well-lit surface and position your camera so the entire check is within the frame. The check data will be automatically extracted.\nTap 'Start Scanning' to begin.",
  this.completionOverlaySuccessMessage = "Scanned successfully",
  this.accessibilityDescriptionOpenIntroScreenButton =
      "Open Check Scanner introduction",
  this.accessibilityDescriptionIntroScreenDoneButton = "Start check scanning",
  this.accessibilityDescriptionCancelButton = "Cancel check scanning",
  this.accessibilityDescriptionRetryButton = "Retry check scanning",
  this.accessibilityDescriptionCloseScannerButton = "Close check scanner",
  this.checkAlertRetryButton = "Retry",
  this.checkAlertCloseScannerButton = "Close Scanner",
  this.checkNoCheckDetectedAlertTitle = "No check detected",
  this.checkNoCheckDetectedAlertSubtitle =
      "The scanner couldn't detect the check. Please ensure the check is valid, well-lit, and fully visible, then try again.",
  this.checkImageNotGoodAlertTitle = "Check not recognized",
  this.checkImageNotGoodAlertSubtitle =
      "Make sure the check is valid, well-lit, and fully visible. Then try again.",
  this.accessibilityDescriptionFlashButton = "Toggle flash",
  this.accessibilityDescriptionZoomButton = "Toggle camera zoom",
  this.accessibilityDescriptionFlipCameraButton = "Flip camera",
  this.cameraPermissionEnableCameraTitle = "Camera permission denied!",
  this.cameraPermissionEnableCameraExplanation =
      "Please allow the usage of the camera to start the scanning process.",
  this.cameraPermissionEnableCameraButton = "Grant permission",
  this.cameraPermissionCloseButton = "Close",
  this.accessibilityDescriptionCameraPermissionEnableCameraButton =
      "Tap to grant camera permission",
  this.accessibilityDescriptionCameraPermissionCloseButton =
      "Close screen without granting permission",
  this.checkUserGuidanceNoCheckFound = "Looking for check...",
  this.checkUserGuidanceScanningProgress = "Scanning the check...",
  this.checkUserGuidanceTooDark = "Too dark. Please turn on a light.",
  this.checkUserGuidanceTooSmall = "Please move closer to the check.",
  this.checkUserGuidanceBadPerspective =
      "Please hold your device straight over the check.",
});