Skip to content

Commit cc72d69

Browse files
committed
Fixed "required" word.
1 parent 2a94847 commit cc72d69

File tree

4 files changed

+6
-6
lines changed

4 files changed

+6
-6
lines changed

Sources/SPProfiling/Data/Texts.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ enum Texts {
3939

4040
static var canceled: String { NSLocalizedString("error auth canceled", bundle: .module, comment: "") }
4141
static var cant_present: String { NSLocalizedString("error auth cant present", bundle: .module, comment: "") }
42-
static var cant_prepare_requerid_data: String { NSLocalizedString("error auth cant prepare requerid data", bundle: .module, comment: "") }
42+
static var cant_prepare_required_data: String { NSLocalizedString("error auth cant prepare required data", bundle: .module, comment: "") }
4343
}
4444

4545
enum Profile {

Sources/SPProfiling/Models/Errors/AuthError.swift

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,21 +26,21 @@ public enum AuthError: LocalizedError {
2626

2727
case canceled
2828
case cantPresent
29-
case cantPrepareRequeridData
29+
case cantPrepareRequiredData
3030

3131
public var errorDescription: String? {
3232
switch self {
3333
case .canceled: return Texts.Error.Auth.canceled
3434
case .cantPresent: return Texts.Error.Auth.cant_present
35-
case .cantPrepareRequeridData: return Texts.Error.Auth.cant_prepare_requerid_data
35+
case .cantPrepareRequiredData: return Texts.Error.Auth.cant_prepare_required_data
3636
}
3737
}
3838

3939
static func convert(_ error: SPFirebaseAuthError) -> AuthError {
4040
switch error {
4141
case .canceled: return .canceled
4242
case .cantPresent: return .cantPresent
43-
case .faild: return .cantPrepareRequeridData
43+
case .faild: return .cantPrepareRequiredData
4444
}
4545
}
4646
}

Sources/SPProfiling/Resources/Localization/en.lproj/Localizable.strings

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
"error auth canceled" = "Authentication canceled";
1818

1919
/* No comment provided by engineer. */
20-
"error auth cant prepare requerid data" = "Failed to prepare the necessary data";
20+
"error auth cant prepare required data" = "Failed to prepare the necessary data";
2121

2222
/* No comment provided by engineer. */
2323
"error auth cant present" = "Failed to show authentication screen";

Sources/SPProfiling/Resources/Localization/ru.lproj/Localizable.strings

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
"error auth canceled" = "Аутентификация отменена";
1818

1919
/* No comment provided by engineer. */
20-
"error auth cant prepare requerid data" = "Не удалось подготовить необходимые данные";
20+
"error auth cant prepare required data" = "Не удалось подготовить необходимые данные";
2121

2222
/* No comment provided by engineer. */
2323
"error auth cant present" = "Не удалось показать экран аутентификации";

0 commit comments

Comments
 (0)