Changeset 23455b3540fa216b3f67242b0d1e5891c471577d

Show
Ignore:
Timestamp:
05/24/03 14:34:31 (5 years ago)
Author:
Sam Hocevar <sam@videolan.org>
git-committer:
Sam Hocevar <sam@videolan.org> 1053779671 +0000
git-parent:

[30fedfbaeb18b09c60316dfd8ae0961edeb0c6cc]

git-author:
Sam Hocevar <sam@videolan.org> 1053779671 +0000
Message:
  • ./toolbox: we no longer translate the Borland plugin.
Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • toolbox

    r55bfbe3 r23455b3  
    22 
    33##  toolbox for the VLC media player 
    4 ##  $Id: toolbox,v 1.24 2003/05/15 15:50:22 sam Exp $ 
     4##  $Id: toolbox,v 1.25 2003/05/24 12:34:31 sam Exp $ 
    55## 
    66##  Authors: Samuel Hocevar <sam@zoy.org> 
     
    324324  # create a fake file containing win32 strings 
    325325  rm -f modules/gui/win32/strings.cpp 
    326   printf "/* Automatically generated by 'toolbox --update-po', please don't compile */\n" > modules/gui/win32/strings.cpp 
    327   find modules/gui/win32 -name '*.dfm' | while read file 
    328   do 
    329     printf "\n/*\n * from $file:\n */\n\n" >> modules/gui/win32/strings.cpp 
    330     perl -ne 'chop; chop; if( / (Caption|Text|Hint) / || $buffer =~ /[+=] *$/ ) { $buffer =~ s/\+ *$//; $buffer .= $_; } if( $buffer =~ /'"'"' *$/) { $buffer =~ s/'"'"'/"/g; $buffer =~ s/\\/\\\\/g; $buffer =~ s/=/= _(/; print $buffer." );\n"; $buffer = "";}' < $file | grep -v '"-*"' | grep -v '"http://' | grep -v '"vlcs"' >> modules/gui/win32/strings.cpp || exit 1 
    331   done 
     326  #printf "/* Automatically generated by 'toolbox --update-po', please don't compile */\n" > modules/gui/win32/strings.cpp 
     327  #find modules/gui/win32 -name '*.dfm' | while read file 
     328  #do 
     329  #  printf "\n/*\n * from $file:\n */\n\n" >> modules/gui/win32/strings.cpp 
     330  #  perl -ne 'chop; chop; if( / (Caption|Text|Hint) / || $buffer =~ /[+=] *$/ ) { $buffer =~ s/\+ *$//; $buffer .= $_; } if( $buffer =~ /'"'"' *$/) { $buffer =~ s/'"'"'/"/g; $buffer =~ s/\\/\\\\/g; $buffer =~ s/=/= _(/; print $buffer." );\n"; $buffer = "";}' < $file | grep -v '"-*"' | grep -v '"http://' | grep -v '"vlcs"' >> modules/gui/win32/strings.cpp || exit 1 
     331  #done 
    332332  # find out the source files 
    333333  rm -f po/POTFILES.in 
     
    338338  echo "" >> po/POTFILES.in 
    339339  echo "# modules" >> po/POTFILES.in 
    340   find modules -name '*.[chm]' -o -name '*.[hc]pp' | sort >> po/POTFILES.in 
     340  find modules -name '*.[chm]' -o -name '*.[hc]pp' | grep -v 'gui/win32/' | sort >> po/POTFILES.in 
    341341  # clean old potfiles 
    342342  cd po