From 623be4b51c89c8b6014147e77ad4ce7df3a5e49b Mon Sep 17 00:00:00 2001 From: ahollosi Date: Fri, 20 Oct 2000 11:42:53 +0000 Subject: [PATCH] second int. patch from Jan (slightly modified) git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@266 96ab9672-09ca-45d6-a79d-3d69d39ca109 --- lib/diff.php | 73 +++++---- lib/editpage.php | 25 +-- lib/fullsearch.php | 15 +- lib/msql.php | 63 +++++--- lib/mysql.php | 20 ++- lib/setupwiki.php | 10 +- lib/stdlib.php | 32 ++-- locale/nl/LC_MESSAGES/phpwiki.mo | Bin 1229 -> 3300 bytes locale/nl/LC_MESSAGES/phpwiki.php | 76 ++++++++- locale/nl/pgsrc/HoeWikiTeGebruiken | 83 ++++++---- locale/nl/pgsrc/JanNieuwenhuizen | 3 +- locale/nl/pgsrc/MeestBezocht | 4 +- locale/nl/pgsrc/PaginasToevoegen | 21 ++- locale/nl/pgsrc/RecenteBezoekers | 2 +- locale/nl/pgsrc/SteveWainstead | 3 +- locale/nl/pgsrc/TekstFormatteringsRegels | 109 ++++++++----- locale/nl/pgsrc/TestPagina | 184 ++++++++++----------- locale/nl/pgsrc/VeranderTekst | 4 +- locale/nl/pgsrc/VertaalSpatiesNaarTabs | 32 ++-- locale/nl/pgsrc/WabiSabi | 61 ++++--- locale/nl/pgsrc/WikiWikiWeb | 17 +- locale/nl/templates/browse.html | 6 +- locale/nl/templates/editpage.html | 22 +-- locale/po/nl.po | 193 ++++++++++++++++++++--- locale/po/phpwiki.pot | 178 +++++++++++++++++++-- locale/translate.sh | 15 +- pgsrc/TestPage | 4 +- test_dbmlib.php3 | 6 +- 28 files changed, 884 insertions(+), 377 deletions(-) diff --git a/lib/diff.php b/lib/diff.php index a926d1887..4d019d9e8 100644 --- a/lib/diff.php +++ b/lib/diff.php @@ -1,4 +1,4 @@ - + apply($from_lines); if (serialize($test) != serialize($to_lines)) - die("WikiDiff::_check: failed"); + ExitWiki(gettext ("WikiDiff::_check: failed")); reset($this->edits); $prev = current($this->edits); @@ -742,11 +742,11 @@ class WikiDiff { $type = is_array($edit) ? 'a' : ($edit > 0 ? 'c' : 'd'); if ( $prevtype == $type ) - die("WikiDiff::_check: edit sequence is non-optimal"); + ExitWiki(gettext ("WikiDiff::_check: edit sequence is non-optimal")); $prevtype = $type; } $lcs = $this->lcs(); - echo "WikiDiff Okay: LCS = $lcs\n"; + printf ("" . gettext ("WikiDiff Okay: LCS = %s") . "\n", $lcs); } } @@ -984,37 +984,56 @@ if ($diff) // $dba = OpenDataBase($ArchivePageStore); $archive= RetrievePage($dbi, $pagename, $ArchivePageStore); - $html = ''; - if (is_array($wiki)) - $html .= ""; - else - $html .= ""; - $html .= ''; - if (is_array($archive)) - $html .= ""; - else - $html .= ""; + $html = '
Current page:version $wiki[version],last modified on " - . date($datetimeformat, $wiki['lastmodified']) - . "by $wiki[author]None
Archived page:version $archive[version],last modified on " - . date($datetimeformat, $archive['lastmodified']) - . "by $archive[author]None
'; + if (is_array($wiki)) { + $html .= ""; + } else { + $html .= ""; + } + $html .= "\n"; + $html .= ''; + if (is_array($archive)) { + $html .= ""; + } else { + $html .= ""; + } $html .= "
'; + $html .= gettext ("Current page:"); + $html .= '"; + $html .= sprintf(gettext ("version %s"), $wiki[version]); + $html .= ""; + $html .= sprintf(gettext ("last modified on %s"), + date($datetimeformat, $wiki['lastmodified'])); + $html .= ""; + $html .= sprintf (gettext ("by %s"), $wiki[author]); + $html .= ""; + $html .= gettext ("None"); + $html .= "
'; + $html .= gettext ("Archived page:"); + $html .= '"; + $html .= sprintf(gettext ("version %s"), $archive[version]); + $html .= ""; + $html .= sprintf(gettext ("last modified on %s"), + date($datetimeformat, $archive['lastmodified'])); + $html .= ""; + $html .= sprintf(gettext ("by %s"), $archive[author]); + $html .= ""; + $html .= gettext ("None"); + $html .= "

\n"; - if (is_array($wiki) && is_array($archive)) { $diff = new WikiDiff($archive['content'], $wiki['content']); - if ($diff->isEmpty()) - $html .= '


