diff options
author | thomasvl@chromium.org <thomasvl@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-08-07 15:11:10 +0000 |
---|---|---|
committer | thomasvl@chromium.org <thomasvl@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-08-07 15:11:10 +0000 |
commit | 297a5569f00c5a27968755453bfc8590982e3c42 (patch) | |
tree | eb3388bd50123260b78dcd6acd11c69b60a705ef /chrome/app/nibs/TabView.xib | |
parent | e0c982d972a1072eee2ad41354f56c6eaca544e3 (diff) | |
download | chromium_src-297a5569f00c5a27968755453bfc8590982e3c42.zip chromium_src-297a5569f00c5a27968755453bfc8590982e3c42.tar.gz chromium_src-297a5569f00c5a27968755453bfc8590982e3c42.tar.bz2 |
Deps roll to pull in new GTM.
Bookmark localization (BookmarkBar, BookmarkEditor, and BookmarkNameFolder).
Toolbar localization.
TabView localization (the tab itself).
Bookmark Editor window fixup:
Align the labels to the front of the edit fields (ui guidelines).
Make the labels auto size to their text and resize the window as needed.
Make the buttons auto size to their strings and adjust to stay right pinned.
Make the window resize in general correctly.
BUG=16764
TEST=Try the Danish local, a bunch of this UI should localized, and the bookmark editor shouldn't truncate the labels or buttons.
Review URL: http://codereview.chromium.org/160328
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@22730 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/app/nibs/TabView.xib')
-rw-r--r-- | chrome/app/nibs/TabView.xib | 84 |
1 files changed, 71 insertions, 13 deletions
diff --git a/chrome/app/nibs/TabView.xib b/chrome/app/nibs/TabView.xib index 14ff731..0a80d73 100644 --- a/chrome/app/nibs/TabView.xib +++ b/chrome/app/nibs/TabView.xib @@ -2,12 +2,13 @@ <archive type="com.apple.InterfaceBuilder3.Cocoa.XIB" version="7.03"> <data> <int key="IBDocument.SystemTarget">1050</int> - <string key="IBDocument.SystemVersion">9F33</string> + <string key="IBDocument.SystemVersion">9J61</string> <string key="IBDocument.InterfaceBuilderVersion">677</string> - <string key="IBDocument.AppKitVersion">949.34</string> - <string key="IBDocument.HIToolboxVersion">352.00</string> + <string key="IBDocument.AppKitVersion">949.46</string> + <string key="IBDocument.HIToolboxVersion">353.00</string> <object class="NSMutableArray" key="IBDocument.EditedObjectIDs"> <bool key="EncodedWithXMLCoder">YES</bool> + <integer value="60"/> <integer value="1"/> </object> <object class="NSArray" key="IBDocument.PluginDependencies"> @@ -171,7 +172,7 @@ <bool key="EncodedWithXMLCoder">YES</bool> <object class="NSMenuItem" id="91607659"> <reference key="NSMenu" ref="398259350"/> - <string key="NSTitle">New Tab</string> + <string key="NSTitle">^IDS_TAB_CXMENU_NEWTAB</string> <string key="NSKeyEquiv"/> <int key="NSMnemonicLoc">2147483647</int> <object class="NSCustomResource" key="NSOnImage" id="530899574"> @@ -196,7 +197,7 @@ </object> <object class="NSMenuItem" id="881095412"> <reference key="NSMenu" ref="398259350"/> - <string key="NSTitle">Reload</string> + <string key="NSTitle">^IDS_TAB_CXMENU_RELOAD</string> <string key="NSKeyEquiv"/> <int key="NSMnemonicLoc">2147483647</int> <reference key="NSOnImage" ref="530899574"/> @@ -205,7 +206,7 @@ </object> <object class="NSMenuItem" id="851396572"> <reference key="NSMenu" ref="398259350"/> - <string key="NSTitle">Duplicate</string> + <string key="NSTitle">^IDS_TAB_CXMENU_DUPLICATE</string> <string key="NSKeyEquiv"/> <int key="NSMnemonicLoc">2147483647</int> <reference key="NSOnImage" ref="530899574"/> @@ -224,7 +225,7 @@ </object> <object class="NSMenuItem" id="287599043"> <reference key="NSMenu" ref="398259350"/> - <string key="NSTitle">Close Tab</string> + <string key="NSTitle">^IDS_TAB_CXMENU_CLOSETAB</string> <string key="NSKeyEquiv"/> <int key="NSMnemonicLoc">2147483647</int> <reference key="NSOnImage" ref="530899574"/> @@ -233,7 +234,7 @@ </object> <object class="NSMenuItem" id="590824484"> <reference key="NSMenu" ref="398259350"/> - <string key="NSTitle">Close Other Tabs</string> + <string key="NSTitle">^IDS_TAB_CXMENU_CLOSEOTHERTABS</string> <string key="NSKeyEquiv"/> <int key="NSMnemonicLoc">2147483647</int> <reference key="NSOnImage" ref="530899574"/> @@ -242,7 +243,7 @@ </object> <object class="NSMenuItem" id="393128310"> <reference key="NSMenu" ref="398259350"/> - <string key="NSTitle">Close Tabs To the Right</string> + <string key="NSTitle">^IDS_TAB_CXMENU_CLOSETABSTORIGHT</string> <string key="NSKeyEquiv"/> <int key="NSMnemonicLoc">2147483647</int> <reference key="NSOnImage" ref="530899574"/> @@ -251,7 +252,7 @@ </object> <object class="NSMenuItem" id="716790779"> <reference key="NSMenu" ref="398259350"/> - <string key="NSTitle">Close Tabs Opened By This Tab</string> + <string key="NSTitle">^IDS_TAB_CXMENU_CLOSETABSOPENEDBY</string> <string key="NSKeyEquiv"/> <int key="NSMnemonicLoc">2147483647</int> <reference key="NSOnImage" ref="530899574"/> @@ -260,7 +261,7 @@ </object> <object class="NSMenuItem" id="1067896488"> <reference key="NSMenu" ref="398259350"/> - <string key="NSTitle">Reopen Closed Tab</string> + <string key="NSTitle">^IDS_RESTORE_TAB</string> <string key="NSKeyEquiv"/> <int key="NSMnemonicLoc">2147483647</int> <reference key="NSOnImage" ref="530899574"/> @@ -269,6 +270,9 @@ </object> </object> </object> + <object class="NSCustomObject" id="208901833"> + <string key="NSClassName">TabViewLocalizer</string> + </object> </object> <object class="IBObjectContainer" key="IBDocument.Objects"> <object class="NSMutableArray" key="connectionRecords"> @@ -441,6 +445,14 @@ </object> <int key="connectionID">89</int> </object> + <object class="IBConnectionRecord"> + <object class="IBOutletConnection" key="connection"> + <string key="label">owner_</string> + <reference key="source" ref="208901833"/> + <reference key="destination" ref="1001"/> + </object> + <int key="connectionID">91</int> + </object> </object> <object class="IBMutableOrderedSet" key="objectRecords"> <object class="NSArray" key="orderedObjects"> @@ -607,6 +619,11 @@ <reference key="object" ref="716790779"/> <reference key="parent" ref="398259350"/> </object> + <object class="IBObjectRecord"> + <int key="objectID">90</int> + <reference key="object" ref="208901833"/> + <reference key="parent" ref="1002"/> + </object> </object> </object> <object class="NSMutableDictionary" key="flattenedProperties"> @@ -641,6 +658,7 @@ <string>70.IBPluginDependency</string> <string>71.IBPluginDependency</string> <string>72.IBPluginDependency</string> + <string>90.IBPluginDependency</string> </object> <object class="NSMutableArray" key="dict.values"> <bool key="EncodedWithXMLCoder">YES</bool> @@ -660,7 +678,8 @@ <string>com.apple.InterfaceBuilder.CocoaPlugin</string> <string>com.apple.InterfaceBuilder.CocoaPlugin</string> <string>com.apple.InterfaceBuilder.CocoaPlugin</string> - <string>{{400, 795}, {270, 183}}</string> + <string>{{820, 795}, {341, 183}}</string> + <string>com.apple.InterfaceBuilder.CocoaPlugin</string> <string>com.apple.InterfaceBuilder.CocoaPlugin</string> <string>com.apple.InterfaceBuilder.CocoaPlugin</string> <string>com.apple.InterfaceBuilder.CocoaPlugin</string> @@ -694,7 +713,7 @@ </object> </object> <nil key="sourceID"/> - <int key="maxID">89</int> + <int key="maxID">91</int> </object> <object class="IBClassDescriber" key="IBDocument.Classes"> <object class="NSMutableArray" key="referencedPartialClassDescriptions"> @@ -708,6 +727,14 @@ </object> </object> <object class="IBPartialClassDescription"> + <string key="className">ChromeUILocalizer</string> + <string key="superclassName">GTMUILocalizer</string> + <object class="IBClassDescriptionSource" key="sourceIdentifier"> + <string key="majorKey">IBProjectSource</string> + <string key="minorKey">browser/cocoa/ui_localizer.h</string> + </object> + </object> + <object class="IBPartialClassDescription"> <string key="className">FirstResponder</string> <string key="superclassName">NSObject</string> <object class="IBClassDescriptionSource" key="sourceIdentifier"> @@ -716,6 +743,29 @@ </object> </object> <object class="IBPartialClassDescription"> + <string key="className">GTMUILocalizer</string> + <string key="superclassName">NSObject</string> + <object class="NSMutableDictionary" key="outlets"> + <bool key="EncodedWithXMLCoder">YES</bool> + <object class="NSMutableArray" key="dict.sortedKeys"> + <bool key="EncodedWithXMLCoder">YES</bool> + <string>otherObjectToLocalize_</string> + <string>owner_</string> + <string>yetAnotherObjectToLocalize_</string> + </object> + <object class="NSMutableArray" key="dict.values"> + <bool key="EncodedWithXMLCoder">YES</bool> + <string>id</string> + <string>id</string> + <string>id</string> + </object> + </object> + <object class="IBClassDescriptionSource" key="sourceIdentifier"> + <string key="majorKey">IBProjectSource</string> + <string key="minorKey">../third_party/GTM/AppKit/GTMUILocalizer.h</string> + </object> + </object> + <object class="IBPartialClassDescription"> <string key="className">NSObject</string> <object class="IBClassDescriptionSource" key="sourceIdentifier"> <string key="majorKey">IBProjectSource</string> @@ -798,6 +848,14 @@ <string key="minorKey">browser/cocoa/tab_view.h</string> </object> </object> + <object class="IBPartialClassDescription"> + <string key="className">TabViewLocalizer</string> + <string key="superclassName">ChromeUILocalizer</string> + <object class="IBClassDescriptionSource" key="sourceIdentifier"> + <string key="majorKey">IBProjectSource</string> + <string key="minorKey">../xcodebuild/chrome.build/DerivedSources/Debug/xib_localizers/tab_view_localizer.h</string> + </object> + </object> </object> </object> <int key="IBDocument.localizationMode">0</int> |