mirror of
https://github.com/yuzu-emu/breakpad.git
synced 2025-07-03 14:28:15 +00:00
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
This commit is contained in:
parent
6f50ca38bb
commit
910f68a5d4
Binary file not shown.
|
@ -612,6 +612,12 @@ NSString *const kDefaultServerType = @"google";
|
||||||
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]
|
||||||
|
setPlaceholderString:NSLocalizedString(@"emailPlaceholder", @"")];
|
||||||
|
|
||||||
// Localize the privacy policy label, and keep it right-aligned to the arrow.
|
// Localize the privacy policy label, and keep it right-aligned to the arrow.
|
||||||
[privacyLinkLabel_ setStringValue:NSLocalizedString(@"privacyLabel", @"")];
|
[privacyLinkLabel_ setStringValue:NSLocalizedString(@"privacyLabel", @"")];
|
||||||
float privacyLabelWidthDelta = [privacyLinkLabel_ breakpad_adjustWidthToFit];
|
float privacyLabelWidthDelta = [privacyLinkLabel_ breakpad_adjustWidthToFit];
|
||||||
|
|
Loading…
Reference in a new issue