diff --git a/src/plugins/WebCal.py b/src/plugins/WebCal.py index d4157aa22..2c5729b26 100644 --- a/src/plugins/WebCal.py +++ b/src/plugins/WebCal.py @@ -376,37 +376,42 @@ class WebCalReport(Report): # Check to see if home_link will be used??? navs = [ - (self.home_link,_('Home'), self.home_link), - ('January', _('Jan'), True), - ('February', _('Feb'), True), - ('March', _('Mar'), True), - ('April', _('Apr'), True), - ('May', _('May'), True), - ('June', _('Jun'), True), - ('July', _('Jul'), True), - ('August', _('Aug'), True), - ('September', _('Sep'), True), - ('October', _('Oct'), True), - ('November', _('Nov'), True), - ('December', _('Dec'), True), - ('fullyear', _('Year Glance'), self.fullyear), - ('blankyear', _('Blank Calendar'), self.blankyear) + (self.home_link, _('Home'), self.home_link), + (1, _('Jan'), True), + (2, _('Feb'), True), + (3, _('Mar'), True), + (4, _('Apr'), True), + (5, _('May'), True), + (6, _('Jun'), True), + (7, _('Jul'), True), + (8, _('Aug'), True), + (9, _('Sep'), True), + (10, _('Oct'), True), + (11, _('Nov'), True), + (12, _('Dec'), True), + ('fullyear', _('Year Glance'), self.fullyear), + ('blankyear', _('Blank Calendar'), self.blankyear) ] for url_fname, nav_text, cond in navs: if cond: + # Figure out if we need