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    <[EMAIL PROTECTED]> |
Debian-related: <[EMAIL PROTECTED]> |   Support Debian GNU/Linux:
                                    |  Freedom, Power, Stability, Gratis
     http://ydirson.free.fr/        | Check <http://www.debian.org/>


Reply via email to