X-Git-Url: https://git.p6c8.net/jirafeau/mojo42.git/blobdiff_plain/6550c22fe503f109fc5e30ffee0d8445f51862bc..ba6f06965a4d9846e23d99a0e9f74b1361c18c40:/update-mo.sh diff --git a/update-mo.sh b/update-mo.sh deleted file mode 100755 index 00d4d17..0000000 --- a/update-mo.sh +++ /dev/null @@ -1,30 +0,0 @@ -#!/bin/sh -# -# Jyraphe, your web file repository -# Copyright (C) 2008 Julien "axolotl" BERNARD -# -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU Affero General Public License as -# published by the Free Software Foundation, either version 3 of the -# License, or (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU Affero General Public License for more details. -# -# You should have received a copy of the GNU Affero General Public License -# along with this program. If not, see . -# - -WD="`dirname $0`" - -PACKAGE=Jyraphe -POT="${WD}/l10n/${PACKAGE}.pot" - -for PO in `ls ${WD}/l10n/po/*.po` -do - LANG=`basename "${PO}" | sed 's/.po//'` - mkdir -p "${WD}/pub/lib/locale/${LANG}/LC_MESSAGES/" - msgfmt -o "${WD}/pub/lib/locale/${LANG}/LC_MESSAGES/${PACKAGE}.mo" "${PO}" -done