Thanks for looking into this!

* Sandro Tosi <mo...@debian.org>, 2012-01-22, 00:53:
I've looked into this issue, and it's not about translations.js

Right, it's only a warning about translations.js.

In theory we _could_ move translations to the libjs-* package and then symlink them too, but this is probably too much hassle for very little benefit.

But it we decide that not symlinking translations.js is by design, then we should also silence the warning.

but about searchtools.js: given virtualenvwrapper provides multi-language doc, sphinx generates a searchtools.js that might be different for some langs, and in this case Japanese generates a searchtools that is different from the reference copy in /usr/share/javascript/sphinxdoc/1.0/searchtools.js. I'm attaching a diff in case it might help.

It seems there could be 2 versions of searchtools.js: one for langs with stemming rules and another without them.

Actually, we should have 3 versions of searchtools.js: one for the English stemmer, one for the Japanese stemmer, and one without stemming rules.

--- /usr/share/javascript/sphinxdoc/1.0/searchtools.js  2011-11-20 
20:17:32.000000000 +0100
+++ 
debian/virtualenvwrapper/usr/share/doc/virtualenvwrapper/ja/html/_static/searchtools.js
     2012-01-22 00:40:37.435086642 +0100
@@ -38,183 +38,10 @@


/**
- * Porter Stemmer
+ * Dummy stemmer for languages without stemming rules.
 */
var Stemmer = function() {

This is odd. It should be Japanese stemmer here, not the generic one. Smells like another bug.

--
Jakub Wilk



--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to