From 53974a084bc914ea8666918b43803574515c9aef Mon Sep 17 00:00:00 2001 From: "gtm.daemon" Date: Wed, 20 Jan 2010 04:31:03 +0000 Subject: [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) --- .../TestData/GTMUILocalizerWindow1State.gtmUTState | 62 ++++++++++++++++++++++ .../GTMUILocalizerWindow1State_10_4.gtmUTState | 62 ++++++++++++++++++++++ .../Resources/English.lproj/Localizable.strings | 8 +++ 3 files changed, 132 insertions(+) (limited to 'AppKit/TestData') diff --git a/AppKit/TestData/GTMUILocalizerWindow1State.gtmUTState b/AppKit/TestData/GTMUILocalizerWindow1State.gtmUTState index 9d2736d..ae95f53 100644 --- a/AppKit/TestData/GTMUILocalizerWindow1State.gtmUTState +++ b/AppKit/TestData/GTMUILocalizerWindow1State.gtmUTState @@ -332,6 +332,68 @@ ViewIsHidden + ViewSubView 9 + + BoxBorderType + 1 + BoxTitle + Bindings Tests + BoxTitlePosition + 2 + BoxType + 0 + ViewIsHidden + + ViewSubView 0 + + ViewIsHidden + + ViewSubView 0 + + ControlIsEnabled + + ControlSelectedCell + + CellState + 1 + CellTag + 0 + CellTitle + DisplayPattern + CellValue + DisplayPattern + + ControlTag + 0 + ControlType + NSTextField + ControlValue + DisplayPattern + ViewIsHidden + + + ViewSubView 1 + + ControlIsEnabled + + ControlSelectedCell + + CellState + 0 + CellTag + 0 + CellTitle + + + ControlTag + 0 + ControlType + NSSearchField + ViewIsHidden + + + + WindowIsMain diff --git a/AppKit/TestData/GTMUILocalizerWindow1State_10_4.gtmUTState b/AppKit/TestData/GTMUILocalizerWindow1State_10_4.gtmUTState index 015cb93..84dde80 100644 --- a/AppKit/TestData/GTMUILocalizerWindow1State_10_4.gtmUTState +++ b/AppKit/TestData/GTMUILocalizerWindow1State_10_4.gtmUTState @@ -332,6 +332,68 @@ ViewIsHidden + ViewSubView 9 + + BoxBorderType + 1 + BoxTitle + Bindings Tests + BoxTitlePosition + 2 + BoxType + 0 + ViewIsHidden + + ViewSubView 0 + + ViewIsHidden + + ViewSubView 0 + + ControlIsEnabled + + ControlSelectedCell + + CellState + 1 + CellTag + 0 + CellTitle + DisplayPattern + CellValue + DisplayPattern + + ControlTag + 0 + ControlType + NSTextField + ControlValue + DisplayPattern + ViewIsHidden + + + ViewSubView 1 + + ControlIsEnabled + + ControlSelectedCell + + CellState + 0 + CellTag + 0 + CellTitle + + + ControlTag + 0 + ControlType + NSSearchField + ViewIsHidden + + + + WindowIsMain diff --git a/AppKit/TestData/Resources/English.lproj/Localizable.strings b/AppKit/TestData/Resources/English.lproj/Localizable.strings index 006528e..d70d574 100644 --- a/AppKit/TestData/Resources/English.lproj/Localizable.strings +++ b/AppKit/TestData/Resources/English.lproj/Localizable.strings @@ -37,3 +37,11 @@ "Radio 1" = "Localized Radio 1"; "Radio 2" = "Localized Radio 2"; "Box" = "Localized Box"; + +// Binding localization strings. +"MultipleValuesPlaceholder" = "MultipleValuesPlaceholder"; +"NoSelectionPlaceholder" = "NoSelectionPlaceholder"; +"NotApplicablePlaceholder" = "NotApplicablePlaceholder"; +"NullPlaceholder" = "NullPlaceholder"; +"DisplayName" = "DisplayName"; +"DisplayPattern" = "DisplayPattern"; -- cgit v1.2.3