/[d-i]/trunk/manual/build/po_functions
ViewVC logotype

Diff of /trunk/manual/build/po_functions

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

revision 26037 by fjpop-guest, Wed Mar 2 13:55:48 2005 UTC revision 26420 by fjpop-guest, Thu Mar 24 00:43:24 2005 UTC
# Line 3  Line 3 
3  update_templates () {  update_templates () {
4      echo "Generating integrated XML files and POT files"      echo "Generating integrated XML files and POT files"
5      bash -c "cd .. ; ./scripts/merge_xml en"      bash -c "cd .. ; ./scripts/merge_xml en"
6      RET=$?; [ $RET -ne 0 ] && exit 1      RET=$?; [ $RET -ne 0 ] && exit 1 || true
7      bash -c "cd .. ; ./scripts/update_pot"      bash -c "cd .. ; ./scripts/update_pot"
8      RET=$?; [ $RET -ne 0 ] && exit 1      RET=$?; [ $RET -ne 0 ] && exit 1 || true
9  }  }
10    
11  # Check whether language uses PO files for translation  # Check whether language uses PO files for translation
# Line 26  check_po () { Line 26  check_po () {
26    
27  generate_xml () {  generate_xml () {
28      sh -c "cd ..; ./scripts/update_po $lang"      sh -c "cd ..; ./scripts/update_po $lang"
29      RET=$?; [ $RET -ne 0 ] && return $RET      RET=$?; [ $RET -ne 0 ] && return $RET || true
30    
31      sh -c "cd ..; ./scripts/create_xml $lang"      sh -c "cd ..; ./scripts/create_xml $lang"
32      RET=$?; [ $RET -ne 0 ] && return $RET      RET=$?; [ $RET -ne 0 ] && return $RET || true
33    
34      echo "Info: generation of XML files complete"      echo "Info: generation of XML files complete"
35      return 0      return 0

Legend:
Removed from v.26037  
changed lines
  Added in v.26420

  ViewVC Help
Powered by ViewVC 1.1.5