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

List:       kde-core-devel
Subject:    Re: KPeg (Board Game) moved to KDE Review
From:       Ronny Yabar Aizcorbe <ronny () kde ! org>
Date:       2015-05-31 1:11:07
Message-ID: CALZ=3bQ7MG6xEvR-5EoVZu4+QCV_mSvM7fxPW8=ijLV=pqhjLA () mail ! gmail ! com
[Download RAW message or body]

Thanks. It was fixed.

Cheers

Ronny

On Thu, May 28, 2015 at 8:48 AM, Burkhard Lück <lueck@hube-lueck.de> wrote:

> Am Mittwoch, 27. Mai 2015, 05:43:02 schrieb Ronny Yabar Aizcorbe:
> > Can you please test the game and/or provide some feedback and make some
> > comments about the request?
>
> You use
> add_definitions(-DTRANSLATION_DOMAIN="kpeg") in CMakeLists.txt
> instead of
> KLocalizedString::setApplicationDomain("kpeg"); in a .cpp file
> for applications.
>
> Therefore strings from KXmlGui (.rc) files and KConfigXT (.kcfg) files are
> not
> loaded and are untranslated in the GUI.
>
> See also
> http://api.kde.org/frameworks-api/frameworks5-apidocs/ki18n/html/prg_guide.html
>
> --
> Burkhard Lück
>
>

[Attachment #3 (text/html)]

<div dir="ltr">Thanks. It was \
fixed.<div><br></div><div>Cheers</div><div><br></div><div>Ronny</div><div \
class="gmail_extra"><br><div class="gmail_quote">On Thu, May 28, 2015 at 8:48 AM, \
Burkhard Lück <span dir="ltr">&lt;<a href="mailto:lueck@hube-lueck.de" \
target="_blank">lueck@hube-lueck.de</a>&gt;</span> wrote:<br><blockquote \
class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc \
solid;padding-left:1ex"><span class="">Am Mittwoch, 27. Mai 2015, 05:43:02 schrieb \
Ronny Yabar Aizcorbe:<br> &gt; Can you please test the game and/or provide some \
feedback and make some<br> &gt; comments about the request?<br>
<br>
</span>You use<br>
add_definitions(-DTRANSLATION_DOMAIN=&quot;kpeg&quot;) in CMakeLists.txt<br>
instead of<br>
KLocalizedString::setApplicationDomain(&quot;kpeg&quot;); in a .cpp file<br>
for applications.<br>
<br>
Therefore strings from KXmlGui (.rc) files and KConfigXT (.kcfg) files are not<br>
loaded and are untranslated in the GUI.<br>
<br>
See also <a href="http://api.kde.org/frameworks-api/frameworks5-apidocs/ki18n/html/prg_guide.html" \
target="_blank">http://api.kde.org/frameworks-api/frameworks5-apidocs/ki18n/html/prg_guide.html</a><br>
 <span class="HOEnZb"><font color="#888888"><br>
--<br>
Burkhard Lück<br>
<br>
</font></span></blockquote></div><br></div></div>



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

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