kwin/scripting
Martin Gräßlin 0c4aaaf4ad [scripting] Support loading translations for UI loaded configs
Scripts and scripted effects can provide a ui file which gets loaded at
runtime. Obviously such a ui file is not translated. This introduces
quite a hack to load the translated strings.

In the metadata.desktop file the scripted component can provide a key
X-KWin-Config-TranslationDomain. The genericscriptedconfig tries to
locate the metadata.desktop file and reads this entry. If it is present
we extract all string properties of the loaded UI and pass them through
ki18nd.

REVIEW: 118585
2014-06-10 15:49:19 +02:00
..
CMakeLists.txt [scripting] Support loading translations for UI loaded configs 2014-06-10 15:49:19 +02:00
dbuscall.cpp New QML Type DBusCall 2013-08-13 09:57:51 +02:00
dbuscall.h New QML Type DBusCall 2013-08-13 09:57:51 +02:00
documentation-effect-global.xml export AnimationEffect::set and ::cancel to script 2013-03-28 19:47:30 +01:00
documentation-global.xml Add documentation for global KWin object in KWin scripting 2013-01-11 18:12:25 +01:00
genericscriptedconfig.cpp [scripting] Support loading translations for UI loaded configs 2014-06-10 15:49:19 +02:00
genericscriptedconfig.h [scripting] Support loading translations for UI loaded configs 2014-06-10 15:49:19 +02:00
genericscriptedconfig.json [kwin] Fix genericscripted config 2014-03-19 08:00:28 +01:00
kwinscript.desktop SVN_SILENT made messages (.desktop file) 2014-06-10 10:37:36 +00:00
Messages.sh Extract messages from scripts and scripting module 2013-03-04 10:29:25 +01:00
meta.cpp Fix no cast to/from ASCII intrduced issues 2013-07-24 09:58:33 +02:00
meta.h Export Toplevel to KWin::Scripts 2013-02-14 08:16:19 +01:00
screenedgeitem.cpp Add a ScreenEdgeItem to reserve a screen edge from QML 2013-08-13 09:57:51 +02:00
screenedgeitem.h Add a ScreenEdgeItem to reserve a screen edge from QML 2013-08-13 09:57:51 +02:00
scriptedeffect.cpp [kwin] Add a virtual Effect::requestedEffectChainPosition 2014-03-28 14:04:54 +01:00
scriptedeffect.h [kwin] Add a virtual Effect::requestedEffectChainPosition 2014-03-28 14:04:54 +01:00
scripting.cpp [scripting] Reparent the created QML object 2014-05-30 15:47:24 +02:00
scripting.h [kwin] Share QQmlEngine between all declarative KWin Scripts 2014-03-10 09:08:38 +01:00
scripting_model.cpp Replace NULL with nullptr in scripting folder 2014-02-24 16:33:40 +01:00
scripting_model.h Replace NULL with nullptr in scripting folder 2014-02-24 16:33:40 +01:00
scriptingutils.cpp Asserts for KWin scripts 2012-05-10 10:00:54 +02:00
scriptingutils.h Register KWin's global shortcuts with the new shortcut system 2014-03-19 14:14:56 +01:00
timer.cpp Strip module path from all Qt #include <> 2013-03-06 10:26:56 +01:00
workspace_wrapper.cpp [kwin] Use std::find_if and lambda functions for Workspace::findClient 2014-03-25 15:17:11 +01:00
workspace_wrapper.h [kwin] Introduce Screens::size and Screens::geometry 2014-03-05 13:03:33 +01:00