Code review comment for lp:~yohanboniface/ubuntu-calendar-app/AgendaView

Revision history for this message
Kunal Parmar (pkunal-parmar) wrote :

> One curious thing about i18n.tr() and JavaScript is that I'm able to use it
> directly in the JavaScript file in OSMTouch, but not in Calendar. See http://b
> azaar.launchpad.net/~yohanboniface/osmtouch/trunk/view/head:/components/Catego
> ries.js
> I need to investigate this.

This is because, Calendar JS file is shared library, declared by
.pragma library. But your JS file does not seems to be shared lib.

http://qt-project.org/doc/qt-5/qtqml-javascript-resources.html

« Back to merge proposal