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
This commit is contained in:
alqahira%ardisson.org 2010-01-02 01:41:39 +00:00
parent b2e8f31eb9
commit 8f979326f3
2 changed files with 4 additions and 0 deletions

View File

@ -608,6 +608,10 @@ NSString *const kDefaultServerType = @"google";
[emailLabel_ setStringValue:NSLocalizedString(@"emailLabel", @"")]; [emailLabel_ setStringValue:NSLocalizedString(@"emailLabel", @"")];
float emailLabelWidthDelta = [emailLabel_ breakpad_adjustWidthToFit]; float emailLabelWidthDelta = [emailLabel_ breakpad_adjustWidthToFit];
[emailEntryField_ breakpad_shiftHorizontally:emailLabelWidthDelta]; [emailEntryField_ breakpad_shiftHorizontally:emailLabelWidthDelta];
// Localize the placeholder text.
[[commentsEntryField_ cell]
setPlaceholderString:NSLocalizedString(@"commentsPlaceholder", @"")];
[[emailEntryField_ cell] [[emailEntryField_ cell]
setPlaceholderString:NSLocalizedString(@"emailPlaceholder", @"")]; setPlaceholderString:NSLocalizedString(@"emailPlaceholder", @"")];