Re: itstool improvements



On Wed, Mar 28, 2012 at 12:43, Luc Pionchon <pionchon luc gmail com> wrote:
> Hi,
>
> On Tue, Mar 27, 2012 at 20:24, Shaun McCance <shaunm gnome org> wrote:
>> On Tue, 2012-03-27 at 18:35 +0300, Luc Pionchon wrote:
>>> On Tue, Mar 27, 2012 at 17:45, Shaun McCance <shaunm gnome org> wrote:
>>> > I'm thinking of outputting something like this:
>>> >
>>> > #. # item/p
>>> > #.
>>> > #. ## ../item
>>> > #. comment for item
>>> > #.
>>> > #. ## item/p
>>> > #. comment for p
>>> > #.
>>> > #. ## item/p/em
>>> > #. comment for em
>>> > #: somefile.page:25
>>> > msgid ""
>>> > "This is a <em its:locNote=\"comment for em\">sentence</em>."
>
> One more thing,
> as I am reading the following:
>
>     #: C/scan-file-system.page:48(page/p) C/scan-folder.page:53(page/p)
>
> The same string can be used in several places and in several pages.
>
> I imagine that potentially the tags surrounding the string could be
> different, isn't it?
>
> And I imagine that the comment might not be duplicated on each
> occurrence of the string, being potentially different. Could it be?

Here is a concrete example, in baobab/help:
the string is in page/p, except for the last topic where it is in note/p

#: C/scan-file-system.page:55(page/p) C/scan-folder.page:60(page/p)
#: C/scan-home.page:57(page/p) C/scan-remote.page:97(note/p)


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]