diff options
author | stuart.morgan <stuart.morgan@4c0a9323-5329-0410-9bdc-e9ce6186880e> | 2010-01-01 00:21:18 +0000 |
---|---|---|
committer | stuart.morgan <stuart.morgan@4c0a9323-5329-0410-9bdc-e9ce6186880e> | 2010-01-01 00:21:18 +0000 |
commit | 910f68a5d4dfc1f9375f39ed3d19b40aeeb3ba7d (patch) | |
tree | 1bec4c0b684a3caec8b892460afd10166d84f087 | |
parent | Add email mapping for Socorro. r=nealsid (diff) | |
download | breakpad-910f68a5d4dfc1f9375f39ed3d19b40aeeb3ba7d.tar.xz |
Make Mac comment and email text field placeholders localizable. r=nealsid
git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@475 4c0a9323-5329-0410-9bdc-e9ce6186880e
-rw-r--r-- | src/client/mac/sender/English.lproj/Localizable.strings | bin | 2270 -> 2428 bytes | |||
-rw-r--r-- | src/client/mac/sender/crash_report_sender.m | 6 |
2 files changed, 6 insertions, 0 deletions
diff --git a/src/client/mac/sender/English.lproj/Localizable.strings b/src/client/mac/sender/English.lproj/Localizable.strings Binary files differindex 70626567..5f1cc826 100644 --- a/src/client/mac/sender/English.lproj/Localizable.strings +++ b/src/client/mac/sender/English.lproj/Localizable.strings diff --git a/src/client/mac/sender/crash_report_sender.m b/src/client/mac/sender/crash_report_sender.m index b6576933..6aa8887d 100644 --- a/src/client/mac/sender/crash_report_sender.m +++ b/src/client/mac/sender/crash_report_sender.m @@ -612,6 +612,12 @@ NSString *const kDefaultServerType = @"google"; float emailLabelWidthDelta = [emailLabel_ breakpad_adjustWidthToFit]; [emailEntryField_ breakpad_shiftHorizontally:emailLabelWidthDelta]; + // Localize the placeholder text. + [[commentsEntryField_ cell] + setPlaceholderString:NSLocalizedString(@"commentsPlaceholder", @"")]; + [[emailEntryField_ cell] + setPlaceholderString:NSLocalizedString(@"emailPlaceholder", @"")]; + // Localize the privacy policy label, and keep it right-aligned to the arrow. [privacyLinkLabel_ setStringValue:NSLocalizedString(@"privacyLabel", @"")]; float privacyLabelWidthDelta = [privacyLinkLabel_ breakpad_adjustWidthToFit]; |