Changes between Version 44 and Version 45 of TracTicketTemplatePlugin
- Timestamp:
- Dec 7, 2015, 11:10:26 AM (8 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
TracTicketTemplatePlugin
v44 v45 5 5 == Description 6 6 7 This plugin enables users to create a ticket using templates which can be customized by Trac administrator andthemselves.7 This plugin enables users to create a ticket using templates which can be customized by the Trac administrator and the users themselves. 8 8 9 9 Key features: … … 14 14 === Changes in version 0.7 15 15 16 * This version has full y i18n support with Trac `0.12dev-r9098`above.17 * New feature: support '''My Template''' . Everyone can manage their own templates now.16 * This version has full i18n support with Trac `0.12dev-r9098` and above. 17 * New feature: support '''My Template''': everyone can manage their own templates now. 18 18 * New feature: add permission '''TT_USER''' to fine-grained control '''My Template'''. 19 19 * New feature: template can include any fields, the default field is description. … … 21 21 * New feature: support importing and exporting ticket_templates (by Russell Ballestrini). 22 22 23 See: '''ZoomQuiet''' ~ Collection KSPEG Trac hacking 23 See: '''ZoomQuiet''' ~ Collection KSPEG Trac hacking. 24 24 25 25 == Bugs/Feature Requests … … 45 45 '''Important''': Please backup your ticket templates if you are upgrading this plugin. 46 46 47 Prerequisite: [pypi:simplejson simplejson] when Python is earlier than version 2.6.47 Prerequisite: [pypi:simplejson Simplejson] when Python is earlier than version 2.6. 48 48 49 You can install this software as a normal Trac plugin .49 You can install this software as a normal Trac plugin: 50 50 51 51 1. Uninstall this plugin if you have installed it before. … … 81 81 Current languages supplied with the plugin are: 82 82 * English (default) 83 * Chinese (simplified)83 * Chinese (simplified) 84 84 * Japanese 85 85 * German … … 87 87 88 88 If you can't find the language you want, you could do it yourself. 89 1. Init your language catalog, tak e `et_EE` forexample:89 1. Init your language catalog, taking `et_EE` (Estonian) as an example: 90 90 {{{#!sh 91 91 python setup.py init_catalog -l et_EE … … 95 95 python setup.py update_catalog -l et_EE 96 96 }}} 97 1. Do translate with your favorite editor, the language file locate in tickettemplate/loclate/et_EE/LC_MESSAGES/tickettemplate.po98 * Note: this .po file should be saved with UTF 8 encoding.97 1. Translate with your favorite editor, the language file locate in `tickettemplate/loclate/et_EE/LC_MESSAGES/tickettemplate.po` 98 * Note: this .po file should be saved with UTF-8 encoding. 99 99 1. Update catalog again, for normalizing the manual edits: 100 100 {{{#!sh … … 120 120 121 121 * Trac administrator should define the template for all ticket types: 122 * Login as administrator, open Admin -> Ticket System -> Ticket Template 123 * '''load''' the template of each ticket type, modify them and '''apply changes''' 122 * Login as administrator, open Admin -> Ticket System -> Ticket Template. 123 * '''load''' the template of each ticket type, modify them and '''apply changes'''. 124 124 * After defined ticket template, normal user can create ticket using predefined template by '''change ticket types''' dropdown list items. 125 125 126 || Screen capture of the //New Ticket// page =|| [[Image(NewTicketPage-v0.7.png, 50%)]] ||127 || Screen capture of the //Admin// panel =|| [[Image(AdminTicketTemplatePage-v0.7.png, 50%)]] ||126 || Screen capture of the //New Ticket// page =|| [[Image(NewTicketPage-v0.7.png, 70%)]] || 127 || Screen capture of the //Admin// panel =|| [[Image(AdminTicketTemplatePage-v0.7.png, 70%)]] || 128 128 129 129 * About template params: … … 131 131 * The template: 132 132 {{{ 133 blah blah %(my_param)s blah blah 133 foo bar %(my_param)s baz qux 134 134 }}} 135 135 * Call newticket: … … 139 139 * Rendered: 140 140 {{{ 141 blah blah anything blah blah 141 foo bar anything baz qux 142 142 }}} 143 143 * And owner field would be filled by myname by Trac's default convention.