From 37eb749a5814b02e99be7ca0ee876f7d40472c45 Mon Sep 17 00:00:00 2001 From: Danmei Chen Date: Tue, 26 Nov 2019 13:51:35 +0100 Subject: [PATCH] fix error messages when create a compte with phone number --- Classes/AssistantView.m | 4 ++-- Resources/ar.lproj/Localizable.strings | Bin 73000 -> 73440 bytes Resources/de.lproj/Localizable.strings | Bin 78460 -> 78900 bytes Resources/en.lproj/Localizable.strings | Bin 75132 -> 75572 bytes Resources/fr.lproj/Localizable.strings | Bin 78036 -> 78504 bytes Resources/ja.lproj/Localizable.strings | Bin 71170 -> 71610 bytes Resources/nl.lproj/Localizable.strings | Bin 75870 -> 76310 bytes Resources/ru.lproj/Localizable.strings | Bin 76794 -> 77234 bytes 8 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Classes/AssistantView.m b/Classes/AssistantView.m index 6f44ae0e0..61c5409fd 100644 --- a/Classes/AssistantView.m +++ b/Classes/AssistantView.m @@ -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); diff --git a/Resources/ar.lproj/Localizable.strings b/Resources/ar.lproj/Localizable.strings index 7972008dded542aa5c11228062bfb02b01ab7fc1..3f512529e43d9942cbd8bc6b7308d7a772e0c472 100644 GIT binary patch delta 83 zcmZ3ni{-&ymWC~i0<6<_@i9tGw!6$WeHII&*z^n*Mj;fTG6b)JnNbaeCo)|^nlWL! J04t+}1OS#|8F&By delta 25 hcmaE`mu1B+mWC~i0<4p@{_st%TgtZm4jUtj1OSY935x&# diff --git a/Resources/de.lproj/Localizable.strings b/Resources/de.lproj/Localizable.strings index f55cccbfc2dfc563d781ca1fc9a22790bf1f94af..bc2695b926fa1fb422aeac5c5008120b8f876e08 100644 GIT binary patch delta 87 zcmezKgk{SMmWC~i|HLPAHA_sEdB`#SmI0$2W8`GUWd^n ZXK69YASnWJMW(;fVoccnPn@w%3IN-mARGVy delta 21 dcmdn;g5}Q>mWC~i|HLOttQXmSN|G^43IKN230wdG diff --git a/Resources/en.lproj/Localizable.strings b/Resources/en.lproj/Localizable.strings index 14e2474220ecda35c296d3bd2fe98f2b24157406..6c3d2850e167f1cb80df0745660b8aa6a27226d2 100644 GIT binary patch delta 74 zcmex!ie<|=mWC~icep2K&6k)yL7tIgdKx#Q*z`1cMk5fb3?bgd#V9iUge;@T?yk2Y&zn diff --git a/Resources/fr.lproj/Localizable.strings b/Resources/fr.lproj/Localizable.strings index c2dc9f01646f4fe0df334db3b20398ad297c61f6..639ed8532da3b72f121223bab4ba4c7fafb8669d 100644 GIT binary patch delta 67 zcmccekY&YFmWC~iS45}tXfY~G_t0dNWA$i Ji_@% diff --git a/Resources/ja.lproj/Localizable.strings b/Resources/ja.lproj/Localizable.strings index 293a7474495be6aedf9ae97f75717c328984c7a4..e4d61a273dd7cd7d6aa116fe2aa232451aa2219a 100644 GIT binary patch delta 83 zcmZo#!?J5V%Z9MOle^|iOg9i<