diff options
author | gtm.daemon <gtm.daemon@7dc7ac4e-7543-0410-b95c-c1676fc8e2a3> | 2010-01-20 04:31:03 +0000 |
---|---|---|
committer | gtm.daemon <gtm.daemon@7dc7ac4e-7543-0410-b95c-c1676fc8e2a3> | 2010-01-20 04:31:03 +0000 |
commit | 53974a084bc914ea8666918b43803574515c9aef (patch) | |
tree | 2f22d47535abce712562870043865b52b2a090d3 /AppKit/GTMUILocalizer.h | |
parent | 00ac975413b92871834ecd54af73474bd6ddcd81 (diff) |
[Author: dmaclach]
Fix for http://code.google.com/p/google-toolbox-for-mac/issues/detail?id=40.
Sets up GTMUILocalizer to localize some bindings. Handles:
NSMultipleValuesPlaceholderBindingOption
NSNoSelectionPlaceholderBindingOption
NSNotApplicablePlaceholderBindingOption
NSNullPlaceholderBindingOption
NSDisplayNameBindingOption,
NSDisplayPatternBindingOption,
R=thomasvl
DELTA=1475 (815 added, 596 deleted, 64 changed)
Diffstat (limited to 'AppKit/GTMUILocalizer.h')
-rw-r--r-- | AppKit/GTMUILocalizer.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/AppKit/GTMUILocalizer.h b/AppKit/GTMUILocalizer.h index e3521e9..c07d7a1 100644 --- a/AppKit/GTMUILocalizer.h +++ b/AppKit/GTMUILocalizer.h @@ -77,6 +77,7 @@ - (void)localizeView:(NSView *)view recursively:(BOOL)recursive; - (void)localizeMenu:(NSMenu *)menu recursively:(BOOL)recursive; - (void)localizeCell:(NSCell *)cell recursively:(BOOL)recursive; +- (void)localizeBindings:(id)object; // NOTE: NSToolbar localization support is limited to only working on the // default items in the toolbar. We cannot localize items that are on of the |