Add navqueue.c to POTFILES.in.
Add revision time to the output. git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1597 ea778897-0a13-0410-b9d1-a72fbfd435f5
This commit is contained in:
parent
56cbbea656
commit
b766e9c4d8
@ -1,3 +1,9 @@
|
||||
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
|
||||
|
@ -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>
|
||||
|
@ -15,6 +15,7 @@ src/keybindings.c
|
||||
src/keyfile.c
|
||||
src/main.c
|
||||
src/msgwindow.c
|
||||
src/navqueue.c
|
||||
src/notebook.c
|
||||
src/prefs.c
|
||||
src/project.c
|
||||
|
@ -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 @@ done
|
||||
|
||||
|
||||
|
||||
# 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
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user