diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-07-04 22:38:03 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-07-04 22:38:03 +0000 |
commit | dadc34655c3ab961b0b0b94a10eaaba710f0b5e8 (patch) | |
tree | 99e72842fe687baea16376a147619b6048d7e441 /po/message-stats.sh | |
download | kmymoney-dadc34655c3ab961b0b0b94a10eaaba710f0b5e8.tar.gz kmymoney-dadc34655c3ab961b0b0b94a10eaaba710f0b5e8.zip |
Added kmymoney
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/kmymoney@1239792 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'po/message-stats.sh')
-rw-r--r-- | po/message-stats.sh | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/po/message-stats.sh b/po/message-stats.sh new file mode 100644 index 0000000..0af63b3 --- /dev/null +++ b/po/message-stats.sh @@ -0,0 +1,30 @@ +#!/bin/sh +# +# This is a wrapper that executes stats.pl for all .po files in the +# given directory +# +# This wrapper is executed by 'make message-stats'. +# It is a custom target as defined in po/CMakeLists.txt +# +# The script requires to find the kmymoney2.pot file in the same +# directory in order to check if the po file is based on the current +# pot file. +# +#*************************************************************************** +#* This program is free software; you can redistribute it and/or modify * +#* it under the terms of the GNU General Public License as published by * +#* the Free Software Foundation; either version 2 of the License, or * +#* (at your option) any later version. * +#*************************************************************************** + +# Change to the directory provided on the command line. +cd $* + +echo "<?xml version='1.0' standalone='yes'?>" +echo "<!DOCTYPE issuelist>" +echo "<translist>" +for i in *.po; do + perl ./stats.pl ./$i; +done; +echo "</translist>" +echo "<?xml version='1.0'?>" |