/[d-i]/trunk/manual/scripts/create_po
ViewVC logotype

Diff of /trunk/manual/scripts/create_po

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 24841 by fjpop-guest, Sun Jan 9 03:54:59 2005 UTC revision 24847 by fjpop-guest, Sun Jan 9 12:50:22 2005 UTC
# Line 31  fi Line 31  fi
31  XMLLIST=$(find $SOURCEDIR -name "*.xml")  XMLLIST=$(find $SOURCEDIR -name "*.xml")
32    
33  echo "Creating .po files for language '$language'..."  echo "Creating .po files for language '$language'..."
   
 export NO_CREDITS=1      # Repress KDE specific credits  
                          # Note: not yet supported by split2po  
   
34  for SOURCEXML in $XMLLIST ; do  for SOURCEXML in $XMLLIST ; do
35      SUBDIR=$(dirname $SOURCEXML | sed "s:$SOURCEDIR::" | sed "s:^/::")      SUBDIR=$(dirname $SOURCEXML | sed "s:$SOURCEDIR::" | sed "s:^/::")
36      if [ ! -d $PODIR/$SUBDIR ] ; then      if [ ! -d $PODIR/$SUBDIR ] ; then
# Line 52  for SOURCEXML in $XMLLIST ; do Line 48  for SOURCEXML in $XMLLIST ; do
48          continue          continue
49      fi      fi
50    
 continue  
51      # Remove strange references created by split2po      # Remove strange references created by split2po
52      # Note: this is a workaround for a bug in the tools:      # Note: this is a workaround for a bug in the tools:
53      #       http://bugs.kde.org/show_bug.cgi?id=90112      #       http://bugs.kde.org/show_bug.cgi?id=90112
     # Can be removed when NO_CREDITS=1 is supported by split2po  
54      if grep -q "POXML_" $PO ; then      if grep -q "POXML_" $PO ; then
55          echo "   Converting "POXML_" references..."          echo "   Converting "POXML_" references..."
56          cat $PO | \          cat $PO | \

Legend:
Removed from v.24841  
changed lines
  Added in v.24847

  ViewVC Help
Powered by ViewVC 1.1.5