From 8f979326f3b51dd77ae8e483481b974eb98e30a4 Mon Sep 17 00:00:00 2001 From: "alqahira%ardisson.org" Date: Sat, 2 Jan 2010 01:41:39 +0000 Subject: [PATCH] Follow-up to bug 529989 - commit the rest of the upstream Breakpad fix for the Crash Reporter app placeholder text localization. sr=smorgan git-svn-id: svn://10.0.0.236/trunk@259331 18797224-902f-48f8-a5cc-f745e15eee43 --- .../sender/English.lproj/Localizable.strings | Bin 2334 -> 2426 bytes .../client/mac/sender/crash_report_sender.m | 4 ++++ 2 files changed, 4 insertions(+) diff --git a/mozilla/camino/google-breakpad/src/client/mac/sender/English.lproj/Localizable.strings b/mozilla/camino/google-breakpad/src/client/mac/sender/English.lproj/Localizable.strings index c16ded93a3ca82af5b3f2ae8c443f8a61a6bc530..b968c4e55e0905c93e98f3cb6ca3143150c9130b 100644 GIT binary patch delta 49 zcmbOy^h;<%9qZ&b%mR~lu^I>}FeEeNGvoqcDnlMa2}AMZ<*c5Qt60q@KV#$D#3siK E0E{{g(EtDd delta 20 ccmew*G*4(l9qVKnHlxWmSRFR|u<0=a08x_$y#N3J diff --git a/mozilla/camino/google-breakpad/src/client/mac/sender/crash_report_sender.m b/mozilla/camino/google-breakpad/src/client/mac/sender/crash_report_sender.m index 811e5a6a8bd..19b637ab891 100644 --- a/mozilla/camino/google-breakpad/src/client/mac/sender/crash_report_sender.m +++ b/mozilla/camino/google-breakpad/src/client/mac/sender/crash_report_sender.m @@ -608,6 +608,10 @@ NSString *const kDefaultServerType = @"google"; [emailLabel_ setStringValue:NSLocalizedString(@"emailLabel", @"")]; float emailLabelWidthDelta = [emailLabel_ breakpad_adjustWidthToFit]; [emailEntryField_ breakpad_shiftHorizontally:emailLabelWidthDelta]; + + // Localize the placeholder text. + [[commentsEntryField_ cell] + setPlaceholderString:NSLocalizedString(@"commentsPlaceholder", @"")]; [[emailEntryField_ cell] setPlaceholderString:NSLocalizedString(@"emailPlaceholder", @"")];