/[smeserver]/builds_bin/update_templates
ViewVC logotype

Diff of /builds_bin/update_templates

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

Revision 1.16 by slords, Sun Nov 21 22:10:41 2010 UTC Revision 1.20 by jpp, Sun Jun 14 05:54:39 2020 UTC
# Line 144  do Line 144  do
144      | msgattrib --only-fuzzy \      | msgattrib --only-fuzzy \
145      | sed '0,/^$/d;/^#~/d' \      | sed '0,/^$/d;/^#~/d' \
146      | sed ':a;/^\n*$/{$d;N;ba;}' \      | sed ':a;/^\n*$/{$d;N;ba;}' \
147      > errors-$lang.po      > errors-$lang.err
148      chmod 644 errors-$lang.po      chmod 644 errors-$lang.err
149      diffmv errors-$lang.po /var/www/html/errors/errors-$lang.po      diffmv errors-$lang.err /var/www/html/errors/errors-$lang.err
150  done  done
151    
152  # Build diffs for languages  # Build diffs for languages
# Line 171  do Line 171  do
171              do              do
172                  for lang in $(ls -I templates /var/lib/pootle/po/$ver/ 2> /dev/null | grep '[[:alpha:]]$' | sort -u)                  for lang in $(ls -I templates /var/lib/pootle/po/$ver/ 2> /dev/null | grep '[[:alpha:]]$' | sort -u)
173                  do                  do
174                      mkdir -p diff/$ver/${pkgname}.update/po/$lang                      if [ -f "/var/lib/pootle/po/$ver/$lang/${pkg}.po" ]
175                      msgcat -F --no-wrap /var/lib/pootle/po/$ver/$lang/${pkg}.po \                      then
176                      | grep -v 'Id-Version\|Report-Msgid-Bugs-To\|POT-Creation-Date\|PO-Revision-Date\|Last-Translator\|Language-Team\|X-Generator' \                          mkdir -p diff/$ver/${pkgname}.update/po/$lang
177                      | sed '0,/msgid ""/{/^#/d};/^#,/d;s@^\(#: \)[^/]\+/root@\1root@' \                          msgcat -F --no-wrap /var/lib/pootle/po/$ver/$lang/${pkg}.po \
178                      > diff/$ver/${pkgname}.update/po/$lang/${pkg/backup-console/backup}.po                          | grep -v 'Id-Version\|Report-Msgid-Bugs-To\|POT-Creation-Date\|PO-Revision-Date\|Last-Translator\|Language-Team\|X-Generator' \
179                            | sed '0,/msgid ""/{/^#/d};/^#,/d;s@^\(#: \)[^/]\+/root@\1root@' \
180                            > diff/$ver/${pkgname}.update/po/$lang/${pkg/backup-console/backup}.po
181                        fi
182                  done                  done
183              done              done
184          fi          fi


Legend:
Removed lines/characters  
Changed lines/characters
  Added lines/characters

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed