D14513: Add QML Extensions API

David Rosca noreply at phabricator.kde.org
Sat Aug 11 17:56:10 BST 2018


drosca added inline comments.

INLINE COMMENTS

> anmolgautam wrote in qmli18n.cpp:26
> > on the cpp side so when/if there is a support for switching languages it is easy to implement.
> 
> Sorry, I didn't understood this. Can you please elaborate.
> 
> > Also translations functions should be added to global namespace, so they are accessible with just i18n/i18np without Falkon namespace.
> 
> using engine contextProperty? or is there some other way?

Something like `setlocale(QLocale::system().name())`

Yes, contextProperty is fine if it works.

REPOSITORY
  R875 Falkon

REVISION DETAIL
  https://phabricator.kde.org/D14513

To: anmolgautam, drosca
Cc: falkon, herrold, anmolgautam, SGOrava, iodelay, spoorun, ptabis, navarromorales, cochise, clivej, ach
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/falkon/attachments/20180811/dcbe9fcf/attachment.html>


More information about the Falkon mailing list