[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-i18n-doc
Subject:    Re: Problem with translator credits in playground-base/timetablemate.po
From:       Marek Laane <bald () smail ! ee>
Date:       2012-06-29 0:15:04
Message-ID: CAC0LJT_m6NdrM7gcA-gsa5HQCJcbBqC39fgaZp2PL-H7j7paLQ () mail ! gmail ! com
[Download RAW message or body]

2012/6/29 Albert Astals Cid <aacid@kde.org>

> El Divendres, 29 de juny de 2012, a les 02:49:29, Marek Laane va escriure=
:
> > 2012/6/29 Albert Astals Cid <aacid@kde.org>
> >
> > > El Divendres, 29 de juny de 2012, a les 01:10:50, Freek de Kruijf va
> > >
> > > escriure:
> > > > On donderdag 28 juni 2012 20:56:00 Yuri Chornoivan wrote:
> > > > > Hi,
> > > > >
> > > > > Code from playground/base/Plasma public transport
> > >
> > >
> https://projects.kde.org/projects/playground/base/publictransport/reposit=
o
> > >
> > > > > r
> > > > > y/revisions/master/show/engine/timetablemate/src
> > > > >
> > > > > main.cpp: 41:
> > > > >      about.setTranslator( ki18nc("Names of translators, separated
> by
> > >
> > > ','",
> > >
> > > > > ""),
> > > > >
> > > > >                           ki18nc("Emails of translators, separate=
d
> by
> > > > >                           ','",
> > > > >
> > > > > "") );
> > > > >
> > > > > This is extracted as empty strings, thus cannot be translated.
> What is
> > >
> > > the
> > >
> > > > > correct way to fix this?
> > > > >
> > > > > Thanks in advance for your answers.
> > > > >
> > > > > Best regards,
> > > > > Yuri
> > > >
> > > > In other modules this is "Your names" and "Your emails". Maybe this
> is
> > > > required. And indeed the names and the emails should be separated b=
y
> > >
> > > commas.
> > >
> > > No, that's added automagically by scripty no need for any code, just
> kill
> > > those lines from the code and that's it.
> > >
> > > Cheers,
> > >
> > >  Albert
> >
> > Ha, that was new to me! How then one has to enter translators so they a=
re
> > separated with commas? With "/n"? Just in one line (but how then with
> names
> > which have more than just two components, e.g. two first names or first
> > name and middle name etc)?
>
> What is new? The "NAME OF TRANSLATORS", "Your names" string? It's been
> there
> for ages!
>
> If you want to add multiple people you have to separate them by commas
> (and no
> spaces) e.g.
> #: rc.cpp:1
> msgctxt "NAME OF TRANSLATORS"
> msgid "Your names"
> msgstr "Antoni Bella P=E9rez,David Gil Oliva"
>
> #: rc.cpp:2
> msgctxt "EMAIL OF TRANSLATORS"
> msgid "Your emails"
> msgstr "something@else.es,this@isfake.es"
>
> We even have a check-kde-tp check for it.
>
> Albert
>

That I do know. You said "No, that's added automagically by scripty" what I
interpreted that scripty does add commas automatically - and that was new
to me. Sorry, if I dind't understand correctly.

[Attachment #3 (text/html)]

<br><br><div class="gmail_quote">2012/6/29 Albert Astals Cid <span dir="ltr">&lt;<a \
href="mailto:aacid@kde.org" \
target="_blank">aacid@kde.org</a>&gt;</span><br><blockquote class="gmail_quote" \
style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"> El Divendres, \
29 de juny de 2012, a les 02:49:29, Marek Laane va escriure:<br> <div><div \
class="h5">&gt; 2012/6/29 Albert Astals Cid &lt;<a \
href="mailto:aacid@kde.org">aacid@kde.org</a>&gt;<br> &gt;<br>
&gt; &gt; El Divendres, 29 de juny de 2012, a les 01:10:50, Freek de Kruijf va<br>
&gt; &gt;<br>
&gt; &gt; escriure:<br>
&gt; &gt; &gt; On donderdag 28 juni 2012 20:56:00 Yuri Chornoivan wrote:<br>
&gt; &gt; &gt; &gt; Hi,<br>
&gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt; Code from playground/base/Plasma public transport<br>
&gt; &gt;<br>
&gt; &gt; <a href="https://projects.kde.org/projects/playground/base/publictransport/reposito" \
target="_blank">https://projects.kde.org/projects/playground/base/publictransport/reposito</a><br>
 &gt; &gt;<br>
&gt; &gt; &gt; &gt; r<br>
&gt; &gt; &gt; &gt; y/revisions/master/show/engine/timetablemate/src<br>
&gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt; main.cpp: 41:<br>
&gt; &gt; &gt; &gt;      about.setTranslator( ki18nc(&quot;Names of translators, \
separated by<br> &gt; &gt;<br>
&gt; &gt; &#39;,&#39;&quot;,<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; &quot;&quot;),<br>
&gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt;                           ki18nc(&quot;Emails of translators, \
separated by<br> &gt; &gt; &gt; &gt;                           &#39;,&#39;&quot;,<br>
&gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt; &quot;&quot;) );<br>
&gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt; This is extracted as empty strings, thus cannot be translated. \
What is<br> &gt; &gt;<br>
&gt; &gt; the<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; correct way to fix this?<br>
&gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt; Thanks in advance for your answers.<br>
&gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt; Best regards,<br>
&gt; &gt; &gt; &gt; Yuri<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt; In other modules this is &quot;Your names&quot; and &quot;Your \
emails&quot;. Maybe this is<br> &gt; &gt; &gt; required. And indeed the names and the \
emails should be separated by<br> &gt; &gt;<br>
&gt; &gt; commas.<br>
&gt; &gt;<br>
&gt; &gt; No, that&#39;s added automagically by scripty no need for any code, just \
kill<br> &gt; &gt; those lines from the code and that&#39;s it.<br>
&gt; &gt;<br>
&gt; &gt; Cheers,<br>
&gt; &gt;<br>
&gt; &gt;  Albert<br>
&gt;<br>
&gt; Ha, that was new to me! How then one has to enter translators so they are<br>
&gt; separated with commas? With &quot;/n&quot;? Just in one line (but how then with \
names<br> &gt; which have more than just two components, e.g. two first names or \
first<br> &gt; name and middle name etc)?<br>
<br>
</div></div>What is new? The &quot;NAME OF TRANSLATORS&quot;, &quot;Your names&quot; \
string? It&#39;s been there<br> for ages!<br>
<br>
If you want to add multiple people you have to separate them by commas (and no<br>
spaces) e.g.<br>
#: rc.cpp:1<br>
msgctxt &quot;NAME OF TRANSLATORS&quot;<br>
msgid &quot;Your names&quot;<br>
msgstr &quot;Antoni Bella Pérez,David Gil Oliva&quot;<br>
<br>
#: rc.cpp:2<br>
msgctxt &quot;EMAIL OF TRANSLATORS&quot;<br>
msgid &quot;Your emails&quot;<br>
msgstr &quot;<a href="mailto:something@else.es">something@else.es</a>,<a \
href="mailto:this@isfake.es">this@isfake.es</a>&quot;<br> <br>
We even have a check-kde-tp check for it.<br>
<span class="HOEnZb"><font color="#888888"><br>
Albert<br>
</font></span></blockquote></div><br><div>That I do know. You said &quot;<span \
style="background-color:rgb(255,255,255);color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px">No, \
that&#39;s added automagically by scripty</span>&quot; what I interpreted that \
scripty does add commas automatically - and that was new to me. Sorry, if I \
dind&#39;t understand correctly.</div> <div><br></div>



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic