Skip to content

Commit

Permalink
Fix generalError description typo (#808)
Browse files Browse the repository at this point in the history
  • Loading branch information
EmirhanKarahan authored Oct 26, 2024
1 parent c72f415 commit 91eae00
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion PhoneNumberKit/Constants.swift
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ public enum PhoneNumberError: Error, Equatable {
extension PhoneNumberError: LocalizedError {
public var errorDescription: String? {
switch self {
case .generalError: return NSLocalizedString("An error occured whilst validating the phone number.", comment: "")
case .generalError: return NSLocalizedString("An error occured while validating the phone number.", comment: "")
case .invalidCountryCode: return NSLocalizedString("The country code is invalid.", comment: "")
case .invalidNumber: return NSLocalizedString("The number provided is invalid.", comment: "")
case .tooLong: return NSLocalizedString("The number provided is too long.", comment: "")
Expand Down

0 comments on commit 91eae00

Please sign in to comment.