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

Re: [tortoisesvn] r21423 committed - Silence warning when building potfile. Image files are not translated ...

From: Oto BREZINA <otik_at_printflow.eu>
Date: Sat, 21 May 2011 07:28:05 +0200

On 2011-05-21 00:37, tortoisesvn_at_googlecode.com wrote:
> Revision: 21423
> Author: simon.tortoisesvn
> Date: Fri May 20 15:35:42 2011
> Log: Silence warning when building potfile. Image files are not
> translated so there is no point in warning at this point if they are not
> found.
> http://code.google.com/p/tortoisesvn/source/detail?r=21423
>
> Modified:
> /trunk/doc/xml2po-modes/docbook.py
>
> =======================================
> --- /trunk/doc/xml2po-modes/docbook.py Sat Nov 13 00:30:27 2010
> +++ /trunk/doc/xml2po-modes/docbook.py Fri May 20 15:35:42 2011
> @@ -133,7 +133,7 @@
> hash = self._md5_for_file(fullpath)
> else:
> hash = "THIS FILE DOESN'T EXIST"
> - print>>sys.stderr, "Warning: image file '%s' not
> found." % fullpath
> + # print>>sys.stderr, "Warning: image file '%s' not
> found." % fullpath
>
> msg.outputMessage("@@image: '%s'; md5=%s" % (attr, hash),
> node.lineNo(),
> "When image changes, this message will
> be marked fuzzy or untranslated for you.\n"+

can be "missing" images info removed from .pot file in same manner ?
Like this one:

#. When image changes, this message will be marked fuzzy or untranslated
for you.
#. It doesn't matter what you translate it to: it's not used at all.
#. (None)
msgid "@@image: 'images/svn_move.png'; md5=THIS FILE DOESN'T EXIST"
msgstr ""

-- 
Oto BREZINA, Printflow s.r.o., EU
------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=757&dsMessageId=2743197
To unsubscribe from this discussion, e-mail: [dev-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2011-05-21 07:28:18 CEST

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