diff -r fd30d51f876b -r b6db4fd4947b notes/notesui/notesapplication/src/main.cpp --- a/notes/notesui/notesapplication/src/main.cpp Mon May 03 12:30:32 2010 +0300 +++ b/notes/notesui/notesapplication/src/main.cpp Mon Jun 28 15:22:02 2010 +0530 @@ -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);