Adium

Changeset 24957

Show
Ignore:
Timestamp:
08/25/2008 09:08:55 PM (5 months ago)
Author:
evands
Message:

Made the information about importing button localizable

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/Resources/SetupWizard.nib/classes.nib

    r20075 r24957  
    1 
    2     IBClasses = ( 
    3         {CLASS = AILinkTextView; LANGUAGE = ObjC; SUPERCLASS = NSTextView; },  
    4         { 
    5             CLASS = AILocalizationButton;  
    6             LANGUAGE = ObjC;  
    7             OUTLETS = { 
    8                 "view_anchorToLeftSide" = NSView;  
    9                 "view_anchorToRightSide" = NSView;  
    10                 "window_anchorOnLeftSide" = NSWindow;  
    11                 "window_anchorOnRightSide" = NSWindow;  
    12             };  
    13             SUPERCLASS = NSButton;  
    14         },  
    15         { 
    16             CLASS = AILocalizationTextField;  
    17             LANGUAGE = ObjC;  
    18             OUTLETS = { 
    19                 "view_anchorToLeftSide" = NSView;  
    20                 "view_anchorToRightSide" = NSView;  
    21                 "window_anchorOnLeftSide" = NSWindow;  
    22                 "window_anchorOnRightSide" = NSWindow;  
    23             };  
    24             SUPERCLASS = NSTextField;  
    25         },  
    26         {CLASS = AIObject; LANGUAGE = ObjC; SUPERCLASS = NSObject; },  
    27         { 
    28             ACTIONS = {closeWindow = id; };  
    29             CLASS = AIWindowController;  
    30             LANGUAGE = ObjC;  
    31             SUPERCLASS = NSWindowController;  
    32         },  
    33         { 
    34             ACTIONS = { 
    35                 nextTab = id;  
    36                 pressedAlternateButton = id;  
    37                 previousTab = id;  
    38                 promptForMultiples = id;  
    39             };  
    40             CLASS = AdiumSetupWizard;  
    41             LANGUAGE = ObjC;  
    42             OUTLETS = { 
    43                 backgroundView = SetupWizardBackgroundView;  
    44                 "button_alternate" = NSButton;  
    45                 "button_continue" = NSButton;  
    46                 "button_goBack" = NSButton;  
    47                 "popUp_services" = NSPopUpButton;  
    48                 "progress_processing" = NSProgressIndicator;  
    49                 tabView = NSTabView;  
    50                 "textField_addAccount" = NSTextField;  
    51                 "textField_done" = NSTextField;  
    52                 "textField_import" = NSTextField;  
    53                 "textField_password" = NSTextField;  
    54                 "textField_passwordLabel" = NSTextField;  
    55                 "textField_serviceLabel" = NSTextField;  
    56                 "textField_username" = NSTextField;  
    57                 "textField_usernameLabel" = NSTextField;  
    58                 "textField_welcome" = NSTextField;  
    59                 "textView_addAccountMessage" = NSTextView;  
    60                 "textView_doneMessage" = NSTextView;  
    61                 "textView_importMessage" = NSTextView;  
    62                 "textView_welcomeMessage" = NSTextView;  
    63             };  
    64             SUPERCLASS = AIWindowController;  
    65         },  
    66         {CLASS = FirstResponder; LANGUAGE = ObjC; SUPERCLASS = NSObject; },  
    67         {CLASS = NSButton; LANGUAGE = ObjC; SUPERCLASS = NSControl; },  
    68         {CLASS = NSTextField; LANGUAGE = ObjC; SUPERCLASS = NSControl; },  
    69         { 
    70             CLASS = SetupAssistantBoxBackgroundView;  
    71             LANGUAGE = ObjC;  
    72             SUPERCLASS = NSView;  
    73         },  
    74         { 
    75             CLASS = SetupWizardBackgroundView;  
    76             LANGUAGE = ObjC;  
    77             OUTLETS = {contentView = NSView; };  
    78             SUPERCLASS = NSView;  
    79         } 
    80     );  
    81     IBVersion = 1;  
    82 
     1<?xml version="1.0" encoding="UTF-8"?> 
     2<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> 
     3<plist version="1.0"> 
     4<dict> 
     5        <key>IBClasses</key> 
     6        <array> 
     7                <dict> 
     8                        <key>CLASS</key> 
     9                        <string>NSTextField</string> 
     10                        <key>LANGUAGE</key> 
     11                        <string>ObjC</string> 
     12                        <key>SUPERCLASS</key> 
     13                        <string>NSControl</string> 
     14                </dict> 
     15                <dict> 
     16                        <key>CLASS</key> 
     17                        <string>RBSplitView</string> 
     18                        <key>LANGUAGE</key> 
     19                        <string>ObjC</string> 
     20                        <key>OUTLETS</key> 
     21                        <dict> 
     22                                <key>delegate</key> 
     23                                <string>id</string> 
     24                        </dict> 
     25                        <key>SUPERCLASS</key> 
     26                        <string>RBSplitSubview</string> 
     27                </dict> 
     28                <dict> 
     29                        <key>CLASS</key> 
     30                        <string>RBSplitSubview</string> 
     31                        <key>LANGUAGE</key> 
     32                        <string>ObjC</string> 
     33                        <key>SUPERCLASS</key> 
     34                        <string>NSView</string> 
     35                </dict> 
     36                <dict> 
     37                        <key>CLASS</key> 
     38                        <string>NSWindowController</string> 
     39                        <key>LANGUAGE</key> 
     40                        <string>ObjC</string> 
     41                        <key>SUPERCLASS</key> 
     42                        <string>NSResponder</string> 
     43                </dict> 
     44                <dict> 
     45                        <key>CLASS</key> 
     46                        <string>SetupAssistantBoxBackgroundView</string> 
     47                        <key>LANGUAGE</key> 
     48                        <string>ObjC</string> 
     49                        <key>SUPERCLASS</key> 
     50                        <string>NSView</string> 
     51                </dict> 
     52                <dict> 
     53                        <key>ACTIONS</key> 
     54                        <dict> 
     55                                <key>adiumPrint</key> 
     56                                <string>id</string> 
     57                                <key>didAdjustSubviews</key> 
     58                                <string>RBSplitView</string> 
     59                                <key>prefsWindowWillClose</key> 
     60                                <string>SS_PrefsController</string> 
     61                                <key>toggleFindPanel</key> 
     62                                <string>id</string> 
     63                                <key>willAdjustSubviews</key> 
     64                                <string>RBSplitView</string> 
     65                        </dict> 
     66                        <key>CLASS</key> 
     67                        <string>NSObject</string> 
     68                        <key>LANGUAGE</key> 
     69                        <string>ObjC</string> 
     70                </dict> 
     71                <dict> 
     72                        <key>CLASS</key> 
     73                        <string>AILocalizationButton</string> 
     74                        <key>LANGUAGE</key> 
     75                        <string>ObjC</string> 
     76                        <key>OUTLETS</key> 
     77                        <dict> 
     78                                <key>view_anchorToLeftSide</key> 
     79                                <string>NSView</string> 
     80                                <key>view_anchorToRightSide</key> 
     81                                <string>NSView</string> 
     82                                <key>window_anchorOnLeftSide</key> 
     83                                <string>NSWindow</string> 
     84                                <key>window_anchorOnRightSide</key> 
     85                                <string>NSWindow</string> 
     86                        </dict> 
     87                        <key>SUPERCLASS</key> 
     88                        <string>NSButton</string> 
     89                </dict> 
     90                <dict> 
     91                        <key>CLASS</key> 
     92                        <string>NSWindow</string> 
     93                        <key>LANGUAGE</key> 
     94                        <string>ObjC</string> 
     95                        <key>SUPERCLASS</key> 
     96                        <string>NSResponder</string> 
     97                </dict> 
     98                <dict> 
     99                        <key>CLASS</key> 
     100                        <string>FirstResponder</string> 
     101                        <key>LANGUAGE</key> 
     102                        <string>ObjC</string> 
     103                        <key>SUPERCLASS</key> 
     104                        <string>NSObject</string> 
     105                </dict> 
     106                <dict> 
     107                        <key>CLASS</key> 
     108                        <string>NSButton</string> 
     109                        <key>LANGUAGE</key> 
     110                        <string>ObjC</string> 
     111                        <key>SUPERCLASS</key> 
     112                        <string>NSControl</string> 
     113                </dict> 
     114                <dict> 
     115                        <key>CLASS</key> 
     116                        <string>AILinkTextView</string> 
     117                        <key>LANGUAGE</key> 
     118                        <string>ObjC</string> 
     119                        <key>SUPERCLASS</key> 
     120                        <string>NSTextView</string> 
     121                </dict> 
     122                <dict> 
     123                        <key>ACTIONS</key> 
     124                        <dict> 
     125                                <key>closeWindow</key> 
     126                                <string>id</string> 
     127                        </dict> 
     128                        <key>CLASS</key> 
     129                        <string>AIWindowController</string> 
     130                        <key>LANGUAGE</key> 
     131                        <string>ObjC</string> 
     132                        <key>SUPERCLASS</key> 
     133                        <string>NSWindowController</string> 
     134                </dict> 
     135                <dict> 
     136                        <key>CLASS</key> 
     137                        <string>AILocalizationTextField</string> 
     138                        <key>LANGUAGE</key> 
     139                        <string>ObjC</string> 
     140                        <key>OUTLETS</key> 
     141                        <dict> 
     142                                <key>view_anchorToLeftSide</key> 
     143                                <string>NSView</string> 
     144                                <key>view_anchorToRightSide</key> 
     145                                <string>NSView</string> 
     146                                <key>window_anchorOnLeftSide</key> 
     147                                <string>NSWindow</string> 
     148                                <key>window_anchorOnRightSide</key> 
     149                                <string>NSWindow</string> 
     150                        </dict> 
     151                        <key>SUPERCLASS</key> 
     152                        <string>NSTextField</string> 
     153                </dict> 
     154                <dict> 
     155                        <key>CLASS</key> 
     156                        <string>SetupWizardBackgroundView</string> 
     157                        <key>LANGUAGE</key> 
     158                        <string>ObjC</string> 
     159                        <key>OUTLETS</key> 
     160                        <dict> 
     161                                <key>contentView</key> 
     162                                <string>NSView</string> 
     163                        </dict> 
     164                        <key>SUPERCLASS</key> 
     165                        <string>NSView</string> 
     166                </dict> 
     167                <dict> 
     168                        <key>ACTIONS</key> 
     169                        <dict> 
     170                                <key>nextTab</key> 
     171                                <string>id</string> 
     172                                <key>pressedAlternateButton</key> 
     173                                <string>id</string> 
     174                                <key>previousTab</key> 
     175                                <string>id</string> 
     176                                <key>promptForMultiples</key> 
     177                                <string>id</string> 
     178                        </dict> 
     179                        <key>CLASS</key> 
     180                        <string>AdiumSetupWizard</string> 
     181                        <key>LANGUAGE</key> 
     182                        <string>ObjC</string> 
     183                        <key>OUTLETS</key> 
     184                        <dict> 
     185                                <key>backgroundView</key> 
     186                                <string>SetupWizardBackgroundView</string> 
     187                                <key>button_alternate</key> 
     188                                <string>NSButton</string> 
     189                                <key>button_continue</key> 
     190                                <string>NSButton</string> 
     191                                <key>button_goBack</key> 
     192                                <string>NSButton</string> 
     193                                <key>button_informationAboutImporting</key> 
     194                                <string>NSButton</string> 
     195                                <key>popUp_services</key> 
     196                                <string>NSPopUpButton</string> 
     197                                <key>progress_processing</key> 
     198                                <string>NSProgressIndicator</string> 
     199                                <key>tabView</key> 
     200                                <string>NSTabView</string> 
     201                                <key>textField_addAccount</key> 
     202                                <string>NSTextField</string> 
     203                                <key>textField_done</key> 
     204                                <string>NSTextField</string> 
     205                                <key>textField_import</key> 
     206                                <string>NSTextField</string> 
     207                                <key>textField_password</key> 
     208                                <string>NSTextField</string> 
     209                                <key>textField_passwordLabel</key> 
     210                                <string>NSTextField</string> 
     211                                <key>textField_serviceLabel</key> 
     212                                <string>NSTextField</string> 
     213                                <key>textField_username</key> 
     214                                <string>NSTextField</string> 
     215                                <key>textField_usernameLabel</key> 
     216                                <string>NSTextField</string> 
     217                                <key>textField_welcome</key> 
     218                                <string>NSTextField</string> 
     219                                <key>textView_addAccountMessage</key> 
     220                                <string>NSTextView</string> 
     221                                <key>textView_doneMessage</key> 
     222                                <string>NSTextView</string> 
     223                                <key>textView_importMessage</key> 
     224                                <string>NSTextView</string> 
     225                                <key>textView_welcomeMessage</key> 
     226                                <string>NSTextView</string> 
     227                        </dict> 
     228                        <key>SUPERCLASS</key> 
     229                        <string>AIWindowController</string> 
     230                </dict> 
     231                <dict> 
     232                        <key>CLASS</key> 
     233                        <string>NSButtonCell</string> 
     234                        <key>LANGUAGE</key> 
     235                        <string>ObjC</string> 
     236                        <key>SUPERCLASS</key> 
     237                        <string>NSActionCell</string> 
     238                </dict> 
     239                <dict> 
     240                        <key>CLASS</key> 
     241                        <string>SS_PrefsController</string> 
     242                        <key>LANGUAGE</key> 
     243                        <string>ObjC</string> 
     244                        <key>OUTLETS</key> 
     245                        <dict> 
     246                                <key>delegate</key> 
     247                                <string>id</string> 
     248                        </dict> 
     249                        <key>SUPERCLASS</key> 
     250                        <string>NSObject</string> 
     251                </dict> 
     252        </array> 
     253        <key>IBVersion</key> 
     254        <string>1</string> 
     255</dict> 
     256</plist> 
  • trunk/Source/AdiumSetupWizard.h

    r20075 r24957  
    2626        IBOutlet NSTextField    *textField_import; 
    2727        IBOutlet NSTextView             *textView_importMessage; 
     28        IBOutlet NSButton               *button_informationAboutImporting; 
    2829        BOOL                                    canImport; 
    2930         
  • trunk/Source/AdiumSetupWizard.m

    r24798 r24957  
    6262        [textField_serviceLabel setLocalizedString:AILocalizedString(@"Service:",nil)]; 
    6363         
     64        [button_informationAboutImporting setLocalizedString:AILocalizedString(@"Information About Importing", "button title for more information about importing information in the setup wizard")]; 
    6465        [button_alternate setLocalizedString:AILocalizedString(@"Skip Import","button title for skipping the import of another client in the setup wizard")]; 
    6566}