mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-01-17 11:08:06 +00:00
fix error messages when create a compte with phone number
This commit is contained in:
parent
9ecc78d82f
commit
37eb749a58
8 changed files with 2 additions and 2 deletions
|
|
@ -272,9 +272,9 @@ static UICompositeViewDescription *compositeDescription = nil;
|
|||
+ (NSString *)errorForLinphoneAccountCreatorPhoneNumberStatus:(LinphoneAccountCreatorPhoneNumberStatus)status {
|
||||
switch (status) {
|
||||
case LinphoneAccountCreatorPhoneNumberStatusTooShort: /**< Phone number too short */
|
||||
return NSLocalizedString(@"Your country code is too short.", nil);
|
||||
return NSLocalizedString(@"Your phone number is too short.", nil);
|
||||
case LinphoneAccountCreatorPhoneNumberStatusTooLong: /**< Phone number too long */
|
||||
return NSLocalizedString(@"Your country code is too long.", nil);
|
||||
return NSLocalizedString(@"Your phone number is too long.", nil);
|
||||
return nil; /* this is not an error, just user has to finish typing */
|
||||
case LinphoneAccountCreatorPhoneNumberStatusInvalidCountryCode: /**< Country code invalid */
|
||||
return NSLocalizedString(@"Your country code is invalid.", nil);
|
||||
|
|
|
|||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Loading…
Add table
Reference in a new issue