home *** CD-ROM | disk | FTP | other *** search
/ Personal Computer World 2008 February / PCWFEB08.iso / Software / Freeware / Miro 1.0 / Miro_Installer.exe / resources / locale / build-messages.sh < prev    next >
Encoding:
Text File  |  2007-11-12  |  801 b   |  12 lines

  1. # This shell script now requires a modified intltool.
  2.  
  3. intltool-extract --type=gettext/glade ../../platform/gtk-x11/glade/miro.glade
  4. for dtd in ../../platform/windows-xul/xul/chrome/locale/en-US/*.dtd.template; do
  5.     intltool-extract --type=gettext/quoted $dtd
  6. done
  7.  
  8. # Strings has to come first because the code that parses strings doesn't handle multiple references to the same string, while the rest of the xgettext parsers do.
  9.  
  10. xgettext -k_ -kN_ -o messages.pot ../../platform/osx/Resources/English.lproj/*.strings `find ../../ -name '*.py' -and -not -path '*.svn*' -and -not -path '*build*' -and -not -path '*dist*' -and -not -path '*feedparser.py' -and -not -path '*portable/test/*'` ../../platform/gtk-x11/glade/miro.glade.h ../../platform/windows-xul/xul/chrome/locale/en-US/*.dtd.template.h
  11.  
  12.