3 # PEL: PHP Exif Library. A library with support for reading and
4 # writing all Exif headers in JPEG and TIFF images using PHP.
6 # Copyright (C) 2004 Martin Geisler.
8 # This program is free software; you can redistribute it and/or modify
9 # it under the terms of the GNU General Public License as published by
10 # the Free Software Foundation; either version 2 of the License, or
11 # (at your option) any later version.
13 # This program is distributed in the hope that it will be useful,
14 # but WITHOUT ANY WARRANTY; without even the implied warranty of
15 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 # GNU General Public License for more details.
18 # You should have received a copy of the GNU General Public License
19 # along with this program in the file COPYING; if not, write to the
20 # Free Software Foundation, Inc., 51 Franklin St, Fifth Floor,
21 # Boston, MA 02110-1301 USA
26 # This script will generate the binary MO files from the PO files
27 # found in the po subdirectory.
30 echo -n "Generating MO files... "
32 dir=../locale/${lang%.po}/LC_MESSAGES
34 msgfmt --output-file $dir/pel.mo $lang