aboutsummaryrefslogtreecommitdiff
path: root/AppKit/TestData
diff options
context:
space:
mode:
authorGravatar gtm.daemon <gtm.daemon@7dc7ac4e-7543-0410-b95c-c1676fc8e2a3>2010-07-12 17:07:19 +0000
committerGravatar gtm.daemon <gtm.daemon@7dc7ac4e-7543-0410-b95c-c1676fc8e2a3>2010-07-12 17:07:19 +0000
commite2bb8aa49243734ea094c0c81a072f7570507d95 (patch)
treee484921bc047c953593819787ff91f49af2daa20 /AppKit/TestData
parent4d5b01da0879f09e3777cf423bed5d3db5d2e149 (diff)
[Author: rsesek]
Add support for NSSegmentedControl to GTMUILocalizer. This fixes http://code.google.com/p/google-toolbox-for-mac/issues/detail?id=53. R=dmaclach APPROVED=dmaclach DELTA=142 (137 added, 1 deleted, 4 changed)
Diffstat (limited to 'AppKit/TestData')
-rw-r--r--AppKit/TestData/GTMUILocalizerWindow3State.gtmUTState32
-rw-r--r--AppKit/TestData/Resources/English.lproj/Localizable.strings3
2 files changed, 35 insertions, 0 deletions
diff --git a/AppKit/TestData/GTMUILocalizerWindow3State.gtmUTState b/AppKit/TestData/GTMUILocalizerWindow3State.gtmUTState
index ed88b68..8352b5e 100644
--- a/AppKit/TestData/GTMUILocalizerWindow3State.gtmUTState
+++ b/AppKit/TestData/GTMUILocalizerWindow3State.gtmUTState
@@ -293,6 +293,38 @@
<false/>
</dict>
</dict>
+ <key>ViewSubView 3</key>
+ <dict>
+ <key>ControlIsEnabled</key>
+ <true/>
+ <key>ControlSelectedCell</key>
+ <dict>
+ <key>CellState</key>
+ <integer>0</integer>
+ <key>CellTag</key>
+ <integer>0</integer>
+ <key>CellTitle</key>
+ <string></string>
+ <key>CellValue</key>
+ <string>1</string>
+ </dict>
+ <key>ControlTag</key>
+ <integer>0</integer>
+ <key>ControlType</key>
+ <string>NSSegmentedControl</string>
+ <key>ControlValue</key>
+ <string>1</string>
+ <key>Segment 0</key>
+ <string>Localized Segment 1</string>
+ <key>Segment 1</key>
+ <string>Localized Segment 2</string>
+ <key>Segment 2</key>
+ <string>Localized Segment 3</string>
+ <key>SegmentCount</key>
+ <integer>3</integer>
+ <key>ViewIsHidden</key>
+ <false/>
+ </dict>
</dict>
<key>WindowIsMain</key>
<false/>
diff --git a/AppKit/TestData/Resources/English.lproj/Localizable.strings b/AppKit/TestData/Resources/English.lproj/Localizable.strings
index d70d574..e6452a8 100644
--- a/AppKit/TestData/Resources/English.lproj/Localizable.strings
+++ b/AppKit/TestData/Resources/English.lproj/Localizable.strings
@@ -37,6 +37,9 @@
"Radio 1" = "Localized Radio 1";
"Radio 2" = "Localized Radio 2";
"Box" = "Localized Box";
+"Seg1" = "Localized Segment 1";
+"Seg2" = "Localized Segment 2";
+"Seg3" = "Localized Segment 3";
// Binding localization strings.
"MultipleValuesPlaceholder" = "MultipleValuesPlaceholder";