/[soft]/i18n-tools/check_for_translation_work.sh
ViewVC logotype

Diff of /i18n-tools/check_for_translation_work.sh

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

revision 8702 by filip, Sun Jun 16 20:29:01 2013 UTC revision 8703 by filip, Sun Aug 4 18:41:58 2013 UTC
# Line 173  do Line 173  do
173  #       checking the syntax of po file if required  #       checking the syntax of po file if required
174          if [ $check_po_syntax -eq 1 ]; then          if [ $check_po_syntax -eq 1 ]; then
175                  if [ -f $language_code.po ]; then                  if [ -f $language_code.po ]; then
176                          msgfmt --statistics --verbose -c $language_code.po -o $language_code.po.mo 2>&1 | tee -a "$logfile"_this_run.log                          msgfmt --statistics --verbose -c $language_code.po -o /dev/null 2>&1 | tee -a "$logfile"_this_run.log
                         rm $language_code.po.mo  
177                  else                  else
178                          echo "File $language_code.po is not present in $project_name. Automatic test is not possible." | tee -a "$logfile"_this_run.log                          echo "File $language_code.po is not present in $project_name. Automatic test is not possible." | tee -a "$logfile"_this_run.log
179                  fi                  fi
180  #               checking the syntax of po file if required  #               checking the syntax of po file if required
181                  if [ $check_pot_syntax -eq 1 ]; then                  if [ $check_pot_syntax -eq 1 ]; then
182                          if [ -f *.pot ]; then                          if [ -f *.pot ]; then
183                                  msgfmt -c *.pot -o pot.mo 2>&1 | tee -a "$logfile"_this_run.log                                  msgfmt -c *.pot -o /dev/null 2>&1 | tee -a "$logfile"_this_run.log
                                 rm pot.mo  
184                          else                          else
185                                  echo "File *.pot is not present in $project_name. Automatic test is not possible." | tee -a "$logfile"_this_run.log                                  echo "File *.pot is not present in $project_name. Automatic test is not possible." | tee -a "$logfile"_this_run.log
186                          fi                          fi

Legend:
Removed from v.8702  
changed lines
  Added in v.8703

  ViewVC Help
Powered by ViewVC 1.1.30