You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@bloodhound.apache.org by sa...@apache.org on 2014/02/15 22:25:26 UTC

svn commit: r1568681 [2/2] - in /bloodhound/trunk: bloodhound_dashboard/ bloodhound_dashboard/bhdashboard/ bloodhound_dashboard/bhdashboard/default-pages/ bloodhound_dashboard/bhdashboard/layouts/templates/ bloodhound_dashboard/bhdashboard/templates/ b...

Modified: bloodhound/trunk/bloodhound_search/bhsearch/web_ui.py
URL: http://svn.apache.org/viewvc/bloodhound/trunk/bloodhound_search/bhsearch/web_ui.py?rev=1568681&r1=1568680&r2=1568681&view=diff
==============================================================================
--- bloodhound/trunk/bloodhound_search/bhsearch/web_ui.py (original)
+++ bloodhound/trunk/bloodhound_search/bhsearch/web_ui.py Sat Feb 15 21:25:24 2014
@@ -35,7 +35,6 @@ from trac.config import OrderedExtension
 from trac.util.presentation import Paginator
 from trac.util.datefmt import format_datetime, user_time
 from trac.web import IRequestHandler, IRequestFilter
-from trac.util.translation import _
 from trac.util.html import find_element
 from trac.web.chrome import (ITemplateProvider,
                              add_link, add_stylesheet, prevnext_nav,
@@ -43,6 +42,7 @@ from trac.web.chrome import (ITemplatePr
 from bhsearch.api import (BloodhoundSearchApi, ISearchParticipant, SCORE, ASC,
                           DESC, IndexFields, SortInstruction)
 from bhsearch.utils import get_global_env, using_multiproduct
+from bhsearch.utils.translation import _
 from trac.wiki.formatter import extract_link
 from multiproduct.env import ProductEnvironment
 from multiproduct.web_ui import ProductModule
@@ -245,7 +245,8 @@ class BloodhoundSearchModule(Component):
         'bhsearch',
         'search_participants',
         ISearchParticipant,
-        "TicketSearchParticipant, WikiSearchParticipant"
+        "TicketSearchParticipant, WikiSearchParticipant",
+        include_missing=True
     )
 
     prefix = "all"
@@ -262,44 +263,48 @@ class BloodhoundSearchModule(Component):
         BHSEARCH_CONFIG_SECTION,
         prefix + '_default_facets',
         default=",".join([IndexFields.PRODUCT, IndexFields.TYPE]),
-        doc="""Default facets applied to search view of all resources""")
+        doc="""Default facets applied to search view of all resources""",
+        doc_domain='bhsearch')
 
     default_view = Option(
         BHSEARCH_CONFIG_SECTION,
         prefix + '_default_view',
         doc="""If true, show grid as default view for specific resource in
-            Bloodhound Search results""")
+            Bloodhound Search results""", doc_domain='bhsearch')
 
     all_grid_fields = ListOption(
         BHSEARCH_CONFIG_SECTION,
         prefix + '_default_grid_fields',
         default=",".join(default_grid_fields),
-        doc="""Default fields for grid view for specific resource""")
+        doc="""Default fields for grid view for specific resource""",
+        doc_domain='bhsearch')
 
     default_search = BoolOption(
         BHSEARCH_CONFIG_SECTION,
         'is_default',
         default=False,
-        doc="""Searching from quicksearch uses bhsearch.""")
+        doc="""Searching from quicksearch uses bhsearch.""",
+        doc_domain='bhsearch')
 
     redirect_enabled = BoolOption(
         BHSEARCH_CONFIG_SECTION,
         'enable_redirect',
         default=False,
-        doc="""Redirect links pointing to trac search to bhsearch""")
+        doc="""Redirect links pointing to trac search to bhsearch""",
+        doc_domain='bhsearch')
 
     global_quicksearch = BoolOption(
         BHSEARCH_CONFIG_SECTION,
         'global_quicksearch',
         default=True,
         doc="""Quicksearch searches all products, even when used
-            in product env.""")
+            in product env.""", doc_domain='bhsearch')
 
     query_suggestions_enabled = BoolOption(
         BHSEARCH_CONFIG_SECTION,
         'query_suggestions',
         default=True,
-        doc="""Display query suggestions."""
+        doc="""Display query suggestions.""", doc_domain='bhsearch'
     )
 
     # IPermissionRequestor methods

Modified: bloodhound/trunk/bloodhound_search/bhsearch/whoosh_backend.py
URL: http://svn.apache.org/viewvc/bloodhound/trunk/bloodhound_search/bhsearch/whoosh_backend.py?rev=1568681&r1=1568680&r2=1568681&view=diff
==============================================================================
--- bloodhound/trunk/bloodhound_search/bhsearch/whoosh_backend.py (original)
+++ bloodhound/trunk/bloodhound_search/bhsearch/whoosh_backend.py Sat Feb 15 21:25:24 2014
@@ -53,27 +53,30 @@ class WhooshBackend(Component):
         'whoosh_index_dir',
         default='whoosh_index',
         doc="""Relative path is resolved relatively to the
-        directory of the environment.""")
+        directory of the environment.""", doc_domain='bhsearch')
 
     advanced_security = Option(
         BHSEARCH_CONFIG_SECTION,
         'advanced_security',
         default=False,
-        doc="Check view permission for each document when retrieving results."
+        doc="Check view permission for each document when retrieving results.",
+        doc_domain='bhsearch'
     )
 
     max_fragment_size = IntOption(
         BHSEARCH_CONFIG_SECTION,
         'max_fragment_size',
         default=240,
-        doc="The maximum number of characters allowed in a fragment.")
+        doc="The maximum number of characters allowed in a fragment.",
+        doc_domain='bhsearch')
 
     fragment_surround = IntOption(
         BHSEARCH_CONFIG_SECTION,
         'fragment_surround',
         default=60,
         doc="""The number of extra characters of context to add both before
-        the first matched term and after the last matched term.""")
+        the first matched term and after the last matched term.""",
+        doc_domain='bhsearch')
 
     #This is schema prototype. It will be changed later
     #TODO: add other fields support, add dynamic field support.

Modified: bloodhound/trunk/bloodhound_search/setup.cfg
URL: http://svn.apache.org/viewvc/bloodhound/trunk/bloodhound_search/setup.cfg?rev=1568681&r1=1568680&r2=1568681&view=diff
==============================================================================
--- bloodhound/trunk/bloodhound_search/setup.cfg (original)
+++ bloodhound/trunk/bloodhound_search/setup.cfg Sat Feb 15 21:25:24 2014
@@ -23,3 +23,23 @@ tag_svn_revision = true
 [sdist]
 formats = gztar,bztar,ztar,tar,zip
 
+[extract_messages]
+add_comments = TRANSLATOR:
+msgid_bugs_address =
+output_file = bhsearch/locale/messages.pot
+keywords = _ ngettext:1,2 N_ tag_ tagn_:1,2 Option:4 BoolOption:4 IntOption:4 ListOption:6 ExtensionOption:5 OrderedExtensionsOption:6 PathOption:4
+no-wrap = true
+
+[init_catalog]
+input_file = bhsearch/locale/messages.pot
+output_dir = bhsearch/locale
+domain = bhsearch
+
+[compile_catalog]
+directory = bhsearch/locale
+domain = bhsearch
+
+[update_catalog]
+input_file = bhsearch/locale/messages.pot
+output_dir = bhsearch/locale
+domain = bhsearch

