equal
deleted
inserted
replaced
14 * Description: main.cpp |
14 * Description: main.cpp |
15 * |
15 * |
16 */ |
16 */ |
17 |
17 |
18 #include <HbApplication> |
18 #include <HbApplication> |
19 #include <QTranslator> |
19 #include <HbTranslator> |
20 #include <QLocale> |
|
21 #include "locationpickerappwindow.h" |
20 #include "locationpickerappwindow.h" |
22 #include "locationpickertypes.h" |
|
23 |
21 |
24 int main(int argc, char *argv[]) |
22 int main(int argc, char *argv[]) |
25 { |
23 { |
26 HbApplication app(argc, argv); |
24 HbApplication app(argc, argv); |
27 |
25 HbTranslator translator("lilpicker"); |
28 QTranslator translator; |
|
29 QString lang = QLocale::system().name(); |
|
30 translator.load("lilpicker_" + lang); |
|
31 app.installTranslator(&translator); |
|
32 |
|
33 app.setApplicationName( hbTrId("txt_lint_title_select_location") ); |
26 app.setApplicationName( hbTrId("txt_lint_title_select_location") ); |
34 LocationPickerAppWindow mainWindow; |
27 LocationPickerAppWindow mainWindow; |
35 mainWindow.show(); |
28 mainWindow.show(); |
36 return app.exec(); |
29 return app.exec(); |
37 } |
30 } |