BarcodeTextLocalization

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

Configuration of the all strings for barcode scanner.

Constructors

Link copied to clipboard
constructor(source: Map<String, Any?>)
constructor(json: JsonObject)
constructor(cameraPermissionEnableCameraTitle: String = "Camera permission denied!", cameraPermissionEnableCameraExplanation: String = "Please allow the usage of the camera to start the scanning process.", cameraPermissionEnableCameraButton: String = "Grant permission", cameraPermissionCloseButton: String = "Close", topBarCancelButton: String = "Cancel", topBarTitle: String = "Scan Item", userGuidance: String = "Move the finder over a barcode", barcodeInfoMappingLoadingMessage: String = "Loading details...", barcodeInfoMappingErrorStateTitle: String = "Connection Error!", barcodeInfoMappingErrorStateSubtitle: String = "There was an issue and the data requested was not fetched. You could try again or discard this result to start a new scan.", barcodeInfoMappingErrorStateRetryButton: String = "Retry", barcodeInfoMappingErrorStateCancelButton: String = "Cancel", manualCountEditDialogTitle: String = "Update count", manualCountEditDialogInfo: String = "Adjust the number of items you scanned.", manualCountEditDialogUpdateButton: String = "Update", manualCountEditDialogCancelButton: String = "Cancel", sheetResetButton: String = "Reset", sheetClearAllButton: String = "Clear all", sheetSubmitButton: String = "Submit", sheetStartScanningButton: String = "Start scanning", sheetPlaceholderTitle: String = "No barcodes here!", sheetPlaceholderSubtitle: String = "The barcode list is currently empty. Close this sheet and scan your items to add them.", singleModeConfirmationCancelButton: String = "Close", multipleModeSheetTitle: String = "%d items", findAndPickSheetTitle: String = "%d/%d scanned", findAndPickSheetBarcodeItemSubtitle: String = "%d/%d added", findAndPickPartialAlertTitle: String = "Incomplete scan!", findAndPickPartialAlertSubtitle: String = "Some codes are yet to be scanned. Proceed with submission anyway?", findAndPickPartialAlertCancelButton: String = "Cancel", findAndPickPartialAlertSubmitButton: String = "Yes, Submit", findAndPickCompleteAlertTitle: String = "All codes found!", findAndPickCompleteAlertSubtitle: String = "You have successfully scanned all codes. Proceed with submission?", findAndPickCompleteAlertCancelButton: String = "Dismiss", findAndPickCompleteAlertSubmitButton: String = "Submit")

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

Cancel button text for the barcode info mapping error state. Default is "Cancel"

Link copied to clipboard

Retry button text for the barcode info mapping error state. Default is "Retry"

Link copied to clipboard

Subtitle for the barcode info mapping error state. Default is "There was an issue and the data requested was not fetched. You could try again or discard this result to start a new scan."

Link copied to clipboard

Title for the barcode info mapping error state. Default is "Connection Error!"

Link copied to clipboard

Loading message for barcode info mapping. Default is "Loading details..."

Link copied to clipboard

Close button text for the camera permission dialog. Default is "Close"

Link copied to clipboard

Button text for the camera permission dialog. Default is "Grant permission"

Link copied to clipboard

Explanation for the camera permission dialog. Default is "Please allow the usage of the camera to start the scanning process."

Link copied to clipboard

Title for the camera permission dialog. Default is "Camera permission denied!"

Link copied to clipboard

Cancel button text for the find and pick complete alert. Default is "Dismiss"

Link copied to clipboard

Submit button text for the find and pick complete alert. Default is "Submit"

Link copied to clipboard

Subtitle for the find and pick complete alert. Default is "You have successfully scanned all codes. Proceed with submission?"

Link copied to clipboard

Title for the find and pick complete alert. Default is "All codes found!"

Link copied to clipboard

Cancel button text for the find and pick partial alert. Default is "Cancel"

Link copied to clipboard

Submit button text for the find and pick partial alert. Default is "Yes, Submit"

Link copied to clipboard

Subtitle for the find and pick partial alert. Default is "Some codes are yet to be scanned. Proceed with submission anyway?"

Link copied to clipboard

Title for the find and pick partial alert. Default is "Incomplete scan!"

Link copied to clipboard

Subtitle for the find and pick barcode sheet. Default is "%d/%d added"

Link copied to clipboard

Title for the find and pick barcode sheet. Default is "%d/%d scanned"

Link copied to clipboard

Cancel button text for the manual count edit dialog. Default is "Cancel"

Link copied to clipboard

Info for the manual count edit dialog. Default is "Adjust the number of items you scanned."

Link copied to clipboard

Title for the manual count edit dialog. Default is "Update count"

Link copied to clipboard

Update button text for the manual count edit dialog. Default is "Update"

Link copied to clipboard

Title for the multiple mode barcode sheet. Default is "%d items"

Link copied to clipboard

Clear all button text for the barcode sheet. Default is "Clear all"

Link copied to clipboard

Subtitle for the barcode sheet placeholder. Default is "The barcode list is currently empty. Close this sheet and scan your items to add them."

Link copied to clipboard

Title for the barcode sheet placeholder. Default is "No barcodes here!"

Link copied to clipboard

Reset button text for the barcode sheet. Default is "Reset"

Link copied to clipboard

Start scanning button text for the barcode sheet. Default is "Start scanning"

Link copied to clipboard

Submit button text for the barcode sheet. Default is "Submit"

Link copied to clipboard

Cancel button text for the single mode confirmation dialog. Default is "Close"

Link copied to clipboard

Cancel button text for the top bar. Default is "Cancel"

Link copied to clipboard

Title for the top bar. Default is "Scan Item"

Link copied to clipboard

User guidance text. Default is "Move the finder over a barcode"

Functions

Link copied to clipboard
fun toJson(): JsonObject