home *** CD-ROM | disk | FTP | other *** search
/ Maximum CD 2012 January / maximum-cd-2012-01.iso / DiscContents / digsby_setup.exe / lib / gui / pref / prefstrings.pyo (.txt) < prev   
Encoding:
Python Compiled Bytecode  |  2011-10-05  |  1.4 KB  |  38 lines

  1. # Source Generated with Decompyle++
  2. # File: in.pyo (Python 2.6)
  3.  
  4. import sys
  5. from config import platformName
  6. tabnames = [
  7.     ('accounts', _('Accounts')),
  8.     ('general_profile', _('General & Profile')),
  9.     ('appearance', _('Skins')),
  10.     ('contact_list', _('Buddy List')),
  11.     ('text_conversations', _('Conversations')),
  12.     ('files', _('File Transfers')),
  13.     ('status', _('Status')),
  14.     ('privacy', _('Privacy')),
  15.     ('notifications', _('Notifications')),
  16.     ('widgets', _('Widgets')),
  17.     ('research', _('Research Module')),
  18.     ('proxy', _('Connection Settings'))]
  19. if platformName != 'mac':
  20.     tabnames.extend([])
  21.  
  22. if getattr(sys, 'DEV', False):
  23.     from path import path
  24.     location = path(__file__)
  25.     pg_dev_loc = location.parent / 'pg_dev.py'
  26.     if pg_dev_loc.isfile():
  27.         tabnames.extend([
  28.             ('dev', _('Developer'))])
  29.     
  30.  
  31. import gui.pref.prefsearchable as prefsearchable
  32. all = dict()
  33. for module, nice_name in tabnames:
  34.     strs = getattr(prefsearchable, module)
  35.     all[module] = set((lambda .0: for s in .0:
  36. _(s))(strs))
  37.  
  38.