From: Jan N. <ja...@gn...> - 2000-10-20 07:57:01
|
On Friday, 20 October 2000, Arno Hollosi writes: > I have finally rolled in Jan's patch. > Some slight modifications were needed. Okay, thanks. I've synced/merged and made a new patch with the remaining translations (and internationalisations) that I did. Greetings, Jan. diff -urN --exclude=CVS --exclude=*~ --exclude=#* ../phpwiki/lib/diff.php ./lib/diff.php --- ../phpwiki/lib/diff.php Thu Oct 19 23:36:50 2000 +++ ./lib/diff.php Fri Oct 20 09:06:30 2000 @@ -1,4 +1,4 @@ -<!-- $Id: diff.php,v 1.2 2000/10/19 21:36:50 ahollosi Exp $ --> +<!-- $Id: diff.php,v 1.9 2000/08/15 02:59:20 wainstead Exp $ --> <?php // diff.php // @@ -672,7 +672,7 @@ $x += -$edit; } if ($x != $xlim) - die("WikiDiff::apply: line count mismatch: $x != $xlim"); + die (sprintf (gettext ("WikiDiff::apply: line count mismatch: %s != %s"), $x, $xlim)); return $output; } @@ -732,7 +732,7 @@ { $test = $this->apply($from_lines); if (serialize($test) != serialize($to_lines)) - die("WikiDiff::_check: failed"); + die (gettext ("WikiDiff::_check: failed")); reset($this->edits); $prev = current($this->edits); @@ -742,11 +742,12 @@ { $type = is_array($edit) ? 'a' : ($edit > 0 ? 'c' : 'd'); if ( $prevtype == $type ) - die("WikiDiff::_check: edit sequence is non-optimal"); + die (gettext ("WikiDiff::_check: edit sequence is non-optimal")); $prevtype = $type; } $lcs = $this->lcs(); - echo "<strong>WikiDiff Okay: LCS = $lcs</strong>\n"; + printf ("<strong>" . gettext ("WikiDiff Okay: LCS = %s") . "</strong>", $lcs); + print ("\n"); } } @@ -984,28 +985,50 @@ // $dba = OpenDataBase($ArchivePageStore); $archive= RetrievePage($dbi, $pagename, $ArchivePageStore); - $html = '<table><tr><td align="right">Current page:</td>'; - if (is_array($wiki)) - $html .= "<td>version $wiki[version],</td><td>last modified on " - . date($datetimeformat, $wiki['lastmodified']) - . "</td><td>by $wiki[author]</td>"; - else - $html .= "<td colspan=3><em>None</em></td>"; - $html .= '</tr><tr><td align="right">Archived page:</td>'; - if (is_array($archive)) - $html .= "<td>version $archive[version],</td><td>last modified on " - . date($datetimeformat, $archive['lastmodified']) - . "</td><td>by $archive[author]</td>"; - else - $html .= "<td colspan=3><em>None</em></td>"; + $html = '<table><tr><td align="right">'; + $html .= gettext ("Current page:"); + $html .= '</td>'; + if (is_array($wiki)) { + $html .= "<td>"; + $html .= sprintf (gettext ("version %s"), $wiki[version]); + $html .= "</td><td>"; + $html .= sprintf (gettext ("last modified on %s"), + date($datetimeformat, $wiki['lastmodified'])); + $html .= "</td><td>"; + $html .= sprintf (gettext ("by %s"), $wiki[author]); + $html .= "</td>"; + } else { + $html .= "<td colspan=3><em>"; + $html .= gettext ("None"); + $html .= "</em></td>"; + } + $html .= "</tr>\n"; + $html .= '<tr><td align="right">'; + $html .= gettext ("Archived page:"); + $html .= '</td>'; + if (is_array($archive)) { + $html .= "<td>"; + $html .= sprintf (gettext ("version %s"), $archive[version]); + $html .= "</td><td>"; + $html .= sprintf (gettext ("last modified on %s"), + date($datetimeformat, $archive['lastmodified'])); + $html .= "</td><td>"; + $html .= sprintf (gettext ("by %"), $archive[author]); + $html .= "</td>"; + } else { + $html .= "<td colspan=3><em>"; + $html .= gettext ("None"); + $html .= "</em></td>"; + } $html .= "</tr></table><p>\n"; - if (is_array($wiki) && is_array($archive)) { $diff = new WikiDiff($archive['content'], $wiki['content']); - if ($diff->isEmpty()) - $html .= '<hr>[Versions are identical]'; + if ($diff->isEmpty()) { + $html .= '<hr>'; + $html .= gettext ("[Versions are identical]"); + } else { //$fmt = new WikiDiffFormatter; @@ -1014,7 +1037,7 @@ } } - GeneratePage('MESSAGE', $html, sprintf(gettext("Diff of %s."), - htmlspecialchars($pagename)), 0); + GeneratePage('MESSAGE', $html, sprintf (gettext ("Diff of %s."), + htmlspecialchars($pagename)), 0); } ?> diff -urN --exclude=CVS --exclude=*~ --exclude=#* ../phpwiki/lib/display.php ./lib/display.php --- ../phpwiki/lib/display.php Thu Oct 19 23:36:50 2000 +++ ./lib/display.php Fri Oct 20 09:39:55 2000 @@ -1,4 +1,4 @@ -<!-- $Id: display.php,v 1.3 2000/10/19 21:36:50 ahollosi Exp $ --> +<!-- $Id: display.php,v 1.8 2000/08/29 02:37:42 aredridel Exp $ --> <?php /* display.php: render a page. This has all the display @@ -11,7 +11,7 @@ if ($argv[0]) { $pagename = rawurldecode($argv[0]); } else { - $pagename = gettext("FrontPage"); + $pagename = gettext ("FrontPage"); // if there is no FrontPage, create a basic set of Wiki pages if (! IsWikiPage($dbi, $pagename)) { @@ -26,10 +26,11 @@ if (is_array($pagehash)) { // we render the page if it's a hash, else ask the user to write one. // This file returns a variable $html containing all the HTML markup - include("lib/transform.php"); + include "lib/transform.php"; } else { - $html .= sprintf(gettext("Describe %s here."), - "$pagename<a href='$ScriptUrl?edit=$enc_name'>?</a>"); + $html .= sprintf (gettext ("Describe %s here."), + "$pagename<a href='$ScriptUrl?edit=$enc_name'>?</a>"); + $html .= '\n'; } GeneratePage('BROWSE', $html, $pagename, $pagehash); diff -urN --exclude=CVS --exclude=*~ --exclude=#* ../phpwiki/lib/editlinks.php ./lib/editlinks.php --- ../phpwiki/lib/editlinks.php Sun Oct 8 19:33:26 2000 +++ ./lib/editlinks.php Fri Oct 13 12:30:03 2000 @@ -1,4 +1,4 @@ -<!-- $Id: editlinks.php,v 1.1 2000/10/08 17:33:26 wainstead Exp $ --> +<!-- $Id: editlinks.php,v 1.7 2000/08/29 02:37:42 aredridel Exp $ --> <?php // Thanks to Alister <al...@mi...> for this code. // This allows an arbitrary number of reference links. diff -urN --exclude=CVS --exclude=*~ --exclude=#* ../phpwiki/lib/editpage.php ./lib/editpage.php --- ../phpwiki/lib/editpage.php Fri Oct 20 00:25:45 2000 +++ ./lib/editpage.php Fri Oct 20 09:09:40 2000 @@ -1,4 +1,4 @@ -<!-- $Id: editpage.php,v 1.3 2000/10/19 22:25:45 ahollosi Exp $ --> +<!-- $Id: editpage.php,v 1.13 2000/08/29 02:37:42 aredridel Exp $ --> <?php // editpage relies on $pagename and $ScriptUrl @@ -16,21 +16,24 @@ if (get_magic_quotes_gpc()) { $pagename = stripslashes($pagename); } - $banner = htmlspecialchars("Copy of $pagename"); + $banner = htmlspecialchars (sprintf (gettext ("Copy of %s"), $pagename)); $pagehash = RetrievePage($dbi, $pagename, $ArchivePageStore); - } else - ExitWiki("No page name passed into editpage!"); + } else { + ExitWiki (gettext ("No page name passed into editpage!")); + } if (is_array($pagehash)) { if (($pagehash['flags'] & FLAG_PAGE_LOCKED) && !$admin_edit) { - $html = "<p>This page has been locked by the administrator\n" . - "and cannot be edited.\n" . - "<p>Sorry for the inconvinience.\n"; - GeneratePage('MESSAGE', $html, "Problem while editing $pagename", 0); - ExitWiki(''); + $html = "<p>"; + $html .= gettext ("This page has been locked by the administrator and cannot be edited."); + $html .= "\n<p>"; + $html .= gettext ("Sorry for the inconvinience."); + $html .= "\n"; + GeneratePage('MESSAGE', $html, sprintf (gettext ("Problem while editing %s"), $pagename), 0); + ExitWiki (""); } $textarea = implode("\n", $pagehash["content"]); @@ -44,8 +47,8 @@ $pagehash["copy"] = 1; } } else { - $textarea = sprintf(gettext("Describe %s here."), - htmlspecialchars($pagename)); + $textarea = sprintf (gettext ("Describe %s here."), + htmlspecialchars($pagename)); unset($pagehash); $pagehash["version"] = 0; } diff -urN --exclude=CVS --exclude=*~ --exclude=#* ../phpwiki/lib/fullsearch.php ./lib/fullsearch.php --- ../phpwiki/lib/fullsearch.php Sun Oct 8 19:33:26 2000 +++ ./lib/fullsearch.php Wed Oct 18 13:54:44 2000 @@ -1,4 +1,4 @@ -<!-- $Id: fullsearch.php,v 1.1 2000/10/08 17:33:26 wainstead Exp $ --> +<!-- $Id: fullsearch.php,v 1.10 2000/09/21 19:21:25 ahollosi Exp $ --> <?php /* Search the text of pages for a match. @@ -11,8 +11,10 @@ if(get_magic_quotes_gpc()) $full = stripslashes($full); - $result = "<P><B>Searching for \"" . htmlspecialchars($full) . - "\" ....</B></P>\n<DL>\n"; + $result = "<P><B>"; + $result .= sprintf (gettext ("Searching for \"%s\" ....."), + htmlspecialchars($full)); + $result .= "</B></P>\n<DL>\n"; // quote regexp chars $full = preg_quote($full); @@ -38,6 +40,9 @@ } } - $result .= "</dl>\n<hr noshade>$found matches found in $count pages.\n"; - GeneratePage('MESSAGE', $result, "Full Text Search Results", 0); + $result .= "</dl>\n<hr noshade>"; + $result .= sprintf (gettext ("%d matches found in %d pages."), + $found, $count); + $result .= "\n"; + GeneratePage('MESSAGE', $result, gettext ("Full Text Search Results"), 0); ?> diff -urN --exclude=CVS --exclude=*~ --exclude=#* ../phpwiki/lib/msql.php ./lib/msql.php --- ../phpwiki/lib/msql.php Fri Oct 20 00:25:45 2000 +++ ./lib/msql.php Fri Oct 20 09:14:11 2000 @@ -1,4 +1,4 @@ -<!-- $Id: msql.php,v 1.2 2000/10/19 22:25:45 ahollosi Exp $ --> +<!-- $Id: msql.php,v 1.16 2000/09/16 19:20:46 wainstead Exp $ --> <?php /* @@ -26,14 +26,16 @@ global $msql_db; if (! ($dbc = msql_connect())) { - $msg = "Cannot establish connection to database, giving up."; - $msg .= "<BR>Error message: " . msql_error(); - ExitWiki($msg); + $msg = gettext ("Cannot establish connection to database, giving up."); + $msg .= "<BR>"; + $msg .= sprintf (gettext ("Error message: %s"), msql_error ()); + ExitWiki ($msg); } if (!msql_select_db($msql_db, $dbc)) { - $msg = "Cannot open database $msql_db, giving up."; - $msg .= "<BR>Error message: " . msql_error(); - ExitWiki($msg); + $msg = gettext ("Cannot open database %s, giving up."); + $msg .= "<BR>"; + $msg .= sprintf (gettext ("Error message: %s"), msql_error ()); + ExitWiki ($msg); } $dbi['dbc'] = $dbc; @@ -194,8 +196,10 @@ // first, insert the metadata $retval = msql_query($query, $dbi['dbc']); - if ($retval == false) - echo "Insert/update failed: ", msql_error(), "<br>\n"; + if ($retval == false) { + printf (gettext ("Insert/update failed: %s"), msql_error ()); + printf ("<br>\n"); + } // second, insert the page data @@ -203,8 +207,11 @@ $query = "delete from $dbi[page_table] where pagename='$pagename'"; // echo "Delete query: $query<br>\n"; $retval = msql_query($query, $dbi['dbc']); - if ($retval == false) - echo "Delete on $dbi[page_table] failed: ", msql_error(), "<br>\n"; + if ($retval == false) { + printf (gettext ("Delete on %s failed: %s"), $dbi[page_table], + msql_error()); + printf ("<br>\n"); + } // insert the new lines reset($pagehash["content"]); @@ -217,8 +224,8 @@ // echo "Page line insert query: $query<br>\n"; $retval = msql_query($query, $dbi['dbc']); if ($retval == false) - echo "Insert into $dbi[page_table] failed: ", - msql_error(), "<br>\n"; + printf (gettext ("Insert into %s failed: %s"), $dbi[page_table], + msql_error() "<br>\n"); } @@ -267,7 +274,7 @@ // first, insert the metadata $retval = msql_query($query, $dbi['dbc']); if ($retval == false) - echo "Insert/update failed: ", msql_error(), "<br>\n"; + printf (gettext ("Insert/update failed: %s"), msql_error() . "<br>\n"); // second, insert the page data @@ -275,8 +282,11 @@ $query = "delete from $ArchivePageStore[page_table] where pagename='$pagename'"; // echo "Delete query: $query<br>\n"; $retval = msql_query($query, $dbi['dbc']); - if ($retval == false) - echo "Delete on $ArchivePageStore[page_table] failed: ", msql_error(), "<br>\n"; + if ($retval == false) { + printf (gettext ("Delete on %s failed: %s"), + $ArchivePageStore[page_table], msql_error()); + print ("<br>\n"); + } // insert the new lines reset($pagehash["content"]); @@ -288,10 +298,11 @@ "VALUES('$pagename', $x, '$line')"; // echo "Page line insert query: $query<br>\n"; $retval = msql_query($query, $dbi['dbc']); - if ($retval == false) - echo "Insert into $ArchivePageStore[page_table] failed: ", - msql_error(), "<br>\n"; - + if ($retval == false) { + printf (gettext ("Insert into %s failed: %s"), + $ArchivePageStore[page_table], msql_error()); + printf ("<br>\n"); + } } diff -urN --exclude=CVS --exclude=*~ --exclude=#* ../phpwiki/lib/mysql.php ./lib/mysql.php --- ../phpwiki/lib/mysql.php Fri Oct 20 00:25:45 2000 +++ ./lib/mysql.php Fri Oct 20 09:17:06 2000 @@ -1,4 +1,4 @@ -<?php rcs_id('$Id: mysql.php,v 1.2 2000/10/19 22:25:45 ahollosi Exp $'); +<?php rcs_id('$Id: mysql.php,v 1.16 2000/09/23 14:31:06 ahollosi Exp $'); /* Database functions: @@ -30,14 +30,16 @@ global $mysql_server, $mysql_user, $mysql_pwd, $mysql_db; if (!($dbc = mysql_pconnect($mysql_server, $mysql_user, $mysql_pwd))) { - $msg = "Cannot establish connection to database, giving up."; - $msg .= "<br>MySQL error: " . mysql_error(); - ExitWiki($msg); + $msg = gettext ("Cannot establish connection to database, giving up."); + $msg .= "<BR>"; + $msg .= sprintf (gettext ("MySQL error: %s"), msql_error ()); + ExitWiki ($msg); } if (!mysql_select_db($mysql_db, $dbc)) { - $msg = "Cannot open database, giving up."; - $msg .= "<br>MySQL error: " . mysql_error(); - ExitWiki($msg); + $msg = gettext ("Cannot open database, giving up."); + $msg .= "<BR>"; + $msg .= sprintf (gettext ("MySQL error: %s"), msql_error ()); + ExitWiki ($msg); } $dbi['dbc'] = $dbc; $dbi['table'] = $dbname; @@ -108,8 +110,9 @@ if (!mysql_query("replace into $dbi[table] ($COLUMNS) values ($VALUES)", $dbi['dbc'])) { - $msg = "Error writing page '$pagename' " . mysql_error(); - ExitWiki($msg); + $msg = sprintf (gettext ("error writing page '%s'"), $pagename); + echo mysql_error (); + ExitWiki (""); } } diff -urN --exclude=CVS --exclude=*~ --exclude=#* ../phpwiki/lib/pageinfo.php ./lib/pageinfo.php --- ../phpwiki/lib/pageinfo.php Thu Oct 19 23:36:50 2000 +++ ./lib/pageinfo.php Fri Oct 20 09:17:35 2000 @@ -1,4 +1,4 @@ -<!-- $Id: pageinfo.php,v 1.3 2000/10/19 21:36:50 ahollosi Exp $ --> +<!-- $Id: pageinfo.php,v 1.7 2000/08/29 02:37:42 aredridel Exp $ --> <!-- Display the internal structure of a page. Steve Wainstead, June 2000 --> <?php if (get_magic_quotes_gpc()) { @@ -63,5 +63,5 @@ // $dbi = OpenDataBase($ArchivePageStore); $html .= ViewPageProps($info, $ArchivePageStore); - GeneratePage('MESSAGE', $html, gettext("PageInfo").": '$info'", 0); + GeneratePage('MESSAGE', $html, gettext("PageInfo"), 0); ?> diff -urN --exclude=CVS --exclude=*~ --exclude=#* ../phpwiki/lib/savepage.php ./lib/savepage.php --- ../phpwiki/lib/savepage.php Thu Oct 19 23:36:50 2000 +++ ./lib/savepage.php Fri Oct 13 12:35:17 2000 @@ -1,4 +1,4 @@ -<!-- $Id: savepage.php,v 1.2 2000/10/19 21:36:50 ahollosi Exp $ --> +<!-- $Id: savepage.php,v 1.16 2000/08/29 02:37:42 aredridel Exp $ --> <?php /* @@ -57,8 +57,8 @@ // create page header $enc_url = rawurlencode($pagename); $enc_name = htmlspecialchars($pagename); - $html = sprintf(gettext("Thank you for editing %s."), - "<a href=\"$ScriptUrl?$enc_url\">$enc_name</a>"); + $html = sprintf (gettext ("Thank you for editing %s."), + "<a href=\"$ScriptUrl?$enc_url\">$enc_name</a>"); $html .= "<br>\n"; if (! empty($content)) { @@ -98,7 +98,7 @@ } $html .= "<P><img src=\"$SignatureImg\"></P><hr noshade><P>"; - include("lib/transform.php"); + include "lib/transform.php"; GeneratePage('BROWSE', $html, $pagename, $pagehash); ?> diff -urN --exclude=CVS --exclude=*~ --exclude=#* ../phpwiki/lib/search.php ./lib/search.php --- ../phpwiki/lib/search.php Sun Oct 8 19:33:26 2000 +++ ./lib/search.php Fri Oct 13 12:30:03 2000 @@ -1,4 +1,4 @@ -<!-- $Id: search.php,v 1.1 2000/10/08 17:33:26 wainstead Exp $ --> +<!-- $Id: search.php,v 1.6 2000/08/29 02:37:42 aredridel Exp $ --> <?php // Title search: returns pages having a name matching the search term diff -urN --exclude=CVS --exclude=*~ --exclude=#* ../phpwiki/lib/setupwiki.php ./lib/setupwiki.php --- ../phpwiki/lib/setupwiki.php Sun Oct 8 19:33:26 2000 +++ ./lib/setupwiki.php Fri Oct 13 15:15:38 2000 @@ -1,6 +1,6 @@ -<!-- $Id: setupwiki.php,v 1.1 2000/10/08 17:33:26 wainstead Exp $ --> +<!-- $Id: setupwiki.php,v 1.15 2000/08/29 02:37:42 aredridel Exp $ --> <?php -require 'lib/ziplib.php'; +require "lib/ziplib.php"; function SavePage ($dbi, $page, $source) { @@ -18,8 +18,10 @@ SaveCopyToArchive($dbi, $pagename, $current); } - printf("Inserting page <b>%s</b>, version %s from %s<br>\n", - htmlspecialchars($pagename), $version, $source); + printf (gettext ("Inserting page %s, version %s from %s"), + "<b>" . htmlspecialchars ($pagename) . "</b>", $version, $source); + print ("<br>\n"); + flush(); InsertPage($dbi, $pagename, $page); } diff -urN --exclude=CVS --exclude=*~ --exclude=#* ../phpwiki/lib/stdlib.php ./lib/stdlib.php --- ../phpwiki/lib/stdlib.php Fri Oct 20 00:25:45 2000 +++ ./lib/stdlib.php Fri Oct 20 09:38:50 2000 @@ -1,4 +1,4 @@ -<!-- $Id: stdlib.php,v 1.3 2000/10/19 22:25:45 ahollosi Exp $ --> +<!-- $Id: stdlib.php,v 1.29 2000/09/23 14:31:06 ahollosi Exp $ --> <?php /* Standard functions for Wiki functionality @@ -17,7 +17,7 @@ UpdateRecentChanges($dbi, $pagename, $isnewpage) ParseAndLink($bracketlink) ExtractWikiPageLinks($content) - ExitWiki($errormsg) + ExitWiki($errormsg) */ @@ -33,7 +33,10 @@ CloseDataBase($dbi); if($errormsg <> '') { - print "<P><hr noshade><h2>WikiFatalError</h2>\n"; + $msg = "<P><hr noshade><h2>"; + $msg .= gettext("WikiFatalError"); + $msg .= "</h2>\n"; + print ($msg); print $errormsg; print "\n</BODY></HTML>"; } @@ -49,7 +52,9 @@ $links = GetWikiPageLinks($dbi, $pagename); - $txt = "<b>" . NUM_RELATED_PAGES . " best incoming links:</b>\n"; + $txt = "<b>"; + $txt .= sprintf (gettext ("%d best incoming links:"), NUM_RELATED_PAGES); + $txt .= "</b>\n"; for($i = 0; $i < NUM_RELATED_PAGES; $i++) { if(isset($links['in'][$i])) { list($name, $score) = $links['in'][$i]; @@ -57,7 +62,9 @@ } } - $txt .= "\n<br><b>" . NUM_RELATED_PAGES . " best outgoing links:</b>\n"; + $txt .= "\n<br><b>"; + $txt .= sprintf (gettext ("%d best outgoing links:"), NUM_RELATED_PAGES); + $txt .= "</b>\n"; for($i = 0; $i < NUM_RELATED_PAGES; $i++) { if(isset($links['out'][$i])) { list($name, $score) = $links['out'][$i]; @@ -66,7 +73,9 @@ } } - $txt .= "\n<br><b>" . NUM_RELATED_PAGES . " most popular nearby:</b>\n"; + $txt .= "\n<br><b>"; + $txt .= sprintf (gettext ("%d most popular nearby:"), NUM_RELATED_PAGES); + $txt .= "</b>\n"; for($i = 0; $i < NUM_RELATED_PAGES; $i++) { if(isset($links['popular'][$i])) { list($name, $score) = $links['popular'][$i]; @@ -279,7 +288,7 @@ $stack->push($tag); if ($stack->cnt() > 10) { // arbitrarily limit tag nesting - ExitWiki("Stack bounds exceeded in SetHTMLOutputMode"); + ExitWiki (gettext ("Stack bounds exceeded in SetHTMLOutputMode")); } } @@ -314,8 +323,9 @@ $stack->push($tag); } - } else { // error - ExitWiki("Passed bad tag depth value in SetHTMLOutputMode"); + } else { + // error + ExitWiki ("Passed bad tag depth value in SetHTMLOutputMode"); } return $retvar; @@ -333,7 +343,8 @@ global $ScriptUrl; global $WikiPageStore; - $recentchanges = RetrievePage($dbi, gettext("RecentChanges"), $WikiPageStore); + $recentchanges = RetrievePage($dbi, gettext ("RecentChanges"), + $WikiPageStore); // this shouldn't be necessary, since PhpWiki loads // default pages if this is a new baby Wiki @@ -395,7 +406,7 @@ $recentchanges["content"] = $newpage; - InsertPage($dbi, gettext("RecentChanges"), $recentchanges); + InsertPage($dbi, gettext ("RecentChanges"), $recentchanges); } @@ -506,5 +517,5 @@ } return $wikilinks; - } + } ?> diff -urN --exclude=CVS --exclude=*~ --exclude=#* ../phpwiki/lib/ziplib.php ./lib/ziplib.php --- ../phpwiki/lib/ziplib.php Sun Oct 8 19:33:26 2000 +++ ./lib/ziplib.php Fri Oct 13 12:32:57 2000 @@ -1,4 +1,4 @@ -<?php rcs_id("$Id: ziplib.php,v 1.1 2000/10/08 17:33:26 wainstead Exp $"); +<?php rcs_id("$Id: ziplib.php,v 1.7 2000/08/29 02:37:42 aredridel Exp $"); //FIXME: get rid of this. function warn ($msg) Binary files ../phpwiki/locale/nl/LC_MESSAGES/phpwiki.mo and ./locale/nl/LC_MESSAGES/phpwiki.mo differ diff -urN --exclude=CVS --exclude=*~ --exclude=#* ../phpwiki/locale/nl/LC_MESSAGES/phpwiki.php ./locale/nl/LC_MESSAGES/phpwiki.php --- ../phpwiki/locale/nl/LC_MESSAGES/phpwiki.php Thu Oct 19 23:49:52 2000 +++ ./locale/nl/LC_MESSAGES/phpwiki.php Fri Oct 20 09:42:04 2000 @@ -2,25 +2,95 @@ $locale["./pgsrc"] = "./locale/nl/pgsrc"; $locale["templates/browse.html"] = - "./locale/nl/templates/browse.html"; + "locale/nl/templates/browse.html"; $locale["templates/editpage.html"] = - "./locale/nl/templates/editpage.html"; + "locale/nl/templates/editpage.html"; $locale["templates/editlinks.html"] = - "./locale/nl/templates/editlinks.html"; + "locale/nl/templates/editlinks.html"; $locale["templates/message.html"] = - "./locale/nl/templates/message.html"; + "locale/nl/templates/message.html"; +$locale["WikiDiff::apply: line count mismatch: %s != %s"] = + ""; +$locale["WikiDiff::_check: failed"] = + ""; +$locale["WikiDiff::_check: edit sequence is non-optimal"] = + ""; +$locale["WikiDiff Okay: LCS = %s"] = + ""; +$locale["Current page:"] = + "Huidige pagina:"; +$locale["version %s"] = + "versie %s"; +$locale["last modified on %s"] = + "laatste verandering op %s"; +$locale["by %s"] = + "door %s"; +$locale["None"] = + "Geen"; +$locale["Archived page:"] = + "Gearchiveerde pagina:"; +$locale["by %"] = + "door %s"; +$locale["[Versions are identical]"] = + "[Versies zijn identiek]"; $locale["Diff of %s."] = "Diff van %s."; $locale["FrontPage"] = "VoorPagina"; $locale["Describe %s here."] = "Beschrijf %s hier."; +$locale["Copy of %s"] = + "Kopie van %s"; +$locale["No page name passed into editpage!"] = + "Geen paginanaam doorgegeven aan veranderpagina"; +$locale["This page has been locked by the administrator and cannot be edited."] = + ""; +$locale["Sorry for the inconvinience."] = + "Excuses voor het ongemak."; +$locale["Problem while editing %s"] = + "Probleem tijdens veranderen %s"; +$locale["Searching for \"%s\" ....."] = + "Zoeken naar \"%s\" ..."; +$locale["%d matches found in %d pages."] = + "%d keer gevonden in %d pagina's."; +$locale["Full Text Search Results"] = + "Volledige tekst zoek resultaten"; +$locale["Cannot establish connection to database, giving up."] = + "Kan verbinding naar data base niet tot stand brengen, geef op."; +$locale["Error message: %s"] = + "Foutboodschap: %s"; +$locale["Cannot open database %s, giving up."] = + "Kan data base %s niet openen, geef op."; +$locale["Insert/update failed: %s"] = + "Insert/update gefaald: %s"; +$locale["Delete on %s failed: %s"] = + "Delete op %s gefaald: %s"; +$locale["Insert into %s failed: %s"] = + "Insert in %s gefaald: %s"; +$locale["MySQL error: %s"] = + "MySQL fout: %s"; +$locale["Cannot open database, giving up."] = + "Kan data base niet openen, geef op."; +$locale["error writing page '%s'"] = + "fout bij schrijven pagina `%s'"; $locale["PageInfo"] = "PaginaInfo"; $locale["Thank you for editing %s."] = "Bedankt voor het veranderen van %s."; $locale["Your careful attention to detail is much appreciated."] = "Je zorgvuldige aandacht voor detail wordt erg gewaardeerd."; +$locale["Inserting page %s, version %s from %s"] = + "Voeg pagina %s toe, versie %s van %s"; +$locale["WikiFatalError"] = + "WikiFataleFout"; +$locale["%d best incoming links:"] = + "%d beste inkomende koppelingen:"; +$locale["%d best outgoing links:"] = + "%d beste uitgaande koppelingen:"; +$locale["%d most popular nearby:"] = + "%d meest gevraagde in de buurt:"; +$locale["Stack bounds exceeded in SetHTMLOutputMode"] = + ""; $locale["RecentChanges"] = "RecenteVeranderingen"; ?> diff -urN --exclude=CVS --exclude=*~ --exclude=#* ../phpwiki/locale/nl/pgsrc/HoeWikiTeGebruiken ./locale/nl/pgsrc/HoeWikiTeGebruiken --- ../phpwiki/locale/nl/pgsrc/HoeWikiTeGebruiken Thu Oct 19 23:36:50 2000 +++ ./locale/nl/pgsrc/HoeWikiTeGebruiken Fri Oct 13 15:17:39 2000 @@ -1,36 +1,53 @@ -''"Wiki wiki"'' means "quick" in Hawai'ian. +''"Wiki wiki"'' betekent "vlug" in het Hawaiiaans. -'''All you really need to know is:''' +'''Alles wat je echt moet weten is:''' - * To edit any page click on the Edit Text link at the bottom of -the page. You should do that right now, and read the source code of this -page. It will make more sense. - * You get italics by surrounding words with two single quotes on -either side ''like this''. - * You get '''bold text''' by using three quotes on either side. - * And, '''''bold italics''''' with five. - * You get bullets by using a tab and an asterisk * - * If you use Windows, you can't use your tab key. It's Bill Gates's fault. But you can check the little box that says Convert Spaces To Tabs. You can type a bunch of spaces and the Wiki will recognize them as a tab. - * To have plain monospaced font, indent with a space: + * Om een pagina te veranderen, klik op de Verander Tekst koppeling +onderaan de desbetreffende pagina. Doe dat nu maar, en lees de bron tekst +van deze pagina. Dat is wat zinvoller. + * Je maakt schuingedrukte tekst door woorden tussen enkele +aanhalingtekens te zetten ''zoals dit''. + * Je maakt '''vette tekst''' door aan weerszijden drie +aanhalingtekens te gebruiken. + * En, '''''vet schuingedrukt''''' met vijf. + * Je maakt punten met een tab en een sterretje *. + * Als je Windows gebruikt, dan werkt je tab toets niet. Dat is de +schuld van Bill Gates. Maar je kunt het kleine knopje indrukken, genaamd +Vertaal Spaties Naar Tabs. Je kunt een stel spaties tiepen die Wiki dan +herkent als ware ze een tab. + * Om een gewoon, niet proportioneel font te krijgen, spring in met een +spatie: + + dit is een gedicht + niet over proportioneel + niks rijmt op gedicht + wat rijmt op niet proportioneel - this is a poem - about monospacing - nothing rhymes with poem - nothing rhymes with monospacing + * Je kunt alinea's van elkaar scheiden met een lege regel. Voorbeeld: - * You can seperate paragraphs with an extra blank line. Example: +Ik ben een alinea. -I am a paragraph. +Ik ben ook een aline. We zijn gewoon erg korte alinea's. -I am a paragraph too. We're just very small paragraphs. - - - * You can get horizontal rules with four or more dashes like this: + * Je maakt een horizontale lijn met vier of meer streepjes zoals hier: ---- - * To create hyperlinks you just capitalize the words and string them together. Let's say you want to create a page about how Steve Wainstead eats worms. All you have to do is capitalize each word and string them together like this: SteveWainsteadEatsWorms. If the page does not exist yet a question mark appears after the link, inviting you to create the page: ThisPageShouldNotExist. (And please don't ruin the example by creating one.) - * To link to pages outside the Wiki, you can just type in the URL and Wiki will link it for you: http://www.nytimes.com/ -* To put images in, just provide the hyperlink in brackets like this: [[http://www.yourhost.yourdomain/images/picture.png]. Image URLs not in brackets will just appear as hyperlinks to the image. - * Now you are ready to begin AddingPages. + * Om hyperkoppelingen te maken hoef je slechts de woorden met +hoofdletters en aan elkaar te schrijven. Laten we zeggen dat je een pagina +wilt maken over die Jan Nieuwenhuizen eet wormen. Het enige dat je hoeft +te doen is elk woord met een hoofdletter beginen en ze aan elkaar schrijven: +JanNieuwenhuizenEetWormen. Als de pagina nog niet bestaat, verschijnt er een +vraagteken achter de koppeling, die je uitnodigt om de pagina aan te maken: +DezePaginaMagNietBestaan. (Verpest dit voorbeeld nou alsjeblieft niet door +er een aan te maken.) + * Om naar pagina's buiten de Wiki te koppelen, tiep je gewoon de URL +in en Wiki maakt de koppelinig voor jou: http://www.volkskrant.nl/. + * Om plaatjes in te voegen, zet de koppeling gewoon tussen vierkante +haken zoals hier: [http://www.jouwgastheer.jouwdomein/plaatjes/figuur.png]. +URLs naar plaatjes die niet tussen vierkante haken staan, verschijnen als +een gewone koppeling naar het plaatje. + * Nu ben je klaar om te beginnen met PaginasToevoegen. ---- -A WikiWikiWeb is meant to be fast and easy to edit. It has very simple markup that you can read about in TextFormattingRules. +Een WikiWikiWeb is bedoeld om snel en gemakkelijk te kunnen veranderen. Het +heeft een erg eenvoudige formattering waarover je kunt lezen in +TekstFormatteringsRegels. diff -urN --exclude=CVS --exclude=*~ --exclude=#* ../phpwiki/locale/nl/pgsrc/JanNieuwenhuizen ./locale/nl/pgsrc/JanNieuwenhuizen --- ../phpwiki/locale/nl/pgsrc/JanNieuwenhuizen Thu Oct 19 23:36:50 2000 +++ ./locale/nl/pgsrc/JanNieuwenhuizen Fri Oct 13 15:46:48 2000 @@ -1,3 +1,4 @@ -Hallo. Ik heb dit WikiWikiWeb in het nederlands vertaald. Ik ben op http://www.xs4all.nl/~jantien. +Hallo. Ik heb dit WikiWikiWeb geinternationaliseerd en de eerste nederlandse +vertaling gemaakt. Ik ben soms op http://www.xs4all.nl/~jantien. Meldt onjuistheden in de vertaling aan mailto:ja...@gn.... diff -urN --exclude=CVS --exclude=*~ --exclude=#* ../phpwiki/locale/nl/pgsrc/MeestBezocht ./locale/nl/pgsrc/MeestBezocht --- ../phpwiki/locale/nl/pgsrc/MeestBezocht Thu Oct 19 23:36:50 2000 +++ ./locale/nl/pgsrc/MeestBezocht Mon Oct 16 11:05:53 2000 @@ -1,4 +1,4 @@ -The 20 most popular pages of this wiki: -(hitcount, pagename) +De 20 meestbezochte pagina's van deze Wiki: +(teller, pagina) %%Mostpopular%% diff -urN --exclude=CVS --exclude=*~ --exclude=#* ../phpwiki/locale/nl/pgsrc/PaginasToevoegen ./locale/nl/pgsrc/PaginasToevoegen --- ../phpwiki/locale/nl/pgsrc/PaginasToevoegen Thu Oct 19 23:36:50 2000 +++ ./locale/nl/pgsrc/PaginasToevoegen Mon Oct 16 10:31:54 2000 @@ -1,11 +1,22 @@ -To add a new page to Wiki, all you have to do is come up with a meaningful title, capatalize all the words and StringThemTogetherLikeThis. Wiki automagically recognizes it as a hyperlink. +Voor het toevoegen van een nieuwe pagina aan Wiki, hoef je alleen maar een +zinvolle titel de bedenken, de woorden met een hoofdletter te beginnen, en +ZeAanElkaarTeSchrijvenZoalsDit. Wiki herkent dit automagisch als een +koppeling. -Then you can go ahead and ClickTheQuestionMark at the end of your new hyperlink, and the Wiki will give you a window for making the new page. +Daarna kun je verder gaan en HetVraagtekenAanKlikken vlak na je nieuwe +koppeling, dan geeft Wiki je een venster voor het maken van de nieuwe pagina. If you wish to add documents with complex markup to the Wiki, you might be better off providing a URL to it than trying to add the text of the document here, like so: - PhpWiki project homepage: http://wcsb.org/~swain/php/wiki/ +Als je documenten met een gecompliceerde opmaak aan Wiki toe wilt voegen, +kun je misschien beter een URL geven dan de tekst van het document hier +in proberen te tiepen, zoals: -The Wiki does not support HTML tags (see TextFormattingRules). <tags>They will just render like text.</tags> Wiki is meant to be as simple as possible to encourage use. + PhpWiki project pagina: http://wcsb.org/~swain/php/wiki/ -Note that there is a feature that your system administrator can enable to allow embedded HTML, but there are security risks involved. +Wiki ondersteunt geen HTML tags (zie TekstFormmateringsRegels). <tags>Die +zien er gewoon uit als tekst.</tags> De bedoeling van Wiki is zo eenvoudig +mogelijk zijn, om gebruik aan te moedigen. + +Noot dat er een kunstje is dat je systeembeheerder aan kan zetten om +ingebedde HTML toe te staan, maar hier zijn beveiligingsrisiko's mee gemoeid. diff -urN --exclude=CVS --exclude=*~ --exclude=#* ../phpwiki/locale/nl/pgsrc/RecenteBezoekers ./locale/nl/pgsrc/RecenteBezoekers --- ../phpwiki/locale/nl/pgsrc/RecenteBezoekers Thu Oct 19 23:36:50 2000 +++ ./locale/nl/pgsrc/RecenteBezoekers Fri Oct 13 15:18:58 2000 @@ -1,6 +1,6 @@ Onderteken hieronder met naam en datum! Jeff Dairiki, Arno Hollosi, SteveWainstead, Php Wiki authors -JanNieuwenhuizen, Php Wiki vertaler. +JanNieuwenhuizen, Php Wiki internationaliseerder en vertaler. diff -urN --exclude=CVS --exclude=*~ --exclude=#* ../phpwiki/locale/nl/pgsrc/SteveWainstead ./locale/nl/pgsrc/SteveWainstead --- ../phpwiki/locale/nl/pgsrc/SteveWainstead Thu Oct 19 23:36:50 2000 +++ ./locale/nl/pgsrc/SteveWainstead Thu Oct 19 11:36:21 2000 @@ -1,4 +1,5 @@ -Hi. I built this WikiWikiWeb. I'm at http://wcsb.org/~swain/. - -Please report bugs to mailto:sw...@pa... - +Hi. I built this WikiWikiWeb. I'm at http://wcsb.org/~swain/. + +Please report bugs to mailto:php...@li... + + diff -urN --exclude=CVS --exclude=*~ --exclude=#* ../phpwiki/locale/nl/pgsrc/TekstFormatteringsRegels ./locale/nl/pgsrc/TekstFormatteringsRegels --- ../phpwiki/locale/nl/pgsrc/TekstFormatteringsRegels Thu Oct 19 23:36:50 2000 +++ ./locale/nl/pgsrc/TekstFormatteringsRegels Mon Oct 16 10:32:16 2000 @@ -1,90 +1,115 @@ -'''Paragraphs''' +'''Alinea's''' - * Don't Indent paragraphs + * Spring alinea's niet in (zoals engelstaligen dat doen). - * Words wrap and fill as needed + * Begin een nieuwe regel en vul uit waar nodig. - * Use blank lines as separators + * Gebruik lege regels als scheiding. - * Four or more minus signs make a horizontal rule + * Vier of meer mintekens maken een horizontale lijn. - * %%''''% makes a linebreak (in headings and lists too) + * %%''''% maakt een regelbreuk (ook in koppen en lijsten). -'''Lists''' +'''Lijsten''' - * tab-* for first level + * tab-* voor niveau een. - * tab-tab-* for second level, etc. + * tab-tab-* voor niveau twee, enz. - * Use * for bullet lists, 1. for numbered lists (mix at will) + * Gebuik * voor gepunteerde lijsten, 1. genummerde lijsten (meng +maar wat raak). - * tab-Term:-tab Definition for definition lists + * tab-Term:-tab Term voor definitie lijsten. - * One line for each item + * Een regel voor elk punt. * Other leading whitespace signals preformatted text, changes font. + * Andere witruimte aan het begin betekent geformatteerde tekst en +verandert het font. -'''Headings''' - * '!' at the start of a line makes a small heading +'''Koppen''' - * '!!' at the start of a line makes a medium heading + * '!' aan het begin van een regel maakt een kleine kop. - * '!!!' at the start of a line makes a large heading + * '!!' aan het begin van een regel maakt een middelgrote kop. + * '!!!' aan het begin van een regel maakt een grote kop. -'''Fonts''' - * Indent with one or more spaces to use a monospace font: - This is in monospace -This is not +'''Lettertypen''' + * Spring in met een of meer spaties voor een niet proportioneel font: -'''Indented Paragraphs''' -''(Quotes)'' + Dit is niet proportioneel +En dit lekker wel. - * tab-space-:-tab -- often used (with emphasis) for quotations. (See SimulatingQuoteBlocks) +'''Ingesprongen Alinea's''' +''(Citaten)'' -'''Emphasis''' + * tab-space-:-tab -- veel gebruikt (met nadruk) voor citaten. (Zie +BlokCitatenNadoen) - * Use doubled single-quotes ('') for emphasis (usually italics) - * Use tripled single-quotes (''') for strong emphasis (usually bold) +'''Nadruk''' - * Use five single-quotes ('''''), or triples within doubles, for some other kind of emphasis (BoldItalicInWiki), but be careful about the bugs in the Wiki emphasis logic... + * Gebruik twee enkele aanhalingtekens ('') voor nadruk (meestal +schuin). - * Emphasis can be used multiple times within a line, but cannot cross line boundaries + * Gebuik drie enkele aanhalingtekens (''') voor sterke nadruk (meestal +vet). + * Gebruik vijf enkele aanhalingstekens ('''''), of drie binnen dubbele, +voor een ander soort van nadruk (VetSchuinInWiki), maar wees voorzichtig met +luizen in de Wiki nadruk logica... -'''References''' - * Hyperlinks to other pages within the Wiki are made by placing the page name in square brackets: [this is a page link] + * Nadruk kan meerdere malen in een regel worden gebruikt, maar kan +regelbreuken niet oversteken. - * Hyperlinks to external pages are done like this: [http://www.wcsb.org/] - * You can name the links to the external pages by providing a name, a bar (|) and then the hyperlink: [Steve's home page | http://wcsb.org/~swain/] +'''Verwijzingen''' - * Old Wiki linking is still supported: JoinCapitalizedWords to make local references + * Koppelingen naar andere pagina's binnen de Wiki worden gemaakt door +de naam van de pagina in vierkante haken te zetten: +[dit is een paginakoppeling]. - * You can suppress linking to old-style references by preceeding the word with a '!', e.g. !NotLinkedAsWikiName + * Koppelingen naar externe pagina's gaan zo: [http://www.lilypond.org]. - * [1], [2], [3], [4] refer to remote references. Click EditLinks on the edit form to enter URLs. These differ from the newer linking scheme; references are unique to a page. + * Je kunt de koppelingen naar externe pagina's een naam geven, door +het tiepen van naam, een staaf (|) en dan de koppeling: [Jan's thuispagina | +http://www.xs4all.nl/~jantien]. - * Also, the old way of linking URL's is still supported: precede URLs with "http:", "ftp:" or "mailto:" to create links automatically as in: http://c2.com/ + * Oude Wiki koppeling wordt nog steeds ondersteund: +KapitaliseerEnSchrijfAanElkaar voor het maken van lokale verwijzingen. - * URLs ending with .png are inlined ''if inserted as a remote reference'' + * Je kunt koppelen naar oude stijl verwijzingen onderdrukken door +een '!' voor de woorden te tiepen: !NietGekoppeldAlsWikiNaam. + * [1], [2], [3], [4] verwijzen naar externe verwijzingen. Klik +VeranderKoppelingen op het veranderformulier voor het intiepen van de URLs. +Deze zijn anders dan de nieuwere manier van koppelen; verwijzingen zijn +per pagina uniek. -'''Mark-Up Language''' + * De oude manier van URL koppeling wordt nog steeds ondersteund: +tiep voor de URLs "http:", "ftp:' of "mailto:" ome een automatische koppeling +te maken, als in: http://c2.com/. - * Don't bother + * URLs die eindigen op .png worden ingebed ''wanneer ingevoerd als +een externe verwijzing''. - * < and > are themselves - * The & characters will not work +'''Opmaak Taal''' - * If you really must use HTML, start each line with a bar (|). Note that this featured must be enabled by the system administrator. + * Doe geen moeite. + * < en > zijn zichzelf. + + * De & tekens werken toch niet. + + * Als je nou echt zo nodig HTML moet gebruiken, begin elke regel met +een staaf (|). Noot dat dit kunstje mogelijk gemaakt moet worden door +de systeembeheerder. diff -urN --exclude=CVS --exclude=*~ --exclude=#* ../phpwiki/locale/nl/pgsrc/TestPagina ./locale/nl/pgsrc/TestPagina --- ../phpwiki/locale/nl/pgsrc/TestPagina Thu Oct 19 23:36:50 2000 +++ ./locale/nl/pgsrc/TestPagina Sun Oct 15 14:33:17 2000 @@ -1,122 +1,126 @@ - New lists: astericks and hash marks -* bullet -* l1 -** l2 -** l2 -*** l3 -# one -#two -#three -*****l5 -***l3 -*l1 - preformatted text -** l2 + Nieuwe lijsten: sterretjes en hekjes +* punt +* n1 +** n2 +** n2 +*** n3 +# een +#twee +#drie +*****n5 +***n3 +*n1 + geformatteerde tekst +** n2 ---- - * level 1 - * l1 - *l2 - *l2 - *l3 - *l3 - *l4 - *l3 - *l5 - *l3 - #one - #two - #one - #two - *l1 - #three - #four - *l1 - *l2 - # one - # two - - preformatted text - some more text - - *l1 - *l4 - # number - # number -this is a plain paragraph - * bullet -this is a plain paragraph again - # number + * niveau 1 + * n1 + *n2 + *n2 + *n3 + *n3 + *n4 + *n3 + *n5 + *n3 + #een + #twee + #een + #twee + *n1 + #drie + #vier + *n1 + *n2 + # een + # twee + + geformatteerde tekst + nog wat tekst + + *n1 + *n4 + # nummer + # nummer +dit is een platte alinea + * punt +dit is alweer een platte alinea + # nummer ---- -__Link tests__ -# FrontPage -# [FrontPage] -# Link in brackets: [http://phpwiki.sourceforge.net] -# Link outside brackets: http://phpwiki.sourceforge.net/ -# Link with Wiki word: http://phpwiki.sourceforge.net/phpwiki/index.php3?FrontPage -# Two consecutive links: http://phpwiki.sourceforge.net/ http://phpwiki.sourceforge.net/phpwiki/ -# [PhpWiki on Sourceforge | http://phpwiki.sourceforge.net/] -# [URL with a WikiWord | http://phpwiki.sourceforge.net/phpwiki/index.php3?RecentChanges] -# Javascript: [boo! | javascript:alert('oops') ] -# A [[Link] produces a [Link] -# A [Link] looks like this: [[link] -# This is a [%%%] line break link +__Koppel testen__ +# VoorPagina +# [VoorPagina] +# Koppeling tussen vierkante haken: [http://phpwiki.sourceforge.net] +# Koppeling zonder haken: http://phpwiki.sourceforge.net/ +# Koppeling met Wiki woord: http://phpwiki.sourceforge.net/phpwiki/index.php3?VoorPagina +# Twee opeenvolgende koppelingen: http://phpwiki.sourceforge.net/ http://phpwiki.sourceforge.net/phpwiki/ +# En wat als er een WikiKoppeling en nog een WikiKoppelingMetZelfdeStam op dezelfde regel staan? +# [PhpWiki bij Sourceforge | http://phpwiki.sourceforge.net/] +# [URL met een WikiWoord | http://phpwiki.sourceforge.net/phpwiki/index.php3?RecentChanges] +# Javascript: [boe! | javascript:alert('oeps') ] +# Een [[koppeling] produceert een [Koppeling] +# Een [Koppeling] ziet er zo uit: [[koppeling] +# Dit is een [%%%] regelbreukkoppeling ---- - Markup tests: -__underscores for bold__ + Opmaak testen: +__onderstreep voor vet__ -'''quotes for bold''' +'''aanhalingtekens voor vet''' -''quotes for italic'' +''aanhalingstekens voor schuin'' -__''underscores bold italic''__ +__''onderstreep vet schuin''__ -'''''five quotes bold italic''''' +'''''vijf aanhalingtekens vet schuin''''' -''''''six quotes'''''' +''''''zes aanhalingtekens'''''' -'''''Bold italic''' and italic'' (buggy) +'''''Vet schuin''' en schuin'' (luizig) -'''Bold and ''bold-italic''''' (also buggy) +'''Vet en ''vet-schuin''''' (ook luizig) -! h1 +! k1 -!! h2 +!! k2 -!!! h3 +!!! k3 -this is plain text with <br>%%% -a line break +dit is platte tekst met <br>%%% +een regelbreuk -look at the <a href="http://phpwiki.sourceforge.net/">markup language</a> +kijk naar de <a href="http://phpwiki.sourceforge.net/">opmaak taal</a> -you cannot use &, < or > +je kunt geen &, < of > gebruiken ---- - preformatted text: + geformatteerde tekst: - __underscores for bold__ + __onderstreep voor vet__ - '''quotes for bold''' + '''aanhalingtekens voor vet''' - ''quotes for italic'' + ''aanhalingstekens voor schuin'' - __''underscores bold italic''__ + __''onderstreep vet schuin''__ - '''''five quotes bold italic''''' + '''''vijf aanhalingtekens vet schuin''''' - ''''''six quotes'''''' + ''''''zes aanhalingtekens'''''' - ! h1 + '''''Vet schuin''' en schuin'' (luizig) - !! h2 + '''Vet en ''vet-schuin''''' (ook luizig) - !!! h3 + ! k1 - this is plain text with <br>%%% - a line break + !! k2 - look at the <a href="http://phpwiki.sourceforge.net/">markup language</a> + !!! k3 - you cannot use &, < or > + dit is platte tekst met <br>%%% + een regelbreuk + kijk naar de <a href="http://phpwiki.sourceforge.net/">opmaak taal</a> + + je kunt geen &, < of > gebruiken diff -urN --exclude=CVS --exclude=*~ --exclude=#* ../phpwiki/locale/nl/pgsrc/VeranderTekst ./locale/nl/pgsrc/VeranderTekst --- ../phpwiki/locale/nl/pgsrc/VeranderTekst Thu Oct 19 23:36:50 2000 +++ ./locale/nl/pgsrc/VeranderTekst Fri Oct 13 15:42:53 2000 @@ -1 +1,3 @@ -All pages (except search results) have an EditText link at the bottom. You can edit the page you are reading by clicking that link. +Onderaan alle pagina's (behalve zoekresultaten) staat eeen VeranderTekst +koppeling. Je kunt de pagina die je leest, veranderen door op die +koppeling te klikken. diff -urN --exclude=CVS --exclude=*~ --exclude=#* ../phpwiki/locale/nl/pgsrc/VertaalSpatiesNaarTabs ./locale/nl/pgsrc/VertaalSpatiesNaarTabs --- ../phpwiki/locale/nl/pgsrc/VertaalSpatiesNaarTabs Thu Oct 19 23:36:50 2000 +++ ./locale/nl/pgsrc/VertaalSpatiesNaarTabs Mon Oct 16 12:34:34 2000 @@ -1,19 +1,23 @@ -VariousBrowsers have trouble with the tab character used in the TextFormattingRules. If you can't type a tab, or, if you are fixing up a page written by someone who didn't type tabs, then you should have us convert spans of spaces to tabs for you. You request space to tab conversion with the checkbox that appears near the bottom of EditText and EditCopy pages. It looks something like this... +AllerleiBladeraars hebben moeite met het tab teken dat wordt gebruikt in de +TekstFormatteringsRegels. Als je geen tab kunt tiepen, of als je een +pagina wilt repareren van iemand die geen tabs heeft getiept, dan moet je +ons vragen groepen spaties door tabs te vervangen. Je kunt spatien naar +tab vertaling aanvragen met de knop onderaan de VeranderTekst en VeranderKopie +pagina's. Die ziet er ongeveer zo uit: - [[o] I can't type tabs. Please ConvertSpacesToTabs for me when I save. + [[o] Ik kan geen tabs tiepen. VertaalSpatiesNaarTabs voor mij als ik bewaar. -A span of spaces must be at least '''three''' spaces long to be recognized -as a tab. Use multiples of '''eight''' spaces to make multiple tabs. -Each span of eight spaces will convert to one tab. If the -last span comes up a little short, that's ok, as long as -there are at least three spaces in the last (only) span. +Een groep spaties moet minstens '''drie''' spaties lang zijn om herkend +te worden als tab. Gebruik veelvouden van '''acht''' spaties om meerdere +tabs te maken. Elke groep van acht spaties wordt vertaald naar een tab. +Het geeft niet als de laatste groep een beetje kort is, zolang er maar +minstens drie spaties in de laatste (enige) groep staan. -'''Check your work.''' This sort of heuristic can lead to -unexpected results. +'''Controleer je werk.''' Deze methode kan leiden tot onverwachte resultaten. ----- -[Maintenance note: This page is seen when the user clicks on the -"ConvertSpacesToTabs" link on any edit screen. It describes what happens -when you ask the system to do this, why you would want it to, and ways to -avoid the spaces-instead-of-tabs problem.] - +[Onderhoudsnotitie: Deze pagina wordt getoond waneer de gebruiker klikt +op de "VertaalSpatiesNaarTabs" koppeling in een veranderschem. Het +beschrijft wat er gebeurt wanneer je het systeem vraagt dit te doen, +waarom je het zou willen doen, en manieren om het +spaties-in-plaats-van-tabs probleem te omzeilen.] diff -urN --exclude=CVS --exclude=*~ --exclude=#* ../phpwiki/locale/nl/pgsrc/WabiSabi ./locale/nl/pgsrc/WabiSabi --- ../phpwiki/locale/nl/pgsrc/WabiSabi Thu Oct 19 23:36:50 2000 +++ ./locale/nl/pgsrc/WabiSabi Mon Oct 16 12:23:52 2000 @@ -1,26 +1,37 @@ -Since wabi-sabi represents a comprehensive Japanese world view or aesthetic system, it is difficult to explain precisely in western terms. According to Leonard Koren, wabi-sabi is the most conspicuous and characteristic feature of what we think of as traditional Japanese beauty and it "occupies roughly the same position in the Japanese pantheon of aesthetic values as do the Greek ideals of beauty and perfection in the West." +Omdat wabi-sabi een alomvattend japans wereldbeeld of estheties systeem +vertegenwoordigt, is het lastig exact te beschrijven in westerse begrippen. +Volgens Leonard Koren is wabi-sabi het meest pakkende en karakteristieke +kenmerk van wat wij beschouwen als traditionele japanse schoonheid en het +"neemt ruwweg dezelfde positie in het japanse pantheon van esthetiese waarden +in als de griekse idealen van schoonheid en perfectie in het westen." + +Wabi-sabi een schoonheid van onvoltooide, vergankelijke en onvolledige dingen. + +Het is de schoonheid van nederige en bescheiden dingen. + +Het is de schoonheid van onconventionele dingen. + +De beginselen van wabi-sabi hangen samen met de beginselen van Zen Boeddhisme, +omdat de eerste japanners die betrokken waren met wabi-sabi thee meesters, +priesters en monniken waren die Zen bedreven. Zen Boeddhisme is onstaan in +India, reisde in de 6e eeuw naar China, en werd voor het eerst geintroduceerd +in Japan rond de 12e eeuw. Zen benadrukt "direkt, instinctief inzicht in +bovennatuurlijke werkelijkheid boven alle verstandelijke redenering." In de +kern van wabi-sabi ligt het belang van bovennatuurlijke manieren van kijken +naar en denken over dingen en het bestaan. + + *Alle dingen zijn belangrijk + *Alle dingen zijn onvoltooid + *Alle dingen zijn onvolledig + +Materiele kenmerken van wabi-sabi: + + *de indruk van een natuurlijk process + *onregelmatig + *intiem + *pretentieloos + *aards + *eenvoudig -Wabi-sabi is a beauty of things imperfect, impermanent, and incomplete. - -It is the beauty of things modest and humble. - -It is the beauty of things unconventional. - -The concepts of wabi-sabi correlate with the concepts of Zen Buddhism, as the first Japanese involved with wabi-sabi were tea masters, priests, and monks who practiced Zen. Zen Buddhism originated in India, traveled to China in the 6th century, and was first introduced in Japan around the 12th century. Zen emphasizes "direct, intuitive insight into transcendental truth beyond all intellectual conception." At the core of wabi- sabi is the importance of transcending ways of looking and thinking about things/existence. - - *All things are impermanent - *All things are imperfect - *All things are incomplete - -Material characteristics of wabi-sabi: - - *suggestion of natural process - *irregular - *intimate - *unpretentious - *earthy - *simple - -For more about wabi-sabi, see +Voor meer over wabi-sabi, zie http://www.art.unt.edu/ntieva/artcurr/japan/wabisabi.htm - diff -urN --exclude=CVS --exclude=*~ --exclude=#* ../phpwiki/locale/nl/pgsrc/WikiWikiWeb ./locale/nl/pgsrc/WikiWikiWeb --- ../phpwiki/locale/nl/pgsrc/WikiWikiWeb Thu Oct 19 23:36:50 2000 +++ ./locale/nl/pgsrc/WikiWikiWeb Mon Oct 16 11:37:19 2000 @@ -1,12 +1,19 @@ -A WikiWikiWeb is a site where everyone can collaborate on the content. The most well-known and widely used Wiki is the Portland Pattern Repository at http://c2.com/cgi-bin/wiki?WikiWikiWeb. +Een WikiWikiWeb is een plaats waar iedereen kan samenwerken aan de inhoud van +het web. De bekendste en meest gebruikte Wiki is de Portland Pattern +Repository op http://c2.com/cgi-bin/wiki?WikiWikiWeb. -I found these statements there particularly relevant: +Met name deze uitspraken vond ik relevant: -''The point is to make the EditText form simple and the FindPage search fast.'' +''Maak het Verandertekst formulier eenvoudig en de ZoekPagina snel.'' -''In addition to being quick, this site also aspires to Zen ideals generally labeled WabiSabi. Zen finds beauty in the imperfect and ephemeral. When it comes down to it, that's all you need.'' +''Naast het vlug zijn, aspireert deze plaats ook de idealen van Zen in het +algemeen, genaamd WikiSabi. Zen vindt schoonheid in het onvoltooide en +vergankelijke. Uiteindelijk is dat alles wat je nodig hebt.'' -You can say hello on RecentVisitors, or read about HowToUseWiki and AddingPages. Currently this Wiki has no "theme" for discussion, so go ahead and play with it and have fun! +Je kunt gedag zeggen op RecenteBoekers, of lezen over HoeWikiTeGebruiken en hoe +je PaginasToevoegen kan. + Momenteel is er voor deze Wiki geen discussie "onderwerp", dus ga je gang, + speel ermee en vermaak je. --SteveWainstead diff -urN --exclude=CVS --exclude=*~ --exclude=#* ../phpwiki/locale/nl/templates/README ./locale/nl/templates/README --- ../phpwiki/locale/nl/templates/README Thu Jan 1 01:00:00 1970 +++ ./locale/nl/templates/README Fri Oct 13 12:40:37 2000 @@ -0,0 +1,86 @@ +$Id: README,v 1.2 2000/10/08 18:12:14 wainstead Exp $ + +PhpWiki distinguishes between four different templates: + +- template for browsing pages (default: browse.html) + This template is used when viewing Wiki pages. + +- template for editing pages (default: editpage.html) + This template is used when users edit a page by clicking on + the EditText link. + +- template for editing references (default: editlinks.html) + This template is used when users edit references of a page + by clicking on the EditLinks link on the EditText page. + +- template for plain messages from PhpWiki (default: message.html) + This template is used when displaying search results, or when + displaying error messages. + + +The location of the template files is defined in lib/config.php +The specification is relative to the index.php script. + +Template files are regular HTML files, which contain special +placeholders. Placeholders are surrounded by '###'. +You must not use '###' for other purposes. + + +Following placeholders are provided by PhpWiki: + +###SCRIPTURL### + This is the URL of the main PhpWiki script. + All URL's referring to the Wiki itself should use this placeholder. + +###PAGE### + The page title. Any special HTML characters are replaced by their + entities. Do not use this placeholder in links. Use ###PAGEURL### + instead. + +###CONTENT### + The actual page content. This is either the Wikipage itself, + the search result, or a message text. + +###ALLOWEDPROTOCOLS### + Protocols allowed for external links and references. + Default: http|https|mailto|ftp|news|gopher + + +The following placeholders are not available for the 'MESSAGE' template: + +###PAGEURL### + Page title encoded for use in URLs. + +###LASTMODIFIED### + Date when the page was last modified. + +###LASTAUTHOR### + Author of latest modification. Usually this is the hostname or + the IP address. + +###VERSION### + Revision number of the page. + Note: this is also used for detecting concurrent updates to a page. + See hidden input field in EDITPAGE template for how to use it. + +###IFCOPY### + Special placeholder. Should only be used in EDITPAGE template. + If EditCopy link should be shown, then ###IFCOPY### is ignored. + If EditCopy should not be shown, the rest of the line is deleted. + + +Only for EditLinks: +###1###, ###2###, .... + Placeholder for references. Up to NUM_LINKS placeholders will be + substituted. NUM_LINKS is defined in lib/config.php + + + +Examples: + +<A HREF="###SCRIPTURL###">the entry (default) page</A> +<A HREF="###SCRIPTURL###?###PAGEURL###">the current page</A> +<A HREF="###SCRIPTURL###?FindPage">the FindPage page</A> +<head><title>PhpWiki Page: ###PAGE###</title></head> + +see default templates for more examples. diff -urN --exclude=CVS --exclude=*~ --exclude=#* ../phpwiki/locale/nl/templates/editpage.html ./locale/nl/templates/editpage.html --- ../phpwiki/locale/nl/templates/editpage.html Thu Oct 19 23:39:32 2000 +++ ./locale/nl/templates/editpage.html Mon Oct 16 10:16:33 2000 @@ -4,12 +4,12 @@ <title>###PAGE###</title> </head> -<body bgcolor=moccasin text=black alink=red link=darkblue vlink=darkmagenta> +<body> <form method="POST" action="###SCRIPTURL###"> -<table cellpadding=2> -<tr><td bgcolor=black><a href="###SCRIPTURL###"><img src="###LOGO###" border=0 alt="[phpwiki]"></a></td> +<table cellpadding="2"> +<tr><td bgcolor="black"><a href="###SCRIPTURL###"><img src="###LOGO###" border=0 alt="[phpwiki]"></a></td> <td><h1>Verander ###PAGE### <input type="submit" value=" Bewaar "></h1> </td></tr></table> @@ -18,7 +18,7 @@ <br> <input type="checkbox" name="convert" value="tabs" > -I kan geen tabs typen. +Ik kan geen tabs typen. <a href="###SCRIPTURL###?VertaalSpatiesNaarTabs">VertaalSpatiesNaarTabs</a> voor mij als ik bewaar. <p><a href="###SCRIPTURL###?GoedeStijl">GoedeStijl</a> tips for @@ -32,14 +32,14 @@ <hr noshade> <small> -<b>Emphasis:</b> '' for italics, ''' for bold, ''''' for both -<br><b>Lists:</b> tab-* for bullet lists, tab-# for numbered lists, tab-Term:-tab for definition lists -<br><b>References:</b> JoinCapitalizedWords or use square brackets for a [page link] or URL [http://cool.wiki.int/]. -<br><b>References:</b> Use [1],[2],[3],... and EditLinks. Avoid linking with "!": !DoNotHyperlink, name links like [text | URL] -<br><b>Misc:</b>"!", "!!", "!!!" make headings, -"%%%" makes a linebreak, "- - - -" makes a horizontal rule, escape "[" with "[[" +<b>Nadruk:</b> '' voor schuin, ''' voor vet, ''''' voor beide. +<br><b>Lijsten:</b> tab-* voor punt lijsten, tab-# voor genummerde lijsten, tab-Term:-tab voor definitie lijsten. +<br><b>Verwijzingen:</b> KapitaliseerEnSchrijfAanElkaar of gebruik vierkante haken [pagina koppeling] of URL [http://koel.wiki.int/]. +<br><b>Verwijzingen:</b> Gebruik [1],[2],[3],... en VeranderKoppelingen. Vermijdt kopplingen met "!": !KoppelNiet, noem koppelingen met [naam | URL]. +<br><b>Allerlei:</b>"!", "!!", "!!!" maak koppen, +"%%%" maak regelbreuk, "- - - -" maak horizontale lijn, ontsnap "[" met "[[". <br>meer op -<a href="###SCRIPTURL###?TextFormattingRules"> +<a href="###SCRIPTURL###?TekstFormatteringsRegels"> <b>TekstFormatteringsRegels.</b></a> </small> diff -urN --exclude=CVS --exclude=*~ --exclude=#* ../phpwiki/locale/po/nl.po ./locale/po/nl.po --- ../phpwiki/locale/po/nl.po Thu Oct 19 23:36:50 2000 +++ ./locale/po/nl.po Fri Oct 20 09:42:04 2000 @@ -10,7 +10,7 @@ msgid "" msgstr "" "Project-Id-Version: phpwiki 1.1.7\n" -"POT-Creation-Date: 2000-10-19 23:29+0200\n" +"POT-Creation-Date: 2000-10-20 09:42+0200\n" "PO-Revision-Date: 2000-09-30 02:23+0200\n" "Last-Translator: Jan Nieuwenhuizen <ja...@gn...>\n" "Language-Team: Dutch <nl...@li...>\n" @@ -20,57 +20,215 @@ "Date: 1998-05-26 11:26:28+0200\n" "From: <ja...@gn...>\n" -#: ../lib/config.php:158 +#: lib/config.php:158 msgid "./pgsrc" msgstr "./locale/nl/pgsrc" -#: ../lib/config.php:168 +#: lib/config.php:168 msgid "templates/browse.html" -msgstr "./locale/nl/templates/browse.html" +msgstr "locale/nl/templates/browse.html" -#: ../lib/config.php:169 +#: lib/config.php:169 msgid "templates/editpage.html" -msgstr "./locale/nl/templates/editpage.html" +msgstr "locale/nl/templates/editpage.html" -#: ../lib/config.php:170 +#: lib/config.php:170 msgid "templates/editlinks.html" -msgstr "./locale/nl/templates/editlinks.html" +msgstr "locale/nl/templates/editlinks.html" -#: ../lib/config.php:171 +#: lib/config.php:171 msgid "templates/message.html" -msgstr "./locale/nl/templates/message.html" +msgstr "locale/nl/templates/message.html" -#: ../lib/diff.php:1017 +#: lib/diff.php:675 +#, c-format +msgid "WikiDiff::apply: line count mismatch: %s != %s" +msgstr "" + +#: lib/diff.php:735 +msgid "WikiDiff::_check: failed" +msgstr "" + +#: lib/diff.php:745 +msgid "WikiDiff::_check: edit sequence is non-optimal" +msgstr "" + +#: lib/diff.php:749 +#, c-format +msgid "WikiDiff Okay: LCS = %s" +msgstr "" + +#: lib/diff.php:989 +msgid "Current page:" +msgstr "Huidige pagina:" + +#: lib/diff.php:993 lib/diff.php:1011 +#, c-format +msgid "version %s" ... [truncated message content] |