[Versions are identical]'; - else - { + if ($diff->isEmpty()) { + $html .= '
[' . gettext ("Versions are identical") . ']'; + } else { //$fmt = new WikiDiffFormatter; $fmt = new WikiUnifiedDiffFormatter; $html .= $fmt->format($diff, $archive['content']); - } + } } - GeneratePage('MESSAGE', $html, sprintf(gettext("Diff of %s."), - htmlspecialchars($pagename)), 0); + GeneratePage('MESSAGE', $html, sprintf(gettext ("Diff of %s."), + htmlspecialchars($pagename)), 0); } ?> diff --git a/lib/editpage.php b/lib/editpage.php index 27ddecb7b..761f5cc42 100644 --- a/lib/editpage.php +++ b/lib/editpage.php @@ -1,4 +1,4 @@ - + This page has been locked by the administrator\n" . - "and cannot be edited.\n" . - "

Sorry for the inconvinience.\n"; - GeneratePage('MESSAGE', $html, "Problem while editing $pagename", 0); - ExitWiki(''); + $html = "

"; + $html .= gettext ("This page has been locked by the administrator and cannot be edited."); + $html .= "\n

"; + $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 --git a/lib/fullsearch.php b/lib/fullsearch.php index 305df88cb..c328b90a6 100644 --- a/lib/fullsearch.php +++ b/lib/fullsearch.php @@ -1,4 +1,4 @@ - + Searching for \"" . htmlspecialchars($full) . - "\" ....

\n
\n"; + $result = "

"; + $result .= sprintf(gettext ("Searching for \"%s\" ....."), + htmlspecialchars($full)); + $result .= "

\n
\n"; // quote regexp chars $full = preg_quote($full); @@ -38,6 +40,9 @@ } } - $result .= "
\n
$found matches found in $count pages.\n"; - GeneratePage('MESSAGE', $result, "Full Text Search Results", 0); + $result .= "
\n
"; + $result .= sprintf (gettext ("%d matches found in %d pages."), + $found, $count); + $result .= "\n"; + GeneratePage('MESSAGE', $result, gettext ("Full Text Search Results"), 0); ?> diff --git a/lib/msql.php b/lib/msql.php index 4e576f2d0..e22c1be11 100644 --- a/lib/msql.php +++ b/lib/msql.php @@ -1,4 +1,4 @@ - + Error message: " . msql_error(); - ExitWiki($msg); + $msg = gettext ("Cannot establish connection to database, giving up."); + $msg .= "
"; + $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 .= "
Error message: " . msql_error(); - ExitWiki($msg); + $msg = gettext ("Cannot open database %s, giving up."); + $msg .= "
"; + $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(), "
\n"; + if ($retval == false) { + printf(gettext ("Insert/update failed: %s"), msql_error()); + print "
\n"; + } // second, insert the page data @@ -203,8 +207,11 @@ $query = "delete from $dbi[page_table] where pagename='$pagename'"; // echo "Delete query: $query
\n"; $retval = msql_query($query, $dbi['dbc']); - if ($retval == false) - echo "Delete on $dbi[page_table] failed: ", msql_error(), "
\n"; + if ($retval == false) { + printf(gettext ("Delete on %s failed: %s"), $dbi[page_table], + msql_error()); + print "
\n"; + } // insert the new lines reset($pagehash["content"]); @@ -216,16 +223,15 @@ "VALUES('$pagename', $x, '$line')"; // echo "Page line insert query: $query
\n"; $retval = msql_query($query, $dbi['dbc']); - if ($retval == false) - echo "Insert into $dbi[page_table] failed: ", - msql_error(), "
\n"; - + if ($retval == false) { + printf(gettext ("Insert into %s failed: %s"), $dbi[page_table], + msql_error()); + print "
\n"; + } } - } - // for archiving pages to a separate table function SaveCopyToArchive($dbi, $pagename, $pagehash) { global $ArchivePageStore; @@ -266,17 +272,21 @@ // first, insert the metadata $retval = msql_query($query, $dbi['dbc']); - if ($retval == false) - echo "Insert/update failed: ", msql_error(), "
\n"; - + if ($retval == false) { + printf(gettext ("Insert/update failed: %s"), msql_error()); + print "
\n"; + } // second, insert the page data // remove old data from page_table $query = "delete from $ArchivePageStore[page_table] where pagename='$pagename'"; // echo "Delete query: $query
\n"; $retval = msql_query($query, $dbi['dbc']); - if ($retval == false) - echo "Delete on $ArchivePageStore[page_table] failed: ", msql_error(), "
\n"; + if ($retval == false) { + printf(gettext ("Delete on %s failed: %s"), + $ArchivePageStore[page_table], msql_error()); + print "
\n"; + } // insert the new lines reset($pagehash["content"]); @@ -288,10 +298,11 @@ "VALUES('$pagename', $x, '$line')"; // echo "Page line insert query: $query
\n"; $retval = msql_query($query, $dbi['dbc']); - if ($retval == false) - echo "Insert into $ArchivePageStore[page_table] failed: ", - msql_error(), "
\n"; - + if ($retval == false) { + printf(gettext ("Insert into %s failed: %s"), + $ArchivePageStore[page_table], msql_error()); + print "
\n"; + } } diff --git a/lib/mysql.php b/lib/mysql.php index 94065297f..7b71fa100 100644 --- a/lib/mysql.php +++ b/lib/mysql.php @@ -1,4 +1,4 @@ -MySQL error: " . mysql_error(); - ExitWiki($msg); + $msg = gettext ("Cannot establish connection to database, giving up."); + $msg .= "
"; + $msg .= sprintf(gettext ("MySQL error: %s"), mysql_error()); + ExitWiki($msg); } if (!mysql_select_db($mysql_db, $dbc)) { - $msg = "Cannot open database, giving up."; - $msg .= "
MySQL error: " . mysql_error(); - ExitWiki($msg); + $msg = sprintf(gettext ("Cannot open database %s, giving up."), $mysql_db); + $msg .= "
"; + $msg .= sprintf(gettext ("MySQL error: %s"), mysql_error()); + ExitWiki($msg); } $dbi['dbc'] = $dbc; $dbi['table'] = $dbname; @@ -108,7 +110,9 @@ if (!mysql_query("replace into $dbi[table] ($COLUMNS) values ($VALUES)", $dbi['dbc'])) { - $msg = "Error writing page '$pagename' " . mysql_error(); + $msg = sprintf(gettext ("Error writing page '%s'"), $pagename); + $msg .= "
"; + $msg .= sprintf(gettext ("MySQL error: %s"), mysql_error()); ExitWiki($msg); } } diff --git a/lib/setupwiki.php b/lib/setupwiki.php index 0ed4568f1..db2a70b26 100644 --- a/lib/setupwiki.php +++ b/lib/setupwiki.php @@ -1,6 +1,6 @@ - + %s, version %s from %s
\n", - htmlspecialchars($pagename), $version, $source); + printf (gettext ("Inserting page %s, version %s from %s"), + "" . htmlspecialchars ($pagename) . "", $version, $source); + print ("
\n"); + flush(); InsertPage($dbi, $pagename, $page); } diff --git a/lib/stdlib.php b/lib/stdlib.php index 7f075a323..467b0a2e7 100644 --- a/lib/stdlib.php +++ b/lib/stdlib.php @@ -1,4 +1,4 @@ - + '') { - print "


