Revision: 1597 http://svn.sourceforge.net/geany/?rev=1597&view=rev Author: eht16 Date: 2007-06-04 07:58:12 -0700 (Mon, 04 Jun 2007)
Log Message: ----------- Add navqueue.c to POTFILES.in. Add revision time to the output.
Modified Paths: -------------- trunk/ChangeLog trunk/po/ChangeLog trunk/po/POTFILES.in trunk/po/intl_stats.sh
Modified: trunk/ChangeLog =================================================================== --- trunk/ChangeLog 2007-06-04 13:22:43 UTC (rev 1596) +++ trunk/ChangeLog 2007-06-04 14:58:12 UTC (rev 1597) @@ -1,5 +1,11 @@ 2007-06-04 Enrico Tröger enrico.troeger@uvena.de
+ * po/POTFILES.in: Add navqueue.c. + * po/intl_stats.sh: Add revision time to the output. + + +2007-06-04 Enrico Tröger enrico.troeger@uvena.de + * src/main.c: Add rpl_malloc() for better compatibility with non-GNU systems (thanks to Harri Koskinen for reporting).
Modified: trunk/po/ChangeLog =================================================================== --- trunk/po/ChangeLog 2007-06-04 13:22:43 UTC (rev 1596) +++ trunk/po/ChangeLog 2007-06-04 14:58:12 UTC (rev 1597) @@ -1,6 +1,6 @@ 2007-06-03 Frank Lanitz frank@frank.uvena.de
- * ChageLog: Update of ChangeLog + * ChangeLog: Update of ChangeLog
2007-05-31 Clytie Siddall clytie@riverland.net.au
Modified: trunk/po/POTFILES.in =================================================================== --- trunk/po/POTFILES.in 2007-06-04 13:22:43 UTC (rev 1596) +++ trunk/po/POTFILES.in 2007-06-04 14:58:12 UTC (rev 1597) @@ -15,6 +15,7 @@ src/keyfile.c src/main.c src/msgwindow.c +src/navqueue.c src/notebook.c src/prefs.c src/project.c
Modified: trunk/po/intl_stats.sh =================================================================== --- trunk/po/intl_stats.sh 2007-06-04 13:22:43 UTC (rev 1596) +++ trunk/po/intl_stats.sh 2007-06-04 14:58:12 UTC (rev 1597) @@ -2,7 +2,10 @@
# Little shell script to display some basic statistics about Geany's translation # files. It also checks the menu accelerators. - +# +# Copyright 2007 Enrico Tröger enrico.troeger@uvena.de +# Copyright 2007 Frank Lanitz frank@frank.uvena.de +# # 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 @@ -63,18 +66,35 @@
-# if no languages where specified on the command line, take all mentioned languages in LINGUAS +# if no languages where specified on the command line, take all listed languages in LINGUAS if [ -z "$linguas" ] then linguas=`sed -e '/^#/d' LINGUAS` fi
+# dash and zsh don't need the -e switch to echo, bash does +# maybe there is a better way to detect whether we are running on a bash +eswitch="" +if [ "$BASH" ] +then + eswitch="-e" +fi
# do the work -for lang in $linguas -do - echo -n $lang": " - msgfmt --check --statistics $check_accelerators $lang.po; -done +if [ $check_accelerators ] +then + for lang in $linguas + do + msgfmt --check --statistics $check_accelerators $lang.po; + done +else + for lang in $linguas + do + # maybe the regexp can be optimized, regexps are not my best friends + creationdate=`grep "PO-Revision-Date:" $lang.po | sed 's/.*: ([0-9]{4}-[0-9]{2}-[0-9]{2} [0-9]{2}:[0-9]{2}[+|-][0-9]{4}).*/\1/'` + echo -n $eswitch $lang"\t("$creationdate"):\t" + msgfmt --check --statistics $lang.po; + done +fi
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.