Modified: bloodhound/trunk/bloodhound_search/setup.py
URL: http://svn.apache.org/viewvc/bloodhound/trunk/bloodhound_search/setup.py?rev=1568681&r1=1568680&r2=1568681&view=diff
==============================================================================
--- bloodhound/trunk/bloodhound_search/setup.py (original)
+++ bloodhound/trunk/bloodhound_search/setup.py Sat Feb 15 21:25:24 2014
@@ -92,7 +92,8 @@ PKG_INFO = {'bhsearch' : ('bhsearch',   
                               '../NOTICE', '../README', '../TESTING_README',
                               'htdocs/*.*', 'htdocs/css/*.css',
                               'htdocs/img/*.*', 'htdocs/js/*.js',
-                              'templates/*', 'default-pages/*'],
+                              'templates/*', 'default-pages/*',
+                              'locale/*/LC_MESSAGES/*.mo'],
                           ),
             'bhsearch.search_resources' : (
                 'bhsearch/search_resources', # Package dir
@@ -115,6 +116,10 @@ PKG_INFO = {'bhsearch' : ('bhsearch',   
                             # Package data
                             ['data/*.*'],
                           ),
+            'bhsearch.utils' : ('bhsearch/utils',     # Package dir
+                            # Package data
+                            [],
+                          ),
             }
 
 ENTRY_POINTS = {
@@ -136,6 +141,26 @@ ENTRY_POINTS = {
         'bhsearch.whoosh_backend = bhsearch.whoosh_backend',
     ],
     }
+
+extra = {}
+try:
+    from trac.util.dist import get_l10n_js_cmdclass
+    cmdclass = get_l10n_js_cmdclass()
+    if cmdclass:
+        extra['cmdclass'] = cmdclass
+        extractors = [
+            ('**.py',                'trac.dist:extract_python', None),
+            ('**/templates/**.html', 'genshi', None),
+            ('**/templates/**.txt',  'genshi', {
+                'template_class': 'genshi.template:TextTemplate'
+            }),
+        ]
+        extra['message_extractors'] = {
+            'bhsearch': extractors,
+        }
+except ImportError:
+    pass
+
 setup(
     name=DIST_NM,
     version=latest,
@@ -160,5 +185,6 @@ setup(
     classifiers = cats,
     long_description= DESC,
     test_suite='bhsearch.tests.test_suite',
-    tests_require=['unittest2' if parse_version(sys.version) < parse_version('2.7') else '']
+    tests_require=['unittest2' if parse_version(sys.version) < parse_version('2.7') else ''],
+    **extra
     )

Modified: bloodhound/trunk/bloodhound_theme/bhtheme/htdocs/js/theme.js
URL: http://svn.apache.org/viewvc/bloodhound/trunk/bloodhound_theme/bhtheme/htdocs/js/theme.js?rev=1568681&r1=1568680&r2=1568681&view=diff
==============================================================================
--- bloodhound/trunk/bloodhound_theme/bhtheme/htdocs/js/theme.js (original)
+++ bloodhound/trunk/bloodhound_theme/bhtheme/htdocs/js/theme.js Sat Feb 15 21:25:24 2014
@@ -84,9 +84,9 @@ $( function () {
         title : function () {
             ticket = qct_info.ticket;
             if (ticket)
-              title = 'Ticket #' + qct_info.ticket;
+              title = _('Ticket #') + qct_info.ticket;
             else
-              title = 'Error creating ticket';
+              title = _('Error creating ticket');
             return title + ' <a class="close" id="qct-alert-close" ' +
                 'data-dismiss="alert" href="#">&times;</a>'
           },
@@ -175,18 +175,18 @@ $( function () {
                     ticket: ticket.id,
                     product: ticket.product,
                     msg: '<span class="alert alert-success">' +
-                         'Has been created</span> ' +
-                         '<a href="' + ticket.url + '">View / Edit</a>'
+                         _('Has been created') + '</span> ' +
+                         '<a href="' + ticket.url + '">' + _('View / Edit') + '</a>'
                   });
               })
               .error(function(jqXHR, textStatus, errorMsg) {
                   var msg = 'Error:' + errorMsg;
                   if (textStatus === 'timeout')
-                    msg = 'Request timed out';
+                    msg = _('Request timed out');
                   else if (textStatus === 'error')
-                    msg = 'Could not create ticket . Error : ' + errorMsg;
+                    msg = _('Could not create ticket . Error : ') + errorMsg;
                   else if (textStatus === 'abort')
-                    msg = 'Aborted request'
+                    msg = _('Aborted request')
                   qct_alert({ 
                       ticket : null, 
                       msg : '<span class="alert alert-error"' +
@@ -204,19 +204,19 @@ $( function () {
         product_base_url = '';
       $.post(product_base_url + '/qct', $('#qct-inline-form').serialize(),
           function(ticket) {
-            var msg = 'Ticket #' + ticket.id + ' has been created. ';
-            msg += '<a href="' + ticket.url + '">View / Edit</a>';
+            var msg = _('Ticket #') + ticket.id + _(' has been created. ');
+            msg += '<a href="' + ticket.url + '">' + _('View / Edit') + '</a>';
             $('#qct-inline-notice-success span').html(msg);
             $('#qct-inline-notice-success').show({'duration': 400});
           })
           .error(function(jqXHR, textStatus, errorMsg) {
             var msg;
             if (textStatus === 'timeout')
-              msg = 'Request timed out';
+              msg = _('Request timed out');
             else if (textStatus === 'error')
-              msg = 'Could not create ticket. Error : ' + errorMsg;
+              msg = _('Could not create ticket. Error : ') + errorMsg;
             else if (textStatus === 'abort')
-              msg = 'Aborted request';
+              msg = _('Aborted request');
 
             $('#qct-inline-notice-error span').html(msg);
             $('#qct-inline-notice-error').show({'duration': 400});

Modified: bloodhound/trunk/bloodhound_theme/bhtheme/templates/bh_about.html
URL: http://svn.apache.org/viewvc/bloodhound/trunk/bloodhound_theme/bhtheme/templates/bh_about.html?rev=1568681&r1=1568680&r2=1568681&view=diff
==============================================================================
--- bloodhound/trunk/bloodhound_theme/bhtheme/templates/bh_about.html (original)
+++ bloodhound/trunk/bloodhound_theme/bhtheme/templates/bh_about.html Sat Feb 15 21:25:24 2014
@@ -23,6 +23,7 @@
 <html xmlns="http://www.w3.org/1999/xhtml"
       xmlns:py="http://genshi.edgewall.org/"
       xmlns:i18n="http://genshi.edgewall.org/i18n"
+      i18n:domain="bhtheme"
       xmlns:xi="http://www.w3.org/2001/XInclude">
   <xi:include href="layout.html" />
   <head>
@@ -47,11 +48,10 @@
       <h1>About ${chrome.labels.application_short}
           ${chrome.labels.application_version}
       </h1>
-      <p>Standing on the shoulders of <a href="http://trac.edgewall.org/">
-        Trac ${trac.version}</a>,
-        <a href="http://incubator.apache.org/bloodhound/">
-        ${chrome.labels.application_full}</a> is a project hosted by the
-        Apache Software Foundation's Incubator project.
+      <p i18n:msg="Trac,Bloodhound">Standing on the shoulders of
+        <a href="http://trac.edgewall.org/">Trac ${trac.version}</a>,
+        <a href="http://incubator.apache.org/bloodhound/">${chrome.labels.application_full}</a>
+        is a project hosted by the Apache Software Foundation's Incubator project.
         <br/>
         Currently, it has three key aims:
         <h4>Multiple Projects</h4>

Modified: bloodhound/trunk/bloodhound_theme/bhtheme/templates/bh_admin_basics.html
URL: http://svn.apache.org/viewvc/bloodhound/trunk/bloodhound_theme/bhtheme/templates/bh_admin_basics.html?rev=1568681&r1=1568680&r2=1568681&view=diff
==============================================================================
--- bloodhound/trunk/bloodhound_theme/bhtheme/templates/bh_admin_basics.html (original)
+++ bloodhound/trunk/bloodhound_theme/bhtheme/templates/bh_admin_basics.html Sat Feb 15 21:25:24 2014
@@ -22,7 +22,9 @@
     "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
 <html xmlns="http://www.w3.org/1999/xhtml"
       xmlns:xi="http://www.w3.org/2001/XInclude"
-      xmlns:py="http://genshi.edgewall.org/">
+      xmlns:py="http://genshi.edgewall.org/"
+      xmlns:i18n="http://genshi.edgewall.org/i18n"
+      i18n:domain="bhtheme">
   <xi:include href="bh_admin.html" />
   <head>
     <title>Basics</title>
@@ -61,7 +63,7 @@
               <option py:for="tzname in timezones" value="${tzname}"
                       selected="${tzname == default_timezone or None}">${tzname}</option>
             </select>
-            <span py:if="has_pytz is False" class="help-inline">
+            <span py:if="has_pytz is False" class="help-inline" i18n:msg="">
               <span class="label label-info">Note</span>
               Install <code>pytz</code> for a complete list of timezones.
             </span>

Modified: bloodhound/trunk/bloodhound_theme/bhtheme/templates/bh_admin_components.html
URL: http://svn.apache.org/viewvc/bloodhound/trunk/bloodhound_theme/bhtheme/templates/bh_admin_components.html?rev=1568681&r1=1568680&r2=1568681&view=diff
==============================================================================
--- bloodhound/trunk/bloodhound_theme/bhtheme/templates/bh_admin_components.html (original)
+++ bloodhound/trunk/bloodhound_theme/bhtheme/templates/bh_admin_components.html Sat Feb 15 21:25:24 2014
@@ -23,7 +23,8 @@
 <html xmlns="http://www.w3.org/1999/xhtml"
       xmlns:xi="http://www.w3.org/2001/XInclude"
       xmlns:py="http://genshi.edgewall.org/"
-      xmlns:i18n="http://genshi.edgewall.org/i18n">
+      xmlns:i18n="http://genshi.edgewall.org/i18n"
+      i18n:domain="bhtheme">
   <xi:include href="bh_admin.html" />
   <head>
     <title>Components</title>
@@ -71,7 +72,7 @@
                     class="wikitext trac-resizable"
                     placeholder="Describe this component using WikiFormatting"
                     rows="6" cols="60">$component.description</textarea>
-                <p class="help-block">
+                <p class="help-block" i18n:msg="">
                   <span class="label label-info">Tip</span> you may use
                   <a tabindex="42" href="${href.wiki('WikiFormatting')}">WikiFormatting</a>
                   here

Modified: bloodhound/trunk/bloodhound_theme/bhtheme/templates/bh_admin_enums.html
URL: http://svn.apache.org/viewvc/bloodhound/trunk/bloodhound_theme/bhtheme/templates/bh_admin_enums.html?rev=1568681&r1=1568680&r2=1568681&view=diff
==============================================================================
--- bloodhound/trunk/bloodhound_theme/bhtheme/templates/bh_admin_enums.html (original)
+++ bloodhound/trunk/bloodhound_theme/bhtheme/templates/bh_admin_enums.html Sat Feb 15 21:25:24 2014
@@ -23,6 +23,7 @@
 <html xmlns="http://www.w3.org/1999/xhtml"
       xmlns:xi="http://www.w3.org/2001/XInclude"
       xmlns:i18n="http://genshi.edgewall.org/i18n"
+      i18n:domain="bhtheme"
       xmlns:py="http://genshi.edgewall.org/">
   <xi:include href="bh_admin.html" />
   <head>

Modified: bloodhound/trunk/bloodhound_theme/bhtheme/templates/bh_admin_logging.html
URL: http://svn.apache.org/viewvc/bloodhound/trunk/bloodhound_theme/bhtheme/templates/bh_admin_logging.html?rev=1568681&r1=1568680&r2=1568681&view=diff
==============================================================================
--- bloodhound/trunk/bloodhound_theme/bhtheme/templates/bh_admin_logging.html (original)
+++ bloodhound/trunk/bloodhound_theme/bhtheme/templates/bh_admin_logging.html Sat Feb 15 21:25:24 2014
@@ -23,6 +23,7 @@
 <html xmlns="http://www.w3.org/1999/xhtml"
       xmlns:xi="http://www.w3.org/2001/XInclude"
       xmlns:i18n="http://genshi.edgewall.org/i18n"
+      i18n:domain="bhtheme"
       xmlns:py="http://genshi.edgewall.org/">
   <xi:include href="bh_admin.html" />
   <head>

Modified: bloodhound/trunk/bloodhound_theme/bhtheme/templates/bh_admin_milestones.html
URL: http://svn.apache.org/viewvc/bloodhound/trunk/bloodhound_theme/bhtheme/templates/bh_admin_milestones.html?rev=1568681&r1=1568680&r2=1568681&view=diff
==============================================================================
--- bloodhound/trunk/bloodhound_theme/bhtheme/templates/bh_admin_milestones.html (original)
+++ bloodhound/trunk/bloodhound_theme/bhtheme/templates/bh_admin_milestones.html Sat Feb 15 21:25:24 2014
@@ -23,7 +23,8 @@
 <html xmlns="http://www.w3.org/1999/xhtml"
       xmlns:xi="http://www.w3.org/2001/XInclude"
       xmlns:py="http://genshi.edgewall.org/"
-      xmlns:i18n="http://genshi.edgewall.org/i18n">
+      xmlns:i18n="http://genshi.edgewall.org/i18n"
+      i18n:domain="bhtheme">
   <xi:include href="bh_admin.html" />
   <head>
     <title>Milestones</title>

Modified: bloodhound/trunk/bloodhound_theme/bhtheme/templates/bh_admin_perms.html
URL: http://svn.apache.org/viewvc/bloodhound/trunk/bloodhound_theme/bhtheme/templates/bh_admin_perms.html?rev=1568681&r1=1568680&r2=1568681&view=diff
==============================================================================
--- bloodhound/trunk/bloodhound_theme/bhtheme/templates/bh_admin_perms.html (original)
+++ bloodhound/trunk/bloodhound_theme/bhtheme/templates/bh_admin_perms.html Sat Feb 15 21:25:24 2014
@@ -24,6 +24,7 @@
       xmlns:xi="http://www.w3.org/2001/XInclude"
       xmlns:py="http://genshi.edgewall.org/"
       xmlns:i18n="http://genshi.edgewall.org/i18n"
+      i18n:domain="bhtheme"
       py:with="can_revoke = 'PERMISSION_REVOKE' in perm">
   <xi:include href="bh_admin.html" />
   <head>

Modified: bloodhound/trunk/bloodhound_theme/bhtheme/templates/bh_admin_plugins.html
URL: http://svn.apache.org/viewvc/bloodhound/trunk/bloodhound_theme/bhtheme/templates/bh_admin_plugins.html?rev=1568681&r1=1568680&r2=1568681&view=diff
==============================================================================
--- bloodhound/trunk/bloodhound_theme/bhtheme/templates/bh_admin_plugins.html (original)
+++ bloodhound/trunk/bloodhound_theme/bhtheme/templates/bh_admin_plugins.html Sat Feb 15 21:25:24 2014
@@ -23,7 +23,8 @@
 <html xmlns="http://www.w3.org/1999/xhtml"
       xmlns:xi="http://www.w3.org/2001/XInclude"
       xmlns:py="http://genshi.edgewall.org/"
-      xmlns:i18n="http://genshi.edgewall.org/i18n">
+      xmlns:i18n="http://genshi.edgewall.org/i18n"
+      i18n:domain="bhtheme">
   <xi:include href="bh_admin.html" />
   <head>
     <title>Plugins</title>

Modified: bloodhound/trunk/bloodhound_theme/bhtheme/templates/bh_admin_products.html
URL: http://svn.apache.org/viewvc/bloodhound/trunk/bloodhound_theme/bhtheme/templates/bh_admin_products.html?rev=1568681&r1=1568680&r2=1568681&view=diff
==============================================================================
--- bloodhound/trunk/bloodhound_theme/bhtheme/templates/bh_admin_products.html (original)
+++ bloodhound/trunk/bloodhound_theme/bhtheme/templates/bh_admin_products.html Sat Feb 15 21:25:24 2014
@@ -23,7 +23,8 @@
 <html xmlns="http://www.w3.org/1999/xhtml"
       xmlns:xi="http://www.w3.org/2001/XInclude"
       xmlns:py="http://genshi.edgewall.org/"
-      xmlns:i18n="http://genshi.edgewall.org/i18n">
+      xmlns:i18n="http://genshi.edgewall.org/i18n"
+      i18n:domain="bhtheme">
   <xi:include href="bh_admin.html" />
   <head>
     <title>Products</title>
@@ -77,7 +78,7 @@
                     class="wikitext trac-resizable"
                     placeholder="Describe this product using WikiFormatting"
                     rows="6" cols="60">$product.description</textarea>
-                <p class="help-block">
+                <p class="help-block" i18n:msg="">
                   <span class="label label-info">Tip</span> you may use
                   <a tabindex="42" href="${href.wiki('WikiFormatting')}">WikiFormatting</a>
                   here

Modified: bloodhound/trunk/bloodhound_theme/bhtheme/templates/bh_admin_repositories.html
URL: http://svn.apache.org/viewvc/bloodhound/trunk/bloodhound_theme/bhtheme/templates/bh_admin_repositories.html?rev=1568681&r1=1568680&r2=1568681&view=diff
==============================================================================
--- bloodhound/trunk/bloodhound_theme/bhtheme/templates/bh_admin_repositories.html (original)
+++ bloodhound/trunk/bloodhound_theme/bhtheme/templates/bh_admin_repositories.html Sat Feb 15 21:25:24 2014
@@ -23,7 +23,8 @@
 <html xmlns="http://www.w3.org/1999/xhtml"
       xmlns:xi="http://www.w3.org/2001/XInclude"
       xmlns:py="http://genshi.edgewall.org/"
-      xmlns:i18n="http://genshi.edgewall.org/i18n">
+      xmlns:i18n="http://genshi.edgewall.org/i18n"
+      i18n:domain="bhtheme">
   <xi:include href="bh_admin.html"/>
   <head>
     <title>Repositories</title>
@@ -119,7 +120,7 @@
                 <textarea id="description" name="description" class="wikitext trac-resizable"
                           placeholder="Describe this repository using WikiFormatting"
                           rows="6" cols="60" readonly="$readonly">$info.description</textarea>
-                <p class="help-block">
+                <p class="help-block" i18n:msg="">
                   <span class="label label-info">Tip</span>
                   you may use <a tabindex="42" href="${href.wiki('WikiFormatting')}">WikiFormatting</a> here
                 </p>

Modified: bloodhound/trunk/bloodhound_theme/bhtheme/templates/bh_admin_versions.html
URL: http://svn.apache.org/viewvc/bloodhound/trunk/bloodhound_theme/bhtheme/templates/bh_admin_versions.html?rev=1568681&r1=1568680&r2=1568681&view=diff
==============================================================================
--- bloodhound/trunk/bloodhound_theme/bhtheme/templates/bh_admin_versions.html (original)
+++ bloodhound/trunk/bloodhound_theme/bhtheme/templates/bh_admin_versions.html Sat Feb 15 21:25:24 2014
@@ -23,7 +23,8 @@
 <html xmlns="http://www.w3.org/1999/xhtml"
       xmlns:xi="http://www.w3.org/2001/XInclude"
       xmlns:py="http://genshi.edgewall.org/"
-      xmlns:i18n="http://genshi.edgewall.org/i18n">
+      xmlns:i18n="http://genshi.edgewall.org/i18n"
+      i18n:domain="bhtheme">
   <xi:include href="bh_admin.html" />
   <head>
     <title>Versions</title>
@@ -66,7 +67,7 @@
                     class="wikitext trac-resizable" rows="6"
                     placeholder="Describe this version using WikiFormatting"
                     cols="60">$version.description</textarea>
-                <p class="help-block">
+                <p class="help-block" i18n:msg="">
                   <span class="label label-info">Tip</span>
                   you may use <a tabindex="42" href="${href.wiki('WikiFormatting')}">WikiFormatting</a> here
                 </p>

Modified: bloodhound/trunk/bloodhound_theme/bhtheme/templates/bh_attach_file_form.html
URL: http://svn.apache.org/viewvc/bloodhound/trunk/bloodhound_theme/bhtheme/templates/bh_attach_file_form.html?rev=1568681&r1=1568680&r2=1568681&view=diff
==============================================================================
--- bloodhound/trunk/bloodhound_theme/bhtheme/templates/bh_attach_file_form.html (original)
+++ bloodhound/trunk/bloodhound_theme/bhtheme/templates/bh_attach_file_form.html Sat Feb 15 21:25:24 2014
@@ -28,6 +28,7 @@ Arguments:
       xmlns:py="http://genshi.edgewall.org/"
       xmlns:xi="http://www.w3.org/2001/XInclude"
       xmlns:i18n="http://genshi.edgewall.org/i18n"
+      i18n:domain="bhtheme"
       py:if="alist.can_create" method="get" action="${alist.attach_href}"
       id="attachfile" style="display: inline-block">
   <input type="hidden" name="action" value="new" />

Modified: bloodhound/trunk/bloodhound_theme/bhtheme/templates/bh_attachment.html
URL: http://svn.apache.org/viewvc/bloodhound/trunk/bloodhound_theme/bhtheme/templates/bh_attachment.html?rev=1568681&r1=1568680&r2=1568681&view=diff
==============================================================================
--- bloodhound/trunk/bloodhound_theme/bhtheme/templates/bh_attachment.html (original)
+++ bloodhound/trunk/bloodhound_theme/bhtheme/templates/bh_attachment.html Sat Feb 15 21:25:24 2014
@@ -24,6 +24,7 @@
       xmlns:py="http://genshi.edgewall.org/"
       xmlns:xi="http://www.w3.org/2001/XInclude"
       xmlns:i18n="http://genshi.edgewall.org/i18n"
+      i18n:domain="bhtheme"
       py:with="parent = attachments.parent if attachments else attachment.resource.parent">
   <xi:include href="layout.html" />
   <head>

Modified: bloodhound/trunk/bloodhound_theme/bhtheme/templates/bh_batch_modify.html
URL: http://svn.apache.org/viewvc/bloodhound/trunk/bloodhound_theme/bhtheme/templates/bh_batch_modify.html?rev=1568681&r1=1568680&r2=1568681&view=diff
==============================================================================
--- bloodhound/trunk/bloodhound_theme/bhtheme/templates/bh_batch_modify.html (original)
+++ bloodhound/trunk/bloodhound_theme/bhtheme/templates/bh_batch_modify.html Sat Feb 15 21:25:24 2014
@@ -20,6 +20,7 @@
 <form xmlns="http://www.w3.org/1999/xhtml"
      xmlns:py="http://genshi.edgewall.org/"
      xmlns:i18n="http://genshi.edgewall.org/i18n"
+      i18n:domain="bhtheme"
      xmlns:xi="http://www.w3.org/2001/XInclude"
      id="batchmod_form" method="post" action="${req.href + '/batchmodify'}"
      class="form-horizontal" >

Modified: bloodhound/trunk/bloodhound_theme/bhtheme/templates/bh_browser.html
URL: http://svn.apache.org/viewvc/bloodhound/trunk/bloodhound_theme/bhtheme/templates/bh_browser.html?rev=1568681&r1=1568680&r2=1568681&view=diff
==============================================================================
--- bloodhound/trunk/bloodhound_theme/bhtheme/templates/bh_browser.html (original)
+++ bloodhound/trunk/bloodhound_theme/bhtheme/templates/bh_browser.html Sat Feb 15 21:25:24 2014
@@ -23,7 +23,8 @@
 <html xmlns="http://www.w3.org/1999/xhtml"
     xmlns:py="http://genshi.edgewall.org/"
     xmlns:xi="http://www.w3.org/2001/XInclude"
-    xmlns:i18n="http://genshi.edgewall.org/i18n">
+    xmlns:i18n="http://genshi.edgewall.org/i18n"
+    i18n:domain="bhtheme">
   <xi:include href="layout.html" />
   <head>
     <title py:choose="len(path_links)">

Modified: bloodhound/trunk/bloodhound_theme/bhtheme/templates/bh_diff_options.html
URL: http://svn.apache.org/viewvc/bloodhound/trunk/bloodhound_theme/bhtheme/templates/bh_diff_options.html?rev=1568681&r1=1568680&r2=1568681&view=diff
==============================================================================
--- bloodhound/trunk/bloodhound_theme/bhtheme/templates/bh_diff_options.html (original)
+++ bloodhound/trunk/bloodhound_theme/bhtheme/templates/bh_diff_options.html Sat Feb 15 21:25:24 2014
@@ -26,6 +26,7 @@
     xmlns:py="http://genshi.edgewall.org/"
     xmlns:xi="http://www.w3.org/2001/XInclude"
     xmlns:i18n="http://genshi.edgewall.org/i18n"
+    i18n:domain="bhtheme"
     py:strip="">
   <label for="style">View differences</label>
   <select id="style" name="style" class="input-medium">

Modified: bloodhound/trunk/bloodhound_theme/bhtheme/templates/bh_diff_view.html
URL: http://svn.apache.org/viewvc/bloodhound/trunk/bloodhound_theme/bhtheme/templates/bh_diff_view.html?rev=1568681&r1=1568680&r2=1568681&view=diff
==============================================================================
--- bloodhound/trunk/bloodhound_theme/bhtheme/templates/bh_diff_view.html (original)
+++ bloodhound/trunk/bloodhound_theme/bhtheme/templates/bh_diff_view.html Sat Feb 15 21:25:24 2014
@@ -23,6 +23,7 @@
 <html xmlns="http://www.w3.org/1999/xhtml"
       xmlns:py="http://genshi.edgewall.org/"
       xmlns:i18n="http://genshi.edgewall.org/i18n"
+      i18n:domain="bhtheme"
       xmlns:xi="http://www.w3.org/2001/XInclude">
   <xi:include href="layout.html" />
   <head>

Modified: bloodhound/trunk/bloodhound_theme/bhtheme/templates/bh_dirlist_thead.html
URL: http://svn.apache.org/viewvc/bloodhound/trunk/bloodhound_theme/bhtheme/templates/bh_dirlist_thead.html?rev=1568681&r1=1568680&r2=1568681&view=diff
==============================================================================
--- bloodhound/trunk/bloodhound_theme/bhtheme/templates/bh_dirlist_thead.html (original)
+++ bloodhound/trunk/bloodhound_theme/bhtheme/templates/bh_dirlist_thead.html Sat Feb 15 21:25:24 2014
@@ -20,7 +20,10 @@
 <!--! Template snippet for a standard table header for a dirlist -->
 <html xmlns="http://www.w3.org/1999/xhtml"
     xmlns:py="http://genshi.edgewall.org/"
-    xmlns:xi="http://www.w3.org/2001/XInclude" py:strip="">
+    xmlns:xi="http://www.w3.org/2001/XInclude"
+    xmlns:i18n="http://genshi.edgewall.org/i18n"
+    i18n:domain="bhtheme"
+    py:strip="">
   <thead>
     <tr>
       <xi:include href="bh_sortable_th.html" py:with="class_ = 'name'; title = _('Name')"/>

Modified: bloodhound/trunk/bloodhound_theme/bhtheme/templates/bh_history_view.html
URL: http://svn.apache.org/viewvc/bloodhound/trunk/bloodhound_theme/bhtheme/templates/bh_history_view.html?rev=1568681&r1=1568680&r2=1568681&view=diff
==============================================================================
--- bloodhound/trunk/bloodhound_theme/bhtheme/templates/bh_history_view.html (original)
+++ bloodhound/trunk/bloodhound_theme/bhtheme/templates/bh_history_view.html Sat Feb 15 21:25:24 2014
@@ -23,7 +23,8 @@
 <html xmlns="http://www.w3.org/1999/xhtml"
       xmlns:py="http://genshi.edgewall.org/"
       xmlns:xi="http://www.w3.org/2001/XInclude"
-      xmlns:i18n="http://genshi.edgewall.org/i18n">
+      xmlns:i18n="http://genshi.edgewall.org/i18n"
+      i18n:domain="bhtheme">
   <xi:include href="layout.html" />
   <head>
     <title>$title</title>

Modified: bloodhound/trunk/bloodhound_theme/bhtheme/templates/bh_list_of_attachments.html
URL: http://svn.apache.org/viewvc/bloodhound/trunk/bloodhound_theme/bhtheme/templates/bh_list_of_attachments.html?rev=1568681&r1=1568680&r2=1568681&view=diff
==============================================================================
--- bloodhound/trunk/bloodhound_theme/bhtheme/templates/bh_list_of_attachments.html (original)
+++ bloodhound/trunk/bloodhound_theme/bhtheme/templates/bh_list_of_attachments.html Sat Feb 15 21:25:24 2014
@@ -30,6 +30,7 @@ Arguments:
       xmlns:py="http://genshi.edgewall.org/"
       xmlns:xi="http://www.w3.org/2001/XInclude"
       xmlns:i18n="http://genshi.edgewall.org/i18n"
+      i18n:domain="bhtheme"
       py:with="compact = value_of('compact', False);
                add_button_title = value_of('add_button_title', None);
                foldable = value_of('foldable', False)" py:strip="">

Modified: bloodhound/trunk/bloodhound_theme/bhtheme/templates/bh_login.html
URL: http://svn.apache.org/viewvc/bloodhound/trunk/bloodhound_theme/bhtheme/templates/bh_login.html?rev=1568681&r1=1568680&r2=1568681&view=diff
==============================================================================
--- bloodhound/trunk/bloodhound_theme/bhtheme/templates/bh_login.html (original)
+++ bloodhound/trunk/bloodhound_theme/bhtheme/templates/bh_login.html Sat Feb 15 21:25:24 2014
@@ -24,7 +24,7 @@
       xmlns:py="http://genshi.edgewall.org/"
       xmlns:xi="http://www.w3.org/2001/XInclude" 
       xmlns:i18n="http://genshi.edgewall.org/i18n"
-      i18n:domain="bloodhound">
+      i18n:domain="bhtheme">
   <xi:include href="layout.html" />
   <?python
     if _dgettext is not None:

Modified: bloodhound/trunk/bloodhound_theme/bhtheme/templates/bh_milestone_delete.html
URL: http://svn.apache.org/viewvc/bloodhound/trunk/bloodhound_theme/bhtheme/templates/bh_milestone_delete.html?rev=1568681&r1=1568680&r2=1568681&view=diff
==============================================================================
--- bloodhound/trunk/bloodhound_theme/bhtheme/templates/bh_milestone_delete.html (original)
+++ bloodhound/trunk/bloodhound_theme/bhtheme/templates/bh_milestone_delete.html Sat Feb 15 21:25:24 2014
@@ -23,6 +23,7 @@
 <html xmlns="http://www.w3.org/1999/xhtml"
       xmlns:py="http://genshi.edgewall.org/"
       xmlns:i18n="http://genshi.edgewall.org/i18n"
+      i18n:domain="bhtheme"
       xmlns:xi="http://www.w3.org/2001/XInclude">
   <xi:include href="layout.html" />
   <head>

Modified: bloodhound/trunk/bloodhound_theme/bhtheme/templates/bh_milestone_edit.html
URL: http://svn.apache.org/viewvc/bloodhound/trunk/bloodhound_theme/bhtheme/templates/bh_milestone_edit.html?rev=1568681&r1=1568680&r2=1568681&view=diff
==============================================================================
--- bloodhound/trunk/bloodhound_theme/bhtheme/templates/bh_milestone_edit.html (original)
+++ bloodhound/trunk/bloodhound_theme/bhtheme/templates/bh_milestone_edit.html Sat Feb 15 21:25:24 2014
@@ -23,6 +23,7 @@
 <html xmlns="http://www.w3.org/1999/xhtml"
       xmlns:py="http://genshi.edgewall.org/"
       xmlns:i18n="http://genshi.edgewall.org/i18n"
+      i18n:domain="bhtheme"
       xmlns:xi="http://www.w3.org/2001/XInclude">
   <xi:include href="layout.html" />
   <head>
@@ -82,7 +83,7 @@
               <label for="description" i18n:msg="">Description</label>
               <p><textarea id="description" name="description" class="wikitext trac-resizable" rows="10" cols="78" placeholder="Describe this milestone using WikiFormatting">
 ${milestone.description}</textarea></p>
-              <p class="help-block pull-right">
+              <p class="help-block pull-right" i18n:msg="">
                 <span class="label label-info">Tip</span>
                 You may use <a tabindex="42"
                      href="${href.wiki('WikiFormatting')}">WikiFormatting</a> here

Modified: bloodhound/trunk/bloodhound_theme/bhtheme/templates/bh_milestone_view.html
URL: http://svn.apache.org/viewvc/bloodhound/trunk/bloodhound_theme/bhtheme/templates/bh_milestone_view.html?rev=1568681&r1=1568680&r2=1568681&view=diff
==============================================================================
--- bloodhound/trunk/bloodhound_theme/bhtheme/templates/bh_milestone_view.html (original)
+++ bloodhound/trunk/bloodhound_theme/bhtheme/templates/bh_milestone_view.html Sat Feb 15 21:25:24 2014
@@ -23,6 +23,7 @@
 <html xmlns="http://www.w3.org/1999/xhtml"
       xmlns:py="http://genshi.edgewall.org/"
       xmlns:i18n="http://genshi.edgewall.org/i18n"
+      i18n:domain="bhtheme"
       xmlns:bh="http://issues.apache.org/bloodhound/wiki/Ui/Dashboard"
       xmlns:xi="http://www.w3.org/2001/XInclude">
   <xi:include href="layout.html" />

Modified: bloodhound/trunk/bloodhound_theme/bhtheme/templates/bh_path_general.html
URL: http://svn.apache.org/viewvc/bloodhound/trunk/bloodhound_theme/bhtheme/templates/bh_path_general.html?rev=1568681&r1=1568680&r2=1568681&view=diff
==============================================================================
--- bloodhound/trunk/bloodhound_theme/bhtheme/templates/bh_path_general.html (original)
+++ bloodhound/trunk/bloodhound_theme/bhtheme/templates/bh_path_general.html Sat Feb 15 21:25:24 2014
@@ -21,6 +21,7 @@
 <div xmlns="http://www.w3.org/1999/xhtml"
      xmlns:py="http://genshi.edgewall.org/"
      xmlns:i18n="http://genshi.edgewall.org/i18n"
+     i18n:domain="bhtheme"
      xmlns:xi="http://www.w3.org/2001/XInclude"
      py:strip=""
      py:with="single_product = not product_list or len(product_list) &lt; 2">

Modified: bloodhound/trunk/bloodhound_theme/bhtheme/templates/bh_path_search.html
URL: http://svn.apache.org/viewvc/bloodhound/trunk/bloodhound_theme/bhtheme/templates/bh_path_search.html?rev=1568681&r1=1568680&r2=1568681&view=diff
==============================================================================
--- bloodhound/trunk/bloodhound_theme/bhtheme/templates/bh_path_search.html (original)
+++ bloodhound/trunk/bloodhound_theme/bhtheme/templates/bh_path_search.html Sat Feb 15 21:25:24 2014
@@ -20,6 +20,7 @@
 <div xmlns="http://www.w3.org/1999/xhtml"
      xmlns:py="http://genshi.edgewall.org/"
      xmlns:i18n="http://genshi.edgewall.org/i18n"
+     i18n:domain="bhtheme"
      xmlns:xi="http://www.w3.org/2001/XInclude"
     py:strip="">
   <xi:include href="bh_path_general.html" />

Modified: bloodhound/trunk/bloodhound_theme/bhtheme/templates/bh_path_ticket.html
URL: http://svn.apache.org/viewvc/bloodhound/trunk/bloodhound_theme/bhtheme/templates/bh_path_ticket.html?rev=1568681&r1=1568680&r2=1568681&view=diff
==============================================================================
--- bloodhound/trunk/bloodhound_theme/bhtheme/templates/bh_path_ticket.html (original)
+++ bloodhound/trunk/bloodhound_theme/bhtheme/templates/bh_path_ticket.html Sat Feb 15 21:25:24 2014
@@ -20,6 +20,7 @@
 <div xmlns="http://www.w3.org/1999/xhtml"
      xmlns:py="http://genshi.edgewall.org/"
      xmlns:i18n="http://genshi.edgewall.org/i18n"
+     i18n:domain="bhtheme"
      xmlns:xi="http://www.w3.org/2001/XInclude"
     py:strip="">
 

Modified: bloodhound/trunk/bloodhound_theme/bhtheme/templates/bh_path_wikipage.html
URL: http://svn.apache.org/viewvc/bloodhound/trunk/bloodhound_theme/bhtheme/templates/bh_path_wikipage.html?rev=1568681&r1=1568680&r2=1568681&view=diff
==============================================================================
--- bloodhound/trunk/bloodhound_theme/bhtheme/templates/bh_path_wikipage.html (original)
+++ bloodhound/trunk/bloodhound_theme/bhtheme/templates/bh_path_wikipage.html Sat Feb 15 21:25:24 2014
@@ -20,6 +20,7 @@
 <div xmlns="http://www.w3.org/1999/xhtml"
      xmlns:py="http://genshi.edgewall.org/"
      xmlns:i18n="http://genshi.edgewall.org/i18n"
+     i18n:domain="bhtheme"
      xmlns:xi="http://www.w3.org/2001/XInclude"
   py:strip="" py:with="parts = page.name.split('/')">
   <li>

Modified: bloodhound/trunk/bloodhound_theme/bhtheme/templates/bh_prefs.html
URL: http://svn.apache.org/viewvc/bloodhound/trunk/bloodhound_theme/bhtheme/templates/bh_prefs.html?rev=1568681&r1=1568680&r2=1568681&view=diff
==============================================================================
--- bloodhound/trunk/bloodhound_theme/bhtheme/templates/bh_prefs.html (original)
+++ bloodhound/trunk/bloodhound_theme/bhtheme/templates/bh_prefs.html Sat Feb 15 21:25:24 2014
@@ -23,6 +23,8 @@
 <html xmlns="http://www.w3.org/1999/xhtml"
       xmlns:xi="http://www.w3.org/2001/XInclude"
       xmlns:py="http://genshi.edgewall.org/"
+      xmlns:i18n="http://genshi.edgewall.org/i18n"
+      i18n:domain="bhtheme"
       py:strip="">
 
   <py:def function="intro_and_tabs()">

Modified: bloodhound/trunk/bloodhound_theme/bhtheme/templates/bh_prefs_advanced.html
URL: http://svn.apache.org/viewvc/bloodhound/trunk/bloodhound_theme/bhtheme/templates/bh_prefs_advanced.html?rev=1568681&r1=1568680&r2=1568681&view=diff
==============================================================================
--- bloodhound/trunk/bloodhound_theme/bhtheme/templates/bh_prefs_advanced.html (original)
+++ bloodhound/trunk/bloodhound_theme/bhtheme/templates/bh_prefs_advanced.html Sat Feb 15 21:25:24 2014
@@ -22,7 +22,9 @@
     "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
 <html xmlns="http://www.w3.org/1999/xhtml"
       xmlns:py="http://genshi.edgewall.org/"
-      xmlns:xi="http://www.w3.org/2001/XInclude">
+      xmlns:xi="http://www.w3.org/2001/XInclude"
+      xmlns:i18n="http://genshi.edgewall.org/i18n"
+      i18n:domain="bhtheme">
   <xi:include href="bh_prefs.html" />
   <head>
     <title>Advanced</title>

Modified: bloodhound/trunk/bloodhound_theme/bhtheme/templates/bh_prefs_datetime.html
URL: http://svn.apache.org/viewvc/bloodhound/trunk/bloodhound_theme/bhtheme/templates/bh_prefs_datetime.html?rev=1568681&r1=1568680&r2=1568681&view=diff
==============================================================================
--- bloodhound/trunk/bloodhound_theme/bhtheme/templates/bh_prefs_datetime.html (original)
+++ bloodhound/trunk/bloodhound_theme/bhtheme/templates/bh_prefs_datetime.html Sat Feb 15 21:25:24 2014
@@ -23,6 +23,7 @@
 <html xmlns="http://www.w3.org/1999/xhtml"
       xmlns:py="http://genshi.edgewall.org/"
       xmlns:i18n="http://genshi.edgewall.org/i18n"
+      i18n:domain="bhtheme"
       xmlns:xi="http://www.w3.org/2001/XInclude">
   <xi:include href="bh_prefs.html" />
   <head>

Modified: bloodhound/trunk/bloodhound_theme/bhtheme/templates/bh_prefs_general.html
URL: http://svn.apache.org/viewvc/bloodhound/trunk/bloodhound_theme/bhtheme/templates/bh_prefs_general.html?rev=1568681&r1=1568680&r2=1568681&view=diff
==============================================================================
--- bloodhound/trunk/bloodhound_theme/bhtheme/templates/bh_prefs_general.html (original)
+++ bloodhound/trunk/bloodhound_theme/bhtheme/templates/bh_prefs_general.html Sat Feb 15 21:25:24 2014
@@ -22,7 +22,9 @@
     "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
 <html xmlns="http://www.w3.org/1999/xhtml"
       xmlns:py="http://genshi.edgewall.org/"
-      xmlns:xi="http://www.w3.org/2001/XInclude">
+      xmlns:xi="http://www.w3.org/2001/XInclude"
+      xmlns:i18n="http://genshi.edgewall.org/i18n"
+      i18n:domain="bhtheme">
   <xi:include href="bh_prefs.html" />
   <head>
     <title>General</title>

Modified: bloodhound/trunk/bloodhound_theme/bhtheme/templates/bh_prefs_keybindings.html
URL: http://svn.apache.org/viewvc/bloodhound/trunk/bloodhound_theme/bhtheme/templates/bh_prefs_keybindings.html?rev=1568681&r1=1568680&r2=1568681&view=diff
==============================================================================
--- bloodhound/trunk/bloodhound_theme/bhtheme/templates/bh_prefs_keybindings.html (original)
+++ bloodhound/trunk/bloodhound_theme/bhtheme/templates/bh_prefs_keybindings.html Sat Feb 15 21:25:24 2014
@@ -23,6 +23,7 @@
 <html xmlns="http://www.w3.org/1999/xhtml"
       xmlns:py="http://genshi.edgewall.org/"
       xmlns:i18n="http://genshi.edgewall.org/i18n"
+      i18n:domain="bhtheme"
       xmlns:xi="http://www.w3.org/2001/XInclude">
   <xi:include href="bh_prefs.html" />
   <head>

Modified: bloodhound/trunk/bloodhound_theme/bhtheme/templates/bh_prefs_language.html
URL: http://svn.apache.org/viewvc/bloodhound/trunk/bloodhound_theme/bhtheme/templates/bh_prefs_language.html?rev=1568681&r1=1568680&r2=1568681&view=diff
==============================================================================
--- bloodhound/trunk/bloodhound_theme/bhtheme/templates/bh_prefs_language.html (original)
+++ bloodhound/trunk/bloodhound_theme/bhtheme/templates/bh_prefs_language.html Sat Feb 15 21:25:24 2014
@@ -23,7 +23,8 @@
 <html xmlns="http://www.w3.org/1999/xhtml"
       xmlns:py="http://genshi.edgewall.org/"
       xmlns:xi="http://www.w3.org/2001/XInclude"
-      xmlns:i18n="http://genshi.edgewall.org/i18n">
+      xmlns:i18n="http://genshi.edgewall.org/i18n"
+      i18n:domain="bhtheme">
   <xi:include href="bh_prefs.html" />
   <head>
     <title>Language</title>

Modified: bloodhound/trunk/bloodhound_theme/bhtheme/templates/bh_prefs_pygments.html
URL: http://svn.apache.org/viewvc/bloodhound/trunk/bloodhound_theme/bhtheme/templates/bh_prefs_pygments.html?rev=1568681&r1=1568680&r2=1568681&view=diff
==============================================================================
--- bloodhound/trunk/bloodhound_theme/bhtheme/templates/bh_prefs_pygments.html (original)
+++ bloodhound/trunk/bloodhound_theme/bhtheme/templates/bh_prefs_pygments.html Sat Feb 15 21:25:24 2014
@@ -22,7 +22,9 @@
     "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
 <html xmlns="http://www.w3.org/1999/xhtml"
       xmlns:py="http://genshi.edgewall.org/"
-      xmlns:xi="http://www.w3.org/2001/XInclude">
+      xmlns:xi="http://www.w3.org/2001/XInclude"
+      xmlns:i18n="http://genshi.edgewall.org/i18n"
+      i18n:domain="bhtheme">
   <xi:include href="bh_prefs.html" />
   <head>
     <title>Syntax Highlighting</title>
@@ -58,7 +60,7 @@
         The Pygments syntax highlighter can be used with
         different coloring styles.</p>
       <br/>
-      <p><label for="pygmennt_theme">Style:</label>
+      <p><label for="pygment_theme">Style:</label>
         <select id="pygment_theme" name="style">
           <option py:for="style in sorted(styles)" value="${style}"
                   selected="${selection == style or None}">${style.title()}</option>

Modified: bloodhound/trunk/bloodhound_theme/bhtheme/templates/bh_prefs_userinterface.html
URL: http://svn.apache.org/viewvc/bloodhound/trunk/bloodhound_theme/bhtheme/templates/bh_prefs_userinterface.html?rev=1568681&r1=1568680&r2=1568681&view=diff
==============================================================================
--- bloodhound/trunk/bloodhound_theme/bhtheme/templates/bh_prefs_userinterface.html (original)
+++ bloodhound/trunk/bloodhound_theme/bhtheme/templates/bh_prefs_userinterface.html Sat Feb 15 21:25:24 2014
@@ -23,6 +23,7 @@
 <html xmlns="http://www.w3.org/1999/xhtml"
       xmlns:py="http://genshi.edgewall.org/"
       xmlns:i18n="http://genshi.edgewall.org/i18n"
+      i18n:domain="bhtheme"
       xmlns:xi="http://www.w3.org/2001/XInclude">
   <xi:include href="bh_prefs.html" />
   <head>

Modified: bloodhound/trunk/bloodhound_theme/bhtheme/templates/bh_preview_file.html
URL: http://svn.apache.org/viewvc/bloodhound/trunk/bloodhound_theme/bhtheme/templates/bh_preview_file.html?rev=1568681&r1=1568680&r2=1568681&view=diff
==============================================================================
--- bloodhound/trunk/bloodhound_theme/bhtheme/templates/bh_preview_file.html (original)
+++ bloodhound/trunk/bloodhound_theme/bhtheme/templates/bh_preview_file.html Sat Feb 15 21:25:24 2014
@@ -27,6 +27,7 @@ Arguments:
       xmlns:py="http://genshi.edgewall.org/"
       xmlns:xi="http://www.w3.org/2001/XInclude"
       xmlns:i18n="http://genshi.edgewall.org/i18n"
+      i18n:domain="bhtheme"
       py:strip="">
   ${preview.rendered}
   <py:choose>

Modified: bloodhound/trunk/bloodhound_theme/bhtheme/templates/bh_product_list.html
URL: http://svn.apache.org/viewvc/bloodhound/trunk/bloodhound_theme/bhtheme/templates/bh_product_list.html?rev=1568681&r1=1568680&r2=1568681&view=diff
==============================================================================
--- bloodhound/trunk/bloodhound_theme/bhtheme/templates/bh_product_list.html (original)
+++ bloodhound/trunk/bloodhound_theme/bhtheme/templates/bh_product_list.html Sat Feb 15 21:25:24 2014
@@ -23,6 +23,7 @@
 <html xmlns="http://www.w3.org/1999/xhtml"
       xmlns:py="http://genshi.edgewall.org/"
       xmlns:i18n="http://genshi.edgewall.org/i18n"
+      i18n:domain="bhtheme"
       xmlns:xi="http://www.w3.org/2001/XInclude">
   <xi:include href="layout.html" />
   <head>
@@ -39,7 +40,7 @@
         <div py:if="'PRODUCT_CREATE' in perm" class="btn-group">
           <form id="new" method="get" action="${href.products()}">
             <input type="hidden" name="action" value="new" />
-            <input id="add" class="btn" type="submit" value="${_('Add new product')}" />
+            <input id="add" class="btn" type="submit" value="${dgettext('bhtheme', 'Add new product')}" />
           </form>
         </div>
       </div>

Modified: bloodhound/trunk/bloodhound_theme/bhtheme/templates/bh_product_view.html
URL: http://svn.apache.org/viewvc/bloodhound/trunk/bloodhound_theme/bhtheme/templates/bh_product_view.html?rev=1568681&r1=1568680&r2=1568681&view=diff
==============================================================================
--- bloodhound/trunk/bloodhound_theme/bhtheme/templates/bh_product_view.html (original)
+++ bloodhound/trunk/bloodhound_theme/bhtheme/templates/bh_product_view.html Sat Feb 15 21:25:24 2014
@@ -23,6 +23,7 @@
 <html xmlns="http://www.w3.org/1999/xhtml"
       xmlns:py="http://genshi.edgewall.org/"
       xmlns:i18n="http://genshi.edgewall.org/i18n"
+      i18n:domain="bhtheme"
       xmlns:bh="http://issues.apache.org/bloodhound/wiki/Ui/Dashboard"
       xmlns:xi="http://www.w3.org/2001/XInclude">
   <xi:include href="layout.html" />

Modified: bloodhound/trunk/bloodhound_theme/bhtheme/templates/bh_query.html
URL: http://svn.apache.org/viewvc/bloodhound/trunk/bloodhound_theme/bhtheme/templates/bh_query.html?rev=1568681&r1=1568680&r2=1568681&view=diff
==============================================================================
--- bloodhound/trunk/bloodhound_theme/bhtheme/templates/bh_query.html (original)
+++ bloodhound/trunk/bloodhound_theme/bhtheme/templates/bh_query.html Sat Feb 15 21:25:24 2014
@@ -23,6 +23,7 @@
 <html xmlns="http://www.w3.org/1999/xhtml"
       xmlns:py="http://genshi.edgewall.org/"
       xmlns:i18n="http://genshi.edgewall.org/i18n"
+      i18n:domain="bhtheme"
       xmlns:xi="http://www.w3.org/2001/XInclude">
   <xi:include href="layout.html" />
   <head>

Modified: bloodhound/trunk/bloodhound_theme/bhtheme/templates/bh_register.html
URL: http://svn.apache.org/viewvc/bloodhound/trunk/bloodhound_theme/bhtheme/templates/bh_register.html?rev=1568681&r1=1568680&r2=1568681&view=diff
==============================================================================
--- bloodhound/trunk/bloodhound_theme/bhtheme/templates/bh_register.html (original)
+++ bloodhound/trunk/bloodhound_theme/bhtheme/templates/bh_register.html Sat Feb 15 21:25:24 2014
@@ -24,7 +24,7 @@
       xmlns:py="http://genshi.edgewall.org/"
       xmlns:xi="http://www.w3.org/2001/XInclude" 
       xmlns:i18n="http://genshi.edgewall.org/i18n"
-      i18n:domain="bloodhound">
+      i18n:domain="bhtheme">
   <xi:include href="layout.html" />
   <?python
     if _dgettext is not None:

Modified: bloodhound/trunk/bloodhound_theme/bhtheme/templates/bh_report_delete.html
URL: http://svn.apache.org/viewvc/bloodhound/trunk/bloodhound_theme/bhtheme/templates/bh_report_delete.html?rev=1568681&r1=1568680&r2=1568681&view=diff
==============================================================================
--- bloodhound/trunk/bloodhound_theme/bhtheme/templates/bh_report_delete.html (original)
+++ bloodhound/trunk/bloodhound_theme/bhtheme/templates/bh_report_delete.html Sat Feb 15 21:25:24 2014
@@ -23,6 +23,7 @@
 <html xmlns="http://www.w3.org/1999/xhtml"
       xmlns:py="http://genshi.edgewall.org/"
       xmlns:i18n="http://genshi.edgewall.org/i18n"
+      i18n:domain="bhtheme"
       xmlns:xi="http://www.w3.org/2001/XInclude">
   <xi:include href="layout.html" />
   <head>

Modified: bloodhound/trunk/bloodhound_theme/bhtheme/templates/bh_report_edit.html
URL: http://svn.apache.org/viewvc/bloodhound/trunk/bloodhound_theme/bhtheme/templates/bh_report_edit.html?rev=1568681&r1=1568680&r2=1568681&view=diff
==============================================================================
--- bloodhound/trunk/bloodhound_theme/bhtheme/templates/bh_report_edit.html (original)
+++ bloodhound/trunk/bloodhound_theme/bhtheme/templates/bh_report_edit.html Sat Feb 15 21:25:24 2014
@@ -23,6 +23,7 @@
 <html xmlns="http://www.w3.org/1999/xhtml"
       xmlns:py="http://genshi.edgewall.org/"
       xmlns:i18n="http://genshi.edgewall.org/i18n"
+      i18n:domain="bhtheme"
       xmlns:xi="http://www.w3.org/2001/XInclude">
   <xi:include href="layout.html" />
   <head>
@@ -53,7 +54,7 @@
               <div class="controls">
                 <textarea id="description" name="description" class="wikitext trac-resizable" rows="10">
 $report.description</textarea>
-                <p class="help-block">
+                <p class="help-block" i18n:msg="">
                   <span class="label label-info">Tip</span>
                   You may use <a tabindex="42" href="${href.wiki('WikiFormatting')}">WikiFormatting</a> here.
                 </p>
@@ -69,7 +70,7 @@ $report.description</textarea>
               <div class="controls">
                 <textarea id="query" name="query" class="trac-resizable" rows="20">
 $report.sql</textarea>
-                <p class="help-block">
+                <p class="help-block" i18n:msg="">
                   <span class="label label-info">Tip</span>
                   Can be either SQL or, if starting with <code>query:</code>,
                   a <a tabindex="42" href="${href.wiki('TracQuery') + '#QueryLanguage'}">TracQuery</a> expression.

Modified: bloodhound/trunk/bloodhound_theme/bhtheme/templates/bh_report_list.html
URL: http://svn.apache.org/viewvc/bloodhound/trunk/bloodhound_theme/bhtheme/templates/bh_report_list.html?rev=1568681&r1=1568680&r2=1568681&view=diff
==============================================================================
--- bloodhound/trunk/bloodhound_theme/bhtheme/templates/bh_report_list.html (original)
+++ bloodhound/trunk/bloodhound_theme/bhtheme/templates/bh_report_list.html Sat Feb 15 21:25:24 2014
@@ -23,6 +23,7 @@
 <html xmlns="http://www.w3.org/1999/xhtml"
       xmlns:py="http://genshi.edgewall.org/"
       xmlns:i18n="http://genshi.edgewall.org/i18n"
+      i18n:domain="bhtheme"
       xmlns:xi="http://www.w3.org/2001/XInclude">
   <xi:include href="layout.html" />
   <head>

Modified: bloodhound/trunk/bloodhound_theme/bhtheme/templates/bh_report_view.html
URL: http://svn.apache.org/viewvc/bloodhound/trunk/bloodhound_theme/bhtheme/templates/bh_report_view.html?rev=1568681&r1=1568680&r2=1568681&view=diff
==============================================================================
--- bloodhound/trunk/bloodhound_theme/bhtheme/templates/bh_report_view.html (original)
+++ bloodhound/trunk/bloodhound_theme/bhtheme/templates/bh_report_view.html Sat Feb 15 21:25:24 2014
@@ -23,6 +23,7 @@
 <html xmlns="http://www.w3.org/1999/xhtml"
       xmlns:py="http://genshi.edgewall.org/"
       xmlns:i18n="http://genshi.edgewall.org/i18n"
+      i18n:domain="bhtheme"
       xmlns:xi="http://www.w3.org/2001/XInclude">
   <xi:include href="layout.html" />
   <head>

Modified: bloodhound/trunk/bloodhound_theme/bhtheme/templates/bh_reset_password.html
URL: http://svn.apache.org/viewvc/bloodhound/trunk/bloodhound_theme/bhtheme/templates/bh_reset_password.html?rev=1568681&r1=1568680&r2=1568681&view=diff
==============================================================================
--- bloodhound/trunk/bloodhound_theme/bhtheme/templates/bh_reset_password.html (original)
+++ bloodhound/trunk/bloodhound_theme/bhtheme/templates/bh_reset_password.html Sat Feb 15 21:25:24 2014
@@ -24,7 +24,7 @@
       xmlns:py="http://genshi.edgewall.org/"
       xmlns:xi="http://www.w3.org/2001/XInclude"
       xmlns:i18n="http://genshi.edgewall.org/i18n"
-      i18n:domain="bloodhound">
+      i18n:domain="bhtheme">
   <xi:include href="layout.html" />
   <?python
     if _dgettext is not None:

Modified: bloodhound/trunk/bloodhound_theme/bhtheme/templates/bh_revisionlog.html
URL: http://svn.apache.org/viewvc/bloodhound/trunk/bloodhound_theme/bhtheme/templates/bh_revisionlog.html?rev=1568681&r1=1568680&r2=1568681&view=diff
==============================================================================
--- bloodhound/trunk/bloodhound_theme/bhtheme/templates/bh_revisionlog.html (original)
+++ bloodhound/trunk/bloodhound_theme/bhtheme/templates/bh_revisionlog.html Sat Feb 15 21:25:24 2014
@@ -23,6 +23,7 @@
 <html xmlns="http://www.w3.org/1999/xhtml"
       xmlns:py="http://genshi.edgewall.org/"
       xmlns:i18n="http://genshi.edgewall.org/i18n"
+      i18n:domain="bhtheme"
       xmlns:xi="http://www.w3.org/2001/XInclude">
   <xi:include href="layout.html" />
   <head>

Modified: bloodhound/trunk/bloodhound_theme/bhtheme/templates/bh_search.html
URL: http://svn.apache.org/viewvc/bloodhound/trunk/bloodhound_theme/bhtheme/templates/bh_search.html?rev=1568681&r1=1568680&r2=1568681&view=diff
==============================================================================
--- bloodhound/trunk/bloodhound_theme/bhtheme/templates/bh_search.html (original)
+++ bloodhound/trunk/bloodhound_theme/bhtheme/templates/bh_search.html Sat Feb 15 21:25:24 2014
@@ -23,6 +23,7 @@
 <html xmlns="http://www.w3.org/1999/xhtml"
       xmlns:py="http://genshi.edgewall.org/"
       xmlns:i18n="http://genshi.edgewall.org/i18n"
+      i18n:domain="bhtheme"
       xmlns:xi="http://www.w3.org/2001/XInclude">
   <xi:include href="layout.html" />
   <head>

Modified: bloodhound/trunk/bloodhound_theme/bhtheme/templates/bh_ticket.html
URL: http://svn.apache.org/viewvc/bloodhound/trunk/bloodhound_theme/bhtheme/templates/bh_ticket.html?rev=1568681&r1=1568680&r2=1568681&view=diff
==============================================================================
--- bloodhound/trunk/bloodhound_theme/bhtheme/templates/bh_ticket.html (original)
+++ bloodhound/trunk/bloodhound_theme/bhtheme/templates/bh_ticket.html Sat Feb 15 21:25:24 2014
@@ -24,6 +24,7 @@
       xmlns:xi="http://www.w3.org/2001/XInclude"
       xmlns:py="http://genshi.edgewall.org/"
       xmlns:i18n="http://genshi.edgewall.org/i18n"
+      i18n:domain="bhtheme"
       xmlns:bh="http://issues.apache.org/bloodhound/wiki/Ui/Dashboard"
       py:with="preview_mode = 'preview' in req.args;
           can_append = 'TICKET_APPEND' in perm(ticket.resource);

Modified: bloodhound/trunk/bloodhound_theme/bhtheme/templates/bh_ticket_actions.html
URL: http://svn.apache.org/viewvc/bloodhound/trunk/bloodhound_theme/bhtheme/templates/bh_ticket_actions.html?rev=1568681&r1=1568680&r2=1568681&view=diff
==============================================================================
--- bloodhound/trunk/bloodhound_theme/bhtheme/templates/bh_ticket_actions.html (original)
+++ bloodhound/trunk/bloodhound_theme/bhtheme/templates/bh_ticket_actions.html Sat Feb 15 21:25:24 2014
@@ -20,6 +20,7 @@
 <html xmlns="http://www.w3.org/1999/xhtml"
       xmlns:py="http://genshi.edgewall.org/"
       xmlns:i18n="http://genshi.edgewall.org/i18n"
+      i18n:domain="bhtheme"
       xmlns:xi="http://www.w3.org/2001/XInclude"
       py:strip="">
   <div py:for="key, label, controls, hints in action_controls">

Modified: bloodhound/trunk/bloodhound_theme/bhtheme/templates/bh_ticket_box.html
URL: http://svn.apache.org/viewvc/bloodhound/trunk/bloodhound_theme/bhtheme/templates/bh_ticket_box.html?rev=1568681&r1=1568680&r2=1568681&view=diff
==============================================================================
--- bloodhound/trunk/bloodhound_theme/bhtheme/templates/bh_ticket_box.html (original)
+++ bloodhound/trunk/bloodhound_theme/bhtheme/templates/bh_ticket_box.html Sat Feb 15 21:25:24 2014
@@ -34,6 +34,7 @@ Arguments:
      xmlns:py="http://genshi.edgewall.org/"
      xmlns:xi="http://www.w3.org/2001/XInclude"
      xmlns:i18n="http://genshi.edgewall.org/i18n"
+     i18n:domain="bhtheme"
      id="ticket" class="${'ticketdraft' if preview_mode else None}">
 
 

Modified: bloodhound/trunk/bloodhound_theme/bhtheme/templates/bh_ticket_change.html
URL: http://svn.apache.org/viewvc/bloodhound/trunk/bloodhound_theme/bhtheme/templates/bh_ticket_change.html?rev=1568681&r1=1568680&r2=1568681&view=diff
==============================================================================
--- bloodhound/trunk/bloodhound_theme/bhtheme/templates/bh_ticket_change.html (original)
+++ bloodhound/trunk/bloodhound_theme/bhtheme/templates/bh_ticket_change.html Sat Feb 15 21:25:24 2014
@@ -34,6 +34,7 @@ Arguments:
       xmlns:py="http://genshi.edgewall.org/"
       xmlns:xi="http://www.w3.org/2001/XInclude"
       xmlns:i18n="http://genshi.edgewall.org/i18n"
+      i18n:domain="bhtheme"
       py:with="cnum = change.get('cnum'); hide_buttons = value_of('hide_buttons', False);
                cnum_edit = value_of('cnum_edit'); cnum_hist = value_of('cnum_hist');
                can_append = value_of('can_append', False); has_edit_comment = value_of('has_edit_comment', False);

Modified: bloodhound/trunk/bloodhound_theme/bhtheme/templates/bh_ticket_delete.html
URL: http://svn.apache.org/viewvc/bloodhound/trunk/bloodhound_theme/bhtheme/templates/bh_ticket_delete.html?rev=1568681&r1=1568680&r2=1568681&view=diff
==============================================================================
--- bloodhound/trunk/bloodhound_theme/bhtheme/templates/bh_ticket_delete.html (original)
+++ bloodhound/trunk/bloodhound_theme/bhtheme/templates/bh_ticket_delete.html Sat Feb 15 21:25:24 2014
@@ -23,6 +23,7 @@
 <html xmlns="http://www.w3.org/1999/xhtml"
       xmlns:py="http://genshi.edgewall.org/"
       xmlns:i18n="http://genshi.edgewall.org/i18n"
+      i18n:domain="bhtheme"
       xmlns:xi="http://www.w3.org/2001/XInclude">
   <xi:include href="layout.html" />
   <head>

Modified: bloodhound/trunk/bloodhound_theme/bhtheme/templates/bh_ticket_preview.html
URL: http://svn.apache.org/viewvc/bloodhound/trunk/bloodhound_theme/bhtheme/templates/bh_ticket_preview.html?rev=1568681&r1=1568680&r2=1568681&view=diff
==============================================================================
--- bloodhound/trunk/bloodhound_theme/bhtheme/templates/bh_ticket_preview.html (original)
+++ bloodhound/trunk/bloodhound_theme/bhtheme/templates/bh_ticket_preview.html Sat Feb 15 21:25:24 2014
@@ -24,6 +24,7 @@ Render data relevant to automatic ticket
       xmlns:py="http://genshi.edgewall.org/"
       xmlns:xi="http://www.w3.org/2001/XInclude"
       xmlns:i18n="http://genshi.edgewall.org/i18n"
+      i18n:domain="bhtheme"
       py:with="can_append = 'TICKET_APPEND' in perm(ticket.resource);
                has_edit_comment = 'TICKET_EDIT_COMMENT' in perm(ticket.resource);"
       py:strip="">

Modified: bloodhound/trunk/bloodhound_theme/bhtheme/templates/bh_timeline.html
URL: http://svn.apache.org/viewvc/bloodhound/trunk/bloodhound_theme/bhtheme/templates/bh_timeline.html?rev=1568681&r1=1568680&r2=1568681&view=diff
==============================================================================
--- bloodhound/trunk/bloodhound_theme/bhtheme/templates/bh_timeline.html (original)
+++ bloodhound/trunk/bloodhound_theme/bhtheme/templates/bh_timeline.html Sat Feb 15 21:25:24 2014
@@ -23,7 +23,8 @@
 <html xmlns="http://www.w3.org/1999/xhtml"
       xmlns:py="http://genshi.edgewall.org/"
       xmlns:xi="http://www.w3.org/2001/XInclude"
-      xmlns:i18n="http://genshi.edgewall.org/i18n">
+      xmlns:i18n="http://genshi.edgewall.org/i18n"
+      i18n:domain="bhtheme">
   <xi:include href="layout.html" />
   <head>
     <title>Timeline</title>

Modified: bloodhound/trunk/bloodhound_theme/bhtheme/templates/bh_verify_email.html
URL: http://svn.apache.org/viewvc/bloodhound/trunk/bloodhound_theme/bhtheme/templates/bh_verify_email.html?rev=1568681&r1=1568680&r2=1568681&view=diff
==============================================================================
--- bloodhound/trunk/bloodhound_theme/bhtheme/templates/bh_verify_email.html (original)
+++ bloodhound/trunk/bloodhound_theme/bhtheme/templates/bh_verify_email.html Sat Feb 15 21:25:24 2014
@@ -24,7 +24,7 @@
       xmlns:py="http://genshi.edgewall.org/"
       xmlns:xi="http://www.w3.org/2001/XInclude" 
       xmlns:i18n="http://genshi.edgewall.org/i18n"
-      i18n:domain="bloodhound">
+      i18n:domain="bhtheme">
   <xi:include href="layout.html" />
   <?python
     if _dgettext is not None:

Modified: bloodhound/trunk/bloodhound_theme/bhtheme/templates/bh_wiki_delete.html
URL: http://svn.apache.org/viewvc/bloodhound/trunk/bloodhound_theme/bhtheme/templates/bh_wiki_delete.html?rev=1568681&r1=1568680&r2=1568681&view=diff
==============================================================================
--- bloodhound/trunk/bloodhound_theme/bhtheme/templates/bh_wiki_delete.html (original)
+++ bloodhound/trunk/bloodhound_theme/bhtheme/templates/bh_wiki_delete.html Sat Feb 15 21:25:24 2014
@@ -23,7 +23,8 @@
 <html xmlns="http://www.w3.org/1999/xhtml"
       xmlns:py="http://genshi.edgewall.org/"
       xmlns:xi="http://www.w3.org/2001/XInclude"
-      xmlns:i18n="http://genshi.edgewall.org/i18n">
+      xmlns:i18n="http://genshi.edgewall.org/i18n"
+      i18n:domain="bhtheme">
   <xi:include href="layout.html" />
   <head>
     <title>$title</title>

Modified: bloodhound/trunk/bloodhound_theme/bhtheme/templates/bh_wiki_edit.html
URL: http://svn.apache.org/viewvc/bloodhound/trunk/bloodhound_theme/bhtheme/templates/bh_wiki_edit.html?rev=1568681&r1=1568680&r2=1568681&view=diff
==============================================================================
--- bloodhound/trunk/bloodhound_theme/bhtheme/templates/bh_wiki_edit.html (original)
+++ bloodhound/trunk/bloodhound_theme/bhtheme/templates/bh_wiki_edit.html Sat Feb 15 21:25:24 2014
@@ -23,7 +23,8 @@
 <html xmlns="http://www.w3.org/1999/xhtml"
       xmlns:xi="http://www.w3.org/2001/XInclude"
       xmlns:py="http://genshi.edgewall.org/"
-      xmlns:i18n="http://genshi.edgewall.org/i18n">
+      xmlns:i18n="http://genshi.edgewall.org/i18n"
+      i18n:domain="bhtheme">
   <xi:include href="layout.html" />
 
   <!--! Note: the wiki edit page can be presented according to several modes:
@@ -143,7 +144,7 @@
       <py:choose test="action">
         <py:when test="'collision'">
           <div class="span12">
-            <div class="alert alert-error">
+            <div class="alert alert-error" i18n:msg="">
               <span class="label label-important">Oops !</span>
               Sorry, this page has been modified by somebody else since you started
               editing. Your changes cannot be saved.

Modified: bloodhound/trunk/bloodhound_theme/bhtheme/templates/bh_wiki_edit_form.html
URL: http://svn.apache.org/viewvc/bloodhound/trunk/bloodhound_theme/bhtheme/templates/bh_wiki_edit_form.html?rev=1568681&r1=1568680&r2=1568681&view=diff
==============================================================================
--- bloodhound/trunk/bloodhound_theme/bhtheme/templates/bh_wiki_edit_form.html (original)
+++ bloodhound/trunk/bloodhound_theme/bhtheme/templates/bh_wiki_edit_form.html Sat Feb 15 21:25:24 2014
@@ -22,7 +22,8 @@
     "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
 <html xmlns="http://www.w3.org/1999/xhtml"
       xmlns:py="http://genshi.edgewall.org/"
-      xmlns:i18n="http://genshi.edgewall.org/i18n" py:strip="">
+      xmlns:i18n="http://genshi.edgewall.org/i18n"
+      i18n:domain="bhtheme" py:strip="">
   <form id="edit" action="${href.wiki(page.name)}" method="post">
     <fieldset class="${classes('controlgroup', sidebyside=sidebyside)}">
       <input type="hidden" name="from_editor" value="1" />

Modified: bloodhound/trunk/bloodhound_theme/bhtheme/templates/bh_wiki_rename.html
URL: http://svn.apache.org/viewvc/bloodhound/trunk/bloodhound_theme/bhtheme/templates/bh_wiki_rename.html?rev=1568681&r1=1568680&r2=1568681&view=diff
==============================================================================
--- bloodhound/trunk/bloodhound_theme/bhtheme/templates/bh_wiki_rename.html (original)
+++ bloodhound/trunk/bloodhound_theme/bhtheme/templates/bh_wiki_rename.html Sat Feb 15 21:25:24 2014
@@ -23,7 +23,8 @@
 <html xmlns="http://www.w3.org/1999/xhtml"
       xmlns:py="http://genshi.edgewall.org/"
       xmlns:xi="http://www.w3.org/2001/XInclude"
-      xmlns:i18n="http://genshi.edgewall.org/i18n">
+      xmlns:i18n="http://genshi.edgewall.org/i18n"
+      i18n:domain="bhtheme">
   <xi:include href="layout.html" />
   <head>
     <title>$title</title>

Modified: bloodhound/trunk/bloodhound_theme/bhtheme/templates/bh_wiki_view.html
URL: http://svn.apache.org/viewvc/bloodhound/trunk/bloodhound_theme/bhtheme/templates/bh_wiki_view.html?rev=1568681&r1=1568680&r2=1568681&view=diff
==============================================================================
--- bloodhound/trunk/bloodhound_theme/bhtheme/templates/bh_wiki_view.html (original)
+++ bloodhound/trunk/bloodhound_theme/bhtheme/templates/bh_wiki_view.html Sat Feb 15 21:25:24 2014
@@ -23,6 +23,7 @@
 <html xmlns="http://www.w3.org/1999/xhtml"
       xmlns:py="http://genshi.edgewall.org/"
       xmlns:i18n="http://genshi.edgewall.org/i18n"
+      i18n:domain="bhtheme"
       xmlns:xi="http://www.w3.org/2001/XInclude"
       py:with="modify_perm = 'WIKI_MODIFY' in perm(page.resource);
                admin_perm = 'WIKI_ADMIN' in perm(page.resource);

Modified: bloodhound/trunk/bloodhound_theme/bhtheme/templates/bloodhound_theme.html
URL: http://svn.apache.org/viewvc/bloodhound/trunk/bloodhound_theme/bhtheme/templates/bloodhound_theme.html?rev=1568681&r1=1568680&r2=1568681&view=diff
==============================================================================
--- bloodhound/trunk/bloodhound_theme/bhtheme/templates/bloodhound_theme.html (original)
+++ bloodhound/trunk/bloodhound_theme/bhtheme/templates/bloodhound_theme.html Sat Feb 15 21:25:24 2014
@@ -23,6 +23,8 @@
 <html xmlns="http://www.w3.org/1999/xhtml"
       xmlns:xi="http://www.w3.org/2001/XInclude"
       xmlns:py="http://genshi.edgewall.org/"
+      xmlns:i18n="http://genshi.edgewall.org/i18n"
+      i18n:domain="bhtheme"
       py:strip="">
 
   <py:match path="head" once="true"><head>
@@ -98,7 +100,7 @@
                       method="get">
                   <div class="input-append">
                     <input type="text" class="input-medium" id="q" name="q"
-                        placeholder="Search all products. Try TracLinks."
+                        placeholder="${dgettext('bhtheme', 'Search all products. Try TracLinks.')}"
                         value="${req.search_query}" />
                     <input py:for="name, value in extra_search_fields"
                             type="hidden"
@@ -192,6 +194,8 @@
                             <span class="label label-important">TICKET_CREATE</span>
                             privileges are required to perform this operation.
                             You don't have the required permissions
+			  </p>
+			  <p>
                             <py:choose>
                               <py:when test="req.authname == 'anonymous'">
                                 <br/><br/>
@@ -341,6 +345,8 @@
                     <span class="label label-important">TICKET_CREATE</span>
                     privileges are required to perform this operation.
                     You don't have the required permissions
+		  </p>
+		  <p>
                     <py:choose>
                       <py:when test="req.authname == 'anonymous'">
                         <br/><br/>

Modified: bloodhound/trunk/bloodhound_theme/bhtheme/theme.py
URL: http://svn.apache.org/viewvc/bloodhound/trunk/bloodhound_theme/bhtheme/theme.py?rev=1568681&r1=1568680&r2=1568681&view=diff
==============================================================================
--- bloodhound/trunk/bloodhound_theme/bhtheme/theme.py (original)
+++ bloodhound/trunk/bloodhound_theme/bhtheme/theme.py Sat Feb 15 21:25:24 2014
@@ -32,11 +32,10 @@ from trac.ticket.notification import Tic
 from trac.ticket.web_ui import TicketModule
 from trac.util.compat import set
 from trac.util.presentation import to_json
-from trac.util.translation import _
 from trac.versioncontrol.web_ui.browser import BrowserModule
 from trac.web.api import IRequestFilter, IRequestHandler, ITemplateStreamFilter
 from trac.web.chrome import (add_stylesheet, add_warning, INavigationContributor,
-                             ITemplateProvider, prevnext_nav, Chrome)
+                             ITemplateProvider, prevnext_nav, Chrome, add_script)
 from trac.wiki.admin import WikiAdmin
 from trac.wiki.formatter import format_to_html
 
@@ -48,13 +47,13 @@ from bhdashboard import wiki
 
 from multiproduct.env import ProductEnvironment
 from multiproduct.web_ui import PRODUCT_RE, ProductModule
+from bhtheme.translation import _, add_domain
 
 try:
     from multiproduct.ticket.web_ui import ProductTicketModule
 except ImportError:
     ProductTicketModule = None
 
-
 class BloodhoundTheme(ThemeBase):
     """Look and feel of Bloodhound issue tracker.
     """
@@ -158,20 +157,23 @@ class BloodhoundTheme(ThemeBase):
 
     labels_application_short = Option('labels', 'application_short',
         'Bloodhound', """A short version of application name most commonly
-        displayed in text, titles and labels""")
+        displayed in text, titles and labels""", doc_domain='bhtheme')
 
     labels_application_full = Option('labels', 'application_full',
         'Apache Bloodhound', """This is full name with trade mark and
-        everything, it is currently used in footers and about page only""")
+        everything, it is currently used in footers and about page only""",
+                                     doc_domain='bhtheme')
 
     labels_footer_left_prefix = Option('labels', 'footer_left_prefix', '',
-        """Text to display before full application name in footers""")
+        """Text to display before full application name in footers""",
+                                       doc_domain='bhtheme')
 
     labels_footer_left_postfix = Option('labels', 'footer_left_postfix', '',
-        """Text to display after full application name in footers""")
+        """Text to display after full application name in footers""",
+                                        doc_domain='bhtheme')
 
     labels_footer_right = Option('labels', 'footer_right', '',
-        """Text to use as the right aligned footer""")
+        """Text to use as the right aligned footer""", doc_domain='bhtheme')
 
     _wiki_pages = None
     Chrome.default_html_doctype = DocType.HTML5
@@ -318,6 +320,9 @@ class BloodhoundTheme(ThemeBase):
             data['bhrelations'] = \
                 self.env.config.getbool('components', 'bhrelations.*', 'false')
 
+        if req.locale is not None:
+            add_script(req, 'theme/bloodhound/%s.js' % req.locale)
+
         return template, data, content_type
 
     # ITemplateProvider methods
@@ -493,7 +498,7 @@ class BloodhoundTheme(ThemeBase):
                                'main': {'href': product.href(),
                                         'title': None,
                                         'icon': tag.i(class_='icon-chevron-right'),
-                                        'label': 'Browse'}})
+                                        'label': _('Browse')}})
 
         data['products'] = [product_media_data(icons, product)
                             for product in products]
