<div dir="ltr">You should use i18n("lalala %1", desiredPath.path()).<div><br></div><div style>BTW, can you please open a new thread for these issues? This one is about Kartesio.</div><div style><br></div><div style>

Aleix</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Wed, May 8, 2013 at 2:41 PM, Orestes Mas <span dir="ltr"><<a href="mailto:orestes@tsc.upc.edu" target="_blank">orestes@tsc.upc.edu</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">El Dimecres 08 Maig 2013, a les 14:18:43, Orestes Mas va escriure:<br>
<div class="im">> El Dimarts 07 Maig 2013, a les 23:57:32, Albert Astals Cid va escriure:<br>
> > El Dimarts, 7 de maig de 2013, a les 23:54:58, LucaTringali va escriure:<br>
> > > Hello,just wanted to tell you that I fixed the CMakeLists file to<br>
> > > consider<br>
> > > as required libzorbaneural, and also wrote a basic documentation.I'm<br>
> > > going<br>
> > > to find out how to use krazy code checker, so the program will be ready<br>
> > > for<br>
> > > going out of playground. Luca Tringali<br>
> ><br>
> > Just use the englishbreakfastnetwork<br>
> ><br>
> > <a href="http://www.englishbreakfastnetwork.org/krazy/reports/playground/edu/kartes" target="_blank">http://www.englishbreakfastnetwork.org/krazy/reports/playground/edu/kartes</a><br>
</div>> > io /index.html<br>
<div class="im">><br>
> I learned about Krazy in this thread. Interesting thing, didn't know it<br>
> before.<br>
><br>
> I'm applying it to my program, and I've followed its suggestions to fix most<br>
> issues, but it remain an issue in the "c++" module I don't know how to<br>
> resolve:<br>
><br>
> This is an issue related to using Qt classes instead of KDE equivalents.<br>
> Here is the output of Krazy:<br>
><br>
> 25. Check for Qt classes that should not be used [qclasses]... 2 issues<br>
> found ./src/myaudiocombo.h: Use KComboBox instead of QComboBox line#42<br>
> ./src/myaudiocombo.cpp: Use KComboBox instead of QComboBox line#126<br>
><br>
> These 2 issues are the same one: I'm using a QComboBox in Qt Designer<br>
> instead of using KComboBox.<br>
><br>
> To fix it it's enough to use a KComboBox in designer, but the point is I<br>
> cannot do that because I want this combo act as an own-derived class<br>
> (myaudiocombo) and to do that I've to *promote* the standard combo in<br>
> designer to my combo class, but designer only allows me to promote Qt<br>
> classes, not KDE ones.<br>
><br>
> Do you know which is the proper way to handle this (pretty common, I<br>
> presume) situation?<br>
<br>
</div>I've another "krazy" issue I don't know how to handle:<br>
<br>
13. Check validity of i18n calls [i18ncheckarg]... 1 issue found<br>
        ./recorddockwidget.cpp: wrong argument count, have 0 need 1 line#178<br>
        Make the translators' job easier and detect problems in the usage<br>
        of the i18n() calls. When the fix is not clear, check the Techbase<br>
        article at<br>
        <<a href="http://techbase.kde.org/Development/Tutorials/Localization/i18n_Kr" target="_blank">http://techbase.kde.org/Development/Tutorials/Localization/i18n_Kr</a><br>
        azy> for more information.<br>
<br>
But the reported line reads as:<br>
<br>
message = i18n("The configured video saving directory does not exist:\n\n%1.<br>
\n\n").arg(desiredDir.path());<br>
<br>
So, what's wrong with this code?<br>
<div class="HOEnZb"><div class="h5"><br>
--<br>
Cheers,<br>
Orestes Mas.<br>
<br>
_______________________________________________<br>
kde-edu mailing list<br>
<a href="mailto:kde-edu@mail.kde.org">kde-edu@mail.kde.org</a><br>
<a href="https://mail.kde.org/mailman/listinfo/kde-edu" target="_blank">https://mail.kde.org/mailman/listinfo/kde-edu</a><br>
</div></div></blockquote></div><br></div>