diff -r 5de72ea7a065 -r 579cc610882e notes/notesui/notesapplication/src/main.cpp --- a/notes/notesui/notesapplication/src/main.cpp Wed Jun 23 18:11:28 2010 +0300 +++ b/notes/notesui/notesapplication/src/main.cpp Tue Jul 06 14:14:56 2010 +0300 @@ -17,10 +17,9 @@ // System includes #include -#include #include #include - +#include // User includes #include "notesappcontroller.h" @@ -42,9 +41,8 @@ window.setViewportUpdateMode(QGraphicsView::MinimalViewportUpdate); // Load the translation file. - QTranslator notesViewsTranslator; - notesViewsTranslator.load("notes",":/translations"); - app.installTranslator(¬esViewsTranslator); + HbTranslator notesViewsTranslator("notes"); + notesViewsTranslator.loadCommon(); // Construct the application controller. QScopedPointer controller(new NotesAppController);