[rkward-cvs] SF.net SVN: rkward: [2242] branches/KDE4_port

tfry at users.sourceforge.net tfry at users.sourceforge.net
Sun Nov 18 21:57:16 UTC 2007


Revision: 2242
          http://rkward.svn.sourceforge.net/rkward/?rev=2242&view=rev
Author:   tfry
Date:     2007-11-18 13:57:16 -0800 (Sun, 18 Nov 2007)

Log Message:
-----------
Move message extraction/merge script to po

Added Paths:
-----------
    branches/KDE4_port/po/Messages.sh

Removed Paths:
-------------
    branches/KDE4_port/Messages.sh

Deleted: branches/KDE4_port/Messages.sh
===================================================================
--- branches/KDE4_port/Messages.sh	2007-11-18 21:56:42 UTC (rev 2241)
+++ branches/KDE4_port/Messages.sh	2007-11-18 21:57:16 UTC (rev 2242)
@@ -1,19 +0,0 @@
-#!/bin/sh
-BASEDIR="../rkward/"
-DIR=`pwd`
-
-echo "Extracting messages"
-
-cd ${BASEDIR}
-find . -name '*.cpp' -o -name '*.h' -o -name '*.c' | sort > ${DIR}/infiles.list
-cd ${DIR}
-xgettext -C -ci18n -ki18n -ktr2i18n -kI18N_NOOP -kI18N_NOOP2 --files-from=infiles.list -D ${BASEDIR} -o rkward.pot
-rm infiles.list
-
-echo "Merging translations"
-
-catalogs=`find . -name '*.po'`
-for cat in $catalogs; do
-  msgmerge -o $cat.new $cat rkward.pot
-  mv $cat.new $cat
-done
\ No newline at end of file

Copied: branches/KDE4_port/po/Messages.sh (from rev 2241, branches/KDE4_port/Messages.sh)
===================================================================
--- branches/KDE4_port/po/Messages.sh	                        (rev 0)
+++ branches/KDE4_port/po/Messages.sh	2007-11-18 21:57:16 UTC (rev 2242)
@@ -0,0 +1,19 @@
+#!/bin/sh
+BASEDIR="../rkward/"
+DIR=`pwd`
+
+echo "Extracting messages"
+
+cd ${BASEDIR}
+find . -name '*.cpp' -o -name '*.h' -o -name '*.c' | sort > ${DIR}/infiles.list
+cd ${DIR}
+xgettext -C -ci18n -ki18n -ktr2i18n -kI18N_NOOP -kI18N_NOOP2 --files-from=infiles.list -D ${BASEDIR} -o rkward.pot
+rm infiles.list
+
+echo "Merging translations"
+
+catalogs=`find . -name '*.po'`
+for cat in $catalogs; do
+  msgmerge -o $cat.new $cat rkward.pot
+  mv $cat.new $cat
+done
\ No newline at end of file


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.




More information about the rkward-tracker mailing list