@@ -508,7 +513,7 @@ class BloodhoundTheme(ThemeBase):
             bm = self.env[BrowserModule]
             if bm and not list(bm.get_navigation_items(req)):
                 yield ('mainnav', 'browser',
-                       tag.a(_('Browse Source'),
+                       tag.a(_('Source'),
                              href=req.href.wiki('TracRepositoryAdmin')))
 
 
@@ -517,8 +522,15 @@ class QuickCreateTicketDialog(Component)
 
     qct_fields = ListOption('ticket', 'quick_create_fields',
                             'product, version, type',
-        doc="""Multiple selection fields displayed in create ticket menu""")
+        doc="""Multiple selection fields displayed in create ticket menu""",
+                            doc_domain='bhtheme')
 
+    def __init__(self, *args, **kwargs):
+        import pkg_resources
+        locale_dir = pkg_resources.resource_filename(__name__, 'locale')
+        add_domain(self.env.path, locale_dir)
+        super(QuickCreateTicketDialog, self).__init__(*args, **kwargs)
+        
     # IRequestFilter(Interface):
 
     def pre_process_request(self, req, handler):

Modified: bloodhound/trunk/bloodhound_theme/setup.cfg
URL: http://svn.apache.org/viewvc/bloodhound/trunk/bloodhound_theme/setup.cfg?rev=1568681&r1=1568680&r2=1568681&view=diff
==============================================================================
--- bloodhound/trunk/bloodhound_theme/setup.cfg (original)
+++ bloodhound/trunk/bloodhound_theme/setup.cfg Sat Feb 15 21:25:24 2014
@@ -23,3 +23,50 @@ tag_svn_revision = true
 [sdist]
 formats = gztar,bztar,ztar,tar,zip
 
