2016-08-01 19:04:43 babadoo hola asteroidos! 2016-08-01 19:10:15 @kido hi 2016-08-01 19:11:48 SylvieLorxu Hi 2016-08-01 19:14:20 Asara hi 2016-08-01 21:14:04 SylvieLorxu kido: I want to add support for translations in watchfaces, but I'm not sure how asteroid-launcher even knows what watchface to show. Could you perhaps point me in the right direction there? 2016-08-01 21:18:49 @kido https://github.com/AsteroidOS/asteroid-launcher/blob/master/qml/MainScreen.qml#L71 <- this Loader uses this ConfigureationValue https://github.com/AsteroidOS/asteroid-launcher/blob/master/qml/MainScreen.qml#L63 <- which is set here https://github.com/AsteroidOS/asteroid-settings/blob/master/WatchfacePage.qml#L32 2016-08-01 21:20:15 @kido those watchfaces are under the environment of asteroid-launcher.service so you will need to include your internationalization env file here https://github.com/AsteroidOS/meta-asteroid/blob/master/recipes-asteroid/asteroid-launcher/asteroid-launcher/asteroid-launcher.service#L7 and then it's just like what you are used to 2016-08-01 21:21:07 SylvieLorxu Actually, I was thinking of just adding a .qm file for a specific watchface translation in the watchfaces directory 2016-08-01 21:21:33 SylvieLorxu Because the translations are watchface-centric and we don't really want a user thing to be in such a system location I feel 2016-08-01 21:21:38 SylvieLorxu Oh wait nvm I misread 2016-08-01 21:22:02 SylvieLorxu I need the watchfaceSource in the CPP code though, how would I access "/desktop/asteroid/watchface" there? 2016-08-01 21:26:21 @kido you'll need to use mlite's MGConfItem https://git.merproject.org/mer-core/mlite/blob/master/src/mgconfitem.cpp 2016-08-01 21:27:51 SylvieLorxu Pfff, more unexpected complexity, haha 2016-08-01 21:28:19 @kido this isn't that hard :) 2016-08-01 21:28:38 @kido ConfigurationValue are implemented here https://git.merproject.org/mer-core/nemo-qml-plugin-configuration/blob/master/src/configurationvalue.h 2016-08-01 21:28:50 @kido sorry, I mean here https://git.merproject.org/mer-core/nemo-qml-plugin-configuration/blob/master/src/configurationvalue.cpp 2016-08-01 21:29:12 @kido it can give you an idea of how to reproduce the behavior of the QML code from C++ code 2016-08-01 21:32:20 SylvieLorxu It's probably not hard but I have no real experience with C++ and I have no clue if we have these libraries and how to use #include properly and so