Review Request 126087: Move the i18n context from KDeclarative
Marco Martin
notmart at gmail.com
Tue Nov 17 09:58:44 UTC 2015
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://git.reviewboard.kde.org/r/126087/#review88463
-----------------------------------------------------------
Here's the reason I don't like it:
In origin KDeclarative was intended to be a library that only depended from Qt stuff, to be at most tier 2 (and imports there were supposed to be qt-only as well) and frameworks applications using QML were supposed to do it trough KDeclarative..
This just highlights a problem happened afterwards, when no frameworks maintainer wanted any qml binding it the framework's repository, the kdeclarative repo ended up being pretty much a dumpster where all the binding of all the frameworks went, making it depend from pretty much everything.
This also means that whoever will need the binding of $framework, it will probably rather rewrite them, since using kdeclarative means pretty much depending from all of them.
So, fine for making the i18n context independent, but iff the whole situation gets resolved and each single import that depends from more than Qt stuff goes either in its framework repository or gets its own.
- Marco Martin
On Nov. 16, 2015, 2:55 p.m., Aleix Pol Gonzalez wrote:
>
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://git.reviewboard.kde.org/r/126087/
> -----------------------------------------------------------
>
> (Updated Nov. 16, 2015, 2:55 p.m.)
>
>
> Review request for KDE Frameworks, Chusslove Illich and Marco Martin.
>
>
> 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
> -----
>
> src/klocalizedcontext.cpp PRE-CREATION
> src/CMakeLists.txt 818595e
> src/klocalizedcontext.h 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/20151117/26503fb1/attachment.html>
More information about the Kde-frameworks-devel
mailing list