Sophie

Sophie

distrib > Fedora > 13 > i386 > media > updates-src > by-pkgid > 699f68c8383713f336ee5552fe420037 > files > 2

python-sphinx10-1.0.4-3.fc13.src.rpm

--- Sphinx-1.0.4/sphinx/locale/__init__.py.localedirs	2010-07-24 12:07:36.000000000 +0200
+++ Sphinx-1.0.4/sphinx/locale/__init__.py	2010-11-02 09:17:40.113760722 +0100
@@ -187,7 +187,7 @@
     has_translation = True
     for dir_ in locale_dirs:
         try:
-            trans = gettext.translation('sphinx', localedir=dir_,
+            trans = gettext.translation('sphinx-1.0', localedir=dir_,
                     languages=[language])
             if translator is None:
                 translator = trans
--- Sphinx-1.0.4/sphinx/builders/html.py.localedirs	2010-09-10 09:06:33.000000000 +0200
+++ Sphinx-1.0.4/sphinx/builders/html.py	2010-11-02 09:17:22.481915903 +0100
@@ -102,7 +102,7 @@
         if self.config.language is not None:
             jsfile_list = [path.join(package_dir, 'locale',
                 self.config.language, 'LC_MESSAGES', 'sphinx.js'),
-                path.join(sys.prefix, 'share/sphinx/locale',
+                path.join(sys.prefix, 'share/sphinx-1.0/locale',
                     self.config.language, 'sphinx.js')]
 
             for jsfile in jsfile_list: