summaryrefslogtreecommitdiffstats
path: root/makemessages
diff options
context:
space:
mode:
authortoma <toma@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2009-11-25 17:56:58 +0000
committertoma <toma@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2009-11-25 17:56:58 +0000
commit6d80ae38e4bfa82323398ceba27f25f94072bf5f (patch)
tree8ff7b57768c1e395e55e3c177687fb76d9d74ea3 /makemessages
downloadother-6d80ae38e4bfa82323398ceba27f25f94072bf5f.tar.gz
other-6d80ae38e4bfa82323398ceba27f25f94072bf5f.zip
Copy the KDE 3.5 branch to branches/trinity for new KDE 3.5 features.
BUG:215923 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kde-common@1054174 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'makemessages')
-rwxr-xr-xmakemessages46
1 files changed, 46 insertions, 0 deletions
diff --git a/makemessages b/makemessages
new file mode 100755
index 0000000..52049af
--- /dev/null
+++ b/makemessages
@@ -0,0 +1,46 @@
+#! /bin/bash
+# kate: space-indent on; indent-width 2; replace-tabs on;
+
+# Note to developers:
+# there are not many comments in this code to avoid to slow down the code
+# So please look also in the svn log to have comments about the code
+
+umask 022
+
+export SVNROOT="svn+ssh://[email protected]/home/kde"
+export PATH=~/bin:$PATH
+
+#export VERBOSE=1
+#export VERBOSE1=yes
+export TIMING1=yes
+export SVNQUIETFLAG=-q
+
+test -z "$VERBOSE" || VERBOSE1=yes
+test -z "$VERBOSE" || SVNQUIETFLAG=
+test -z "$TIMING" || TIMING1=yes
+
+cd $HOME/prod
+export BASEDIR=$PWD
+
+export STARTTIME=`date +%s`
+
+# transmod: path of the corresponding kde-i18n or l10n module
+
+export transmod="trunk/l10n"
+svn update -q $transmod/scripts
+$transmod/scripts/update_translations
+
+export transmod="branches/stable/l10n"
+svn update -q $transmod/scripts
+$transmod/scripts/update_translations 2>&1 | uniq
+
+if test $(($(date +"%j") % 2)) = 1; then
+ cd $BASEDIR/trunk/l10n
+else
+ cd $BASEDIR/branches/stable/l10n
+fi
+
+svn update -q
+./scripts/check_po_files
+svn commit -m "check_po_files"
+