summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorjoey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>2007-01-29 10:09:00 +0000
committerjoey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>2007-01-29 10:09:00 +0000
commitf660b812bc26e15c9e1affb23ce6c5550dc8a979 (patch)
treed34b08baaa0d77de08d780098b2f31815cf5ca1e /doc
parent300bcb84d49127b957d15cb87886f44d7b4eb17a (diff)
web commit by http://getopenid.com/ptecza: * Bug still not fixed
Diffstat (limited to 'doc')
-rw-r--r--doc/bugs/Discussion_link_not_translated_in_post.mdwn35
1 files changed, 35 insertions, 0 deletions
diff --git a/doc/bugs/Discussion_link_not_translated_in_post.mdwn b/doc/bugs/Discussion_link_not_translated_in_post.mdwn
index 993450ce8..e69926694 100644
--- a/doc/bugs/Discussion_link_not_translated_in_post.mdwn
+++ b/doc/bugs/Discussion_link_not_translated_in_post.mdwn
@@ -15,3 +15,38 @@ can see "Discussion" link, instead of Polish "Dyskusja" link. --Pawel
>>> Joey, what about my bug report? ;) --Pawel
>>>> Found and [[fixed|bugs/done]] --[[Joey]].
+
+>>>>> Hm. I can't see any changes. I've builded ikiwiki 1.41 Debian package
+>>>>> from the latest SVN repo sources and installed it on my machine.
+>>>>> I've also rebuilded all my ikiwiki pages (`ikiwiki --setup ikiwiki.setup`).
+
+>>>>> I added a few debug lines to changed block of code from
+>>>>> `/usr/share/perl5/IkiWiki.pm` file:
+>>>>>
+>>>>> open(LOG, ">>/var/log/ikiwiki.log");
+>>>>> print LOG "(1) \$config{locale}=$config{locale}\n";
+>>>>> print LOG "(1) \$ENV{LANG}=$ENV{LANG}\n";
+>>>>> if (defined $config{locale}) {
+>>>>> eval q{use POSIX};
+>>>>> error($@) if $@;
+>>>>> print LOG "(2) \$config{locale}=$config{locale}\n";
+>>>>> print LOG "(2) \$ENV{LANG}=$ENV{LANG}\n";
+>>>>> if (POSIX::setlocale(&POSIX::LC_ALL, $config{locale})) {
+>>>>> $ENV{LANG}=$config{locale};
+>>>>> $gettext_obj=undef;
+>>>>> print LOG "(3) \$config{locale}=$config{locale}\n";
+>>>>> print LOG "(3) \$ENV{LANG}=$ENV{LANG}\n";
+>>>>> }
+>>>>> }
+>>>>> close(LOG);
+>>>>>
+>>>>> Here is a piece of result after rebuild:
+>>>>>
+>>>>> (1) $config{locale}=pl_PL.UTF-8
+>>>>> (1) $ENV{LANG}=pl_PL.UTF-8
+>>>>> (2) $config{locale}=pl_PL.UTF-8
+>>>>> (2) $ENV{LANG}=pl_PL.UTF-8
+>>>>> (3) $config{locale}=pl_PL.UTF-8
+>>>>> (3) $ENV{LANG}=pl_PL.UTF-8
+>>>>>
+>>>>> Is it a useful information for you? :) --Pawel