From 6cf61ab2fa07abd9daf8631e53e0d21cbc5a2f96 Mon Sep 17 00:00:00 2001 From: Josh Heald Date: Fri, 4 Jul 2025 11:50:31 +0100 Subject: [PATCH 1/3] Mention set up barcodes in HID scanner instruction --- .../PointOfSaleBarcodeScannerInformationModal.swift | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/WooCommerce/Classes/POS/Presentation/PointOfSaleBarcodeScannerInformationModal.swift b/WooCommerce/Classes/POS/Presentation/PointOfSaleBarcodeScannerInformationModal.swift index ed0ac55fcc3..cf8ccc8fa90 100644 --- a/WooCommerce/Classes/POS/Presentation/PointOfSaleBarcodeScannerInformationModal.swift +++ b/WooCommerce/Classes/POS/Presentation/PointOfSaleBarcodeScannerInformationModal.swift @@ -82,8 +82,8 @@ private extension PointOfSaleBarcodeScannerInformationModal { comment: "Accessible version of more details link in barcode info modal, announcing it as a link for screen readers" ) static let barcodeInfoSecondaryMessage = NSLocalizedString( - "pos.barcodeInfoModal.secondaryMessage", - value: "• Refer to your Bluetooth barcode scanner's instructions to set HID mode.", + "pos.barcodeInfoModal.secondaryMessage.2", + value: "• Refer to your Bluetooth barcode scanner's instructions to set HID mode. This usually requires scanning a special barcode in the manual.", comment: "Secondary bullet point in the barcode info modal in POS, instructing to set scanner to HID mode" ) static let barcodeInfoTertiaryMessage = NSLocalizedString( @@ -111,7 +111,7 @@ private extension PointOfSaleBarcodeScannerInformationModal { ) static let barcodeInfoSecondaryMessageAccessible = NSLocalizedString( "pos.barcodeInfoModal.secondaryMessage.accessible", - value: "Second: Refer to your Bluetooth barcode scanner's instructions to set H-I-D mode.", + value: "Second: Refer to your Bluetooth barcode scanner's instructions to set H-I-D mode. This usually requires scanning a special barcode in the manual.", comment: "Accessible version of secondary bullet point in barcode info modal, without bullet character for screen readers" ) static let barcodeInfoTertiaryMessageAccessible = NSLocalizedString( From f29bc9ab88f470506e174ab5756b383320781b31 Mon Sep 17 00:00:00 2001 From: Josh Heald Date: Fri, 4 Jul 2025 12:49:00 +0100 Subject: [PATCH 2/3] fix lint --- .../PointOfSaleBarcodeScannerInformationModal.swift | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/WooCommerce/Classes/POS/Presentation/PointOfSaleBarcodeScannerInformationModal.swift b/WooCommerce/Classes/POS/Presentation/PointOfSaleBarcodeScannerInformationModal.swift index cf8ccc8fa90..3800db2d0a4 100644 --- a/WooCommerce/Classes/POS/Presentation/PointOfSaleBarcodeScannerInformationModal.swift +++ b/WooCommerce/Classes/POS/Presentation/PointOfSaleBarcodeScannerInformationModal.swift @@ -83,7 +83,8 @@ private extension PointOfSaleBarcodeScannerInformationModal { ) static let barcodeInfoSecondaryMessage = NSLocalizedString( "pos.barcodeInfoModal.secondaryMessage.2", - value: "• Refer to your Bluetooth barcode scanner's instructions to set HID mode. This usually requires scanning a special barcode in the manual.", + value: "• Refer to your Bluetooth barcode scanner's instructions to set HID mode. This usually " + + "requires scanning a special barcode in the manual.", comment: "Secondary bullet point in the barcode info modal in POS, instructing to set scanner to HID mode" ) static let barcodeInfoTertiaryMessage = NSLocalizedString( @@ -111,7 +112,8 @@ private extension PointOfSaleBarcodeScannerInformationModal { ) static let barcodeInfoSecondaryMessageAccessible = NSLocalizedString( "pos.barcodeInfoModal.secondaryMessage.accessible", - value: "Second: Refer to your Bluetooth barcode scanner's instructions to set H-I-D mode. This usually requires scanning a special barcode in the manual.", + value: "Second: Refer to your Bluetooth barcode scanner's instructions to set H-I-D mode. This usually " + + "requires scanning a special barcode in the manual.", comment: "Accessible version of secondary bullet point in barcode info modal, without bullet character for screen readers" ) static let barcodeInfoTertiaryMessageAccessible = NSLocalizedString( From bab5c8501793db0bde53d121c30fdce327696e5f Mon Sep 17 00:00:00 2001 From: Josh Heald Date: Fri, 4 Jul 2025 14:52:52 +0100 Subject: [PATCH 3/3] Update WooCommerce/Classes/POS/Presentation/PointOfSaleBarcodeScannerInformationModal.swift Co-authored-by: Povilas Staskus --- .../PointOfSaleBarcodeScannerInformationModal.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/WooCommerce/Classes/POS/Presentation/PointOfSaleBarcodeScannerInformationModal.swift b/WooCommerce/Classes/POS/Presentation/PointOfSaleBarcodeScannerInformationModal.swift index 3800db2d0a4..10e3dd7014d 100644 --- a/WooCommerce/Classes/POS/Presentation/PointOfSaleBarcodeScannerInformationModal.swift +++ b/WooCommerce/Classes/POS/Presentation/PointOfSaleBarcodeScannerInformationModal.swift @@ -111,7 +111,7 @@ private extension PointOfSaleBarcodeScannerInformationModal { comment: "Accessible version of primary bullet point in barcode info modal, without bullet character for screen readers" ) static let barcodeInfoSecondaryMessageAccessible = NSLocalizedString( - "pos.barcodeInfoModal.secondaryMessage.accessible", + "pos.barcodeInfoModal.secondaryMessage.accessible.2", value: "Second: Refer to your Bluetooth barcode scanner's instructions to set H-I-D mode. This usually " + "requires scanning a special barcode in the manual.", comment: "Accessible version of secondary bullet point in barcode info modal, without bullet character for screen readers"