WikiFatalError

\n"; + print "


" . gettext("WikiFatalError") . "

\n"; print $errormsg; print "\n"; } @@ -49,7 +49,9 @@ $links = GetWikiPageLinks($dbi, $pagename); - $txt = "" . NUM_RELATED_PAGES . " best incoming links:\n"; + $txt = ""; + $txt .= sprintf (gettext ("%d best incoming links:"), NUM_RELATED_PAGES); + $txt .= "\n"; for($i = 0; $i < NUM_RELATED_PAGES; $i++) { if(isset($links['in'][$i])) { list($name, $score) = $links['in'][$i]; @@ -57,7 +59,9 @@ } } - $txt .= "\n
" . NUM_RELATED_PAGES . " best outgoing links:\n"; + $txt .= "\n
"; + $txt .= sprintf (gettext ("%d best outgoing links:"), NUM_RELATED_PAGES); + $txt .= "\n"; for($i = 0; $i < NUM_RELATED_PAGES; $i++) { if(isset($links['out'][$i])) { list($name, $score) = $links['out'][$i]; @@ -66,7 +70,9 @@ } } - $txt .= "\n
" . NUM_RELATED_PAGES . " most popular nearby:\n"; + $txt .= "\n
"; + $txt .= sprintf (gettext ("%d most popular nearby:"), NUM_RELATED_PAGES); + $txt .= "\n"; for($i = 0; $i < NUM_RELATED_PAGES; $i++) { if(isset($links['popular'][$i])) { list($name, $score) = $links['popular'][$i]; @@ -279,7 +285,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 +320,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 +340,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 +403,7 @@ $recentchanges["content"] = $newpage; - InsertPage($dbi, gettext("RecentChanges"), $recentchanges); + InsertPage($dbi, gettext ("RecentChanges"), $recentchanges); } @@ -506,5 +514,5 @@ } return $wikilinks; - } + } ?> diff --git a/locale/nl/LC_MESSAGES/phpwiki.mo b/locale/nl/LC_MESSAGES/phpwiki.mo index 5bed485800d76adf21e6f54773631163648a859f..a4d640444529e5ee1aeb3f7c044d2576c259459a 100644 GIT binary patch literal 3300 zcmZ{mO^h5z701hv5LiAFAbbQv#bhxN%BxNt$@5+NZWC6^qK5Cz0GJ^$^h zSFir>qyFtz9=PYnhVdxRr+Cs6#+(O#`wo5>KYOP!9|M2h;S1nN-v89SzXsmN`&-}# z!29ko<_!2C_*w80xB}+j`@us{{rv#EAN&>gUhswP{iSaGFW`Hae+~RN_&WFraOK|i z{Sk1L_b0&*f(dvEEI~}oPr!GBzW{aruR%TkrSARDpvL=8Q2m~GmoeMmL*RqpbD+j^ z0Gs&O4QgEXk__E{64baK1HVg7zYKnc_g_Lv@kP*r|LETT z3u+uE30nR3z^A}1@N?kz!1sZ_0oCsJpq~3j@B#4EZv72V^ZFL}Y4CnXD31X@dhU5p z_k9P{xGV4x@JFD=`#Z1?z6@#}UkCYT{=<*@J3+BN0@@DGg6iiIsP#_49q@;s#_?BB z{r(Faf^UMP!fX(X?i+&2YZuh|Rp7(mPeBX*0VEXjcaStTYo7;C^Jtt8@o4;y@@SrP ztnz%4NB3#0T`TifTO(54#0-@tr&=%V1s%#sc`Ij1+SFR(S`6iSbbP3L(caLZInp?^ z*A_$L)uDOQoa)e=>OIn0E(TYqiMe@SP3=g^%KAJBbDvLa=JQ!OG>iFASCepje(tJd zDy1EVI#1bXu`S$0%D(QJ2fP)bs52LBE-sD^ho-+)Ov;#;uf$~P_ocNTnk|>-p|YIs zMwu_CHVJtyN##Rst6)>dyes94cH;MyLtXS2dqN@kZ3DYn9=8d_p$%iE%~lHZ z&}>U4l~~-b!r%E!(xF;yOPNGJ5}lq(l)l;a<8kYvZ!W|bqMb`wsuQ(uXAYvTl$QFo zr&r6<=3)$ab&XeZvCcBPE6-Q<202Kk_PUgHR+VNaFC}We3Gg_Hc4e(Dh+B@bYZq>x zq`~e>EHz8&A%?kfx^j5q8<(vp*M{TO&=SktT==UjNqcjuq`p$h51XqY7o&7{@^LWN zVi;vIw+B=5V%18I#PfAYNa5Dhb0frf*i2SaX&Nf0YF_e$ zeD1P)W)DN%7%ZLZiZ5HHQ&-ZA)HMsq47Q^~tDam+WBRg+uHryP&n0c&P%m{PY2Vyz z^HEwCIXZ=|Ph4ic>1X~TU6eHiGv5kzWOI~pomp2^YSy)yRCI%d$-Jgmt|+1;o;u(g z8YCfe^z}TXe(a&vq~26AFEWhEwNVTQrSzxOJUcS0?3(*@w*@W1o%3CfwbRQQYiahl z7rmXd*F`$C#k4peJiFds?|*6K+Shk`TTz?_)Z2#B&~6L{gWmd}w=uBmXNHfR`NDu1 z413pQ-)r|AwHuu4of+7{#&DyvyG*>j-RSa?2(_gyx!hj$QXfb@t^F;^^u!)@keNI^ z$?JZIlc!cL(;_u-^>)S0hjzP0DeMz@_H^c3gDX2%E-XV>?+;eCxG~hBw|iK?x#GsG zkyD?ax5?DSQmQ96H_x8ytuGCg(^z8f0+N-|heNwL^3_Tk^!mATo4vu=-p1p0eSNs` z_;6#hjhm|pqq}fkNS(IqEX*ZO#m+)e2$h>iep?E~*1noJ`tR-QGm&T~vL9H?@zY77 z&)w-x6-7lBi|E`02bl0Xs_R${4ejnSSQmx6jHspEQjl#1(a|{2o10-nM5u znQkRkxZI7Crt{3ViInB0(hHq67oJb*QrOS=e5)#?Xd-hr>zijJMPsYw%7PL;7KPZB zTZ?k4*ts!^o(0m_#MAVoOq;%omdP1`HGQ&hmD+Hd!Gvp)T6FNc;f4NW0e2 zHd?f68AM+}TC{ZUw*MJC@XT*6yywjM%lt%p<3wt;F)rg2Q%d#JqF<>C9@bF?JO-3X;0O(T!Fhb2`H4$B ze`67Uv4+8*QhBW78d@md2Ux&YWQ_Ndb0`(?PIAL+Z!6hUhK7g?l?^%Pm2Bx%$-HlN z+7102%;xsnuG2lXnzoY5p>yr36T4wM-Mt&jY1*A(Xhjb~+xpT-=}G87*TcJ!ay7TP zRjX9q`r))MUNT#5!)n>4)0*`iNAt-u*KO1B*0H29NNb&qrSw&7O;2Mx{*tLrjhxUm Mio%mo5I&6jKSX>;jQ{`u diff --git a/locale/nl/LC_MESSAGES/phpwiki.php b/locale/nl/LC_MESSAGES/phpwiki.php index 1439117db..0a7721ab6 100644 --- a/locale/nl/LC_MESSAGES/phpwiki.php +++ b/locale/nl/LC_MESSAGES/phpwiki.php @@ -1,26 +1,92 @@ diff --git a/locale/nl/pgsrc/HoeWikiTeGebruiken b/locale/nl/pgsrc/HoeWikiTeGebruiken index 98f4122df..50ea32cbc 100644 --- a/locale/nl/pgsrc/HoeWikiTeGebruiken +++ b/locale/nl/pgsrc/HoeWikiTeGebruiken @@ -1,36 +1,53 @@ -''"Wiki wiki"'' means "quick" in Hawai'ian. - -'''All you really need to know 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: - - this is a poem - about monospacing - nothing rhymes with poem - nothing rhymes with monospacing - - * You can seperate paragraphs with an extra blank line. Example: - -I am a paragraph. - -I am a paragraph too. We're just very small paragraphs. - - - * You can get horizontal rules with four or more dashes like this: +''"Wiki wiki"'' betekent "vlug" in het Hawaiiaans. + +'''Alles wat je echt moet weten is:''' + + * 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 + + * Je kunt alinea's van elkaar scheiden met een lege regel. Voorbeeld: + +Ik ben een alinea. + +Ik ben ook een aline. We zijn gewoon erg korte alinea's. + + * 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 --git a/locale/nl/pgsrc/JanNieuwenhuizen b/locale/nl/pgsrc/JanNieuwenhuizen index 0a6a34b0f..2db4f1738 100644 --- a/locale/nl/pgsrc/JanNieuwenhuizen +++ b/locale/nl/pgsrc/JanNieuwenhuizen @@ -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:janneke@gnu.org. diff --git a/locale/nl/pgsrc/MeestBezocht b/locale/nl/pgsrc/MeestBezocht index a682a3d23..5b2eb0279 100644 --- a/locale/nl/pgsrc/MeestBezocht +++ b/locale/nl/pgsrc/MeestBezocht @@ -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 --git a/locale/nl/pgsrc/PaginasToevoegen b/locale/nl/pgsrc/PaginasToevoegen index 99290d782..8f4eccad4 100644 --- a/locale/nl/pgsrc/PaginasToevoegen +++ b/locale/nl/pgsrc/PaginasToevoegen @@ -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). They will just render like text. 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). Die +zien er gewoon uit als tekst. 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 --git a/locale/nl/pgsrc/RecenteBezoekers b/locale/nl/pgsrc/RecenteBezoekers index 422dfab3c..0d9c21e57 100644 --- a/locale/nl/pgsrc/RecenteBezoekers +++ b/locale/nl/pgsrc/RecenteBezoekers @@ -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 --git a/locale/nl/pgsrc/SteveWainstead b/locale/nl/pgsrc/SteveWainstead index 6a516abb5..d57a2a4fe 100644 --- a/locale/nl/pgsrc/SteveWainstead +++ b/locale/nl/pgsrc/SteveWainstead @@ -1,4 +1,5 @@ Hi. I built this WikiWikiWeb. I'm at http://wcsb.org/~swain/. -Please report bugs to mailto:swain@panix.com +Please report bugs to mailto:phpwiki-talk@lists.sourceforge.net + diff --git a/locale/nl/pgsrc/TekstFormatteringsRegels b/locale/nl/pgsrc/TekstFormatteringsRegels index d9d197643..5b2e84fb4 100644 --- a/locale/nl/pgsrc/TekstFormatteringsRegels +++ b/locale/nl/pgsrc/TekstFormatteringsRegels @@ -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 --git a/locale/nl/pgsrc/TestPagina b/locale/nl/pgsrc/TestPagina index 5228721b1..a9e4cbdea 100644 --- a/locale/nl/pgsrc/TestPagina +++ b/locale/nl/pgsrc/TestPagina @@ -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
%%% -a line break +dit is platte tekst met
%%% +een regelbreuk -look at the markup language +kijk naar de opmaak taal -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
%%% - a line break + !! k2 - look at the markup language + !!! k3 - you cannot use &, < or > + dit is platte tekst met
%%% + een regelbreuk + kijk naar de opmaak taal + + je kunt geen &, < of > gebruiken diff --git a/locale/nl/pgsrc/VeranderTekst b/locale/nl/pgsrc/VeranderTekst index d5f68f0cf..b02ca2b8f 100644 --- a/locale/nl/pgsrc/VeranderTekst +++ b/locale/nl/pgsrc/VeranderTekst @@ -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 --git a/locale/nl/pgsrc/VertaalSpatiesNaarTabs b/locale/nl/pgsrc/VertaalSpatiesNaarTabs index 875677ba3..d144f446d 100644 --- a/locale/nl/pgsrc/VertaalSpatiesNaarTabs +++ b/locale/nl/pgsrc/VertaalSpatiesNaarTabs @@ -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 --git a/locale/nl/pgsrc/WabiSabi b/locale/nl/pgsrc/WabiSabi index 97c44d939..7bccb27bb 100644 --- a/locale/nl/pgsrc/WabiSabi +++ b/locale/nl/pgsrc/WabiSabi @@ -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." - -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 +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 + +Voor meer over wabi-sabi, zie http://www.art.unt.edu/ntieva/artcurr/japan/wabisabi.htm - diff --git a/locale/nl/pgsrc/WikiWikiWeb b/locale/nl/pgsrc/WikiWikiWeb index 223ab1af2..e4860a918 100644 --- a/locale/nl/pgsrc/WikiWikiWeb +++ b/locale/nl/pgsrc/WikiWikiWeb @@ -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 --git a/locale/nl/templates/browse.html b/locale/nl/templates/browse.html index 0a2711543..96ac382b6 100644 --- a/locale/nl/templates/browse.html +++ b/locale/nl/templates/browse.html @@ -5,10 +5,8 @@ - - -
[phpwiki]

