CheckScannerScreenTextLocalization constructor
CheckScannerScreenTextLocalization({ - String topBarTitle = "Check Scanner",
- String topBarCancelButton = "Cancel",
- String topUserGuidance = "Point the camera at the check",
- String finderViewUserGuidance = "Looking for check...",
- String introScreenTitle = "How to scan a check",
- String introScreenDoneButton = "Start Scanning",
- 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.",
- String completionOverlaySuccessMessage = "Scanned successfully",
- String accessibilityDescriptionOpenIntroScreenButton = "Open Check Scanner introduction",
- String accessibilityDescriptionIntroScreenDoneButton = "Start check scanning",
- String accessibilityDescriptionCancelButton = "Cancel check scanning",
- String accessibilityDescriptionRetryButton = "Retry check scanning",
- String accessibilityDescriptionCloseScannerButton = "Close check scanner",
- String checkAlertRetryButton = "Retry",
- String checkAlertCloseScannerButton = "Close Scanner",
- String checkNoCheckDetectedAlertTitle = "No check detected",
- String checkNoCheckDetectedAlertSubtitle = "The scanner couldn't detect the check. Please ensure the check is valid, well-lit, and fully visible, then try again.",
- String checkImageNotGoodAlertTitle = "Check not recognized",
- String checkImageNotGoodAlertSubtitle = "Make sure the check is valid, well-lit, and fully visible. Then try again.",
- String accessibilityDescriptionFlashButton = "Toggle flash",
- String accessibilityDescriptionZoomButton = "Toggle camera zoom",
- String accessibilityDescriptionFlipCameraButton = "Flip camera",
- String cameraPermissionEnableCameraTitle = "Camera permission denied!",
- String cameraPermissionEnableCameraExplanation = "Please allow the usage of the camera to start the scanning process.",
- String cameraPermissionEnableCameraButton = "Grant permission",
- String cameraPermissionCloseButton = "Close",
- String accessibilityDescriptionCameraPermissionEnableCameraButton = "Tap to grant camera permission",
- String accessibilityDescriptionCameraPermissionCloseButton = "Close screen without granting permission",
- String checkUserGuidanceNoCheckFound = "Looking for check...",
- String checkUserGuidanceScanningProgress = "Scanning the check...",
- String checkUserGuidanceTooDark = "Too dark. Please turn on a light.",
- String checkUserGuidanceTooSmall = "Please move closer to the check.",
- 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.",
});