]> sipb.mit.edu Git - ikiwiki.git/blobdiff - doc/plugins/po.mdwn
%links dedup bug?
[ikiwiki.git] / doc / plugins / po.mdwn
index 2d59c03fa6865afe8906c96d8d3f0334f3ab1556..a0d3e7a9322f50bf364c62699ed40ff7d357410d 100644 (file)
@@ -260,6 +260,32 @@ order, as `po_slave_languages` is a hash. It would need to be converted
 to an array to support this. (If twere done, twere best done quickly.)
 --[[Joey]] 
 
+Re-render bug
+-------------
+
+If .ikiwiki is deleted and a wiki is rebuilt from scratch, and
+po has created po files before, something wrong happens:
+
+> joey@gnu:~/src/ikiwiki/po/html>ls -l index*
+> -rw-r--r-- 1 joey joey 1159 Jul 19 22:51 index.html
+> 
+> index.de:
+> total 4
+> -rw-r--r-- 1 joey joey 1829 Jul 19 22:51 index.html
+
+index.de/index.html contains the raw po file shoved into
+page.tmpl. I have only gotten as far as guessing it is a bug in
+`_istranslation` --[[Joey]]
+
+Duplicate %links ?
+------------------
+
+I notice code in the scan hook that seems to assume
+that %links will accumulate duplicate links for a page.
+That used to be so, but the bug was fixed. Does this mean
+that po might be replacing the only link on a page, in error? 
+--[[Joey]] 
+
 Documentation
 -------------