changeset 552:d96425d9dceb

Add JavaScript example.
author jruigrok
date Thu, 21 Apr 2011 09:30:40 +0000
parents 1bd69dfc7db7
children 3781cf91ded0
files doc/messages.txt
diffstat 1 files changed, 5 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/doc/messages.txt
+++ b/doc/messages.txt
@@ -138,6 +138,11 @@
     template_class = genshi.template:TextTemplate
     encoding = ISO-8819-15
 
+    # Extraction from JavaScript files
+
+    [javascript: **.js]
+    extract_messages = $._, jQuery._
+
 The configuration file syntax is based on the format commonly found in ``.INI``
 files on Windows systems, and as supported by the ``ConfigParser`` module in
 the Python standard library. Section names (the strings enclosed in square
Copyright (C) 2012-2017 Edgewall Software