From: Jeroen Ruigrok van der Werven Date: Thu, 21 Apr 2011 09:30:40 +0000 (+0000) Subject: Add JavaScript example. X-Git-Tag: 1.0~193 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d6be8e2ecbf3722bb25b8875c8864a305edb4a64;p=thirdparty%2Fbabel.git Add JavaScript example. --- diff --git a/doc/messages.txt b/doc/messages.txt index cf1df56d..f1ef2727 100644 --- a/doc/messages.txt +++ b/doc/messages.txt @@ -138,6 +138,11 @@ Genshi markup templates and text templates: 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