Review Request 126087: Move the i18n context from KDeclarative

Aleix Pol Gonzalez aleixpol at kde.org
Mon Nov 23 14:33:02 UTC 2015


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://git.reviewboard.kde.org/r/126087/
-----------------------------------------------------------

(Updated Nov. 23, 2015, 2:33 p.m.)


Status
------

This change has been marked as submitted.


Review request for KDE Frameworks, Chusslove Illich and Marco Martin.


Changes
-------

Submitted with commit 369509cc41d82b5b14f329c1ba9d40289ea672e5 by Aleix Pol to branch master.


Repository: ki18n


Description
-------

The only way to use `i18n*()` so far in QML is by depending on all KDeclarative. This patch moves the necessary bits there so it can be adopted by an application or framework just by offering the needed bits within KI18n.
This is done by offering an object with methods that map to the `i18n*()` C++ counter-parts.


Diffs
-----

  autotests/CMakeLists.txt 1cf0f7a 
  src/klocalizedcontext.h PRE-CREATION 
  src/CMakeLists.txt 818595e 
  docs/programmers-guide.md 13a5f9d 
  autotests/ki18ndeclarativetest.cpp PRE-CREATION 
  autotests/test.qml PRE-CREATION 
  src/klocalizedcontext.cpp PRE-CREATION 

Diff: https://git.reviewboard.kde.org/r/126087/diff/


Testing
-------

Ported KDeclarative, everything still seems to work.


Thanks,

Aleix Pol Gonzalez

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20151123/b0163493/attachment.html>


More information about the Kde-frameworks-devel mailing list