web commit by ThomasBleher

master
Joey Hess 2007-11-05 06:33:46 -05:00
parent 1810f29433
commit 3903d2ebd2
1 changed files with 15 additions and 0 deletions

View File

@ -0,0 +1,15 @@
It seems like gettext only searches for locale information in /usr/share/locale, by default. I installed ikiwiki into /usr/local, therefore the locale information wasn't found. This patch fixes the issue:
--- a/IkiWiki.pm
+++ b/IkiWiki.pm
@@ -1057,6 +1057,7 @@ sub gettext { #{{{
$gettext_obj=undef;
return shift;
}
+ $gettext_obj->dir("$installdir/share/locale/");
}
return $gettext_obj->get(shift);
}
[[tag patch]]
-- [[ThomasBleher]]