~ci-train-bot/ubuntu-settings-components/ubuntu-settings-components-ubuntu-zesty-2106

« back to all changes in this revision

Viewing changes to plugins/Ubuntu/Settings/Components/plugin.cpp

  • Committer: Lukáš Tinkl
  • Date: 2015-08-02 14:42:46 UTC
  • mto: This revision was merged to the branch mainline in revision 94.
  • Revision ID: lukas.tinkl@canonical.com-20150802144246-93hvhpon5b0aoqge
setup message extraction, load the catalog from the plugins

Show diffs side-by-side

added added

removed removed

Lines of Context:
21
21
// Qt
22
22
#include <QtQml/qqml.h>
23
23
 
 
24
// other
 
25
#include <libintl.h>
 
26
 
24
27
void UbuntuSettingsComponentsPlugin::registerTypes(const char *uri)
25
28
{
 
29
    textdomain("ubuntu-settings-components");
 
30
 
26
31
    qmlRegisterType<ServerPropertySynchroniser>(uri, 0, 1, "ServerPropertySynchroniser");
27
32
}