From 2ed0b6fdee157dbe425da30fee7c8c49b8a0fb73 Mon Sep 17 00:00:00 2001 From: Gautier Pelloux-Prayer Date: Mon, 11 Jan 2016 11:32:12 +0100 Subject: [PATCH] assistant: fix compilation --- Classes/AssistantView.m | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Classes/AssistantView.m b/Classes/AssistantView.m index e7de74eb8..2e35d179b 100644 --- a/Classes/AssistantView.m +++ b/Classes/AssistantView.m @@ -188,11 +188,16 @@ static UICompositeViewDescription *compositeDescription = nil; case LinphoneAccountCreatorUsernameTooShort: return usePhoneNumber ? NSLocalizedString(@"Phone number too short.", nil) : NSLocalizedString(@"Username too short.", nil); + case LinphoneAccountCreatorUsernameTooLong: + return usePhoneNumber ? NSLocalizedString(@"Phone number too long.", nil) + : NSLocalizedString(@"Username too long.", nil); case LinphoneAccountCreatorUsernameInvalidSize: return usePhoneNumber ? NSLocalizedString(@"Phone number length invalid.", nil) : NSLocalizedString(@"Username length invalid.", nil); case LinphoneAccountCreatorPasswordTooShort: return NSLocalizedString(@"Password too short.", nil); + case LinphoneAccountCreatorPasswordTooLong: + return NSLocalizedString(@"Password too long.", nil); case LinphoneAccountCreatorDomainInvalid: return NSLocalizedString(@"Invalid domain.", nil); case LinphoneAccountCreatorRouteInvalid: