Indefero

Indefero Commit Details


Date:2011-02-08 18:02:58 (13 years 10 months ago)
Author:Thomas Keller
Branch:develop, feature-issue_links, feature.better-home, feature.content-md5, feature.diff-whitespace, feature.download-md5, feature.issue-links, feature.issue-of-others, feature.issue-summary, feature.search-filter, feature.webrepos, feature.wiki-default-page, master, release-1.1, release-1.2, release-1.3
Commit:15e7adaefb6a0f4cd2c5c8b6069691eda3193aaa
Parents: fea67af4dff423b6f54287c0ab550e38023a287a
Message:Add the PHP command to extract the i18n contents from Pluf's template files

Changes:

File differences

release-script
11
22
33
4
5
46
57
68
#!/bin/sh
last="$1"
new="$2"
PLUF_PATH=`php -r "require_once('./IDF/conf/path.php'); echo PLUF_PATH;"`
echo "php $PLUF_PATH/extracttemplates.php ./IDF/conf/idf.php ./IDF/gettexttemplates"
echo "xgettext -o idf.pot -p ./IDF/locale --force-po --from-code=UTF-8 --keyword --keyword=__ --keyword=_n:1,2 -L PHP ./IDF/*.php"
echo "find ./ -iname \"*.php\" -exec xgettext -o idf.pot -p ./IDF/locale/ --from-code=UTF-8 -j --keyword --keyword=__ --keyword=_n:1,2 -L PHP {} \;"
echo 'for pofile in `ls ./IDF/locale/*/idf.po`; do msgmerge -U $pofile ./IDF/locale/idf.pot; done'

Archive Download the corresponding diff file

Page rendered in 0.07454s using 13 queries.