From: <ja...@gn...> - 2000-10-24 07:49:41
|
Hi Arno, I'll maybe have a quick look at these too... 7.And what about a WikiLink? and another WikiLink?WithSameStem on one line? 8.Other way around: WikiLink?WithSameStem plus WikiLink? 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 Mon Oct 23 03:48:39 2000 @@ -6,16 +6,20 @@ } $encname = htmlspecialchars($info); + $enter .= gettext ("Enter a page name"); + $go = gettext ("Go"); $html = "<form action=\"$ScriptUrl\" METHOD=GET>\n" . "<input name=\"info\" value=\"$encname\">" . - " Enter a page name\n" . - "<input type=submit value=Go><br>\n" . + " $enter\n" . + "<input type=submit value=$go><br>\n" . "<input type=checkbox name=showpagesource"; if ($showpagesource == "on") { $html .= " checked"; } - $html .= "> Show the page source and references\n</form>\n"; + $html .= "> "; + $html .= gettext ("Show the page source and references"); + $html .= "\n</form>\n"; // don't bother unless we were asked if (! $info) { @@ -29,7 +33,8 @@ $pagehash = RetrievePage($dbi, $name, $pagestore); if ($pagehash == -1) { - $table = "Page name '$name' is not in the database<br>\n"; + $table = sprintf (gettext ("Page name '%s' is not in the database"), + $name) . "\n"; } else { $table = "<table border=1 bgcolor=white>\n"; @@ -55,11 +60,15 @@ return $table; } - $html .= "<P><B>Current version</B></p>"; + $html .= "<P><B>"; + $html .= gettext ("Current version"); + $html .= "</B></p>"; // $dbi = OpenDataBase($WikiPageStore); --- done by index.php $html .= ViewPageProps($info, $WikiPageStore); - $html .= "<P><B>Archived version</B></p>"; + $html .= "<P><B>"; + $html .= gettext ("Archived version"); + $html .= "</B></p>"; // $dbi = OpenDataBase($ArchivePageStore); $html .= ViewPageProps($info, $ArchivePageStore); 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 Fri Oct 20 15:22:03 2000 +++ ./locale/nl/LC_MESSAGES/phpwiki.php Tue Oct 24 09:34:18 2000 @@ -69,8 +69,20 @@ "MySQL fout: %s"; $locale["Error writing page '%s'"] = "Fout bij schrijven pagina `%s'"; +$locale["Enter a page name"] = + "Geef de naam van een pagina"; +$locale["Go"] = + "Ga"; +$locale["Show the page source and references"] = + "Toon de bron tekst en de koppelingen van de pagina"; $locale["PageInfo"] = "PaginaInfo"; +$locale["Page name '%s' is not in the database"] = + "Pagina naam `%s' staat niet in de data base"; +$locale["Current version"] = + "Actuele versie:"; +$locale["Archived version"] = + "Gearchiveerde versie:"; $locale["Thank you for editing %s."] = "Bedankt voor het veranderen van %s."; $locale["Your careful attention to detail is much appreciated."] = diff -urN --exclude=CVS --exclude=*~ --exclude=#* ../phpwiki/locale/po/nl.po ./locale/po/nl.po --- ../phpwiki/locale/po/nl.po Fri Oct 20 15:22:04 2000 +++ ./locale/po/nl.po Tue Oct 24 09:34:18 2000 @@ -10,7 +10,7 @@ msgid "" msgstr "" "Project-Id-Version: phpwiki 1.1.7\n" -"POT-Creation-Date: 2000-10-20 13:43+0200\n" +"POT-Creation-Date: 2000-10-24 09:34+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" @@ -24,19 +24,19 @@ msgid "./pgsrc" msgstr "locale/nl/pgsrc" -#: lib/config.php:168 +#: lib/config.php:174 msgid "templates/browse.html" msgstr "locale/nl/templates/browse.html" -#: lib/config.php:169 +#: lib/config.php:175 msgid "templates/editpage.html" msgstr "locale/nl/templates/editpage.html" -#: lib/config.php:170 +#: lib/config.php:176 msgid "templates/editlinks.html" msgstr "locale/nl/templates/editlinks.html" -#: lib/config.php:171 +#: lib/config.php:177 msgid "templates/message.html" msgstr "locale/nl/templates/message.html" @@ -140,7 +140,7 @@ msgid "Full Text Search Results" msgstr "Volledige tekst zoek resultaten" -#: lib/msql.php:29 lib/mysql.php:33 +#: lib/msql.php:29 lib/mysql.php:42 msgid "Cannot establish connection to database, giving up." msgstr "Kan verbinding naar data base niet tot stand brengen, geef op." @@ -149,7 +149,7 @@ msgid "Error message: %s" msgstr "Foutboodschap: %s" -#: lib/msql.php:35 lib/mysql.php:39 +#: lib/msql.php:35 lib/mysql.php:48 #, c-format msgid "Cannot open database %s, giving up." msgstr "Kan data base %s niet openen, geef op." @@ -169,19 +169,44 @@ msgid "Insert into %s failed: %s" msgstr "Insert in %s gefaald: %s" -#: lib/mysql.php:35 lib/mysql.php:41 lib/mysql.php:115 +#: lib/mysql.php:44 lib/mysql.php:50 lib/mysql.php:124 #, c-format msgid "MySQL error: %s" msgstr "MySQL fout: %s" -#: lib/mysql.php:113 +#: lib/mysql.php:122 #, c-format msgid "Error writing page '%s'" msgstr "Fout bij schrijven pagina `%s'" -#: lib/pageinfo.php:22 lib/pageinfo.php:66 +#: lib/pageinfo.php:9 +msgid "Enter a page name" +msgstr "Geef de naam van een pagina" + +#: lib/pageinfo.php:10 +msgid "Go" +msgstr "Ga" + +#: lib/pageinfo.php:21 +msgid "Show the page source and references" +msgstr "Toon de bron tekst en de koppelingen van de pagina" + +#: lib/pageinfo.php:26 lib/pageinfo.php:75 msgid "PageInfo" msgstr "PaginaInfo" + +#: lib/pageinfo.php:36 +#, c-format +msgid "Page name '%s' is not in the database" +msgstr "Pagina naam `%s' staat niet in de data base" + +#: lib/pageinfo.php:64 +msgid "Current version" +msgstr "Actuele versie:" + +#: lib/pageinfo.php:70 +msgid "Archived version" +msgstr "Gearchiveerde versie:" #: lib/savepage.php:60 #, c-format diff -urN --exclude=CVS --exclude=*~ --exclude=#* ../phpwiki/locale/po/phpwiki.pot ./locale/po/phpwiki.pot --- ../phpwiki/locale/po/phpwiki.pot Fri Oct 20 15:22:04 2000 +++ ./locale/po/phpwiki.pot Tue Oct 24 09:34:18 2000 @@ -6,7 +6,7 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" -"POT-Creation-Date: 2000-10-20 13:43+0200\n" +"POT-Creation-Date: 2000-10-24 09:34+0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" "Language-Team: LANGUAGE <LL...@li...>\n" @@ -18,19 +18,19 @@ msgid "./pgsrc" msgstr "" -#: lib/config.php:168 +#: lib/config.php:174 msgid "templates/browse.html" msgstr "" -#: lib/config.php:169 +#: lib/config.php:175 msgid "templates/editpage.html" msgstr "" -#: lib/config.php:170 +#: lib/config.php:176 msgid "templates/editlinks.html" msgstr "" -#: lib/config.php:171 +#: lib/config.php:177 msgid "templates/message.html" msgstr "" @@ -133,7 +133,7 @@ msgid "Full Text Search Results" msgstr "" -#: lib/msql.php:29 lib/mysql.php:33 +#: lib/msql.php:29 lib/mysql.php:42 msgid "Cannot establish connection to database, giving up." msgstr "" @@ -142,7 +142,7 @@ msgid "Error message: %s" msgstr "" -#: lib/msql.php:35 lib/mysql.php:39 +#: lib/msql.php:35 lib/mysql.php:48 #, c-format msgid "Cannot open database %s, giving up." msgstr "" @@ -162,18 +162,43 @@ msgid "Insert into %s failed: %s" msgstr "" -#: lib/mysql.php:35 lib/mysql.php:41 lib/mysql.php:115 +#: lib/mysql.php:44 lib/mysql.php:50 lib/mysql.php:124 #, c-format msgid "MySQL error: %s" msgstr "" -#: lib/mysql.php:113 +#: lib/mysql.php:122 #, c-format msgid "Error writing page '%s'" msgstr "" -#: lib/pageinfo.php:22 lib/pageinfo.php:66 +#: lib/pageinfo.php:9 +msgid "Enter a page name" +msgstr "" + +#: lib/pageinfo.php:10 +msgid "Go" +msgstr "" + +#: lib/pageinfo.php:21 +msgid "Show the page source and references" +msgstr "" + +#: lib/pageinfo.php:26 lib/pageinfo.php:75 msgid "PageInfo" +msgstr "" + +#: lib/pageinfo.php:36 +#, c-format +msgid "Page name '%s' is not in the database" +msgstr "" + +#: lib/pageinfo.php:64 +msgid "Current version" +msgstr "" + +#: lib/pageinfo.php:70 +msgid "Archived version" msgstr "" #: lib/savepage.php:60 -- Jan Nieuwenhuizen <ja...@gn...> | GNU LilyPond - The music typesetter http://www.xs4all.nl/~jantien | http://www.lilypond.org |