]>
git.p6c8.net - jirafeau_mojo42.git/blob - update-mo.sh
00d4d17a428614fdb23709709079427fc65afc97
3 # Jyraphe, your web file repository
4 # Copyright (C) 2008 Julien "axolotl" BERNARD <axolotl@magieeternelle.org>
6 # This program is free software: you can redistribute it and/or modify
7 # it under the terms of the GNU Affero General Public License as
8 # published by the Free Software Foundation, either version 3 of the
9 # License, or (at your option) any later version.
11 # This program is distributed in the hope that it will be useful,
12 # but WITHOUT ANY WARRANTY; without even the implied warranty of
13 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 # GNU Affero General Public License for more details.
16 # You should have received a copy of the GNU Affero General Public License
17 # along with this program. If not, see <http://www.gnu.org/licenses/>.
23 POT
="${WD}/l10n/${PACKAGE}.pot"
25 for PO
in `ls ${WD}/l10n/po/*.po`
27 LANG
=`basename "${PO}" | sed 's/.po//'`
28 mkdir
-p "${WD}/pub/lib/locale/${LANG}/LC_MESSAGES/"
29 msgfmt
-o "${WD}/pub/lib/locale/${LANG}/LC_MESSAGES/${PACKAGE}.mo" "${PO}"
patrick-canterino.de