<div dir="ltr">In looking at the code, there is at least one of the strings that appears to be malformed.<div><br></div><div> alert.props.msg = _('Do you want delete the poll "%s"?' % title)<br></div><div><br></div><div>This should probably be:</div><div><br></div><div> alert.props.msg = _('Do you want delete the poll "%s"?') % title<br></div><div><br></div><div>I didn't notice any other issues, but didn't look too closely.</div><div><br></div><div>-walter</div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Sep 4, 2017 at 10:12 AM, Jammily Ortigoza <span dir="ltr"><<a href="mailto:jortigozaf@gmail.com" target="_blank">jortigozaf@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote"><span class="">On Thu, Aug 31, 2017 at 4:20 PM, James Cameron <span dir="ltr"><<a href="mailto:quozl@laptop.org" target="_blank">quozl@laptop.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">What if you read the messages after installing the .xo file; do the<br>
new translations appear? </blockquote><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
cd ~/Activities/Poll.activity<br>
msgunfmt locale/es/LC_MESSAGES/<a href="http://org.worldwideworkshop.PollBuilder.mo" rel="noreferrer" target="_blank">org.worl<wbr>dwideworkshop.PollBuilder.mo</a></blockquote><div><br></div></span><div>Yes, they appear. </div><span class=""><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br>
<br>
For me, testing with Fedora 18, the new translations are missing, even<br>
after repeating "python setup.py build".<br></blockquote><div><br></div></span><div>Yes, I'm using Fedora 18.</div><div><div class="h5"><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<span><br>
On Thu, Aug 31, 2017 at 11:42:33AM -0400, Jammily Ortigoza wrote:<br>
> Yes, in that specific line that I mentioned, they are the same.<br>
><br>
</span>> However, I downloaded the es.po from [1]<a href="https://translate.sugarlabs.org/es/" rel="noreferrer" target="_blank">https://translate.sugarlabs<wbr>.org/es/</a><br>
> Poll-Builder/<br>
> I'm using the updated Poll.pot from [2]<a href="https://github.com/sugarlabs/" rel="noreferrer" target="_blank">https://github.com/sug<wbr>arlabs/</a><br>
<span>> poll-activity/commits/master) and I did what Sebastian's said: <br>
> <br>
> msgmerge -U es.po Poll.pot<br>
><br>
> I translated the missing messages and generate the .xo file.<br>
> <br>
> But still the same, the messages with % are not been translated.<br>
><br>
> I did the same with Finance activity, I just didn't add any translation because<br>
</span>> the es.po from [3]<a href="https://translate.sugarlabs.org/es/Finance/" rel="noreferrer" target="_blank">https://translate.sugarlabs<wbr>.org/es/Finance/</a> is complete. I<br>
<span>> generated the .xo file, installed it and the translation worked (messages with<br>
> % also).<br>
><br>
</span>> On Thu, Aug 31, 2017 at 9:08 AM, Walter Bender <[4]<a href="mailto:walter.bender@gmail.com" target="_blank">walter.bender@gmail.com</a>><br>
<span>> wrote:<br>
><br>
> Back to the original question, is the msgid after running genpot the same<br>
> as what you tried to add by hand?<br>
><br>
</span><span>> On Aug 30, 2017 1:11 AM, "James Cameron" <[5]<a href="mailto:quozl@laptop.org" target="_blank">quozl@laptop.org</a>> wrote:<br>
><br>
> Thanks. I didn't know how to do that!<br>
><br>
> POT file is already up to date, it is the es.po file that is not.<br>
><br>
> Committed as<br>
</span>> [6]<a href="https://github.com/godiard/poll-activity/commit/2a15a5048970" rel="noreferrer" target="_blank">https://github.com/<wbr>godiard/poll-activity/commit/2<wbr>a15a5048970</a><br>
<span>> 7063edbabe73da4c13aab438890d<br>
><br>
> On Tue, Aug 29, 2017 at 10:50:35PM -0500, Sebastian Silva wrote:<br>
> > Hi!<br>
> ><br>
> > We should strive to let contributors help without bottlenecks.<br>
> ><br>
> > For what is worth, you can obtain a new pot file with the command<br>
> `python<br>
> > setup.py genpot` when you run it in the activity directory.<br>
> ><br>
> > Then, you will need to merge the untranslated `.pot` strings into the<br>
> already<br>
> > translated `es.po`.<br>
> ><br>
> > This can be done with `msgmerge -U es.po Poll.pot` (assuming<br>
> Poll.pot) is the<br>
> > file generated in the previous step.<br>
> ><br>
> > Then you could make a pull request with the updated pot and po files.<br>
> ><br>
> > Hope this helps!<br>
> ><br>
> > Sebastian<br>
> ><br>
> > On 29/08/17 14:47, Jammily Ortigoza wrote:<br>
> ><br>
> > As you can see, Poll is fully translated for "es" in [1]<br>
</span>> > [7]<a href="http://translate.sugarlabs.org" rel="noreferrer" target="_blank">translate.sugarlabs.org</a> but it has missing strings due to<br>
<span>> staled es.po<br>
> > file. What is the procedure to update es.po file with latest<br>
> changes based<br>
</span>> > in POT file into [2][8]<a href="http://translate.sugarlabs.org" rel="noreferrer" target="_blank">translate.sugarlabs.org</a>?<wbr> <br>
> ><br>
> > References:<br>
> ><br>
> > [1] [9]<a href="http://translate.sugarlabs.org/" rel="noreferrer" target="_blank">http://translate.sugarlabs.<wbr>org/</a><br>
> > [2] [10]<a href="http://translate.sugarlabs.org/" rel="noreferrer" target="_blank">http://translate.sugarlabs<wbr>.org/</a><br>
><br>
> > ______________________________<wbr>_________________<br>
> > Sugar-devel mailing list<br>
> > [11]<a href="mailto:Sugar-devel@lists.sugarlabs.org" target="_blank">Sugar-devel@lists.sugarlab<wbr>s.org</a><br>
> > [12]<a href="http://lists.sugarlabs.org/listinfo/sugar-devel" rel="noreferrer" target="_blank">http://lists.sugarlabs.org<wbr>/listinfo/sugar-devel</a><br>
><br>
> --<br>
> James Cameron<br>
> [13]<a href="http://quozl.netrek.org/" rel="noreferrer" target="_blank">http://quozl.netrek.org/</a><br>
> _____________________________<wbr>__________________<br>
> Sugar-devel mailing list<br>
> [14]<a href="mailto:Sugar-devel@lists.sugarlabs.org" target="_blank">Sugar-devel@lists.sugarla<wbr>bs.org</a><br>
> [15]<a href="http://lists.sugarlabs.org/listinfo/sugar-devel" rel="noreferrer" target="_blank">http://lists.sugarlabs.or<wbr>g/listinfo/sugar-devel</a><br>
><br>
> --<br>
> Jammily Ortigoza<br>
><br>
> References:<br>
><br>
> [1] <a href="https://translate.sugarlabs.org/es/Poll-Builder/" rel="noreferrer" target="_blank">https://translate.sugarlabs.or<wbr>g/es/Poll-Builder/</a><br>
> [2] <a href="https://github.com/sugarlabs/poll-activity/commits/master" rel="noreferrer" target="_blank">https://github.com/sugarlabs/p<wbr>oll-activity/commits/master</a><br>
> [3] <a href="http://translate.sugarlabs.org/" rel="noreferrer" target="_blank">http://translate.sugarlabs.org<wbr>/</a><br>
> [4] mailto:<a href="mailto:walter.bender@gmail.com" target="_blank">walter.bender@gmail.com</a><br>
> [5] mailto:<a href="mailto:quozl@laptop.org" target="_blank">quozl@laptop.org</a><br>
> [6] <a href="https://github.com/godiard/poll-activity/commit/2a15a50489707063edbabe73da4c13aab438890d" rel="noreferrer" target="_blank">https://github.com/godiard/pol<wbr>l-activity/commit/2a15a5048970<wbr>7063edbabe73da4c13aab438890d</a><br>
> [7] <a href="http://translate.sugarlabs.org/" rel="noreferrer" target="_blank">http://translate.sugarlabs.org<wbr>/</a><br>
> [8] <a href="http://translate.sugarlabs.org/" rel="noreferrer" target="_blank">http://translate.sugarlabs.org<wbr>/</a><br>
> [9] <a href="http://translate.sugarlabs.org/" rel="noreferrer" target="_blank">http://translate.sugarlabs.org<wbr>/</a><br>
> [10] <a href="http://translate.sugarlabs.org/" rel="noreferrer" target="_blank">http://translate.sugarlabs.org<wbr>/</a><br>
> [11] mailto:<a href="mailto:Sugar-devel@lists.sugarlabs.org" target="_blank">Sugar-devel@lists.sugar<wbr>labs.org</a><br>
> [12] <a href="http://lists.sugarlabs.org/listinfo/sugar-devel" rel="noreferrer" target="_blank">http://lists.sugarlabs.org/lis<wbr>tinfo/sugar-devel</a><br>
> [13] <a href="http://quozl.netrek.org/" rel="noreferrer" target="_blank">http://quozl.netrek.org/</a><br>
> [14] mailto:<a href="mailto:Sugar-devel@lists.sugarlabs.org" target="_blank">Sugar-devel@lists.sugar<wbr>labs.org</a><br>
> [15] <a href="http://lists.sugarlabs.org/listinfo/sugar-devel" rel="noreferrer" target="_blank">http://lists.sugarlabs.org/lis<wbr>tinfo/sugar-devel</a><br>
<div class="m_-8920165844211156494HOEnZb"><div class="m_-8920165844211156494h5"><br>
> ______________________________<wbr>_________________<br>
> Sugar-devel mailing list<br>
> <a href="mailto:Sugar-devel@lists.sugarlabs.org" target="_blank">Sugar-devel@lists.sugarlabs.or<wbr>g</a><br>
> <a href="http://lists.sugarlabs.org/listinfo/sugar-devel" rel="noreferrer" target="_blank">http://lists.sugarlabs.org/lis<wbr>tinfo/sugar-devel</a><br>
<br>
<br>
--<br>
James Cameron<br>
<a href="http://quozl.netrek.org/" rel="noreferrer" target="_blank">http://quozl.netrek.org/</a><br>
</div></div></blockquote></div></div></div><span class="HOEnZb"><font color="#888888"><br><br clear="all"><div><br></div>-- <br><div class="m_-8920165844211156494gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div>Jammily Ortigoza</div></div></div>
</font></span></div></div>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><font><font>Walter Bender</font></font><br><font><font>Sugar Labs</font></font></div><div><font><a href="http://www.sugarlabs.org" target="_blank"><font>http://www.sugarlabs.org</font></a></font><br><a href="http://www.sugarlabs.org" target="_blank"><font></font></a><br></div></div></div>
</div>