+[extract_messages]
+add_comments = TRANSLATOR:
+msgid_bugs_address =
+output_file = bhtheme/locale/messages.pot
+keywords = _ ngettext:1,2 N_ tag_ tagn_:1,2 Option:4 BoolOption:4 IntOption:4 ListOption:6 ExtensionOption:5 PathOption:4
+no-wrap = true
+
+[init_catalog]
+input_file = bhtheme/locale/messages.pot
+output_dir = bhtheme/locale
+domain = bhtheme
+
+[compile_catalog]
+directory = bhtheme/locale
+domain = bhtheme
+
+[update_catalog]
+input_file = bhtheme/locale/messages.pot
+output_dir = bhtheme/locale
+domain = bhtheme
+
+[extract_messages_js]
+add_comments = TRANSLATOR:
+copyright_holder = 
+msgid_bugs_address = 
+output_file = bhtheme/locale/messages-js.pot
+keywords = _ ngettext:1,2 N_
+mapping_file = messages-js.cfg
+
+[init_catalog_js]
+domain = bhtheme-js
+input_file = bhtheme/locale/messages-js.pot
+output_dir = bhtheme/locale
+
+[compile_catalog_js]
+domain = bhtheme-js
+directory = bhtheme/locale
+
+[update_catalog_js]
+domain = bhtheme-js
+input_file = bhtheme/locale/messages-js.pot
+output_dir = bhtheme/locale
+
+[generate_messages_js]
+domain = bhtheme-js
+input_dir = bhtheme/locale
+output_dir = bhtheme/htdocs/bloodhound
\ No newline at end of file

