Georg Brandl avatar Georg Brandl committed 9eb0ce9

#285: make the ``locale_dirs`` config value work again.

Comments (0)

Files changed (2)

 Release 0.6.4 (in development)
 ==============================
 
+* #285: make the ``locale_dirs`` config value work again.
+
 * #303: ``html_context`` values given on the command line via ``-A``
   should not override other values given in conf.py.
 

sphinx/builders/__init__.py

                     if self.translator is None:
                         self.translator = trans
                     else:
-                        self.translator._catalog.update(trans.catalog)
+                        self.translator._catalog.update(trans._catalog)
                 except Exception:
                     # Language couldn't be found in the specified path
                     pass
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.