Tetsuya Morimoto avatar Tetsuya Morimoto committed b1008ce

updated version 0.2.0

Comments (0)

Files changed (3)

-include buildout.cfg
-include bootstrap.py
 include MANIFEST.in
 include LICENSE
 recursive-include ticketref *.py *.txt *.html *.css *.js *.png *.pot *.po *.mo
 -----------
 
 This plugin adds "Relationships" fields to each ticket, enabling you
-to express cross-reference between tickets. 
+to express cross-reference between tickets.
+
+Features
+--------
+
+* Provide simple cross-reference as Trac custom field (``ticketref``)
+* Create new ticket with related ticket's field value
+* Picking up the referred ticket in comment
 
 Configuration
 =============
     ticketref.* = enabled
 
     [ticket-custom]
+    ticketref = textarea
+    ticketref.label = Relationships
+    ticketref.cols = 68
+    ticketref.rows = 1
+
+If you want to show more small field, change as follows::
+
+    [ticket-custom]
     ticketref = text
     ticketref.label = Relationships
 
-Custom fields
--------------
-While the field names must be ``ticketref``, you are free to use any
-text for the field labels.
+i18n/l10n Support
+-----------------
+
+This plugin is able to localize field label or message.
+You can translate into your language using ``ticketref/locale/messages.pot``.
+And then, I'm willing to merge your contribution into the distribution.
+So, let me know if you localized ``ticketref/locale/messages.pot``.
+
+.. seealso::
+
+    See `Localization (L10N) of Trac`_
+
+.. _Localization (L10N) of Trac: http://trac.edgewall.org/wiki/TracL10N
 
 Acknowledgment
 ==============
 from os.path import join as pathjoin
 from setuptools import setup, find_packages
 
-VERSION = "0.1.0"
+VERSION = "0.2.0"
 LONG_DESCRIPTION = "".join(
     open("README.txt").read(),
 )
     package_data={
         "ticketref": [
             "templates/*.html",
+            "templates/*.png",
             "htdocs/*.js",
             "htdocs/*.css",
-            "templates/*.png",
             "locale/*/LC_MESSAGES/*.po",
             "locale/*/LC_MESSAGES/*.mo",
         ],
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.