###PAGE###

-
+

[phpwiki] +###PAGE###

###CONTENT### diff --git a/locale/nl/templates/editpage.html b/locale/nl/templates/editpage.html index 7538915d0..978598c30 100644 --- a/locale/nl/templates/editpage.html +++ b/locale/nl/templates/editpage.html @@ -4,12 +4,12 @@ ###PAGE### - +

- - +
[phpwiki]
+
[phpwiki]

Verander ###PAGE###

@@ -18,7 +18,7 @@
-I kan geen tabs typen. +Ik kan geen tabs typen. VertaalSpatiesNaarTabs voor mij als ik bewaar.

GoedeStijl tips for @@ -32,14 +32,14 @@ naar andere webservers.


-Emphasis: '' for italics, ''' for bold, ''''' for both -
Lists: tab-* for bullet lists, tab-# for numbered lists, tab-Term:-tab for definition lists -
References: JoinCapitalizedWords or use square brackets for a [page link] or URL [http://cool.wiki.int/]. -
References: Use [1],[2],[3],... and EditLinks. Avoid linking with "!": !DoNotHyperlink, name links like [text | URL] -
Misc:"!", "!!", "!!!" make headings, -"%%%" makes a linebreak, "- - - -" makes a horizontal rule, escape "[" with "[[" +Nadruk: '' voor schuin, ''' voor vet, ''''' voor beide. +
Lijsten: tab-* voor punt lijsten, tab-# voor genummerde lijsten, tab-Term:-tab voor definitie lijsten. +
Verwijzingen: KapitaliseerEnSchrijfAanElkaar of gebruik vierkante haken [pagina koppeling] of URL [http://koel.wiki.int/]. +
Verwijzingen: Gebruik [1],[2],[3],... en VeranderKoppelingen. Vermijdt kopplingen met "!": !KoppelNiet, noem koppelingen met [naam | URL]. +
Allerlei:"!", "!!", "!!!" maak koppen, +"%%%" maak regelbreuk, "- - - -" maak horizontale lijn, ontsnap "[" met "[[".
meer op - + TekstFormatteringsRegels.
diff --git a/locale/po/nl.po b/locale/po/nl.po index 9ef599279..b9fea00e4 100644 --- a/locale/po/nl.po +++ b/locale/po/nl.po @@ -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 13:43+0200\n" "PO-Revision-Date: 2000-09-30 02:23+0200\n" "Last-Translator: Jan Nieuwenhuizen \n" "Language-Team: Dutch \n" @@ -20,57 +20,206 @@ msgstr "" "Date: 1998-05-26 11:26:28+0200\n" "From: \n" -#: ../lib/config.php:158 +#: lib/config.php:158 msgid "./pgsrc" -msgstr "./locale/nl/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:988 +msgid "Current page:" +msgstr "Huidige pagina:" + +#: lib/diff.php:992 lib/diff.php:1010 +#, c-format +msgid "version %s" +msgstr "versie %s" + +#: lib/diff.php:994 lib/diff.php:1012 +#, c-format +msgid "last modified on %s" +msgstr "laatste verandering op %s" + +#: lib/diff.php:997 lib/diff.php:1015 +#, c-format +msgid "by %s" +msgstr "door %s" + +#: lib/diff.php:1001 lib/diff.php:1019 +msgid "None" +msgstr "Geen" + +#: lib/diff.php:1006 +msgid "Archived page:" +msgstr "Gearchiveerde pagina:" + +#: lib/diff.php:1028 +msgid "Versions are identical" +msgstr "Versies zijn identiek" + +#: lib/diff.php:1036 #, c-format msgid "Diff of %s." msgstr "Diff van %s." -#: ../lib/display.php:14 +#: lib/display.php:14 msgid "FrontPage" msgstr "VoorPagina" -#: ../lib/display.php:31 ../lib/editpage.php:49 +#: lib/display.php:31 lib/editpage.php:50 #, c-format msgid "Describe %s here." msgstr "Beschrijf %s hier." -#: ../lib/pageinfo.php:22 ../lib/pageinfo.php:66 +#: lib/editpage.php:19 +#, c-format +msgid "Copy of %s" +msgstr "Kopie van %s" + +#: lib/editpage.php:23 +msgid "No page name passed into editpage!" +msgstr "Geen paginanaam doorgegeven aan veranderpagina" + +#: lib/editpage.php:31 +msgid "This page has been locked by the administrator and cannot be edited." +msgstr "" +"Deze pagina is afgesloten door de beheerder en kan niet veranderd worden." + +#: lib/editpage.php:33 +msgid "Sorry for the inconvinience." +msgstr "Excuses voor het ongemak." + +#: lib/editpage.php:35 +#, c-format +msgid "Problem while editing %s" +msgstr "Probleem tijdens veranderen %s" + +#: lib/fullsearch.php:15 +#, c-format +msgid "Searching for \"%s\" ....." +msgstr "Zoeken naar \"%s\" ..." + +#: lib/fullsearch.php:44 +#, c-format +msgid "%d matches found in %d pages." +msgstr "%d keer gevonden in %d pagina's." + +#: lib/fullsearch.php:47 +msgid "Full Text Search Results" +msgstr "Volledige tekst zoek resultaten" + +#: lib/msql.php:29 lib/mysql.php:33 +msgid "Cannot establish connection to database, giving up." +msgstr "Kan verbinding naar data base niet tot stand brengen, geef op." + +#: lib/msql.php:31 lib/msql.php:37 +#, c-format +msgid "Error message: %s" +msgstr "Foutboodschap: %s" + +#: lib/msql.php:35 lib/mysql.php:39 +#, c-format +msgid "Cannot open database %s, giving up." +msgstr "Kan data base %s niet openen, geef op." + +#: lib/msql.php:200 lib/msql.php:276 +#, c-format +msgid "Insert/update failed: %s" +msgstr "Insert/update gefaald: %s" + +#: lib/msql.php:211 lib/msql.php:286 +#, c-format +msgid "Delete on %s failed: %s" +msgstr "Delete op %s gefaald: %s" + +#: lib/msql.php:227 lib/msql.php:302 +#, c-format +msgid "Insert into %s failed: %s" +msgstr "Insert in %s gefaald: %s" + +#: lib/mysql.php:35 lib/mysql.php:41 lib/mysql.php:115 +#, c-format +msgid "MySQL error: %s" +msgstr "MySQL fout: %s" + +#: lib/mysql.php:113 +#, c-format +msgid "Error writing page '%s'" +msgstr "Fout bij schrijven pagina `%s'" + +#: lib/pageinfo.php:22 lib/pageinfo.php:66 msgid "PageInfo" msgstr "PaginaInfo" -#: ../lib/savepage.php:60 +#: lib/savepage.php:60 #, c-format msgid "Thank you for editing %s." msgstr "Bedankt voor het veranderen van %s." -#: ../lib/savepage.php:90 +#: lib/savepage.php:90 msgid "Your careful attention to detail is much appreciated." msgstr "Je zorgvuldige aandacht voor detail wordt erg gewaardeerd." -#: ../lib/stdlib.php:318 ../lib/stdlib.php:380 +#: lib/setupwiki.php:21 +#, c-format +msgid "Inserting page %s, version %s from %s" +msgstr "Voeg pagina %s toe, versie %s van %s" + +#: lib/stdlib.php:36 +msgid "WikiFatalError" +msgstr "WikiFataleFout" + +#: lib/stdlib.php:53 +#, c-format +msgid "%d best incoming links:" +msgstr "%d beste inkomende koppelingen:" + +#: lib/stdlib.php:63 +#, c-format +msgid "%d best outgoing links:" +msgstr "%d beste uitgaande koppelingen:" + +#: lib/stdlib.php:74 +#, c-format +msgid "%d most popular nearby:" +msgstr "%d meest gevraagde in de buurt:" + +#: lib/stdlib.php:288 +msgid "Stack bounds exceeded in SetHTMLOutputMode" +msgstr "" + +#: lib/stdlib.php:343 lib/stdlib.php:406 msgid "RecentChanges" msgstr "RecenteVeranderingen" - -# #: test_dbmlib.php3:41 test_dbmlib.php3:75 wiki_linguas.php3:21 -#~ msgid "TestPage" -#~ msgstr "TestPagina" diff --git a/locale/po/phpwiki.pot b/locale/po/phpwiki.pot index 7fc53c145..56d83a568 100644 --- a/locale/po/phpwiki.pot +++ b/locale/po/phpwiki.pot @@ -6,7 +6,7 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" -"POT-Creation-Date: 2000-10-19 23:29+0200\n" +"POT-Creation-Date: 2000-10-20 13:43+0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -14,53 +14,205 @@ msgstr "" "Content-Type: text/plain; charset=CHARSET\n" "Content-Transfer-Encoding: ENCODING\n" -#: ../lib/config.php:158 +#: lib/config.php:158 msgid "./pgsrc" msgstr "" -#: ../lib/config.php:168 +#: lib/config.php:168 msgid "templates/browse.html" msgstr "" -#: ../lib/config.php:169 +#: lib/config.php:169 msgid "templates/editpage.html" msgstr "" -#: ../lib/config.php:170 +#: lib/config.php:170 msgid "templates/editlinks.html" msgstr "" -#: ../lib/config.php:171 +#: lib/config.php:171 msgid "templates/message.html" msgstr "" -#: ../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:988 +msgid "Current page:" +msgstr "" + +#: lib/diff.php:992 lib/diff.php:1010 +#, c-format +msgid "version %s" +msgstr "" + +#: lib/diff.php:994 lib/diff.php:1012 +#, c-format +msgid "last modified on %s" +msgstr "" + +#: lib/diff.php:997 lib/diff.php:1015 +#, c-format +msgid "by %s" +msgstr "" + +#: lib/diff.php:1001 lib/diff.php:1019 +msgid "None" +msgstr "" + +#: lib/diff.php:1006 +msgid "Archived page:" +msgstr "" + +#: lib/diff.php:1028 +msgid "Versions are identical" +msgstr "" + +#: lib/diff.php:1036 #, c-format msgid "Diff of %s." msgstr "" -#: ../lib/display.php:14 +#: lib/display.php:14 msgid "FrontPage" msgstr "" -#: ../lib/display.php:31 ../lib/editpage.php:49 +#: lib/display.php:31 lib/editpage.php:50 #, c-format msgid "Describe %s here." msgstr "" -#: ../lib/pageinfo.php:22 ../lib/pageinfo.php:66 +#: lib/editpage.php:19 +#, c-format +msgid "Copy of %s" +msgstr "" + +#: lib/editpage.php:23 +msgid "No page name passed into editpage!" +msgstr "" + +#: lib/editpage.php:31 +msgid "This page has been locked by the administrator and cannot be edited." +msgstr "" + +#: lib/editpage.php:33 +msgid "Sorry for the inconvinience." +msgstr "" + +#: lib/editpage.php:35 +#, c-format +msgid "Problem while editing %s" +msgstr "" + +#: lib/fullsearch.php:15 +#, c-format +msgid "Searching for \"%s\" ....." +msgstr "" + +#: lib/fullsearch.php:44 +#, c-format +msgid "%d matches found in %d pages." +msgstr "" + +#: lib/fullsearch.php:47 +msgid "Full Text Search Results" +msgstr "" + +#: lib/msql.php:29 lib/mysql.php:33 +msgid "Cannot establish connection to database, giving up." +msgstr "" + +#: lib/msql.php:31 lib/msql.php:37 +#, c-format +msgid "Error message: %s" +msgstr "" + +#: lib/msql.php:35 lib/mysql.php:39 +#, c-format +msgid "Cannot open database %s, giving up." +msgstr "" + +#: lib/msql.php:200 lib/msql.php:276 +#, c-format +msgid "Insert/update failed: %s" +msgstr "" + +#: lib/msql.php:211 lib/msql.php:286 +#, c-format +msgid "Delete on %s failed: %s" +msgstr "" + +#: lib/msql.php:227 lib/msql.php:302 +#, c-format +msgid "Insert into %s failed: %s" +msgstr "" + +#: lib/mysql.php:35 lib/mysql.php:41 lib/mysql.php:115 +#, c-format +msgid "MySQL error: %s" +msgstr "" + +#: lib/mysql.php:113 +#, c-format +msgid "Error writing page '%s'" +msgstr "" + +#: lib/pageinfo.php:22 lib/pageinfo.php:66 msgid "PageInfo" msgstr "" -#: ../lib/savepage.php:60 +#: lib/savepage.php:60 #, c-format msgid "Thank you for editing %s." msgstr "" -#: ../lib/savepage.php:90 +#: lib/savepage.php:90 msgid "Your careful attention to detail is much appreciated." msgstr "" -#: ../lib/stdlib.php:318 ../lib/stdlib.php:380 +#: lib/setupwiki.php:21 +#, c-format +msgid "Inserting page %s, version %s from %s" +msgstr "" + +#: lib/stdlib.php:36 +msgid "WikiFatalError" +msgstr "" + +#: lib/stdlib.php:53 +#, c-format +msgid "%d best incoming links:" +msgstr "" + +#: lib/stdlib.php:63 +#, c-format +msgid "%d best outgoing links:" +msgstr "" + +#: lib/stdlib.php:74 +#, c-format +msgid "%d most popular nearby:" +msgstr "" + +#: lib/stdlib.php:288 +msgid "Stack bounds exceeded in SetHTMLOutputMode" +msgstr "" + +#: lib/stdlib.php:343 lib/stdlib.php:406 msgid "RecentChanges" msgstr "" diff --git a/locale/translate.sh b/locale/translate.sh index 030ccd676..d78f1b671 100644 --- a/locale/translate.sh +++ b/locale/translate.sh @@ -1,6 +1,10 @@ #!/bin/bash # translate.sh # +# Usage: +# +# ./locale/translate.sh +# # This script should be run by # # * PphWiki maintainers, before making a distribution @@ -9,14 +13,15 @@ ALL_LINGUAS=nl -xgettext -L C++ -o po/phpwiki.pot ../lib/*php +xgettext -L C++ -o locale/po/phpwiki.pot lib/*php +podir=locale/po for i in $ALL_LINGUAS; do - po=po/$i.po - pot=po/phpwiki.pot - locale=$i/LC_MESSAGES + po=$podir/$i.po + pot=$podir/phpwiki.pot + locale=locale/$i/LC_MESSAGES msgmerge -o $po $po $pot - mkdir -p $i/LC_MESSAGES + mkdir -p locale/$i/LC_MESSAGES msgfmt -o $locale/phpwiki.mo $po awk -- ' diff --git a/pgsrc/TestPage b/pgsrc/TestPage index 5e6f63a79..e10ebfc3f 100644 --- a/pgsrc/TestPage +++ b/pgsrc/TestPage @@ -1,6 +1,6 @@ - New lists: astericks and hash marks + New lists: asterisks and hash marks * bullet * l1 ** l2 @@ -56,6 +56,8 @@ __Link tests__ # Link outside brackets: http://phpwiki.sourceforge.net/ # Link with Wiki word: http://phpwiki.sourceforge.net/phpwiki/index.php?FrontPage # Two consecutive links: http://phpwiki.sourceforge.net/ http://phpwiki.sourceforge.net/phpwiki/ +# And what about a WikiLink and another WikiLinkWithSameStem on one line? +# Other way around: WikiLinkWithSameStem plus WikiLink # [PhpWiki on Sourceforge | http://phpwiki.sourceforge.net/] # [URL with a WikiWord | http://phpwiki.sourceforge.net/phpwiki/index.php?RecentChanges] # Javascript: [boo! | javascript:alert('oops') ] diff --git a/test_dbmlib.php3 b/test_dbmlib.php3 index 16b6e55ce..85879f671 100644 --- a/test_dbmlib.php3 +++ b/test_dbmlib.php3 @@ -1,4 +1,4 @@ - + Test bed for database library @@ -38,7 +38,7 @@ // IsWikPage() // Test for pages to see if they are there // - $pagename = "TestPage"; + $pagename = gettext ("TestPage"); echo "Testing for existence of $pagename
\n"; $res = IsWikiPage($dbi, $pagename); if ($res) { @@ -72,7 +72,7 @@ // retrieves and failed retrieves // - $pagename = "TestPage"; + $pagename = gettext ("TestPage"); echo "Retrieving page '$pagename'
\n"; $pagehash = RetrievePage($dbi, $pagename, $WikiPageStore); $type = gettype($pagehash); -- 2.45.0