/[smeserver]/builds_bin/functions
ViewVC logotype

Diff of /builds_bin/functions

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

Revision 1.4 by slords, Mon Mar 2 22:08:07 2009 UTC Revision 1.6 by slords, Sun Jun 7 17:11:51 2009 UTC
# Line 51  diffcp() { Line 51  diffcp() {
51  }  }
52    
53  potempl() {  potempl() {
54      xgettext -L perl -o - $@ \      xgettext --from-code UTF-8 -L perl -o - $@ \
55      | sed 's@charset=CHARSET@charset=UTF-8@;s@[^ ]*/root/@root/@g;s@Project-Id-Version.*\\n@Project-Id-Version: SME Console\\n@' \      | sed 's@charset=CHARSET@charset=UTF-8@;s@[^ ]*/root/@root/@g;s@Project-Id-Version.*\\n@Project-Id-Version: SME Console\\n@' \
56      | sed '/Report-Msgid-Bugs-To/d;/POT-Creation-Date/d;/PO-Revision-Date/d;/Language-Team/d;/X-Generator/d;0,/^msgid/{/^#/d}' \      | sed '/Report-Msgid-Bugs-To/d;/POT-Creation-Date/d;/PO-Revision-Date/d;/Language-Team/d;/X-Generator/d;0,/^msgid/{/^#/d}' \
57      | msgcat -F -t UTF-8 -      | msgcat -F -t UTF-8 -
# Line 85  anacondatmpl() { Line 85  anacondatmpl() {
85               -k=N_ \               -k=N_ \
86               -o - \               -o - \
87               $(sed -n '/\.py/s@^\([^ \t]\+\)[ \t]\+\([^/]\+\)\(/.*\)\?@/etc/pootle/cvs/smeserver/\2/sme7/\2-*\3/\1@p' \               $(sed -n '/\.py/s@^\([^ \t]\+\)[ \t]\+\([^/]\+\)\(/.*\)\?@/etc/pootle/cvs/smeserver/\2/sme7/\2-*\3/\1@p' \
88                     /etc/pootle/cvs/smeserver/cdrom.image/updates/README.txt) \                     /etc/pootle/cvs/smeserver/cdrom.image/sme7/updates/README.txt) \
89               /etc/pootle/cvs/smeserver/cdrom.image/updates/*.py \               $(sed -n '/\.py/s@^\([^ \t]\+\)[ \t]\+\([^/]\+\)\(/.*\)\?@/etc/pootle/cvs/smeserver/\2/sme8/\2-*\3/\1@p' \
90               /etc/pootle/cvs/smeserver/cdrom.image/product/installclasses/*.py \                     /etc/pootle/cvs/smeserver/cdrom.image/sme8/updates/README.txt) \
91      | sed 's@charset=CHARSET@charset=UTF-8@;s@[^ ]*/sme7/[^:]\+/\([^:]\+\):@updates/\1:@g;s@[^ ]*/cdrom.image/@@g;' \               /etc/pootle/cvs/smeserver/cdrom.image/sme7/updates/*.py \
92      | sed 's@Project-Id-Version.*\\n@Project-Id-Version: SME Anaconda\\n@' \               /etc/pootle/cvs/smeserver/cdrom.image/sme7/product/installclasses/*.py \
93                 /etc/pootle/cvs/smeserver/cdrom.image/sme8/updates/*.py \
94                 /etc/pootle/cvs/smeserver/cdrom.image/sme8/updates/installclasses/*.py \
95        | sed 's@charset=CHARSET@charset=UTF-8@;s@Project-Id-Version.*\\n@Project-Id-Version: SME Anaconda\\n@' \
96        | sed 's@/etc/pootle/cvs/smeserver/[^/]\+/@@' \
97      | msgcat -u \      | msgcat -u \
98               --use-first \               --use-first \
99               - \               - \
100               <(sed 's@CHARSET@UTF-8@' /etc/pootle/cvs/smeserver/anaconda/sme7/anaconda-*/po/anaconda.pot) \               <(sed 's@CHARSET@UTF-8@' /etc/pootle/cvs/smeserver/anaconda/sme7/anaconda-*/po/anaconda.pot) \
101               <(sed 's@CHARSET@UTF-8@' /etc/pootle/cvs/smeserver/anaconda/sme7/anaconda-*/po/anaconda.pot) \               <(sed 's@CHARSET@UTF-8@' /etc/pootle/cvs/smeserver/anaconda/sme7/anaconda-*/po/anaconda.pot) \
102                 <(sed 's@CHARSET@UTF-8@' /etc/pootle/cvs/smeserver/anaconda/sme8/anaconda-*/po/anaconda.pot) \
103                 <(sed 's@CHARSET@UTF-8@' /etc/pootle/cvs/smeserver/anaconda/sme8/anaconda-*/po/anaconda.pot) \
104      | sed '/Report-Msgid-Bugs-To/d;/POT-Creation-Date/d;/PO-Revision-Date/d;/Last-Translator/d;/Language-Team/d;/X-Generator/d;0,/^msgid/{/^#/d}' \      | sed '/Report-Msgid-Bugs-To/d;/POT-Creation-Date/d;/PO-Revision-Date/d;/Last-Translator/d;/Language-Team/d;/X-Generator/d;0,/^msgid/{/^#/d}' \
105      | msgcat -F -t UTF-8 -      | msgcat -F -t UTF-8 -
106  }  }


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