<br><br><div class="gmail_quote">On Tue, May 14, 2013 at 12:28 PM, Akarsh Simha <span dir="ltr"><<a href="mailto:akarshsimha@gmail.com" target="_blank">akarshsimha@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi<br>
<br>
I don't know if anyone else here is encountering a problem with trying<br>
to use the "What's Interesting" tool in master.<br>
<br>
For me, the widget shows nothing, and the console has error messages<br>
like:<br>
file:///kde-devel/inst/branches/kstars/share/apps/kstars/tools/whatsinteresting/qml/wiview.qml:886:<br>
ReferenceError: Can't find variable: i18n<br>
file:///kde-devel/inst/branches/kstars/share/apps/kstars/tools/whatsinteresting/qml/wiview.qml:796:<br>
ReferenceError: Can't find variable: i18n<br>
file:///kde-devel/inst/branches/kstars/share/apps/kstars/tools/whatsinteresting/qml/wiview.qml:773:<br>
ReferenceError: Can't find variable: i18n<br>
file:///kde-devel/inst/branches/kstars/share/apps/kstars/tools/whatsinteresting/qml/wiview.qml:743:<br>
ReferenceError: Can't find variable: i18n<br>
f<br>
<br>
So, it looks like a problem with i18n. The techbase wiki as some<br>
information about i18n() usage in QML:<br>
<a href="http://techbase.kde.org/Development/Tutorials/Localization/i18n#QML" target="_blank">http://techbase.kde.org/Development/Tutorials/Localization/i18n#QML</a><br>
<br>
Oddly, Samikshan's work worked perfectly fine for me in the<br>
gsoc2012-samxan branch. I don't know if others are encountering<br>
similar issues, and if something changed during the merge...<br>
<br>
Regards<br>
<span class="HOEnZb"><font color="#888888">Akarsh<br>
</font></span></blockquote></div><br>Hi<br><br>Sorry about the late reply. I had some problems with my laptop.<br>Anyway, after the merge, there was a commit by Pino Toscano<br>where all qsTr() occurances were replaced with i18n(). Apparently,<br>
this is causing the problem because internationalization in QML<br>files is done with qsTr(). If it is okay, could I revert back to using<br>qsTr() or am I missing something here?<br clear="all"><br>Regards,<br>-- <br>Samikshan Bairagya<br>
KDE Developer, India<br><a href="http://samxan.wordpress.com" target="_blank">http://samxan.wordpress.com</a> | <a href="http://about.me/samikshan" target="_blank">http://about.me/samikshan</a><br>