<html>
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<tt>Hi Kato, <br>
<br>
I've confirmed that the source reference is being stored in
Zanata, but it's not visible in the editor. <br>
I've filed a bug for it:
<a class="moz-txt-link-freetext" href="https://bugzilla.redhat.com/show_bug.cgi?id=1243672">https://bugzilla.redhat.com/show_bug.cgi?id=1243672</a><br>
<br>
</tt>
<pre class="moz-signature" cols="72">Regards,
Alex Eng
Senior Software Engineer
DID: +61 3514 8262
Mobile: +614 2335 3457
Email: <a class="moz-txt-link-abbreviated" href="mailto:aeng@redhat.com">aeng@redhat.com</a>
Red Hat, Asia-Pacific Pty Ltd
Level 1, 193 North Quay
Brisbane 4000
Office: +61 7 3514 8100
Fax: +61 7 3514 8199
Website: <a class="moz-txt-link-abbreviated" href="http://www.redhat.com">www.redhat.com</a></pre>
<div class="moz-cite-prefix">On 16/07/15 14:52, Akihiro Motoki
wrote:<br>
</div>
<blockquote
cite="mid:CALhU9tk+C+8EsVstx6A0MEw_XU0QdCTvwij0VJtqobUBeGpKtA@mail.gmail.com"
type="cite">
<div dir="ltr">Alex,
<div><br>
</div>
<div>I see the same information but the information is not
enough to me.</div>
<div>Transifex provides information like the location in the
source code</div>
<div>as you see in my attached image.</div>
<div><br>
</div>
<div>In POT file (e.g.
horizon/openstack_dashboard/locale/django.pot),</div>
<div>I see the location of the source code:</div>
<div>----<br>
</div>
<div>
<div>#: api/ceilometer.py:1140</div>
<div>msgid "Image existence check"</div>
<div>msgstr ""</div>
</div>
<div><br>
</div>
<div>but I don't see any information like api/ceilometer.py 1140
in Zanata UI.</div>
<div>I believe this information is important to give feedback to
the upstream.</div>
<div><br>
</div>
<div>I am not sure POT file which is used for uploading has this
kind information.</div>
<div><br>
</div>
<div>Akihiro<br>
</div>
<div><br>
</div>
</div>
<div class="gmail_extra"><br>
<div class="gmail_quote">2015-07-16 13:31 GMT+09:00 Alex Eng <span
dir="ltr"><<a moz-do-not-send="true"
href="mailto:aeng@redhat.com" target="_blank">aeng@redhat.com</a>></span>:<br>
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">
<div bgcolor="#FFFFFF" text="#000000"> <big><tt>Hi Kato, </tt><tt><br>
</tt><tt><br>
</tt><tt><small><big>Zanata stores source string
information if there comments in the source file.<br>
<br>
I've attached a screenshot. You will need to
expend the information section of the source
string by clicking on the highlighted square below
the source string. </big></small></tt></big><br>
<br>
<pre cols="72">Regards,
Alex Eng
Senior Software Engineer
DID: +61 3514 8262
Mobile: +614 2335 3457
Email: <a moz-do-not-send="true" href="mailto:aeng@redhat.com" target="_blank">aeng@redhat.com</a>
Red Hat, Asia-Pacific Pty Ltd
Level 1, 193 North Quay
Brisbane 4000
Office: <a moz-do-not-send="true" href="tel:%2B61%207%203514%208100" value="+61735148100" target="_blank">+61 7 3514 8100</a>
Fax: <a moz-do-not-send="true" href="tel:%2B61%207%203514%208199" value="+61735148199" target="_blank">+61 7 3514 8199</a>
Website: <a moz-do-not-send="true" href="http://www.redhat.com" target="_blank">www.redhat.com</a></pre>
<div>
<div class="h5">
<div>On 16/07/15 14:09, KATO Tomoyuki wrote:<br>
</div>
</div>
</div>
<blockquote type="cite">
<div>
<div class="h5">
<blockquote type="cite">
<pre>One question I have is how I can know a specific string comes
from which part of codes. I often check the source code to
check its context, but I don't see any information from Zanata interface.
Some message is too short to grep codes, so location information is nice.
For example, I see one word message "of" and it is not easy to find out it
in the code.
Is there any convenient way to know this kind of information?
(Transifex provides this information and I usually use the information.)
</pre>
</blockquote>
</div>
</div>
<pre>I think this is derived from our language "po" files don't contain filenames
and line numbers any more.
In my guess, Transifex display this information from the same msgid as
the corresponding "pot" file.
So, I think we need to consult Zanata team.
KATO Tomoyuki
_______________________________________________
Openstack-i18n mailing list
<a moz-do-not-send="true" href="mailto:Openstack-i18n@lists.openstack.org" target="_blank">Openstack-i18n@lists.openstack.org</a>
<a moz-do-not-send="true" href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-i18n" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-i18n</a>
</pre>
</blockquote>
<br>
</div>
</blockquote>
</div>
<br>
</div>
</blockquote>
<br>
</body>
</html>