From da69f1b00013dc7237482bba2f389c1e35fdbac4 Mon Sep 17 00:00:00 2001 From: Chen Cen Date: Mon, 3 Jun 2024 11:27:21 -0700 Subject: [PATCH 1/2] update translation for identity document --- .../Resources/Localizations/en.lproj/Localizable.strings | 4 ++-- .../DocumentCaptureViewController+Strings.swift | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/StripeIdentity/StripeIdentity/Resources/Localizations/en.lproj/Localizable.strings b/StripeIdentity/StripeIdentity/Resources/Localizations/en.lproj/Localizable.strings index 6d0e23a065c..cc0bb78280f 100644 --- a/StripeIdentity/StripeIdentity/Resources/Localizations/en.lproj/Localizable.strings +++ b/StripeIdentity/StripeIdentity/Resources/Localizations/en.lproj/Localizable.strings @@ -15,7 +15,7 @@ /* Description of back of identity card image Title of ID document scanning screen when scanning the back of an identity card */ -"Back of identity card" = "Back of identity card"; +"Back of identity document" = "Back of identity document"; /* Error title displayed to the user when camera permissions have been denied Title displayed when requesting camera permissions */ @@ -58,7 +58,7 @@ /* Description of front of identity card image Title of ID document scanning screen when scanning the front of an identity card */ -"Front of identity card" = "Front of identity card"; +"Front of identity document" = "Front of identity document"; /* Title for document front warmup page */ "Get ready to scan your photo ID" = "Get ready to scan your photo ID"; diff --git a/StripeIdentity/StripeIdentity/Source/NativeComponents/ViewControllers/DocumentCaptureViewController+Strings.swift b/StripeIdentity/StripeIdentity/Source/NativeComponents/ViewControllers/DocumentCaptureViewController+Strings.swift index 19366c3704b..bfca367f770 100644 --- a/StripeIdentity/StripeIdentity/Source/NativeComponents/ViewControllers/DocumentCaptureViewController+Strings.swift +++ b/StripeIdentity/StripeIdentity/Source/NativeComponents/ViewControllers/DocumentCaptureViewController+Strings.swift @@ -14,12 +14,12 @@ extension DocumentCaptureViewController { func titleText(for side: DocumentSide) -> String { if side == .front { return STPLocalizedString( - "Front of identity card", + "Front of identity document", "Title of ID document scanning screen when scanning the front of an identity card" ) } else { return STPLocalizedString( - "Back of identity card", + "Back of identity document", "Title of ID document scanning screen when scanning the back of an identity card" ) } From d9fa28240187faca2f50879624a6778e1acac4b4 Mon Sep 17 00:00:00 2001 From: Chen Cen Date: Mon, 17 Jun 2024 10:28:28 -0700 Subject: [PATCH 2/2] update localizeable --- .../Localizations/en.lproj/Localizable.strings | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/StripeIdentity/StripeIdentity/Resources/Localizations/en.lproj/Localizable.strings b/StripeIdentity/StripeIdentity/Resources/Localizations/en.lproj/Localizable.strings index cc0bb78280f..f082fab42eb 100644 --- a/StripeIdentity/StripeIdentity/Resources/Localizations/en.lproj/Localizable.strings +++ b/StripeIdentity/StripeIdentity/Resources/Localizations/en.lproj/Localizable.strings @@ -13,8 +13,10 @@ /* Accessibility label when back identity card photo has successfully uploaded */ "Back identity card photo successfully uploaded" = "Back identity card photo successfully uploaded"; -/* Description of back of identity card image - Title of ID document scanning screen when scanning the back of an identity card */ +/* Description of back of identity card image */ +"Back of identity card" = "Back of identity card"; + +/* Title of ID document scanning screen when scanning the back of an identity card */ "Back of identity document" = "Back of identity document"; /* Error title displayed to the user when camera permissions have been denied @@ -56,8 +58,10 @@ /* Accessibility label when front identity card photo has successfully uploaded */ "Front identity card photo successfully uploaded" = "Front identity card photo successfully uploaded"; -/* Description of front of identity card image - Title of ID document scanning screen when scanning the front of an identity card */ +/* Description of front of identity card image */ +"Front of identity card" = "Front of identity card"; + +/* Title of ID document scanning screen when scanning the front of an identity card */ "Front of identity document" = "Front of identity document"; /* Title for document front warmup page */