Modified: bloodhound/trunk/bloodhound_theme/setup.py
URL: http://svn.apache.org/viewvc/bloodhound/trunk/bloodhound_theme/setup.py?rev=1568681&r1=1568680&r2=1568681&view=diff
==============================================================================
--- bloodhound/trunk/bloodhound_theme/setup.py (original)
+++ bloodhound/trunk/bloodhound_theme/setup.py Sat Feb 15 21:25:24 2014
@@ -21,6 +21,25 @@
 from setuptools import setup
 import sys
 
+extra = {}
+try:
+    from trac.util.dist import get_l10n_js_cmdclass
+    cmdclass = get_l10n_js_cmdclass()
+    if cmdclass:
+        extra['cmdclass'] = cmdclass
+        extractors = [
+            ('**.py',                'trac.dist:extract_python', None),
+            ('**/templates/**.html', 'genshi', None),
+            ('**/templates/**.txt',  'genshi', {
+                'template_class': 'genshi.template:TextTemplate'
+            }),
+        ]
+        extra['message_extractors'] = {
+            'bhtheme': extractors,
+        }
+except ImportError:
+    pass
+
 setup(
   name = 'BloodhoundTheme',
   version = '0.8.0',
@@ -32,7 +51,7 @@ setup(
   packages = ['bhtheme'],
   package_data = {'bhtheme': ['htdocs/*.*', 'htdocs/img/*.*',
                               'htdocs/js/*.js', 'htdocs/css/*.css',
-                              'templates/*.*']},
+                              'templates/*.*',  'locale/*/LC_MESSAGES/*.mo']},
   classifiers = [
       'Framework :: Trac',
     ],
@@ -41,5 +60,6 @@ setup(
   entry_points = {
       'trac.plugins': [
             'bhtheme.theme = bhtheme.theme',
-        ]}
+        ]},
+    **extra
 )

Modified: bloodhound/trunk/installer/bloodhound_setup.py
URL: http://svn.apache.org/viewvc/bloodhound/trunk/installer/bloodhound_setup.py?rev=1568681&r1=1568680&r2=1568681&view=diff
==============================================================================
--- bloodhound/trunk/installer/bloodhound_setup.py (original)
+++ bloodhound/trunk/installer/bloodhound_setup.py Sat Feb 15 21:25:24 2014
@@ -71,9 +71,7 @@ BASE_CONFIG = {'components': {'bhtheme.*
                'header_logo': {'src': '',},
                'mainnav': {'roadmap': 'disabled',
                            'search': 'disabled',
-                           'timeline': 'disabled',
-                           'browser.label': 'Source',
-                           'tickets.label': 'Tickets',},
+                           'timeline': 'disabled',},
                'metanav': {'about': 'disabled',},
                'theme': {'theme': 'bloodhound',},
                'trac': {'mainnav': ','.join(['dashboard', 'wiki', 'browser',