[library-web] [htmlfiles] default title must have "en" as language, not "C"



commit edd116be4037f07eb1d973e9ae3f69b3730b790c
Author: Frédéric Péters <fpeters 0d be>
Date:   Sat Aug 8 18:22:41 2009 +0200

    [htmlfiles] default title must have "en" as language, not "C"

 src/modtypes/htmlfiles.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/modtypes/htmlfiles.py b/src/modtypes/htmlfiles.py
index fa21fd3..34a1b69 100644
--- a/src/modtypes/htmlfiles.py
+++ b/src/modtypes/htmlfiles.py
@@ -148,7 +148,7 @@ class HtmlFilesModule(DocModule):
         title = re.findall('<title>(.*)</title>',
                 file(os.path.join(web_output_dir, 'index.html')).read())
         if title:
-            doc.title = {'C': title[0]}
+            doc.title = {'en': title[0]}
 
         self.install_version_symlinks(doc)
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]