/[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.13 by slords, Thu Mar 4 18:16:04 2010 UTC Revision 1.15 by slords, Thu Jun 10 17:25:32 2010 UTC
# Line 52  do Line 52  do
52      diffmv backup-console.pot /var/lib/pootle/po/$ver/templates/backup-console.pot      diffmv backup-console.pot /var/lib/pootle/po/$ver/templates/backup-console.pot
53      potempl $(find /var/lib/pootle/cvs/smeserver/e-smith-manager/$ver/ -type f -name 25Copyright) > foot.tmpl.pot      potempl $(find /var/lib/pootle/cvs/smeserver/e-smith-manager/$ver/ -type f -name 25Copyright) > foot.tmpl.pot
54      diffmv foot.tmpl.pot /var/lib/pootle/po/$ver/templates/foot.tmpl.pot      diffmv foot.tmpl.pot /var/lib/pootle/po/$ver/templates/foot.tmpl.pot
55      potempl $(find /var/lib/pootle/cvs/smeserver/*/$ver/ -type f -regex '.*/e-?smith/console.*') > server-console.pot      potempl $(find /var/lib/pootle/cvs/smeserver/*/$ver/ -type f -regex '.*/e-?smith/console.*' -not -regex '.*\+ldap/.*') > server-console.pot
56      diffmv server-console.pot /var/lib/pootle/po/$ver/templates/server-console.pot      diffmv server-console.pot /var/lib/pootle/po/$ver/templates/server-console.pot
57      potempl $(find /var/lib/pootle/cvs/smeserver/e-smith-quota/$ver/ -type f -name userOverQuota.tmpl) > userOverQuota.tmpl.pot      potempl $(find /var/lib/pootle/cvs/smeserver/e-smith-quota/$ver/ -type f -name userOverQuota.tmpl) > userOverQuota.tmpl.pot
58      diffmv userOverQuota.tmpl.pot /var/lib/pootle/po/$ver/templates/userOverQuota.tmpl.pot      diffmv userOverQuota.tmpl.pot /var/lib/pootle/po/$ver/templates/userOverQuota.tmpl.pot
# Line 93  for lang in $(ls -I templates /var/lib/p Line 93  for lang in $(ls -I templates /var/lib/p
93  do  do
94      # Create compendium to assist translations      # Create compendium to assist translations
95      msgcat --use-first <(msgcat $(find /var/lib/pootle/tmp/errors/*/$lang/ -name '*.po') | msgattrib --translated --no-fuzzy) \      msgcat --use-first <(msgcat $(find /var/lib/pootle/tmp/errors/*/$lang/ -name '*.po') | msgattrib --translated --no-fuzzy) \
96                         <(msgcat $(find /var/lib/pootle/po/*/$lang/ -name '*.po') | msgattrib --translated --no-fuzzy) \                         <(msgcat --to-code UTF-8 $(find /var/lib/pootle/po/*/$lang/ -name '*.po') | msgattrib --translated --no-fuzzy) \
97      > /var/lib/pootle/tmp/compendium-$lang.po      > /var/lib/pootle/tmp/compendium-$lang.po
98    
99      # Use compendium to migrate each project to new template      # Use compendium to migrate each project to new template


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