Update of /cvsroot/freevo/freevo/src/util
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv2027/src/util

Modified Files:
        distribution.py 
Log Message:
add freevo_config.py to translation list, cleanup

Index: distribution.py
===================================================================
RCS file: /cvsroot/freevo/freevo/src/util/distribution.py,v
retrieving revision 1.7
retrieving revision 1.8
diff -C2 -d -r1.7 -r1.8
*** distribution.py     2 Jun 2004 19:04:35 -0000       1.7
--- distribution.py     3 Jun 2004 18:20:27 -0000       1.8
***************
*** 63,66 ****
--- 63,69 ----
  # -----------------------------------------------------------------------
  # $Log$
+ # Revision 1.8  2004/06/03 18:20:27  dischi
+ # add freevo_config.py to translation list, cleanup
+ #
  # Revision 1.7  2004/06/02 19:04:35  dischi
  # translation updates
***************
*** 282,287 ****
  
              # update
!             os.system('(cd src ; find . -name "*.*py" | xargs xgettext -L Python -o 
../i18n/%s.pot)' % \
!                       i18n_application)
  
              # for freevo main package: check skin
--- 285,294 ----
  
              # update
!             if os.path.isfile('freevo_config.py'):
!                 freevo_config = '../freevo_config.py'
!             else:
!                 freevo_config = ''
!             os.system('(cd src ; find . -name "*.*py" | xargs xgettext -L ' + \
!                       'Python -o ../i18n/%s.pot %s)' % (i18n_application, 
freevo_config))
  
              # for freevo main package: check skin
***************
*** 312,318 ****
               
          if not self.no_merge and not self.compile_only:
              for file in ([ os.path.join('i18n', fname) for fname in 
os.listdir('i18n') ]):
                  if os.path.isdir(file) and file.find('CVS') == -1:
!                     print 'updating %s...' % file,
                      sys.stdout.flush()
                      file = os.path.join(file, 'LC_MESSAGES/%s.po' % i18n_application)
--- 319,330 ----
               
          if not self.no_merge and not self.compile_only:
+             print 'updating po files'
+             print '',
              for file in ([ os.path.join('i18n', fname) for fname in 
os.listdir('i18n') ]):
                  if os.path.isdir(file) and file.find('CVS') == -1:
!                     txt = file
!                     for i in range(len(file), 10):
!                         txt += '.'
!                     print txt,
                      sys.stdout.flush()
                      file = os.path.join(file, 'LC_MESSAGES/%s.po' % i18n_application)
***************
*** 356,360 ****
          i18n_application = attrs['i18n']
          cmdclass['i18n'] = i18n
!         if len(sys.argv) > 1 and sys.argv[1].lower() in ('i18n', 'sdist', 
'bdist_rpm'):
              for i in sys.argv:
                  if i.find('--help') != -1:
--- 368,372 ----
          i18n_application = attrs['i18n']
          cmdclass['i18n'] = i18n
!         if len(sys.argv) > 1 and sys.argv[1].lower() in ('sdist', 'bdist_rpm'):
              for i in sys.argv:
                  if i.find('--help') != -1:



-------------------------------------------------------
This SF.Net email is sponsored by the new InstallShield X.
>From Windows to Linux, servers to mobile, InstallShield X is the one
installation-authoring solution that does it all. Learn more and
evaluate today! http://www.installshield.com/Dev2Dev/0504
_______________________________________________
Freevo-cvslog mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freevo-cvslog

Reply via email to