From 27261010d66940122d38dfdc3a4f83c6884a824f Mon Sep 17 00:00:00 2001 From: Guillaume BIENKOWSKI Date: Wed, 22 Jan 2014 16:54:15 +0100 Subject: [PATCH] Fix missing localized placeholder in dialer --- Classes/DialerViewController.m | 2 +- Resources/en.lproj/Localizable.strings | Bin 19526 -> 19738 bytes Resources/fr.lproj/Localizable.strings | Bin 20146 -> 20388 bytes Resources/ru.lproj/Localizable.strings | Bin 20012 -> 20230 bytes 4 files changed, 1 insertion(+), 1 deletion(-) diff --git a/Classes/DialerViewController.m b/Classes/DialerViewController.m index a3a399688..b9582aac0 100644 --- a/Classes/DialerViewController.m +++ b/Classes/DialerViewController.m @@ -159,7 +159,7 @@ static UICompositeViewDescription *compositeDescription = nil; // fix placeholder bar color in iOS7 UIColor *color = [UIColor grayColor]; addressField.attributedPlaceholder = [[NSAttributedString alloc] - initWithString:addressField.placeholder + initWithString:NSLocalizedString(@"Enter an address", @"Enter an address") attributes:@{NSForegroundColorAttributeName: color}]; } #endif diff --git a/Resources/en.lproj/Localizable.strings b/Resources/en.lproj/Localizable.strings index 7e6b53fc6fd1423967c647c8276ca4c3a9c740e4..4b7eddd512e2b6550a7da151e6f38cb6c38089cc 100644 GIT binary patch delta 154 zcmX>$gK^d@#tm*hf%*(u38S)rP7*ZLEfb2vd8$_l6VG&TQ7zh;@3K(*LV#z>$ z217oOodQ*z30CdGkO`E{0f|lCFDK3nG-I-?s`TVva$J)Y3^^v(NXzl&Gn4|&DFv&~ Ro9wNp%B9Buf=Ue53;;Br9^(K2 delta 9 QcmZ27pK;S%#tobN02R*!MF0Q* diff --git a/Resources/ru.lproj/Localizable.strings b/Resources/ru.lproj/Localizable.strings index c07f419c656afd1b9aed57936487363a66d3d20a..f4702d4c5a4019b527ab2c040ead2c61c0a46e2b 100644 GIT binary patch delta 182 zcmZ28hp}xQ;|3kSY<&hT1_cIJhCGH6hE#?kAUhGr29YU1SOgR+20{gf0)`x*STc~G z!H^GRr$AL_f>paPWCCS#pki7K`V3qQO6aCeerPQ{xyONHa*aI4WG8760}B>w77G>y j23r<878@2*76%~P2}oN5u?tYlmc;-lq6dab4Au+)1N0!= delta 9 QcmZph$GBz=;|3i+0271*nE(I)