2 # vim: expandtab sw=4 ts=4 sts=4:
4 LOCS
=`ls po/*.po | sed 's@.*/\(.*\)\.po@\1@'`
7 --msgid-bugs-address=phpmyadmin-devel@lists.sourceforge.net \
13 --keyword=__
--keyword=_pgettext
:1c
,2 --keyword=_ngettext
:1,2 \
14 --copyright-holder="phpMyAdmin devel team" \
15 `find . -name '*.php' -not -path './test/*' | sort`
17 ver
=`sed -n "/PMA_VERSION', '/ s/.*PMA_VERSION', '\(.*\)'.*/\1/p" libraries/Config.class.php`
20 s/SOME DESCRIPTIVE TITLE/phpMyAdmin translation/;
21 s/PACKAGE/phpMyAdmin/;
22 s/(C) YEAR/(C) 2003 - '`date +%Y`'/;
28 s/SOME DESCRIPTIVE TITLE/phpMyAdmin translation/;
29 s/PACKAGE/phpMyAdmin/;
30 s/(C) YEAR/(C) 2003 - '`date +%Y`'/;
32 s/Project-Id-Version: phpMyAdmin .*/Project-Id-Version: phpMyAdmin '$ver'\\n"/;
34 if [ -f ..
/localized_docs
/po
/$loc.po
] ; then
35 msgmerge
--previous -C ..
/localized_docs
/po
/$loc.po
-U po
/$loc.po po
/phpmyadmin.pot
37 msgmerge
--previous -U po
/$loc.po po
/phpmyadmin.pot