BarcodeTextLocalization constructor
BarcodeTextLocalization({
- 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 topBarCancelButton = "Cancel",
- String topBarTitle = "Scan Item",
- String userGuidance = "Move the finder over a barcode",
- String barcodeInfoMappingLoadingMessage = "Loading details...",
- String barcodeInfoMappingErrorStateTitle = "Connection Error!",
- String barcodeInfoMappingErrorStateSubtitle = "There was an issue and the data requested was not fetched. You could try again or discard this result to start a new scan.",
- String barcodeInfoMappingErrorStateRetryButton = "Retry",
- String barcodeInfoMappingErrorStateCancelButton = "Cancel",
- String manualCountEditDialogTitle = "Update count",
- String manualCountEditDialogInfo = "Adjust the number of items you scanned.",
- String manualCountEditDialogUpdateButton = "Update",
- String manualCountEditDialogCancelButton = "Cancel",
- String sheetResetButton = "Reset",
- String sheetClearAllButton = "Clear all",
- String sheetSubmitButton = "Submit",
- String sheetStartScanningButton = "Start scanning",
- String sheetPlaceholderTitle = "No barcodes here!",
- String sheetPlaceholderSubtitle = "The barcode list is currently empty. Close this sheet and scan your items to add them.",
- String singleModeConfirmationCancelButton = "Close",
- String multipleModeSheetTitle = "%d items",
- String findAndPickSheetTitle = "%d/%d scanned",
- String findAndPickSheetBarcodeItemSubtitle = "%d/%d added",
- String findAndPickPartialAlertTitle = "Incomplete scan!",
- String findAndPickPartialAlertSubtitle = "Some codes are yet to be scanned. Proceed with submission anyway?",
- String findAndPickPartialAlertCancelButton = "Cancel",
- String findAndPickPartialAlertSubmitButton = "Yes, Submit",
- String findAndPickCompleteAlertTitle = "All codes found!",
- String findAndPickCompleteAlertSubtitle = "You have successfully scanned all codes. Proceed with submission?",
- String findAndPickCompleteAlertCancelButton = "Dismiss",
- String findAndPickCompleteAlertSubmitButton = "Submit",
Implementation
BarcodeTextLocalization({
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.topBarCancelButton = "Cancel",
this.topBarTitle = "Scan Item",
this.userGuidance = "Move the finder over a barcode",
this.barcodeInfoMappingLoadingMessage = "Loading details...",
this.barcodeInfoMappingErrorStateTitle = "Connection Error!",
this.barcodeInfoMappingErrorStateSubtitle =
"There was an issue and the data requested was not fetched. You could try again or discard this result to start a new scan.",
this.barcodeInfoMappingErrorStateRetryButton = "Retry",
this.barcodeInfoMappingErrorStateCancelButton = "Cancel",
this.manualCountEditDialogTitle = "Update count",
this.manualCountEditDialogInfo = "Adjust the number of items you scanned.",
this.manualCountEditDialogUpdateButton = "Update",
this.manualCountEditDialogCancelButton = "Cancel",
this.sheetResetButton = "Reset",
this.sheetClearAllButton = "Clear all",
this.sheetSubmitButton = "Submit",
this.sheetStartScanningButton = "Start scanning",
this.sheetPlaceholderTitle = "No barcodes here!",
this.sheetPlaceholderSubtitle =
"The barcode list is currently empty. Close this sheet and scan your items to add them.",
this.singleModeConfirmationCancelButton = "Close",
this.multipleModeSheetTitle = "%d items",
this.findAndPickSheetTitle = "%d/%d scanned",
this.findAndPickSheetBarcodeItemSubtitle = "%d/%d added",
this.findAndPickPartialAlertTitle = "Incomplete scan!",
this.findAndPickPartialAlertSubtitle =
"Some codes are yet to be scanned. Proceed with submission anyway?",
this.findAndPickPartialAlertCancelButton = "Cancel",
this.findAndPickPartialAlertSubmitButton = "Yes, Submit",
this.findAndPickCompleteAlertTitle = "All codes found!",
this.findAndPickCompleteAlertSubtitle =
"You have successfully scanned all codes. Proceed with submission?",
this.findAndPickCompleteAlertCancelButton = "Dismiss",
this.findAndPickCompleteAlertSubmitButton = "Submit",
});