Changes between Version 36 and Version 37 of TracTicketTemplatePlugin
- Timestamp:
- Jun 7, 2014, 3:38:05 AM (10 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
TracTicketTemplatePlugin
v36 v37 1 [[PageOutline(2-5,Contents,pullout)]] 1 2 = Trac Ticket Template = 2 [[TOC]] 3 3 4 SEE:'''ZoomQuiet''' ~ Collection KSPEG Trac hacking 4 5 … … 45 46 1. Uninstall this plugin if you have installed before. 46 47 47 2. Change to the directory contain ning setup.py.48 2. Change to the directory containing `setup.py`. 48 49 49 50 * (Optional): If you are using Trac 0.12 with i18n, you should compile language files here: 50 {{{ 51 {{{#!sh 51 52 python setup.py compile_catalog -f 52 53 }}} … … 58 59 * python setup.py bdist_egg 59 60 * copy the generated egg file to the trac instance's plugin directory 60 {{{ 61 {{{#!sh 61 62 cp dist/*.egg /srv/trac/env/plugins 62 63 }}} 63 64 64 65 5. Config trac.ini: 65 {{{ 66 {{{#!ini 66 67 [components] 67 68 tickettemplate.* = enabled … … 85 86 If you can't find the language you want, you could do it yourself. 86 87 1. Init your language catalog, take et_EE for example: 87 {{{ 88 {{{#!sh 88 89 python setup.py init_catalog -l et_EE 89 90 }}} 90 91 1. Update catalog 91 {{{ 92 {{{#!sh 92 93 python setup.py update_catalog -l et_EE 93 94 }}} … … 95 96 * Note: this .po file should be saved with UTF8 encoding. 96 97 1. Update catalog again, for normalizing the manual edits: 97 {{{ 98 {{{#!sh 98 99 python setup.py update_catalog -l et_EE 99 100 }}} 100 101 1. Generate the compiled catalog: 101 {{{ 102 {{{#!sh 102 103 python setup.py compile_catalog -f 103 104 }}}