DocumentScannerTextLocalization constructor

DocumentScannerTextLocalization({
  1. String cameraPermissionEnableCameraTitle = "Camera permission denied!",
  2. String cameraPermissionEnableCameraExplanation = "Please allow the usage of the camera to start the scanning process.",
  3. String cameraPermissionEnableCameraButton = "Grant permission",
  4. String cameraPermissionCloseButton = "Close",
  5. String cameraTopBarCancelButtonTitle = "Cancel",
  6. String cameraTopBarTitle = "Scan Document",
  7. String cameraTopGuidance = "Scan each page of your document.",
  8. String cameraUserGuidanceStart = "Please hold your device over a document.",
  9. String cameraUserGuidanceNoDocumentFound = "No document found",
  10. String cameraUserGuidanceBadAspectRatio = "Bad aspect ratio",
  11. String cameraUserGuidanceBadAngles = "Bad angles",
  12. String cameraUserGuidanceTooNoisy = "Its too noisy. Try another background for the document",
  13. String cameraUserGuidanceTextHintOffCenter = "Document is off center",
  14. String cameraUserGuidanceTooSmall = "Document is too small. Move camera closer.",
  15. String cameraUserGuidanceTooDark = "Its too dark. Add more light.",
  16. String cameraUserGuidanceEnergySaveMode = "Energy save mode is on",
  17. String cameraUserGuidanceReadyToCapture = "Hold still capturing...",
  18. String cameraUserGuidanceReadyToCaptureManual = "Ready to capture!",
  19. String cameraImportButtonTitle = "Import",
  20. String cameraTorchOnButtonTitle = "On",
  21. String cameraTorchOffButtonTitle = "Off",
  22. String cameraAutoSnapButtonTitle = "Auto",
  23. String cameraManualSnapButtonTitle = "Manual",
  24. String cameraPreviewButtonTitle = "%d Pages",
  25. String cameraIntroDoneButton = "Done",
  26. String cameraIntroTitle = "How to scan a document",
  27. String cameraIntroSubtitle = "Follow the steps below to create a high-quality document scan",
  28. String cameraIntroItem1 = "1. Place your document on a flat surface.",
  29. String cameraIntroItem2 = "2. Hold your phone above the document.",
  30. String cameraIntroItem3 = "3. Follow the on-screen guidance to find the optimal position.",
  31. String cameraIntroItem4 = "4. Once you reach the optimal position, you can manually scan the document or let the app scan it automatically.",
  32. String cameraProgressOverlayTitle = "Please wait...",
  33. String cameraCancelAlertTitle = "Cancel?",
  34. String cameraCancelAlertSubtitle = "Canceling will delete all the pages scanned so far. Are you sure you want to cancel?",
  35. String cameraCancelNoButtonTitle = "No",
  36. String cameraCancelYesButtonTitle = "Yes, Cancel",
  37. String cameraLimitReachedAlertTitle = "You reached the limit!",
  38. String cameraLimitReachedAlertSubtitle = "You have scanned the maximum number of pages and cannot add any more. Please delete at least one page to perform a new scan.",
  39. String cameraLimitReachedOkButtonTitle = "Ok",
  40. String acknowledgementScreenBadDocumentHint = "The quality of your scan does not seem sufficient.",
  41. String acknowledgementRetakeButtonTitle = "Retake",
  42. String acknowledgementAcceptButtonTitle = "Use Scan",
  43. String reviewScreenTitle = "Review (%d)",
  44. String reviewTopBarBackButtonTitle = "Back",
  45. String reviewScreenPageCount = "Page %d/%d",
  46. String reviewScreenAddButtonTitle = "Add",
  47. String reviewScreenRetakeButtonTitle = "Retake",
  48. String reviewScreenCropButtonTitle = "Crop",
  49. String reviewScreenRotateButtonTitle = "Rotate",
  50. String reviewScreenDeleteButtonTitle = "Delete",
  51. String reviewScreenSubmitButtonTitle = "Submit",
  52. String reviewScreenDeleteAllButtonTitle = "Delete all",
  53. String reviewScreenReorderPagesButtonTitle = "Reorder pages",
  54. String zoomOverlayCancelButtonText = "Close",
  55. String reviewDeletePageAlertTitle = "Delete page?",
  56. String reviewDeleteAllPagesAlertTitle = "Delete all?",
  57. String reviewDeletePageAlertSubTitle = "Are you sure you want to delete the page?",
  58. String reviewDeleteAllPagesAlertSubtitle = "Are you sure you want to delete all pages?",
  59. String reviewDeletePageAlertConfirmButtonTitle = "Yes, Delete",
  60. String reviewDeleteAllPagesAlertDeleteButtonTitle = "Yes, Delete all",
  61. String reviewDeletePageAlertDeleteRetakeButtonTitle = "Delete and Retake",
  62. String reviewDeletePageAlertCancelButtonTitle = "Cancel",
  63. String reviewDeleteAllPagesAlertCancelButtonTitle = "Cancel",
  64. String reorderPageTitle = "Reorder Pages",
  65. String reorderPageGuidanceTitle = "Drag pages to reorder",
  66. String reorderPageText = "%d",
  67. String reorderTopBarConfirmButtonTitle = "Done",
  68. String reorderTopBarCancelButtonTitle = "Cancel",
  69. String croppingTopBarConfirmButtonTitle = "Done",
  70. String croppingTopBarCancelButtonTitle = "Cancel",
  71. String croppingDetectButtonTitle = "Detect",
  72. String croppingRotateButtonTitle = "Rotate",
  73. String croppingResetButtonTitle = "Reset",
  74. String croppingScreenTitle = "Crop",
  75. String accessibilityDescriptionCameraPermissionEnableCameraButton = "Tap to grant camera permission",
  76. String accessibilityDescriptionCameraPermissionCloseButton = "Close screen without granting permission",
  77. String accessibilityDescriptionCameraTopBarIntroButton = "Tap to open introduction screen",
  78. String accessibilityDescriptionCameraTopBarCancelButton = "Tap to close scanner screen",
  79. String accessibilityDescriptionCameraImportButton = "Tap to import image",
  80. String accessibilityDescriptionCameraTorchOnButton = "Tap to disable torch",
  81. String accessibilityDescriptionCameraTorchOffButton = "Tap to enable torch",
  82. String accessibilityDescriptionCameraShutterButton = "Tap to take image",
  83. String accessibilityDescriptionCameraAutoSnapButton = "Tap to enable manual snapping mode",
  84. String accessibilityDescriptionCameraManualSnapButton = "Tap to enable auto snapping mode",
  85. String accessibilityDescriptionCameraPreviewButton = "Tap to preview scanned pages",
  86. String accessibilityDescriptionCameraIntroDoneButton = "Tap to close introduction screen",
  87. String accessibilityDescriptionAcknowledgementRetakeButton = "Tap to retake the image",
  88. String accessibilityDescriptionAcknowledgementAcceptButton = "Tap to accept the image regardless of its quality",
  89. String accessibilityDescriptionCroppingTopBarConfirmButton = "Tap to apply changes",
  90. String accessibilityDescriptionCroppingTopBarCancelButton = "Tap to close screen without applying changes",
  91. String accessibilityDescriptionCroppingDetectButton = "Tap to detect document on the image",
  92. String accessibilityDescriptionCroppingRotateButton = "Tap to rotate document",
  93. String accessibilityDescriptionCroppingResetButton = "Tap to reset document contour to whole image",
  94. String accessibilityDescriptionReorderTopBarConfirmButton = "Tap to apply changes",
  95. String accessibilityDescriptionReorderTopBarCancelButton = "Tap to close screen without applying changes",
  96. String accessibilityDescriptionReviewNextPageButton = "Tap to switch to the new page",
  97. String accessibilityDescriptionReviewPreviousPageButton = "Tap to switch to the previous page",
  98. String accessibilityDescriptionReviewAddButton = "Tap to Add new page",
  99. String accessibilityDescriptionReviewRetakeButton = "Tap to Retake current selected page",
  100. String accessibilityDescriptionReviewCropButton = "Tap to Crop selected page",
  101. String accessibilityDescriptionReviewRotateButton = "Tap to Rotate selected page clockwise",
  102. String accessibilityDescriptionReviewDeleteButton = "Tap to Delete selected page",
  103. String accessibilityDescriptionReviewSubmitButton = "Tap to Submit document",
  104. String accessibilityDescriptionReviewMoreButton = "Tap to show additional options",
  105. String accessibilityDescriptionReviewDeleteAllButton = "Tap to Delete all pages",
  106. String accessibilityDescriptionReviewReorderPagesButton = "Tap to Reorder pages",
  107. String accessibilityDescriptionZoomOverlayCancelButton = "Tap to Close zoom overlay",
  108. String accessibilityDescriptionReviewZoomButton = "Tap to open zoom overlay for selected page",
  109. String accessibilityDescriptionReviewTopBarBackButton = "Tap to Close review screen",
  110. String accessibilityDescriptionReviewDeletePageAlertConfirmButton = "Tap to Delete page",
  111. String accessibilityDescriptionReviewDeleteAllPagesAlertDeleteButton = "Tap to Delete all pages",
  112. String accessibilityDescriptionReviewDeletePageAlertDeleteRetakeButton = "Tap to Delete page and Retake it",
  113. String accessibilityDescriptionReviewDeletePageAlertCancelButton = "Tap to Cancel operation",
  114. String accessibilityDescriptionReviewDeleteAllPagesAlertCancelButton = "Tap to Cancel operation",
  115. String accessibilityDescriptionCameraLimitReachedOkButton = "Tap to close alert dialog",
  116. String accessibilityDescriptionCameraCancelYesButton = "Tap to cancel document",
  117. String accessibilityDescriptionCameraCancelNoButton = "Tap to close alert dialog",
})

