aboutsummaryrefslogtreecommitdiff
path: root/src/client/mac/sender
diff options
context:
space:
mode:
authorstuart.morgan <stuart.morgan@4c0a9323-5329-0410-9bdc-e9ce6186880e>2010-01-01 00:21:18 +0000
committerstuart.morgan <stuart.morgan@4c0a9323-5329-0410-9bdc-e9ce6186880e>2010-01-01 00:21:18 +0000
commit910f68a5d4dfc1f9375f39ed3d19b40aeeb3ba7d (patch)
tree1bec4c0b684a3caec8b892460afd10166d84f087 /src/client/mac/sender
parentAdd email mapping for Socorro. r=nealsid (diff)
downloadbreakpad-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
Diffstat (limited to 'src/client/mac/sender')
-rw-r--r--src/client/mac/sender/English.lproj/Localizable.stringsbin2270 -> 2428 bytes
-rw-r--r--src/client/mac/sender/crash_report_sender.m6
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
index 70626567..5f1cc826 100644
--- a/src/client/mac/sender/English.lproj/Localizable.strings
+++ b/src/client/mac/sender/English.lproj/Localizable.strings
Binary files differ
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];