[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Wesnoth-dev] Missing strings in the po-files
From: |
Yann Dirson |
Subject: |
Re: [Wesnoth-dev] Missing strings in the po-files |
Date: |
Tue, 21 Jun 2005 23:09:17 +0200 |
User-agent: |
Mutt/1.5.9i |
On Tue, Jun 21, 2005 at 09:49:25PM +0200, Nils Kneuper wrote:
> I also think that everyone should know, that he/she has to add the
> file to the POTFILES.in, if new strings are added to a file that
> did not need to be in there.
Yes. Ideally, we would have a pre-commit hook refusing a commit when
that would end in an inconsistent state. Oh wait, CVS commits are not
atomic, we have to switch to SVN for this !
FWIW, I used the following command-line to check for any files not in
POTFILES, but containing tagged strings - could be used in such a
hook.
for f in $(find src/ -name '*.cpp' ); do grep -q $f po/*/POTFILES.in || echo
$f; done | xargs grep -F '_("'
--
Yann Dirson <address@hidden> |
Debian-related: <address@hidden> | Support Debian GNU/Linux:
| Freedom, Power, Stability, Gratis
http://ydirson.free.fr/ | Check <http://www.debian.org/>