강순권님의 블로그 글을 보고 저도 한글 Trac 0.10.4에서 Gantt 한글화를 해봤습니다.
OS는 우분투(Ubuntu) 리눅스입니다

1. Download - 0.10 버전으로 다운로드를 했습니다.
# cd /usr/local/src
# svn co http://svn.sourceforge.jp/svnroot/shibuya-trac/plugins/ganttcalendarplugin/branches/0.10/
# mv 0.10 ganttcalendarplugin
2. 한글화 작업
총 4개의 파일을 수정해야합니다. 아래와 같습니다
ganttcalendar/ticketcalendar.py
ganttcalendar/ticketgantt.py
ganttcalendar/templates/calendar.cs
ganttcalendar/templates/gantt.cs
UTF-8 인코딩으로 파일을 열어서 보면 일본어로 되어있는 부분들이 있습니다. 이걸 적당히 수정해 주면 됩니다. ex. 日 → 월, イルストーン → Milstone
글에 다 쓰긴 그렇고 첨부파일로 업로드~





3. 설치
easy_install을 이용하여 간단히 설치했습니다.
# cd /usr/local/src/ganttcalendarplugin
# easy install .
4. 설정
trac.ini을 아래 처럼 수정해줍니다. 강순권님 글에서 datefieldplugin 설정 부분을 제거했습니다. 사실 저는 datefieldplugin도 사용해서 이 글의 내용처럼 설정을 했지요
[components]
ganttcalendar.ticketcalendar.* = enabled
ganttcalendar.ticketgantt.* = enabled

[ticket-custom]
complete = select
complete.label = % Complete
complete.options = 0|5|10|15|20|25|30|35|40|45|50|55|60|65|70|75|80|85|90|95|100
complete.order = 3
due_assign = text
due_assign.label = Start (YYYY/MM/DD)
due_assign.order = 1
due_close = text
due_close.label = End (YYYY/MM/DD)
due_close.order = 2
그리고 서비스 (apache 또는 trac)를 재시작해 줍니다. 안그러면 적용이 안되기도 하더군요

아래는 설치 스샷~ (윗부분은 짜름 ^^; )

사용자 삽입 이미지
사용자 삽입 이미지




크리에이티브 커먼즈 라이센스
Creative Commons License

Posted by dino

2009/03/12 10:45 2009/03/12 10:45
, , , ,
Response
508 Trackbacks , 2 Comments
RSS :
http://corpseplay.com/rss/response/39

SVN Ignore pattern

개인적으로 vim, eclipse 로 요즘 웹 개발을 하고 있습니다.
SVN을 사용하면서 일반적으로 아래의 제외/무시 패턴을 사용하면 불필요한 파일은 Commit하지 않게 됩니다.
~* *~ * *.bak .* *.class Thumbs.db *.tmp *.~* _*.*

Visual Studio 개발시에는 아래 항목도 추가..
*/debug *\debug */Debug *\Debug */Release *\Release */release *\release *.obj *.pdb *.pch *.ncb *.suo  *.~ml *.o *.exec


크리에이티브 커먼즈 라이센스
Creative Commons License

Posted by dino

2009/02/20 10:41 2009/02/20 10:41
, ,
Response
670 Trackbacks , No Comment
RSS :
http://corpseplay.com/rss/response/38