[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: Strip string locations before commit po file

From: Daniel Shahaf <d.s_at_daniel.shahaf.name>
Date: Sat, 21 Feb 2009 12:52:02 +0200 (Jerusalem Standard Time)

Dongsheng Song wrote on Sat, 21 Feb 2009 at 17:24 +0800:
> 2009/2/21 Daniel Shahaf <d.s_at_daniel.shahaf.name>:
> > Hyrum K. Wright wrote on Fri, 20 Feb 2009 at 14:22 -0800:
> >> > still support the use case of "grep the *.po files for an error message
> >> > to see what file.c:line in the source code it comes from"?
> >>
> >> Whoa.  Interesting concept, but what's the use case here?
> >>
> >
> > Usually I do this when I see an error message on users@ and want to jump
> > to the line of code that generated it.
> >
> > (And, actually, I'm not using 'grep' literally but opening the po file in
> > $EDITOR, both because I need context lines and because I'm about to open
> > the source file immediately after that.)
> >
> >> -Hyrum
> >
>
> As the po files aways some older, I think you can use po-update.sh get
> the latest location:
>
> % LC_ALL=C ../../tools/po/po-update.sh zh_CN
> Building subversion.pot ...
> Updating zh_CN.po ...
>

They were always up-to-date enough for me. Thanks for the tip, I suppose
I can use that if you proceed with removing the line numbers from the
files.

> ---
> Dongsheng Song
>

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=462&dsMessageId=1202192
Received on 2009-02-21 13:20:58 CET

This is an archived mail posted to the Subversion Dev mailing list.