Changeset 10310


Ignore:
Timestamp:
Mar 6, 2010, 11:24:42 PM (12 years ago)
Author:
livings124
Message:

the info window itself no longer needs to be localized

Location:
trunk
Files:
9 deleted
2 edited
1 moved

Legend:

Unmodified
Added
Removed
  • trunk/Transmission.xcodeproj/project.pbxproj

    r10309 r10310  
    8686                A209EBF91142FEEE002B02D1 /* InfoOptionsViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = A209EBF81142FEEE002B02D1 /* InfoOptionsViewController.m */; };
    8787                A209EC12114301C6002B02D1 /* InfoOptionsView.xib in Resources */ = {isa = PBXBuildFile; fileRef = A209EC11114301C6002B02D1 /* InfoOptionsView.xib */; };
     88                A209ECA2114319C3002B02D1 /* InfoWindow.xib in Resources */ = {isa = PBXBuildFile; fileRef = A209ECA1114319C3002B02D1 /* InfoWindow.xib */; };
    8889                A20B6F6B0C4D842B0034AB1D /* PriorityLow.png in Resources */ = {isa = PBXBuildFile; fileRef = A20B6F6A0C4D842B0034AB1D /* PriorityLow.png */; };
    8990                A20B6F830C4D8A610034AB1D /* PriorityHigh.png in Resources */ = {isa = PBXBuildFile; fileRef = A20B6F820C4D8A610034AB1D /* PriorityHigh.png */; };
     
    181182                A292A6E80DFB45FC004B9C0A /* webseed.c in Sources */ = {isa = PBXBuildFile; fileRef = A292A6E50DFB45EC004B9C0A /* webseed.c */; };
    182183                A29576030D11D63C0093B167 /* Creator.xib in Resources */ = {isa = PBXBuildFile; fileRef = A29576010D11D63C0093B167 /* Creator.xib */; };
    183                 A29576130D11D8DD0093B167 /* InfoWindow.xib in Resources */ = {isa = PBXBuildFile; fileRef = A29576110D11D8DD0093B167 /* InfoWindow.xib */; };
    184184                A29AF4F70D01BADC00D097EC /* DownArrowTemplate.png in Resources */ = {isa = PBXBuildFile; fileRef = A29AF4F60D01BADC00D097EC /* DownArrowTemplate.png */; };
    185185                A29AF4F90D01BAEB00D097EC /* UpArrowTemplate.png in Resources */ = {isa = PBXBuildFile; fileRef = A29AF4F80D01BAEB00D097EC /* UpArrowTemplate.png */; };
     
    490490                A202FF5C0DDA9275009938FF /* it */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = it; path = macosx/it.lproj/Creator.xib; sourceTree = "<group>"; };
    491491                A202FF5D0DDA9275009938FF /* it */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = it; path = macosx/it.lproj/InfoPlist.strings; sourceTree = "<group>"; };
    492                 A202FF5E0DDA9275009938FF /* it */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = it; path = macosx/it.lproj/InfoWindow.xib; sourceTree = "<group>"; };
    493492                A202FF5F0DDA9275009938FF /* it */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = it; path = macosx/it.lproj/Localizable.strings; sourceTree = "<group>"; };
    494493                A202FF600DDA9275009938FF /* it */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = it; path = macosx/it.lproj/MainMenu.xib; sourceTree = "<group>"; };
     
    514513                A209EBF81142FEEE002B02D1 /* InfoOptionsViewController.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = InfoOptionsViewController.m; path = macosx/InfoOptionsViewController.m; sourceTree = "<group>"; };
    515514                A209EC13114301C6002B02D1 /* en */ = {isa = PBXFileReference; explicitFileType = file.xib; name = en; path = macosx/en.lproj/InfoOptionsView.xib; sourceTree = "<group>"; };
     515                A209ECA1114319C3002B02D1 /* InfoWindow.xib */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = InfoWindow.xib; path = macosx/InfoWindow.xib; sourceTree = "<group>"; };
    516516                A20B6F6A0C4D842B0034AB1D /* PriorityLow.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; name = PriorityLow.png; path = macosx/Images/PriorityLow.png; sourceTree = "<group>"; };
    517517                A20B6F820C4D8A610034AB1D /* PriorityHigh.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; name = PriorityHigh.png; path = macosx/Images/PriorityHigh.png; sourceTree = "<group>"; };
     
    542542                A223AA7D0D220CEB00840069 /* nl */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = nl; path = macosx/nl.lproj/Creator.xib; sourceTree = "<group>"; };
    543543                A223AA7E0D220CEB00840069 /* nl */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = nl; path = macosx/nl.lproj/InfoPlist.strings; sourceTree = "<group>"; };
    544                 A223AA7F0D220CEB00840069 /* nl */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = nl; path = macosx/nl.lproj/InfoWindow.xib; sourceTree = "<group>"; };
    545544                A223AA800D220CEB00840069 /* nl */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = nl; path = macosx/nl.lproj/Localizable.strings; sourceTree = "<group>"; };
    546545                A223AA810D220CEB00840069 /* nl */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = nl; path = macosx/nl.lproj/MainMenu.xib; sourceTree = "<group>"; };
     
    582581                A251A6590F9E8FBF004F5973 /* pt */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = pt; path = macosx/pt.lproj/AddWindow.xib; sourceTree = "<group>"; };
    583582                A251A65A0F9E8FCA004F5973 /* pt */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = pt; path = macosx/pt.lproj/Creator.xib; sourceTree = "<group>"; };
    584                 A251A65B0F9E8FCE004F5973 /* pt */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = pt; path = macosx/pt.lproj/InfoWindow.xib; sourceTree = "<group>"; };
    585583                A251A65C0F9E8FD5004F5973 /* pt */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = pt; path = macosx/pt.lproj/MainMenu.xib; sourceTree = "<group>"; };
    586584                A251A65D0F9E8FD5004F5973 /* pt */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = pt; path = macosx/pt.lproj/PrefsWindow.xib; sourceTree = "<group>"; };
     
    623621                A263D03D10DE6F010038DE27 /* Magnet.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; name = Magnet.png; path = macosx/Images/Magnet.png; sourceTree = "<group>"; };
    624622                A265A32E0D25767700198AC8 /* fr */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = fr; path = macosx/fr.lproj/Creator.xib; sourceTree = "<group>"; };
    625                 A265A32F0D25767700198AC8 /* fr */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = fr; path = macosx/fr.lproj/InfoWindow.xib; sourceTree = "<group>"; };
    626623                A265A3300D25767700198AC8 /* fr */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = fr; path = macosx/fr.lproj/MainMenu.xib; sourceTree = "<group>"; };
    627624                A265A3320D25767700198AC8 /* fr */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = fr; path = macosx/fr.lproj/PrefsWindow.xib; sourceTree = "<group>"; };
    628625                A265A3BE0D25AE7800198AC8 /* es */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = es; path = macosx/es.lproj/Creator.xib; sourceTree = "<group>"; };
    629                 A265A3BF0D25AE7800198AC8 /* es */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = es; path = macosx/es.lproj/InfoWindow.xib; sourceTree = "<group>"; };
    630626                A265A3C00D25AE7800198AC8 /* es */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = es; path = macosx/es.lproj/MainMenu.xib; sourceTree = "<group>"; };
    631627                A265A3C20D25AE7800198AC8 /* es */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = es; path = macosx/es.lproj/PrefsWindow.xib; sourceTree = "<group>"; };
    632628                A26AF1040D2855FC00FF7140 /* ru */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = ru; path = macosx/ru.lproj/Creator.xib; sourceTree = "<group>"; };
    633629                A26AF1050D2855FC00FF7140 /* ru */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.strings; name = ru; path = macosx/ru.lproj/InfoPlist.strings; sourceTree = "<group>"; };
    634                 A26AF1060D2855FC00FF7140 /* ru */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = ru; path = macosx/ru.lproj/InfoWindow.xib; sourceTree = "<group>"; };
    635630                A26AF1070D2855FC00FF7140 /* ru */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.strings; name = ru; path = macosx/ru.lproj/Localizable.strings; sourceTree = "<group>"; };
    636631                A26AF1080D2855FC00FF7140 /* ru */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = ru; path = macosx/ru.lproj/MainMenu.xib; sourceTree = "<group>"; };
     
    657652                A28393FC10D54A66005C0240 /* de */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = de; path = macosx/de.lproj/GroupRules.xib; sourceTree = "<group>"; };
    658653                A28393FD10D54A79005C0240 /* de */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = de; path = macosx/de.lproj/InfoPlist.strings; sourceTree = "<group>"; };
    659                 A28393FE10D54A89005C0240 /* de */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = de; path = macosx/de.lproj/InfoWindow.xib; sourceTree = "<group>"; };
    660654                A28393FF10D54A96005C0240 /* de */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = de; path = macosx/de.lproj/Localizable.strings; sourceTree = "<group>"; };
    661655                A283940010D54A9D005C0240 /* de */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = de; path = macosx/de.lproj/MainMenu.xib; sourceTree = "<group>"; };
     
    664658                A28AFE060DA1C47A00673957 /* zh_TW */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = zh_TW; path = macosx/zh_TW.lproj/Creator.xib; sourceTree = "<group>"; };
    665659                A28AFE070DA1C47A00673957 /* zh_TW */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.strings; name = zh_TW; path = macosx/zh_TW.lproj/InfoPlist.strings; sourceTree = "<group>"; };
    666                 A28AFE080DA1C47A00673957 /* zh_TW */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = zh_TW; path = macosx/zh_TW.lproj/InfoWindow.xib; sourceTree = "<group>"; };
    667660                A28AFE090DA1C47A00673957 /* zh_TW */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.strings; name = zh_TW; path = macosx/zh_TW.lproj/Localizable.strings; sourceTree = "<group>"; };
    668661                A28AFE0A0DA1C47A00673957 /* zh_TW */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = zh_TW; path = macosx/zh_TW.lproj/MainMenu.xib; sourceTree = "<group>"; };
     
    674667                A291477C0E195A0C00F60CB2 /* en */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = en; path = macosx/en.lproj/Creator.xib; sourceTree = "<group>"; };
    675668                A291477D0E195A0C00F60CB2 /* en */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = en; path = macosx/en.lproj/InfoPlist.strings; sourceTree = "<group>"; };
    676                 A291477E0E195A0C00F60CB2 /* en */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = en; path = macosx/en.lproj/InfoWindow.xib; sourceTree = "<group>"; };
    677669                A291477F0E195A0C00F60CB2 /* en */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = en; path = macosx/en.lproj/Localizable.strings; sourceTree = "<group>"; };
    678670                A29147800E195A0C00F60CB2 /* en */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = en; path = macosx/en.lproj/MainMenu.xib; sourceTree = "<group>"; };
     
    751743                A2DC1E4710E6731000DFB18C /* zh_CN */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = zh_CN; path = macosx/zh_CN.lproj/GroupRules.xib; sourceTree = "<group>"; };
    752744                A2DC1E4810E6731000DFB18C /* zh_CN */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = zh_CN; path = macosx/zh_CN.lproj/InfoPlist.strings; sourceTree = "<group>"; };
    753                 A2DC1E4910E6731000DFB18C /* zh_CN */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = zh_CN; path = macosx/zh_CN.lproj/InfoWindow.xib; sourceTree = "<group>"; };
    754745                A2DC1E4A10E6731000DFB18C /* zh_CN */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = zh_CN; path = macosx/zh_CN.lproj/Localizable.strings; sourceTree = "<group>"; };
    755746                A2DC1E4B10E6731000DFB18C /* zh_CN */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = zh_CN; path = macosx/zh_CN.lproj/MainMenu.xib; sourceTree = "<group>"; };
     
    10721063                                A23F50000D1D99D7002FCB97 /* MainMenu.xib */,
    10731064                                A23F4FF00D1D98AD002FCB97 /* PrefsWindow.xib */,
    1074                                 A29576110D11D8DD0093B167 /* InfoWindow.xib */,
    10751065                                A29576010D11D63C0093B167 /* Creator.xib */,
    10761066                                A26AF27C0D2DBDDF00FF7140 /* AddWindow.xib */,
     
    10801070                                A231274B0D11D0B7003F9AFF /* AboutWindow.xib */,
    10811071                                A2D307B00D9EC9F50051FD27 /* BlocklistStatusWindow.xib */,
     1072                                A209ECA1114319C3002B02D1 /* InfoWindow.xib */,
    10821073                                A209EAEA1142D294002B02D1 /* InfoGeneralView.xib */,
    10831074                                A209EAE81142D294002B02D1 /* InfoActivityView.xib */,
     
    18691860                                A231274C0D11D0B7003F9AFF /* AboutWindow.xib in Resources */,
    18701861                                A29576030D11D63C0093B167 /* Creator.xib in Resources */,
    1871                                 A29576130D11D8DD0093B167 /* InfoWindow.xib in Resources */,
    18721862                                A20152640D1C1BE70081714F /* PinTemplate.png in Resources */,
    18731863                                A23F4FF20D1D98AD002FCB97 /* PrefsWindow.xib in Resources */,
     
    19061896                                A209EBD91142F52B002B02D1 /* InfoFileView.xib in Resources */,
    19071897                                A209EC12114301C6002B02D1 /* InfoOptionsView.xib in Resources */,
     1898                                A209ECA2114319C3002B02D1 /* InfoWindow.xib in Resources */,
    19081899                        );
    19091900                        runOnlyForDeploymentPostprocessing = 0;
     
    23452336                        sourceTree = "<group>";
    23462337                };
    2347                 A29576110D11D8DD0093B167 /* InfoWindow.xib */ = {
    2348                         isa = PBXVariantGroup;
    2349                         children = (
    2350                                 A291477E0E195A0C00F60CB2 /* en */,
    2351                                 A223AA7F0D220CEB00840069 /* nl */,
    2352                                 A265A32F0D25767700198AC8 /* fr */,
    2353                                 A265A3BF0D25AE7800198AC8 /* es */,
    2354                                 A26AF1060D2855FC00FF7140 /* ru */,
    2355                                 A28AFE080DA1C47A00673957 /* zh_TW */,
    2356                                 A202FF5E0DDA9275009938FF /* it */,
    2357                                 A251A65B0F9E8FCE004F5973 /* pt */,
    2358                                 A28393FE10D54A89005C0240 /* de */,
    2359                                 A2DC1E4910E6731000DFB18C /* zh_CN */,
    2360                         );
    2361                         name = InfoWindow.xib;
    2362                         sourceTree = "<group>";
    2363                 };
    23642338/* End PBXVariantGroup section */
    23652339
  • trunk/macosx/InfoWindow.xib

    r10309 r10310  
    1313                <object class="NSMutableArray" key="IBDocument.EditedObjectIDs">
    1414                        <bool key="EncodedWithXMLCoder">YES</bool>
     15                        <integer value="931"/>
    1516                </object>
    1617                <object class="NSArray" key="IBDocument.PluginDependencies">
     
    5152                                <string key="NSWindowContentMinSize">{350, 73}</string>
    5253                                <object class="NSView" key="NSWindowView" id="429007171">
    53                                         <nil key="NSNextResponder"/>
     54                                        <reference key="NSNextResponder"/>
    5455                                        <int key="NSvFlags">256</int>
    5556                                        <object class="NSMutableArray" key="NSSubviews">
     
    416417                                        </object>
    417418                                        <string key="NSFrameSize">{350, 75}</string>
     419                                        <reference key="NSSuperview"/>
    418420                                </object>
    419421                                <string key="NSScreenRect">{{0, 0}, {1680, 1028}}</string>
     
    807809                                                <object class="NSArray" key="dict.sortedKeys">
    808810                                                        <bool key="EncodedWithXMLCoder">YES</bool>
    809                                                         <string>fActivityView</string>
    810811                                                        <string>fBasicInfoField</string>
    811                                                         <string>fFilesView</string>
    812812                                                        <string>fImageView</string>
    813                                                         <string>fInfoView</string>
    814813                                                        <string>fNameField</string>
    815                                                         <string>fOptionsView</string>
    816                                                         <string>fPeersView</string>
    817                                                         <string>fPreviewPanel</string>
    818814                                                        <string>fTabMatrix</string>
    819                                                         <string>fTrackerView</string>
    820815                                                </object>
    821816                                                <object class="NSMutableArray" key="dict.values">
    822817                                                        <bool key="EncodedWithXMLCoder">YES</bool>
    823                                                         <string>NSView</string>
    824818                                                        <string>NSTextField</string>
    825                                                         <string>NSView</string>
    826819                                                        <string>NSImageView</string>
    827                                                         <string>NSView</string>
    828820                                                        <string>NSTextField</string>
    829                                                         <string>NSView</string>
    830                                                         <string>NSView</string>
    831                                                         <string>id</string>
    832821                                                        <string>NSMatrix</string>
    833                                                         <string>NSView</string>
    834822                                                </object>
    835823                                        </object>
     
    14591447                </object>
    14601448                <bool key="IBDocument.PluginDeclaredDependenciesTrackSystemTargetVersion">YES</bool>
    1461                 <string key="IBDocument.LastKnownRelativeProjectPath">../../Transmission.xcodeproj</string>
     1449                <string key="IBDocument.LastKnownRelativeProjectPath">../Transmission.xcodeproj</string>
    14621450                <int key="IBDocument.defaultPropertyAccessControl">3</int>
    14631451        </data>
  • trunk/macosx/InfoWindowController.m

    r10309 r10310  
    9797    [window setBecomesKeyOnlyIfNeeded: YES];
    9898   
    99     //set tab images and tooltips
     99    //set tab images
    100100    [[fTabMatrix cellWithTag: TAB_GENERAL_TAG] setIcon: [NSImage imageNamed: @"InfoGeneral.png"]];
    101101    [[fTabMatrix cellWithTag: TAB_ACTIVITY_TAG] setIcon: [NSImage imageNamed: @"InfoActivity.png"]];
     
    104104    [[fTabMatrix cellWithTag: TAB_FILE_TAG] setIcon: [NSImage imageNamed: @"InfoFiles.png"]];
    105105    [[fTabMatrix cellWithTag: TAB_OPTIONS_TAG] setIcon: [NSImage imageNamed: @"InfoOptions.png"]];
     106   
     107    //set tab tooltips
     108    [[fTabMatrix cellWithTag: TAB_GENERAL_TAG] setToolTip: NSLocalizedString(@"General Info", "Inspector -> tab")];
     109    [[fTabMatrix cellWithTag: TAB_ACTIVITY_TAG] setToolTip: NSLocalizedString(@"Activity", "Inspector -> tab")];
     110    [[fTabMatrix cellWithTag: TAB_TRACKERS_TAG] setToolTip: NSLocalizedString(@"Trackers", "Inspector -> tab")];
     111    [[fTabMatrix cellWithTag: TAB_PEERS_TAG] setToolTip: NSLocalizedString(@"Peers", "Inspector -> tab")];
     112    [[fTabMatrix cellWithTag: TAB_FILE_TAG] setToolTip: NSLocalizedString(@"Files", "Inspector -> tab")];
     113    [[fTabMatrix cellWithTag: TAB_OPTIONS_TAG] setToolTip: NSLocalizedString(@"Options", "Inspector -> tab")];
    106114   
    107115    //set selected tab
Note: See TracChangeset for help on using the changeset viewer.