def update_catalogs(resources=None, languages=None):
 cmd = makemessages.Command()
 opts = {'locale': ['en'], 'exclude': [], 'extensions': ['py', 'jinja'], 'domain': 'django', 'all': False, 'symlinks': False, 'ignore_patterns': [], 'use_default_ignore_patterns': True, 'no_wrap': False, 'no_location': False, 'no_obsolete': False, 'keep_pot': False, 'verbosity': 0}
 if (resources is not None):
  print '`update_catalogs` will always process all resources.'
 os.chdir(os.getcwd())
 print 'Updating en catalogs for all taiga-back resourcess...'
 cmd.handle(**opts)
 contrib_dirs = _get_locale_dirs(None)
 for (name, dir_) in contrib_dirs:
  _check_diff(name, dir_)

def update_catalogs ( resources = None , languages = None ) : cmd = makemessages . Command ( ) opts = { 'locale' : [ 'en' ] , 'exclude' : [ ] , 'extensions' : [ 'py' , 'jinja' ] , 'domain' : 'django' , 'all' : False , 'symlinks' : False , 'ignore_patterns' : [ ] , 'use_default_ignore_patterns' : True , 'no_wrap' : False , 'no_location' : False , 'no_obsolete' : False , 'keep_pot' : False , 'verbosity' : 0 } if ( resources is not None ) : print '`update_catalogs` will always process all resources.' os . chdir ( os . getcwd ( ) ) print 'Updating en catalogs for all taiga-back resourcess...' cmd . handle ( ** opts ) contrib_dirs = _get_locale_dirs ( None ) for ( name , dir_ ) in contrib_dirs : _check_diff ( name , dir_ )
update the en/lc_messages/django .