From 711741648a8cf1c760ae5103b478217e9d1cf3f8 Mon Sep 17 00:00:00 2001 From: Gautier Pelloux-Prayer Date: Mon, 19 Oct 2015 12:19:42 +0200 Subject: [PATCH] i18n: update translations --- Classes/WizardViewController.m | 33 ++++++++++-------- Resources/ar.lproj/Localizable.strings | Bin 32936 -> 32626 bytes Resources/de.lproj/Localizable.strings | Bin 35326 -> 35302 bytes Resources/en.lproj/Localizable.strings | Bin 33748 -> 33068 bytes Resources/fr.lproj/Localizable.strings | Bin 35112 -> 35088 bytes Resources/ja.lproj/Localizable.strings | Bin 29718 -> 29694 bytes Resources/nl.lproj/Localizable.strings | Bin 35016 -> 34992 bytes Resources/ru.lproj/Localizable.strings | Bin 34176 -> 34144 bytes Resources/zh_TW.lproj/Localizable.strings | Bin 33656 -> 33608 bytes .../en.lproj/Root.strings | 1 + 10 files changed, 20 insertions(+), 14 deletions(-) diff --git a/Classes/WizardViewController.m b/Classes/WizardViewController.m index fc6a5efed..e02ca09b8 100644 --- a/Classes/WizardViewController.m +++ b/Classes/WizardViewController.m @@ -411,7 +411,7 @@ static UICompositeViewDescription *compositeDescription = nil; linphone_address_destroy(parsedAddress); UIAlertView *errorView = [[UIAlertView alloc] initWithTitle:NSLocalizedString(@"Check error(s)", nil) - message:NSLocalizedString(@"Please enter a valid username", nil) + message:NSLocalizedString(@"Please enter a valid username.", nil) delegate:nil cancelButtonTitle:NSLocalizedString(@"Continue", nil) otherButtonTitles:nil, nil]; @@ -701,11 +701,13 @@ static UICompositeViewDescription *compositeDescription = nil; withTransport:(NSString *)transport { NSMutableString *errors = [NSMutableString string]; if ([username length] == 0) { - [errors appendString:[NSString stringWithFormat:NSLocalizedString(@"Please enter a valid username.\n", nil)]]; + [errors appendString:[NSString stringWithFormat:NSLocalizedString(@"Please enter a valid username.", nil)]]; + [errors appendString:@"\n"]; } if (domain != nil && [domain length] == 0) { - [errors appendString:[NSString stringWithFormat:NSLocalizedString(@"Please enter a valid domain.\n", nil)]]; + [errors appendString:[NSString stringWithFormat:NSLocalizedString(@"Please enter a valid domain.", nil)]]; + [errors appendString:@"\n"]; } if ([errors length]) { @@ -779,26 +781,28 @@ static UICompositeViewDescription *compositeDescription = nil; NSInteger password_length = [[LinphoneManager instance] lpConfigIntForKey:@"password_length" forSection:@"wizard"]; if ([username length] < username_length) { - [errors - appendString:[NSString stringWithFormat:NSLocalizedString( - @"The username is too short (minimum %d characters).\n", nil), - username_length]]; + [errors appendString:[NSString stringWithFormat:NSLocalizedString( + @"The username is too short (minimum %d characters).", nil), + username_length]]; + [errors appendString:@"\n"]; } if ([password length] < password_length) { - [errors - appendString:[NSString stringWithFormat:NSLocalizedString( - @"The password is too short (minimum %d characters).\n", nil), - password_length]]; + [errors appendString:[NSString stringWithFormat:NSLocalizedString( + @"The password is too short (minimum %d characters).", nil), + password_length]]; + [errors appendString:@"\n"]; } if (![password2 isEqualToString:password]) { - [errors appendString:NSLocalizedString(@"The passwords are different.\n", nil)]; + [errors appendString:NSLocalizedString(@"The passwords are different.", nil)]; + [errors appendString:@"\n"]; } NSPredicate *emailTest = [NSPredicate predicateWithFormat:@"SELF MATCHES %@", @".+@.+\\.[A-Za-z]{2}[A-Za-z]*"]; if (![emailTest evaluateWithObject:email]) { - [errors appendString:NSLocalizedString(@"The email is invalid.\n", nil)]; + [errors appendString:NSLocalizedString(@"The email is invalid.", nil)]; + [errors appendString:@"\n"]; } if ([errors length]) { @@ -837,7 +841,8 @@ static UICompositeViewDescription *compositeDescription = nil; NSMutableString *errors = [NSMutableString string]; if ([username length] == 0) { - [errors appendString:[NSString stringWithFormat:NSLocalizedString(@"Please enter a valid username.\n", nil)]]; + [errors appendString:[NSString stringWithFormat:NSLocalizedString(@"Please enter a valid username.", nil)]]; + [errors appendString:@"\n"]; } if ([errors length]) { diff --git a/Resources/ar.lproj/Localizable.strings b/Resources/ar.lproj/Localizable.strings index 66fea75f7b9b8a136fc0f483e723d3ace90215c7..921f348f97779bc9bfc840b70087726960622eee 100644 GIT binary patch delta 1213 zcmcIj!EVz)5S>(Ia!3V-N~nMkZqi`a#0jaBA|iq6#2XjW0~{!a2Iv7QkPsjhZV1yG zrwXw@!Kp&>oiE_PcW|tFtRmj5oi-S8!O&%T-W-t5=CnZt4E+fL<@%^}$?zFLX*+b+Z3V99RI<;wuc4-aKiiw&u zqE{57#R1RFtg4>FmAPaybUYHphDJ<7K_SIZEF@e0oOr{fl}$I!uoqaY>IK zAM2UbrL?;J>0IIh>Uz$vM;7^LAwZEF29XeG844D)P1!IfBL=uAwvHCF)?DmYK}(eN zfu`^`01ew%)-&pOrb+`OaGKh+ zp=zd!0v%CX2FT^ijz0E+=OH^rq(CS{tdIl#7KtTYQ^=uWa%NN3|EW<9@?-9qJK}W* zaDmw^(lY%u1tc1asx>qr%|zHoSnULz{3%i&I>>y~!Am?2k!YJa7r8}PX=w@qI~i*u zC(a#nM;XyGBn5gd*F${T|-@7hk1T*^G zC$mj1@mHGs!zXKUgP+*s0^e02rITd>q$UUWaBQCD&%!Pq%#g~E$B@F12_(}Q6c}|$Rg9Cr_=;`z^LZdP*(Fn8vQzS} U#SSTqAok{vR3^sFQE5w*0fh+~AOHXW delta 67 zcmaDhnd#qTrVUPB%rOjkn;pI0GlCeC4ZX8B&+_RJ1B!&b68L7e$hGW`N FWdIFx6$k(T diff --git a/Resources/en.lproj/Localizable.strings b/Resources/en.lproj/Localizable.strings index ad0a1f4a36a6688fce51a7199ddc1d29affb6ea3..4b27020b3dabc29c42549aea3c533252cfb904b4 100644 GIT binary patch delta 124 zcmcc8&a|e9X@i*io{ delta 444 zcmZ3}#B`;dX@i(Ma|}b?5D)~0g@Zb=N&1cAENM%r9$YjW4C}T)u$N{oafc#{J3?Q!vh?5ygfGUa@ zih-i#Kv57Iq$7|}3#1yPTLGvJB&)!X4&;{sS$UHuDo9R#lq6PP1l9vG38c1! zL61QR$g%}uC5B+2IW%+w(2n5AQx!x(?%+jn$K=Mi*v<2zb})j&$1z@baz>02G<@#G maZG*{69bn4vQcCNCa1+IAjyLHa1|*~nS8hi+h)E5IYj_y<##3k diff --git a/Resources/fr.lproj/Localizable.strings b/Resources/fr.lproj/Localizable.strings index 94f329f08a0e1923de226dad0aba29a59b427894..a103c4c9f332461dba19bfea7fde5753df7f6087 100644 GIT binary patch delta 50 zcmZ26iD|+lrVU13ldt&7Ot$lp+g#wajuFJ!Z0B=FY_eSPm(5}+T#TDlQh|g~+BYQt D1+o*J delta 78 zcmbO*iD|_orVU13%rOjkn+?5QGJ+VB4ZW-<$9Zc^?(@pp{LDv33@j*^{1vQF3@H{n_` E08w2S8UO$Q delta 64 zcmezOoN?L<#tnNMm}407Ht%+5WCSy;o&E}e7?aIIpMq)Wu=7w_dNND+1+b#a;o33) DB{UZ& diff --git a/Resources/nl.lproj/Localizable.strings b/Resources/nl.lproj/Localizable.strings index 7326dae19d81dc7ae9b3d6b76b3ec8394b46c2a0..ddbae2a991738a5845ce7332565ceafa67ca7c7a 100644 GIT binary patch delta 54 zcmX>xk!b@EJ@A}-z)Nd0pVuTtAj4<#2X7Ct$y>CACi^9Q0MVO6l9?DcN2N$GZZ1m= GQU(B$(H2Jl delta 74 zcmdlmk?F)lrVS4~nPV98HsAN$%LrmjzVE3$S;10d^DXZ%F|dGPvhZZ5qz_-*2M-x2 diff --git a/Resources/ru.lproj/Localizable.strings b/Resources/ru.lproj/Localizable.strings index 035caa73b386ce57055305b11c4a52b3fc7488df..7c6aeaeedec72fa69da58bc6eee0130ec892db8e 100644 GIT binary patch delta 73 zcmZqZW_r-Yv|)wEz>% delta 99 zcmaFR#njNvv|)t@a|}b?lQLH`&2MXEI+l*W?B6=YVo2mpAWEwKOq delta 165 zcmX@n#`L3&X~Qlz<`{;&$-VBTli#`VF~&@OXd6A*&zo=Z1UH$