[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: Dongsheng Song <dongsheng.song_at_gmail.com>
Date: Sat, 21 Feb 2009 17:24:35 +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 ...

---
Dongsheng Song
------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=462&dsMessageId=1202077
Received on 2009-02-21 10:24:52 CET

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