Implementation

DocumentScannerTextLocalization({
  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.cameraTopBarCancelButtonTitle = "Cancel",
  this.cameraTopBarTitle = "Scan Document",
  this.cameraTopGuidance = "Scan each page of your document.",
  this.cameraUserGuidanceStart = "Please hold your device over a document.",
  this.cameraUserGuidanceNoDocumentFound = "No document found",
  this.cameraUserGuidanceBadAspectRatio = "Bad aspect ratio",
  this.cameraUserGuidanceBadAngles = "Bad angles",
  this.cameraUserGuidanceTooNoisy =
      "Its too noisy. Try another background for the document",
  this.cameraUserGuidanceTextHintOffCenter = "Document is off center",
  this.cameraUserGuidanceTooSmall =
      "Document is too small. Move camera closer.",
  this.cameraUserGuidanceTooDark = "Its too dark. Add more light.",
  this.cameraUserGuidanceEnergySaveMode = "Energy save mode is on",
  this.cameraUserGuidanceReadyToCapture = "Hold still capturing...",
  this.cameraUserGuidanceReadyToCaptureManual = "Ready to capture!",
  this.cameraImportButtonTitle = "Import",
  this.cameraTorchOnButtonTitle = "On",
  this.cameraTorchOffButtonTitle = "Off",
  this.cameraAutoSnapButtonTitle = "Auto",
  this.cameraManualSnapButtonTitle = "Manual",
  this.cameraPreviewButtonTitle = "%d Pages",
  this.cameraIntroDoneButton = "Done",
  this.cameraIntroTitle = "How to scan a document",
  this.cameraIntroSubtitle =
      "Follow the steps below to create a high-quality document scan",
  this.cameraIntroItem1 = "1. Place your document on a flat surface.",
  this.cameraIntroItem2 = "2. Hold your phone above the document.",
  this.cameraIntroItem3 =
      "3. Follow the on-screen guidance to find the optimal position.",
  this.cameraIntroItem4 =
      "4. Once you reach the optimal position, you can manually scan the document or let the app scan it automatically.",
  this.cameraProgressOverlayTitle = "Please wait...",
  this.cameraCancelAlertTitle = "Cancel?",
  this.cameraCancelAlertSubtitle =
      "Canceling will delete all the pages scanned so far. Are you sure you want to cancel?",
  this.cameraCancelNoButtonTitle = "No",
  this.cameraCancelYesButtonTitle = "Yes, Cancel",
  this.cameraLimitReachedAlertTitle = "You reached the limit!",
  this.cameraLimitReachedAlertSubtitle =
      "You have scanned the maximum number of pages and cannot add any more. Please delete at least one page to perform a new scan.",
  this.cameraLimitReachedOkButtonTitle = "Ok",
  this.acknowledgementScreenBadDocumentHint =
      "The quality of your scan does not seem sufficient.",
  this.acknowledgementRetakeButtonTitle = "Retake",
  this.acknowledgementAcceptButtonTitle = "Use Scan",
  this.reviewScreenTitle = "Review (%d)",
  this.reviewTopBarBackButtonTitle = "Back",
  this.reviewScreenPageCount = "Page %d/%d",
  this.reviewScreenAddButtonTitle = "Add",
  this.reviewScreenRetakeButtonTitle = "Retake",
  this.reviewScreenCropButtonTitle = "Crop",
  this.reviewScreenRotateButtonTitle = "Rotate",
  this.reviewScreenDeleteButtonTitle = "Delete",
  this.reviewScreenSubmitButtonTitle = "Submit",
  this.reviewScreenDeleteAllButtonTitle = "Delete all",
  this.reviewScreenReorderPagesButtonTitle = "Reorder pages",
  this.zoomOverlayCancelButtonText = "Close",
  this.reviewDeletePageAlertTitle = "Delete page?",
  this.reviewDeleteAllPagesAlertTitle = "Delete all?",
  this.reviewDeletePageAlertSubTitle =
      "Are you sure you want to delete the page?",
  this.reviewDeleteAllPagesAlertSubtitle =
      "Are you sure you want to delete all pages?",
  this.reviewDeletePageAlertConfirmButtonTitle = "Yes, Delete",
  this.reviewDeleteAllPagesAlertDeleteButtonTitle = "Yes, Delete all",
  this.reviewDeletePageAlertDeleteRetakeButtonTitle = "Delete and Retake",
  this.reviewDeletePageAlertCancelButtonTitle = "Cancel",
  this.reviewDeleteAllPagesAlertCancelButtonTitle = "Cancel",
  this.reorderPageTitle = "Reorder Pages",
  this.reorderPageGuidanceTitle = "Drag pages to reorder",
  this.reorderPageText = "%d",
  this.reorderTopBarConfirmButtonTitle = "Done",
  this.reorderTopBarCancelButtonTitle = "Cancel",
  this.croppingTopBarConfirmButtonTitle = "Done",
  this.croppingTopBarCancelButtonTitle = "Cancel",
  this.croppingDetectButtonTitle = "Detect",
  this.croppingRotateButtonTitle = "Rotate",
  this.croppingResetButtonTitle = "Reset",
  this.croppingScreenTitle = "Crop",
  this.accessibilityDescriptionCameraPermissionEnableCameraButton =
      "Tap to grant camera permission",
  this.accessibilityDescriptionCameraPermissionCloseButton =
      "Close screen without granting permission",
  this.accessibilityDescriptionCameraTopBarIntroButton =
      "Tap to open introduction screen",
  this.accessibilityDescriptionCameraTopBarCancelButton =
      "Tap to close scanner screen",
  this.accessibilityDescriptionCameraImportButton = "Tap to import image",
  this.accessibilityDescriptionCameraTorchOnButton = "Tap to disable torch",
  this.accessibilityDescriptionCameraTorchOffButton = "Tap to enable torch",
  this.accessibilityDescriptionCameraShutterButton = "Tap to take image",
  this.accessibilityDescriptionCameraAutoSnapButton =
      "Tap to enable manual snapping mode",
  this.accessibilityDescriptionCameraManualSnapButton =
      "Tap to enable auto snapping mode",
  this.accessibilityDescriptionCameraPreviewButton =
      "Tap to preview scanned pages",
  this.accessibilityDescriptionCameraIntroDoneButton =
      "Tap to close introduction screen",
  this.accessibilityDescriptionAcknowledgementRetakeButton =
      "Tap to retake the image",
  this.accessibilityDescriptionAcknowledgementAcceptButton =
      "Tap to accept the image regardless of its quality",
  this.accessibilityDescriptionCroppingTopBarConfirmButton =
      "Tap to apply changes",
  this.accessibilityDescriptionCroppingTopBarCancelButton =
      "Tap to close screen without applying changes",
  this.accessibilityDescriptionCroppingDetectButton =
      "Tap to detect document on the image",
  this.accessibilityDescriptionCroppingRotateButton =
      "Tap to rotate document",
  this.accessibilityDescriptionCroppingResetButton =
      "Tap to reset document contour to whole image",
  this.accessibilityDescriptionReorderTopBarConfirmButton =
      "Tap to apply changes",
  this.accessibilityDescriptionReorderTopBarCancelButton =
      "Tap to close screen without applying changes",
  this.accessibilityDescriptionReviewNextPageButton =
      "Tap to switch to the new page",
  this.accessibilityDescriptionReviewPreviousPageButton =
      "Tap to switch to the previous page",
  this.accessibilityDescriptionReviewAddButton = "Tap to Add new page",
  this.accessibilityDescriptionReviewRetakeButton =
      "Tap to Retake current selected page",
  this.accessibilityDescriptionReviewCropButton = "Tap to Crop selected page",
  this.accessibilityDescriptionReviewRotateButton =
      "Tap to Rotate selected page clockwise",
  this.accessibilityDescriptionReviewDeleteButton =
      "Tap to Delete selected page",
  this.accessibilityDescriptionReviewSubmitButton = "Tap to Submit document",
  this.accessibilityDescriptionReviewMoreButton =
      "Tap to show additional options",
  this.accessibilityDescriptionReviewDeleteAllButton =
      "Tap to Delete all pages",
  this.accessibilityDescriptionReviewReorderPagesButton =
      "Tap to Reorder pages",
  this.accessibilityDescriptionZoomOverlayCancelButton =
      "Tap to Close zoom overlay",
  this.accessibilityDescriptionReviewZoomButton =
      "Tap to open zoom overlay for selected page",
  this.accessibilityDescriptionReviewTopBarBackButton =
      "Tap to Close review screen",
  this.accessibilityDescriptionReviewDeletePageAlertConfirmButton =
      "Tap to Delete page",
  this.accessibilityDescriptionReviewDeleteAllPagesAlertDeleteButton =
      "Tap to Delete all pages",
  this.accessibilityDescriptionReviewDeletePageAlertDeleteRetakeButton =
      "Tap to Delete page and Retake it",
  this.accessibilityDescriptionReviewDeletePageAlertCancelButton =
      "Tap to Cancel operation",
  this.accessibilityDescriptionReviewDeleteAllPagesAlertCancelButton =
      "Tap to Cancel operation",
  this.accessibilityDescriptionCameraLimitReachedOkButton =
      "Tap to close alert dialog",
  this.accessibilityDescriptionCameraCancelYesButton =
      "Tap to cancel document",
  this.accessibilityDescriptionCameraCancelNoButton =
      "Tap to close alert dialog",
});