From: Reini U. <ru...@x-...> - 2003-02-20 07:33:47
|
Jeff Dairiki schrieb: >>However, it appears there is another problem: xgettext (from >>locale/Makefile) is not extracting the string in this line of >>JavaScript from signin.tmpl: >> >> document.write(' <?= _("Sign in:") ?>'); >> >>Hmm... anyone have any ideas to fix or work around this? > > > Oh. > > A hack would be to do: > > <?php > $sign_in = _("Sign in:"); > ?> > <!-- stuff --> > document.write(' <?= $sign_in ?>'); > > > > > Speaking of breaking things... > > I've been working on several fairly major changes/enhancements. > > o As promised years ago, I've just about gotten cached markup working. > (The transformed text of the most recent version of each page > is cached ... this results in a factor of 2-3 (sometimes more) speedup > on larger pages. > > o As a side effect (again, as promised years ago) this eliminates > the need for a separate ExtractWikiPageLinks(). (A really good thing). > > This broke a lot of stuff and required fairly major changes to some > parts of the code: > > o I've severely refactored the stuff in PageType.php, also > plugin/WikiBlog > has been refactored beyond recognition. > > o I'm sure I've broken lots of other things. > > I'm about ready to check all this into CVS. (Probably some time > tomorrow...) > > If anybody wants me to wait a bit before breaking the CVS code, now's > the time to speak up! Please do so. Good stuff. I'm also refactoring my UserAuth stuff, as promised years :) ago. -- Reini Urban http://xarch.tu-graz.ac.at/home/rurban/ |