equal
deleted
inserted
replaced
206 // |
206 // |
207 |
207 |
208 void CCalenLunarChinesePlugin::CustomiseMenu(HbMenu* aHbMenu) |
208 void CCalenLunarChinesePlugin::CustomiseMenu(HbMenu* aHbMenu) |
209 { |
209 { |
210 OstTraceFunctionEntry0( CCALENLUNARCHINESEPLUGIN_CUSTOMISEMENU_ENTRY ); |
210 OstTraceFunctionEntry0( CCALENLUNARCHINESEPLUGIN_CUSTOMISEMENU_ENTRY ); |
211 HbAction* lunarAction = new HbAction("Show Lunar Data"); |
211 HbAction* lunarAction = new HbAction(hbTrId("txt_calendar_opt_show_lunar_data")); |
212 QList<QAction*> actionList = aHbMenu->actions(); |
212 QList<QAction*> actionList = aHbMenu->actions(); |
213 TInt count = actionList.count() - 1; //To show the option "show lunar data" |
213 TInt count = actionList.count() - 1; //To show the option "show lunar data" |
214 //as a second last action item for all |
214 //as a second last action item for all |
215 //Menu |
215 //Menu |
216 if(count >= 0) |
216 if(count >= 0) |