summaryrefslogtreecommitdiffstats
path: root/makemessages
diff options
context:
space:
mode:
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://scripty@svn.kde.org/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"
+