diff -cr ganttcalendar-0.0.1/ganttcalendar/ticketcalendar.py ganttcalendar-0.0.1.orig/ganttcalendar/ticketcalendar.py
*** ganttcalendar-0.0.1/ganttcalendar/ticketcalendar.py 2008-11-18 00:23:28.000000000 +0900
--- ganttcalendar-0.0.1.orig/ganttcalendar/ticketcalendar.py 2008-04-24 16:20:42.000000000 +0900
***************
*** 3,13 ****
from datetime import datetime, date, timedelta, tzinfo
from trac.core import *
- from trac import util
from trac.web import IRequestHandler
from trac.web.chrome import INavigationContributor, ITemplateProvider
! from genshi.builder import tag
! from trac.util.translation import _
from datefmt_ext import to_datetime, utc
--- 3,11 ----
from datetime import datetime, date, timedelta, tzinfo
from trac.core import *
from trac.web import IRequestHandler
from trac.web.chrome import INavigationContributor, ITemplateProvider
! from trac.util import Markup
from datefmt_ext import to_datetime, utc
***************
*** 20,26 ****
def get_navigation_items(self, req):
yield ('mainnav', 'ticketcalendar',
! tag.a(_('Calendar'), href=req.href.ticketcalendar()))
# IRequestHandler methods
def match_request(self, req):
--- 18,24 ----
def get_navigation_items(self, req):
yield ('mainnav', 'ticketcalendar',
! Markup(u'カレンダー', req.href.ticketcalendar()))
# IRequestHandler methods
def match_request(self, req):
diff -cr ganttcalendar-0.0.1/ganttcalendar/ticketgantt.py ganttcalendar-0.0.1.orig/ganttcalendar/ticketgantt.py
*** ganttcalendar-0.0.1/ganttcalendar/ticketgantt.py 2008-11-18 00:23:44.000000000 +0900
--- ganttcalendar-0.0.1.orig/ganttcalendar/ticketgantt.py 2008-04-14 16:21:37.000000000 +0900
***************
*** 3,13 ****
from datetime import datetime, date, timedelta, tzinfo
from trac.core import *
- from trac import util
from trac.web import IRequestHandler
from trac.web.chrome import INavigationContributor, ITemplateProvider
! from genshi.builder import tag
! from trac.util.translation import _
from datefmt_ext import to_datetime, utc
--- 3,11 ----
from datetime import datetime, date, timedelta, tzinfo
from trac.core import *
from trac.web import IRequestHandler
from trac.web.chrome import INavigationContributor, ITemplateProvider
! from trac.util import Markup
from datefmt_ext import to_datetime, utc
***************
*** 20,26 ****
def get_navigation_items(self, req):
yield ('mainnav', 'ticketgantt',
! tag.a(_('Gantt'), href=req.href.ticketgantt()))
# IRequestHandler methods
def match_request(self, req):
--- 18,24 ----
def get_navigation_items(self, req):
yield ('mainnav', 'ticketgantt',
! Markup(u'ガント', req.href.ticketgantt()))
# IRequestHandler methods
def match_request(self, req):