You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
tdewebdev/kommander/working/kmdr2po

12 lines
317 B

#!/bin/sh
if [ -z $1 ]; then
echo "Makepo extracts strings for translation from Kommander dialog."
echo "Usage: kmdr2po <Kommander dialog>"
else
./extractkmdr $1 >_from_rc.cc
xgettext -C -F --default-domain=`basename $1 .kmdr` \
--keyword=i18n --keyword=@i18n $1 _from_rc.cc
rm _from_rc.cc
fi