summaryrefslogtreecommitdiffstats
path: root/kommander/working/kmdr2po
diff options
context:
space:
mode:
Diffstat (limited to 'kommander/working/kmdr2po')
-rwxr-xr-xkommander/working/kmdr2po11
1 files changed, 11 insertions, 0 deletions
diff --git a/kommander/working/kmdr2po b/kommander/working/kmdr2po
new file mode 100755
index 00000000..33d5dfa4
--- /dev/null
+++ b/kommander/working/kmdr2po
@@ -0,0 +1,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