[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug-gettext] [Patch 1/2] Glade/GtkBuilder related bugs
From: |
Miguel Ángel |
Subject: |
[bug-gettext] [Patch 1/2] Glade/GtkBuilder related bugs |
Date: |
Thu, 31 Jan 2013 22:25:42 +0100 |
Miguel Ángel <address@hidden> writes:
>
> The problem with 'arglist_parser_done' is that always call
> 'remember_a_message' with NULL at parameter 'extracted_comment'.
> Parameter 'comment', which contains the real xml comment around the
> translatable string, is only added at POT file when --add-comments, but
> now the attribute "comment" in a glade2 file is always added when the
> string is translatable. If this is not the desired functionality, It is
> a bug and 'xgettext-glade-4' is a buggy test because it does not pass
> '--add-comments' to xgettext, but expects comments. Implement it would
> be easy and we could use 'arglist_parser_done' assuming the overhead,
> but a workaround would be needed if we use 'arglist_parser_done' and we
> also want to preserve the Glade2 comment attribute extraction like in
> 'xgettext-glade-4' test. I will send the required patch as soon as I
> read your opinion about this issue.
>
Sorry, I was wrong. This patch implements the context extraction using
'arglist_parser_*' functions. Although, I would like to know this should
work this way or not.
use_arglist_parser.patch
Description: Text Data