root / pykota / trunk / po / genmo.sh @ 2927

Revision 2622, 0.9 kB (checked in by jerome, 19 years ago)

Added 2006 to the copyright's years.

  • Property svn:eol-style set to native
  • Property svn:executable set to *
  • Property svn:keywords set to Author Date Id Revision
Line 
1#! /bin/sh
2#
3# PyKota - Print Quotas for CUPS and LPRng
4#
5# (c) 2003, 2004, 2005, 2006 Jerome Alet <alet@librelogiciel.com>
6# You're welcome to redistribute this software under the
7# terms of the GNU General Public Licence version 2.0
8# or, at your option, any higher version.
9#
10# You can read the complete GNU GPL in the file COPYING
11# which should come along with this software, or visit
12# the Free Software Foundation's WEB site http://www.fsf.org
13#
14# $Id$
15#
16for dir in * ; do
17    if [ -d $dir ] ; then
18        if [ -e $dir/pykota.po ] ; then
19            echo -n $dir ;
20            cd $dir ;
21            chmod 644 *.?o ;
22            msgmerge --no-location --no-fuzzy-matching --output-file=pykota.po.new pykota.po ../pykota.pot ;
23            mv pykota.po.new pykota.po ;
24            rm pykota.mo ;
25            msgfmt -o pykota.mo pykota.po ;
26            cd .. ;
27        fi ;   
28    fi ;     
29done
Note: See TracBrowser for help on using the browser.