From 7c91225f0a74b8e4ca5f6c02aa12cefe6ca46c58 Mon Sep 17 00:00:00 2001 From: dairiki Date: Thu, 29 Nov 2001 03:08:48 +0000 Subject: [PATCH] Obsolete. Use the Makefile instead. git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@678 96ab9672-09ca-45d6-a79d-3d69d39ca109 --- locale/translate.sh | 70 --------------------------------------------- 1 file changed, 70 deletions(-) delete mode 100644 locale/translate.sh diff --git a/locale/translate.sh b/locale/translate.sh deleted file mode 100644 index 96d625962..000000000 --- a/locale/translate.sh +++ /dev/null @@ -1,70 +0,0 @@ -#!/bin/bash -# translate.sh -# -# Usage: -# -# ./locale/translate.sh -# -# This script should be run by -# -# * PphWiki maintainers, before making a distribution -# * Translators, after making a translation update -# - -if [ ! -f index.php ]; then - echo Usage: ./locale/translate.sh - exit 2 -fi - -ALL_LINGUAS="nl es de sv it" - -xgettext -L C++ -o locale/po/phpwiki.pot {lib,admin}/*.php -podir=locale/po -for i in $ALL_LINGUAS; do - po=$podir/$i.po - pot=$podir/phpwiki.pot - locale=locale/$i/LC_MESSAGES - - msgmerge -o $po $po $pot - mkdir -p $locale - msgfmt -o $locale/phpwiki.mo $po - - awk -- ' -BEGIN { - msgid=""; msgstr=""; - print (""); -} - -' $po > $locale/phpwiki.php -done -- 2.45.2