From: Arno H. <aho...@in...> - 2001-01-04 18:58:30
|
Hi, I've commited some more changes. * stdlib.php, savepage.php: moved UpdateRecentChanges() to savepage.php * stdlib.php, transform.php: corrected and added comments (e.g. SetHTMLOutputMode()) * config.php, stdlib.php, transform.php: renamed ZERO/SINGLE_DEPTH to ZERO/NESTED_LEVEL (makes more sense) * transform.php: empty lines are now tag '' (i.e. no tag), and (normal) text lines are now tag '<p>' - this produces cleaner HTML. I checked TestPage as well as some other pages and it seems to produce the same layout. Please test yourself and let me know if there are any important differences to the old style. * mysql.php: added some comments, fixed yet another E_NOTICE What else is there to do? Tasks I can think of: - update localized versions - write a locale/README (e.g. how to add your language -- Jan?) - add some info about migrating from older phpwiki to current versions - look at other database implementations We should get moving, otherwise Linux 2.4 ships before phpwiki 1.2 :o) /Arno p.s. David LeBlanc's problem is fixed > forwarded message from "David LeBlanc" <wh...@oz...> > > Hi Arno; > > Ok, I got the nightly tarball, set the config.php file to mysql, create= d a > db called wiki, ran the schema script using phpmysqladmin (what a great > prog!) and viola! it worked like a charm! :) A cascade of messages "add= ing > <somepage>" greeted my eager gaze :) > > Thanks for your help! > > I hope to start making some contributions to phpwiki in the future! > > Regards! > > Dave LeBlanc |
From: Steve W. <sw...@wc...> - 2001-01-04 19:45:05
|
On Thu, 4 Jan 2001, Arno Hollosi wrote: > What else is there to do? Tasks I can think of: > - update localized versions > - write a locale/README (e.g. how to add your language -- Jan?) > - add some info about migrating from older phpwiki to current versions > - look at other database implementations Only to add an INSTALL.flatfile for the filesystem db. I have been playing with the latest build the last couple of days and it looks solid. The flat file system has all the basic functionality, and hooks for adding the other features (MostPopular, etc). Everything on the task list can go into 1.3, except for the code cleanup. What I'm looking for here mostly are more comments in the code. I have an email I was trying to send out last month but SF's mailing lists were not working at the time. I'll resend it when I get home. > > We should get moving, otherwise Linux 2.4 ships before phpwiki 1.2 :o) That doesn't sound like that much of a challenge ;-) ~swain ................................ooo0000ooo................................. Hear FM quality freeform radio through the Internet: http://wcsb.org/ home page: www.wcsb.org/~swain |
From: Jan N. <ja...@gn...> - 2001-01-04 20:30:53
|
Arno Hollosi <aho...@in...> writes: > What else is there to do? Tasks I can think of: > - update localized versions > - write a locale/README (e.g. how to add your language -- Jan?) Currently have not too much time on my hands, but here's a (bit patched up) email I sent in response to a translation question. All info should be there. This would make a nice wiki page, maintained by new translators AddNewLocale :-) ./locale/README: From: Jan Nieuwenhuizen <ja...@gn...> Subject: Re: [Phpwiki-talk] translation To: php...@li... Cc: Arno Hollosi <aho...@in...>, Olivier Kaloudoff <ka...@ka...> Date: 14 Dec 2000 20:51:16 +0100 Organization: Jan at Appel Olivier Kaloudoff <ka...@ka...> writes: > I saw locale/translate.sh in the > 1.1.9 tarball. I seems to be useful *after* > translation. > > But no docs about how to start > translation for a new locale (fr). Just copy the locale/po/phpwiki.pot to fr.po, alongside nl.po. Then, translate all the strings to french. Emacs has a handy po translation mode for you. Most of the work, though, is in translating the pgsrc and template files. Easiest is to do: mkdir locale/fr cp -rv pgsrc locale/fr cp -rv templates locale/fr You may want to change the names of some pgsrc files afterwards. For anything you don't know, look at the `nl' or `de' versions*. After you've translated everything, you may want to check the result of your efforts, run: ./locale/translate.sh which generates the translation tables, the mo files**. Then, edit ./lib/config.php and change the lines that set $LANG to make phpwiki use your language, to make them look like this: // Select your language - default language "C": English // other languages available: Dutch "nl", Spanish "es", German "de" // $LANG="C"; $LANG="fr"; Phpwiki should now speak french. If you're unfamiliar with GNU gettext and po files, you may find some information at http://www.iro.umontreal.ca/contrib/po/HTML/ If you succeed, you may also want to add instructions to this translation doco for phpwiki ;-) Good luck, Jan. *) you have to get the filenames for the templates right, e.g. **)translate.sh is a simple script that tries to replace the usual `make po po-update'. It actually does these things: * make the .pot file up to date * merge differences into all translated .po files * generate .mo files * generate legacy php3 translation dictionary [this is the hairiest part and should be dropped when we drop php3 support] -- Jan Nieuwenhuizen <ja...@gn...> | GNU LilyPond - The music typesetter http://www.xs4all.nl/~jantien | http://www.lilypond.org -- Jan Nieuwenhuizen <ja...@gn...> | GNU LilyPond - The music typesetter http://www.xs4all.nl/~jantien | http://www.lilypond.org |