add:  var nextCommand = document.getElementById("context_next"); nextCommand.setAttribute("label", nextCommand.getAttribute("label-"+type)); var previousCommand = document.getElementById("context_previous") previousCommand.setAttribute("label", previousCommand.getAttribute("label-"+type));  
context: function switchView(type) {    var calendarViewBox = document.getElementById("calendar-view-box");    var monthView = document.getElementById("calendar-month-view");    var multidayView = document.getElementById("calendar-multiday-view");    var selectedDay = calendarViewBox.selectedPanel.selectedDay;    if (!selectedDay)        selectedDay = today();    var d1, d2;    switch (type) {    case "month": {        d1 = selectedDay;        calendarViewBox.selectedPanel = monthView;    }        break;    case "week": {        d1 = selectedDay.startOfWeek;        d2 = selectedDay.endOfWeek;        calendarViewBox.selectedPanel = multidayView;    }        break;    case "day":    default: {        d1 = selectedDay;        d2 = selectedDay;        calendarViewBox.selectedPanel = multidayView;    }        break;    }    showCalendar(d1, d2);    calendarViewBox.selectedPanel.selectedDay = selectedDay;}
meta: 10234	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/10234/5feb5b129a0598b6d8416e7faad36bb130bbcc15/messenger-overlay-sidebar.js/clean/calendar/lightning/content/messenger-overlay-sidebar.js