summaryrefslogtreecommitdiffstats
path: root/kommander/working/kmdr2po
blob: 33d5dfa46aed64c2ba7c2ebbb9a810d3b3a2c626 (plain)
1
2
3
4
5
6
7
8
9
10
11
#!/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