[feladat @ 4]
authorrejo
Mon, 16 Apr 2007 19:48:27 +0000
changeset 3 64525a2eb098
parent 2 9a485c41cfcf
child 4 55ed92aa7cf5
[feladat @ 4] General update translation.
add_record.php
delete_domain.php
delete_user.php
docs/README.i18n
docs/template.pot
edit.php
edit_record.php
edit_user.php
inc/i18n.inc.php
inc/toolkit.inc.php
index.php
locale/nl_NL/LC_MESSAGES/nl.po
search.php
test_setup.php
users.php
--- a/add_record.php	Sat Apr 14 11:37:27 2007 +0000
+++ b/add_record.php	Mon Apr 16 19:48:27 2007 +0000
@@ -34,7 +34,7 @@
 <FORM METHOD="post">
 <INPUT TYPE="hidden" NAME="zoneid" VALUE="<?= $_GET["id"] ?>">
 <TABLE BORDER="0" CELLSPACING="4">
-<TR STYLE="font-weight: Bold"><TD CLASS="tdbg"><? echo _('Name'); ?></TD><TD CLASS="tdbg">&nbsp;</TD><TD CLASS="tdbg"><? echo _('Type'); ?></TD><TD CLASS="tdbg"><? echo _('Priority'); ?></TD><TD CLASS="tdbg"><? echo _('Content'); ?></TD><TD CLASS="tdbg"><? echo _('TimeToLive'); ?></TD></TR>
+<TR STYLE="font-weight: Bold"><TD CLASS="tdbg"><? echo _('Name'); ?></TD><TD CLASS="tdbg">&nbsp;</TD><TD CLASS="tdbg"><? echo _('Type'); ?></TD><TD CLASS="tdbg"><? echo _('Priority'); ?></TD><TD CLASS="tdbg"><? echo _('Content'); ?></TD><TD CLASS="tdbg"><? echo _('TTL'); ?></TD></TR>
 <TR><TD CLASS="tdbg"><INPUT TYPE="text" NAME="name" CLASS="input">.<?= get_domain_name_from_id($_GET["id"]) ?></TD><TD CLASS="tdbg">IN</TD><TD CLASS="tdbg"><SELECT NAME="type">
 <?
 $dname = get_domain_name_from_id($_GET["id"]);
--- a/delete_domain.php	Sat Apr 14 11:37:27 2007 +0000
+++ b/delete_domain.php	Mon Apr 16 19:48:27 2007 +0000
@@ -38,7 +38,7 @@
         ?><H2><? echo _('Delete domain'); ?> "<?= $info["name"] ?>"</H2>
         <? echo _('Owner'); ?>: <?= $info["owner"] ?><BR>
         <? echo _('Number of records in zone'); ?>: <?= $info["numrec"] ?><BR><BR>
-        <FONT CLASS="warning"><? echo _('Are you sure'); ?>?</FONT><BR><BR>
+        <FONT CLASS="warning"><? echo _('Are you sure?'); ?></FONT><BR><BR>
         <INPUT TYPE="button" CLASS="button" OnClick="location.href='<?= $_SERVER["REQUEST_URI"] ?>&confirm=1'" VALUE="<? echo _('Yes'); ?>"> <INPUT TYPE="button" CLASS="button" OnClick="location.href='<?= $_SERVER["REQUEST_URI"] ?>&confirm=0'" VALUE="<? echo _('No'); ?>">
         <?
 } elseif ($_GET["edit"]) {
--- a/delete_user.php	Sat Apr 14 11:37:27 2007 +0000
+++ b/delete_user.php	Mon Apr 16 19:48:27 2007 +0000
@@ -93,7 +93,7 @@
         $message = _('You are going to delete this user, are you sure?');
         if(($numrows = $db->getOne("select count(id) from zones where owner=$id")) != 0)
         {
-        	$message .= " " . _('This user has access to $numrows domain(s), by deleting him you will also delete these domains');
+        	$message .= " " . _('This user has access to ') . $numrows . _('domain(s), by deleting him you will also delete these domains');
         }
 
         ?>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/docs/README.i18n	Mon Apr 16 19:48:27 2007 +0000
@@ -0,0 +1,46 @@
+README.i18n
+
+
+Using a translation
+-----------------------------------------------------------------------
+
+All available translations can be found in the locale directory in the
+poweradmin base directory. The Dutch translation for example, can be
+found in nl_NL. To review the status of the translation, you can have a
+look at the nl.po file in the LC_MESSAGE directory.
+
+If you want to use a translation, say the nl_NL, all you have to do is 
+edit inc/i18n.php file and change the $language variable to the desired
+language, for example "nl_NL".
+
+If this doesn't work, your system isn't setup properly.
+
+
+Adding a new translation
+-----------------------------------------------------------------------
+
+If you want to create a new translation you can do the following. For
+example, if you want to create a Dutch translation:
+ 
+ - cd /path/to/poweradmin/
+ - mkdir -p locale/nl_NL/LC_MESSAGES/
+ - cp docs/template.pot locale/nl_NL/LC_MESSAGES/nl.po
+ - cd locale/nl_NL/LC_MESSAGES/
+ - vim nl.po
+ - msgfmt nl.po -o message.mo
+
+
+Updating the translation template file
+-----------------------------------------------------------------------
+
+If creating a new translation and you are not sure if the template file
+that was provided in the distribution, you may want to re-create the 
+template file. To do so, do the following:
+
+
+ - cd /path/to/poweradmin/
+ - xgettext --no-wrap -o docs/template.pot *.php inc/*.php
+
+The last command updates the template file in docs/ directory.
+
+
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/docs/template.pot	Mon Apr 16 19:48:27 2007 +0000
@@ -0,0 +1,399 @@
+# SOME DESCRIPTIVE TITLE.
+# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
+# This file is distributed under the same license as the PACKAGE package.
+# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2007-04-15 00:21+0200\n"
+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
+"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
+"Language-Team: LANGUAGE <LL@li.org>\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=CHARSET\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: add_record.php:31
+msgid "Add record to zone"
+msgstr ""
+
+#: add_record.php:32 edit.php:160 edit_record.php:61 search.php:40
+#: users.php:49
+msgid "DNS Admin"
+msgstr ""
+
+#: add_record.php:32 add_record.php:53 edit.php:271
+msgid "Add record"
+msgstr ""
+
+#: add_record.php:37 edit.php:186 edit_record.php:67 index.php:151
+#: search.php:78 search.php:121 users.php:78
+msgid "Name"
+msgstr ""
+
+#: add_record.php:37 edit.php:187 edit_record.php:67 search.php:122
+msgid "Type"
+msgstr ""
+
+#: add_record.php:37 edit.php:189 edit_record.php:67 search.php:124
+msgid "Priority"
+msgstr ""
+
+#: add_record.php:37 edit.php:188 edit_record.php:67 search.php:123
+msgid "Content"
+msgstr ""
+
+#: add_record.php:37 edit.php:190 edit_record.php:67 search.php:125
+msgid "TTL"
+msgstr ""
+
+#: delete_domain.php:38 users.php:93
+msgid "Delete domain"
+msgstr ""
+
+#: delete_domain.php:39 index.php:151 index.php:206 search.php:80
+msgid "Owner"
+msgstr ""
+
+#: delete_domain.php:40
+msgid "Number of records in zone"
+msgstr ""
+
+#: delete_domain.php:41 delete_record.php:38
+msgid "Are you sure?"
+msgstr ""
+
+#: delete_domain.php:42 delete_record.php:39 delete_user.php:103
+msgid "Yes"
+msgstr ""
+
+#: delete_domain.php:42 delete_record.php:39 delete_user.php:103
+msgid "No"
+msgstr ""
+
+#: delete_record.php:31 edit.php:203 search.php:142
+msgid "Delete record"
+msgstr ""
+
+#: delete_user.php:54 users.php:85
+msgid "Delete user"
+msgstr ""
+
+#: delete_user.php:60
+msgid "This user has access to the following domain(s)"
+msgstr ""
+
+#: delete_user.php:93
+msgid "You are going to delete this user, are you sure?"
+msgstr ""
+
+#: delete_user.php:96
+msgid "This user has access to "
+msgstr ""
+
+#: delete_user.php:96
+msgid "domain(s), by deleting him you will also delete these domains"
+msgstr ""
+
+#: edit.php:52
+msgid "Edit domain"
+msgstr ""
+
+#: edit.php:58
+msgid "This domain isn't owned by anyone yet, please assign someone."
+msgstr ""
+
+#: edit.php:69
+msgid "Add an owner"
+msgstr ""
+
+#: edit.php:88
+msgid "Add"
+msgstr ""
+
+#: edit.php:101
+msgid "Current listed owners"
+msgstr ""
+
+#: edit.php:115
+msgid "Delete"
+msgstr ""
+
+#: edit.php:132
+msgid "Type of this domain"
+msgstr ""
+
+#: edit.php:136
+msgid "Change type"
+msgstr ""
+
+#: edit.php:152
+msgid "Change"
+msgstr ""
+
+#: edit.php:162
+msgid "Number of records"
+msgstr ""
+
+#: edit.php:185
+msgid "Sub-owners"
+msgstr ""
+
+#: edit.php:202 edit_record.php:61 search.php:141
+msgid "Edit record"
+msgstr ""
+
+#: edit.php:241
+msgid "No records for this domain."
+msgstr ""
+
+#: edit.php:262
+msgid "Assign to user"
+msgstr ""
+
+#: edit.php:276 index.php:175 search.php:91
+msgid "Delete zone"
+msgstr ""
+
+#: edit_record.php:60
+msgid "Edit record in zone"
+msgstr ""
+
+#: edit_record.php:104 edit_user.php:76
+msgid "Commit changes"
+msgstr ""
+
+#: edit_record.php:104
+msgid "Reset changes"
+msgstr ""
+
+#: edit_record.php:109
+msgid "Sub-users"
+msgstr ""
+
+#: edit_record.php:115
+msgid "trash"
+msgstr ""
+
+#: edit_user.php:54 edit_user.php:59
+msgid "Edit user"
+msgstr ""
+
+#: edit_user.php:59 index.php:111 search.php:44 users.php:47
+msgid "User admin"
+msgstr ""
+
+#: edit_user.php:69 users.php:105
+msgid "User name"
+msgstr ""
+
+#: edit_user.php:70 users.php:106
+msgid "Full name"
+msgstr ""
+
+#: edit_user.php:71 users.php:107
+msgid "Password"
+msgstr ""
+
+#: edit_user.php:72 users.php:108
+msgid "E-mail"
+msgstr ""
+
+#: edit_user.php:73 users.php:109
+msgid "User level"
+msgstr ""
+
+#: edit_user.php:73
+msgid "Normal user"
+msgstr ""
+
+#: edit_user.php:73
+msgid "Administrator"
+msgstr ""
+
+#: edit_user.php:73
+msgid "Administrator w/ user admin rights"
+msgstr ""
+
+#: edit_user.php:74 users.php:110
+msgid "Description"
+msgstr ""
+
+#: edit_user.php:75 users.php:111
+msgid "Active"
+msgstr ""
+
+#: index.php:111 search.php:44 users.php:53
+msgid "Synchronize database"
+msgstr ""
+
+#: index.php:114 users.php:55
+msgid "Search records"
+msgstr ""
+
+#: index.php:118
+msgid "Welcome"
+msgstr ""
+
+#: index.php:121
+msgid "Your userlevel is"
+msgstr ""
+
+#: index.php:127 users.php:65
+msgid "Error"
+msgstr ""
+
+#: index.php:131
+msgid "Current domains in DNS (click to view or edit)"
+msgstr ""
+
+#: index.php:151 search.php:79
+msgid "Records"
+msgstr ""
+
+#: index.php:163
+msgid "No domains in this listing, sorry."
+msgstr ""
+
+#: index.php:190
+msgid "You only administer some records of domains marked with an (*)."
+msgstr ""
+
+#: index.php:201
+msgid "Create new domain"
+msgstr ""
+
+#: index.php:203
+msgid "Domain name"
+msgstr ""
+
+#: index.php:204
+msgid "Web IP"
+msgstr ""
+
+#: index.php:205
+msgid "Mail IP"
+msgstr ""
+
+#: index.php:220
+msgid "Domain type"
+msgstr ""
+
+#: index.php:231
+msgid "Create zone without"
+msgstr ""
+
+#: index.php:231
+msgid "applying records-template"
+msgstr ""
+
+#: index.php:232
+msgid "Add domain"
+msgstr ""
+
+#: index.php:241 index.php:246
+msgid "Change password"
+msgstr ""
+
+#: index.php:243
+msgid "Current password"
+msgstr ""
+
+#: index.php:244 index.php:245
+msgid "New password"
+msgstr ""
+
+#: search.php:38
+msgid "Search zones or records"
+msgstr ""
+
+#: search.php:48
+msgid "Type a hostname or a record in the box below and press search to see if the record exists in the system."
+msgstr ""
+
+#: search.php:52
+msgid "Enter a hostname or IP address"
+msgstr ""
+
+#: search.php:57
+msgid "Search"
+msgstr ""
+
+#: search.php:73
+msgid "Domains found"
+msgstr ""
+
+#: search.php:116
+msgid "Records found"
+msgstr ""
+
+#: search.php:173
+msgid "Nothing found for query"
+msgstr ""
+
+#: seq_update.php:26
+msgid "Synching databases. This is useful if you did manual insertions (in case you havent been here yet)."
+msgstr ""
+
+#: test_setup.php:58
+msgid "Not all tables are ok!"
+msgstr ""
+
+#: test_setup.php:62
+msgid "Successful!"
+msgstr ""
+
+#: test_setup.php:70
+msgid "Sorry, but there are error(s) found in the following table(s):"
+msgstr ""
+
+#: test_setup.php:75
+msgid "Please fix these errors and run the script again."
+msgstr ""
+
+#: test_setup.php:79
+msgid "Successful! Everything is set up ok, you can rumble!"
+msgstr ""
+
+#: users.php:36
+msgid "Usernames can't contain spaces"
+msgstr ""
+
+#: users.php:41
+msgid "Please fill in all fields"
+msgstr ""
+
+#: users.php:68
+msgid "Current users (click to edit)"
+msgstr ""
+
+#: users.php:72
+msgid "Number of users"
+msgstr ""
+
+#: users.php:78
+msgid "Domains"
+msgstr ""
+
+#: users.php:78
+msgid "Domain list"
+msgstr ""
+
+#: users.php:78
+msgid "Level"
+msgstr ""
+
+#: users.php:78
+msgid "Status"
+msgstr ""
+
+#: users.php:103
+msgid "Create new user"
+msgstr ""
+
+#: users.php:112
+msgid "Add user"
+msgstr ""
--- a/edit.php	Sat Apr 14 11:37:27 2007 +0000
+++ b/edit.php	Mon Apr 16 19:48:27 2007 +0000
@@ -55,7 +55,7 @@
 if(!isset($info["ownerid"]))
 {
 	?>
-	<P CLASS="warning"><? echo _('This domain isnt owned by anyone yet, please assign someone.'); ?></P>
+	<P CLASS="warning"><? echo _('This domain isn\'t owned by anyone yet, please assign someone.'); ?></P>
 	<?
 }
 ?>
@@ -85,12 +85,12 @@
 			</SELECT>
 		</TD>
 		<TD CLASS="none" VALIGN="middle"  align="right">
-			<INPUT TYPE="submit" CLASS="sbutton" NAME="co" VALUE="<? echo _('add'); ?>">
+			<INPUT TYPE="submit" CLASS="sbutton" NAME="co" VALUE="<? echo _('Add'); ?>">
 		</TD>
 		</FORM>
 	</TR>
 	<TR>
-		<TD CLASS="text">&nbsp;</TD>
+		<TD CLASS="text" COLSPAN="2">&nbsp;</TD>
 	</TR>
 <? 
 
@@ -112,7 +112,7 @@
 			</TD>
 			<TD CLASS="text" align="right">
 				<INPUT TYPE="hidden" NAME="del_user" VALUE="<?=$user["id"]?>">
-				<INPUT TYPE="submit" CLASS="sbutton" NAME="co" VALUE="<? echo _('delete'); ?>">
+				<INPUT TYPE="submit" CLASS="sbutton" NAME="co" VALUE="<? echo _('Delete'); ?>">
 			</TD>
 			</FORM>
 		</TR>
@@ -149,7 +149,7 @@
                 </SELECT>
             </TD>
             <TD CLASS="text">
-                <INPUT TYPE="submit" CLASS="sbutton" NAME="type_change" VALUE="<? echo _('change'); ?>">
+                <INPUT TYPE="submit" CLASS="sbutton" NAME="type_change" VALUE="<? echo _('Change'); ?>">
             </TD>
         </TR>
         </FORM>
@@ -182,7 +182,7 @@
 	?>
 	<TR STYLE="font-weight: Bold;">
 	<TD CLASS="tdbg">&nbsp;</TD>
-	<? if (level(10)) { echo "<TD CLASS=\"tdbg\">" . _('Sub-Owners') . "</TD>"; } ?>
+	<? if (level(10)) { echo "<TD CLASS=\"tdbg\">" . _('Sub-owners') . "</TD>"; } ?>
 	<TD CLASS="tdbg"><? echo _('Name'); ?></TD>
 	<TD CLASS="tdbg"><? echo _('Type'); ?></TD>
 	<TD CLASS="tdbg"><? echo _('Content'); ?></TD>
@@ -199,8 +199,8 @@
 	        {
                 // get_name_from_record_id($r["id"]) != get_domain_name_from_id(recid_to_domid($r["id"])) <-- hmm..
                 ?>
-	            <A HREF="edit_record.php?id=<?= $r['id'] ?>&amp;domain=<?= $_GET["id"] ?>"><IMG SRC="images/edit.gif" ALT="[ <? echo _('edit record'); ?> ]" BORDER="0"></A>
-	            <A HREF="delete_record.php?id=<?= $r['id'] ?>&amp;domain=<?= $_GET["id"] ?>"><IMG SRC="images/delete.gif" ALT="[ <? echo _('delete record'); ?> ]" BORDER="0"></A>
+	            <A HREF="edit_record.php?id=<?= $r['id'] ?>&amp;domain=<?= $_GET["id"] ?>"><IMG SRC="images/edit.gif" ALT="[ <? echo _('Edit record'); ?> ]" BORDER="0"></A>
+	            <A HREF="delete_record.php?id=<?= $r['id'] ?>&amp;domain=<?= $_GET["id"] ?>"><IMG SRC="images/delete.gif" ALT="[ <? echo _('Delete record'); ?> ]" BORDER="0"></A>
 	            <?
 	        }
 
--- a/edit_record.php	Sat Apr 14 11:37:27 2007 +0000
+++ b/edit_record.php	Mon Apr 16 19:48:27 2007 +0000
@@ -64,7 +64,7 @@
 <INPUT TYPE="hidden" NAME="recordid" VALUE="<?= $_GET["id"] ?>">
 <INPUT TYPE="hidden" NAME="domainid" VALUE="<?= $_GET["domain"] ?>">
 <TABLE BORDER="0" CELLSPACING="4">
-<TR STYLE="font-weight: Bold"><TD CLASS="tdbg"><? echo _('Name'); ?></TD><TD CLASS="tdbg">&nbsp;</TD><TD CLASS="tdbg"><? echo _('Type'); ?></TD><TD CLASS="tdbg"><? echo _('Priority'); ?></TD><TD CLASS="tdbg"><? echo _('Content'); ?></TD><TD CLASS="tdbg"><? echo _('TimeToLive'); ?></TD></TR>
+<TR STYLE="font-weight: Bold"><TD CLASS="tdbg"><? echo _('Name'); ?></TD><TD CLASS="tdbg">&nbsp;</TD><TD CLASS="tdbg"><? echo _('Type'); ?></TD><TD CLASS="tdbg"><? echo _('Priority'); ?></TD><TD CLASS="tdbg"><? echo _('Content'); ?></TD><TD CLASS="tdbg"><? echo _('TTL'); ?></TD></TR>
 
 <?
 	$rec = get_record_from_id($_GET["id"]);
--- a/edit_user.php	Sat Apr 14 11:37:27 2007 +0000
+++ b/edit_user.php	Mon Apr 16 19:48:27 2007 +0000
@@ -56,7 +56,7 @@
 if (level(10))
 {
 ?>
-<FONT CLASS="nav"><BR><A HREF="users.php"><? echo _('User Admin'); ?></A> &gt;&gt; <? echo _('Edit User'); ?></FONT><BR><BR>
+<FONT CLASS="nav"><BR><A HREF="users.php"><? echo _('User admin'); ?></A> &gt;&gt; <? echo _('Edit user'); ?></FONT><BR><BR>
 <?
 }
 
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/inc/i18n.inc.php	Mon Apr 16 19:48:27 2007 +0000
@@ -0,0 +1,7 @@
+<?
+$language = "nl_NL";
+setlocale(LC_ALL, $language);
+$gettext_domain = 'messages';
+bindtextdomain($gettext_domain, "./locale");
+textdomain($gettext_domain);
+?>
--- a/inc/toolkit.inc.php	Sat Apr 14 11:37:27 2007 +0000
+++ b/inc/toolkit.inc.php	Mon Apr 16 19:48:27 2007 +0000
@@ -70,6 +70,7 @@
 
 require_once("error.inc.php");
 require_once("auth.inc.php");
+require_once("i18n.inc.php");
 require_once("users.inc.php");
 require_once("dns.inc.php");
 require_once("record.inc.php");
--- a/index.php	Sat Apr 14 11:37:27 2007 +0000
+++ b/index.php	Mon Apr 16 19:48:27 2007 +0000
@@ -37,7 +37,7 @@
 		The gmysql users another table and other fields though, therefore we had to change the layout of the zones table. In this version thats fully done, but before this we have to migrate it. 
 		
 		Please be sure you have a working backup of your data! 
-		we assume it all works but cant guarantuee it for 100% because we dont have 
+		we assume it all works but can't guarantuee it for 100% because we dont have 
 		too many betatesters.<BR>
 		
 		Do the following to migrate: 
@@ -108,7 +108,7 @@
 <?
 if (level(10))
 {
-	?><A HREF="users.php"><? echo _('User Admin'); ?></A> <A HREF="seq_update.php"><? echo _('Synchronize Database'); ?></A><?
+	?><A HREF="users.php"><? echo _('User admin'); ?></A> <A HREF="seq_update.php"><? echo _('Synchronize database'); ?></A><?
 }
 ?>
  <A HREF="search.php"><? echo _('Search records'); ?></A>
@@ -172,7 +172,7 @@
 		<? if (level(5))
 		{
 			?>
-			<A HREF="delete_domain.php?id=<?= $c["id"] ?>"><IMG SRC="images/delete.gif" ALT="[ <? echo _('delete zone'); ?> ]" BORDER="0"></A><?
+			<A HREF="delete_domain.php?id=<?= $c["id"] ?>"><IMG SRC="images/delete.gif" ALT="[ <? echo _('Delete zone'); ?> ]" BORDER="0"></A><?
 		}
 		else
 		{
@@ -238,11 +238,11 @@
 
 <BR><BR>
 <FORM METHOD="post" ACTION="index.php">
-<B><? echo _('Change your password'); ?>:</B><BR>
+<B><? echo _('Change password'); ?>:</B><BR>
 <TABLE BORDER="0" CELLSPACING="4">
 <TR><TD CLASS="tdbg"><? echo _('Current password'); ?>:</TD><TD WIDTH="510" CLASS="tdbg"><INPUT TYPE="password" CLASS="input" NAME="currentpass" VALUE=""></TD></TR>
-<TR><TD CLASS="tdbg"><? echo _('New Password'); ?>:</TD><TD WIDTH="510" CLASS="tdbg"><INPUT TYPE="password" CLASS="input" NAME="newpass" VALUE=""></TD></TR>
-<TR><TD CLASS="tdbg"><? echo _('New Password'); ?>:</TD><TD WIDTH="510" CLASS="tdbg"><INPUT TYPE="password" CLASS="input" NAME="newpass2" VALUE=""></TD></TR>
+<TR><TD CLASS="tdbg"><? echo _('New password'); ?>:</TD><TD WIDTH="510" CLASS="tdbg"><INPUT TYPE="password" CLASS="input" NAME="newpass" VALUE=""></TD></TR>
+<TR><TD CLASS="tdbg"><? echo _('New password'); ?>:</TD><TD WIDTH="510" CLASS="tdbg"><INPUT TYPE="password" CLASS="input" NAME="newpass2" VALUE=""></TD></TR>
 <TR><TD CLASS="tdbg">&nbsp;</TD><TD CLASS="tdbg"><INPUT TYPE="submit" CLASS="button" NAME="passchange" VALUE="<? echo _('Change password'); ?>"></TD></TR>
 </TABLE>
 </FORM>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/locale/nl_NL/LC_MESSAGES/nl.po	Mon Apr 16 19:48:27 2007 +0000
@@ -0,0 +1,399 @@
+# poweradmin dutch translation
+# Copyright (C) 2007, Rejo Zenger 
+# This file is distributed under the same license as the poweradmin package.
+# Rejo Zenger <rejo@zenger.nl>, 2007.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: poweradmin 1.2.7-patched\n"
+"Report-Msgid-Bugs-To: rejo@zenger.nl\n"
+"POT-Creation-Date: 2007-04-15 00:21+0200\n"
+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
+"Last-Translator: Rejo Zenger <rejo@zenger.nl>\n"
+"Language-Team: Rutch\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: add_record.php:31
+msgid "Add record to zone"
+msgstr "Toevoegen record aan zone"
+
+#: add_record.php:32 edit.php:160 edit_record.php:61 search.php:40
+#: users.php:49
+msgid "DNS Admin"
+msgstr "DNS Admin"
+
+#: add_record.php:32 add_record.php:53 edit.php:271
+msgid "Add record"
+msgstr "Toevoegen record"
+
+#: add_record.php:37 edit.php:186 edit_record.php:67 index.php:151
+#: search.php:78 search.php:121 users.php:78
+msgid "Name"
+msgstr "Naam"
+
+#: add_record.php:37 edit.php:187 edit_record.php:67 search.php:122
+msgid "Type"
+msgstr "Type"
+
+#: add_record.php:37 edit.php:189 edit_record.php:67 search.php:124
+msgid "Priority"
+msgstr "Priority"
+
+#: add_record.php:37 edit.php:188 edit_record.php:67 search.php:123
+msgid "Content"
+msgstr "Content"
+
+#: add_record.php:37 edit.php:190 edit_record.php:67 search.php:125
+msgid "TTL"
+msgstr "TTL"
+
+#: delete_domain.php:38 users.php:93
+msgid "Delete domain"
+msgstr "Verwijderen zone"
+
+#: delete_domain.php:39 index.php:151 index.php:206 search.php:80
+msgid "Owner"
+msgstr "Gebruiker"
+
+#: delete_domain.php:40
+msgid "Number of records in zone"
+msgstr "Aantal records in zone"
+
+#: delete_domain.php:41 delete_record.php:38
+msgid "Are you sure?"
+msgstr "Weet u het zeker?"
+
+#: delete_domain.php:42 delete_record.php:39 delete_user.php:103
+msgid "Yes"
+msgstr "Ja"
+
+#: delete_domain.php:42 delete_record.php:39 delete_user.php:103
+msgid "No"
+msgstr "Nee"
+
+#: delete_record.php:31 edit.php:203 search.php:142
+msgid "Delete record"
+msgstr "Verwijderen record"
+
+#: delete_user.php:54 users.php:85
+msgid "Delete user"
+msgstr "Verwijderen beheerder"
+
+#: delete_user.php:60
+msgid "This user has access to the following domain(s)"
+msgstr "Deze beheerder beschikt over de volgende zone(s)"
+
+#: delete_user.php:93
+msgid "You are going to delete this user, are you sure?"
+msgstr "U gaat deze beheerder verwijderen, klopt dat?"
+
+#: delete_user.php:96
+msgid "This user has access to "
+msgstr "Deze beheerder heeft toegang to "
+
+#: delete_user.php:96
+msgid "domain(s), by deleting him you will also delete these domains"
+msgstr "zone(s). Door deze beheerder te verwijderen, verwijdert u ook deze zone(s)."
+
+#: edit.php:52
+msgid "Edit domain"
+msgstr "Wijzigen zone"
+
+#: edit.php:58
+msgid "This domain isn't owned by anyone yet, please assign someone."
+msgstr "Deze zone heeft geen beheerder, wijst u een beheerder aan."
+
+#: edit.php:69
+msgid "Add an owner"
+msgstr "Toevoegen beheerder"
+
+#: edit.php:88
+msgid "Add"
+msgstr "Toevoegen"
+
+#: edit.php:101
+msgid "Current listed owners"
+msgstr "Huidige beheerders"
+
+#: edit.php:115
+msgid "Delete"
+msgstr "Verwijderen"
+
+#: edit.php:132
+msgid "Type of this domain"
+msgstr "Type zone"
+
+#: edit.php:136
+msgid "Change type"
+msgstr "Wijzig type"
+
+#: edit.php:152
+msgid "Change"
+msgstr "Wijzig"
+
+#: edit.php:162
+msgid "Number of records"
+msgstr "Aantal records"
+
+#: edit.php:185
+msgid "Sub-owners"
+msgstr "Sub-beheerders"
+
+#: edit.php:202 edit_record.php:61 search.php:141
+msgid "Edit record"
+msgstr "Wijzig record"
+
+#: edit.php:241
+msgid "No records for this domain."
+msgstr "Geen records in deze zone."
+
+#: edit.php:262
+msgid "Assign to user"
+msgstr "Selecteer beheerder"
+
+#: edit.php:276 index.php:175 search.php:91
+msgid "Delete zone"
+msgstr "Verwijderen zone"
+
+#: edit_record.php:60
+msgid "Edit record in zone"
+msgstr "Wijzig record in zone"
+
+#: edit_record.php:104 edit_user.php:76
+msgid "Commit changes"
+msgstr "Wijzigingen doorvoeren"
+
+#: edit_record.php:104
+msgid "Reset changes"
+msgstr "Wijzigingen ongedaan maken"
+
+#: edit_record.php:109
+msgid "Sub-users"
+msgstr "Sub-gebruikers"
+
+#: edit_record.php:115
+msgid "trash"
+msgstr "verwijderen"
+
+#: edit_user.php:54 edit_user.php:59
+msgid "Edit user"
+msgstr "Wijzigigen gebruiker"
+
+#: edit_user.php:59 index.php:111 search.php:44 users.php:47
+msgid "User admin"
+msgstr "Gebruikersbeheer"
+
+#: edit_user.php:69 users.php:105
+msgid "User name"
+msgstr "Gebruikersnaam"
+
+#: edit_user.php:70 users.php:106
+msgid "Full name"
+msgstr "Volledige naam"
+
+#: edit_user.php:71 users.php:107
+msgid "Password"
+msgstr "Wachtwoord"
+
+#: edit_user.php:72 users.php:108
+msgid "E-mail"
+msgstr "E-mail"
+
+#: edit_user.php:73 users.php:109
+msgid "User level"
+msgstr "Toegangsrechten"
+
+#: edit_user.php:73
+msgid "Normal user"
+msgstr "Normale gebruiker"
+
+#: edit_user.php:73
+msgid "Administrator"
+msgstr "Beheerder"
+
+#: edit_user.php:73
+msgid "Administrator w/ user admin rights"
+msgstr "Beheer met gebruikersbeheer rechten"
+
+#: edit_user.php:74 users.php:110
+msgid "Description"
+msgstr "Omschrijvingen"
+
+#: edit_user.php:75 users.php:111
+msgid "Active"
+msgstr "Actief"
+
+#: index.php:111 search.php:44 users.php:53
+msgid "Synchronize database"
+msgstr "Synchroniseer database"
+
+#: index.php:114 users.php:55
+msgid "Search records"
+msgstr "Zoek records"
+
+#: index.php:118
+msgid "Welcome"
+msgstr "Welkom"
+
+#: index.php:121
+msgid "Your userlevel is"
+msgstr "Je toegangsnivo is"
+
+#: index.php:127 users.php:65
+msgid "Error"
+msgstr "Fout"
+
+#: index.php:131
+msgid "Current domains in DNS (click to view or edit)"
+msgstr "Huidige zones in de DNS (aanklikken om in te zien of te wijzigen)"
+
+#: index.php:151 search.php:79
+msgid "Records"
+msgstr "Records"
+
+#: index.php:163
+msgid "No domains in this listing, sorry."
+msgstr "Er zijn geen zones om te tonen."
+
+#: index.php:190
+msgid "You only administer some records of domains marked with an (*)."
+msgstr "U beheert enkel een deel van de records in zones gemarkeerd met een (*)."
+
+#: index.php:201
+msgid "Create new domain"
+msgstr "Nieuwe zone aanmaken"
+
+#: index.php:203
+msgid "Domain name"
+msgstr "Domeinnaam"
+
+#: index.php:204
+msgid "Web IP"
+msgstr "Web IP"
+
+#: index.php:205
+msgid "Mail IP"
+msgstr "Mail IP"
+
+#: index.php:220
+msgid "Domain type"
+msgstr "Domein type"
+
+#: index.php:231
+msgid "Create zone without"
+msgstr "Maak zone aan zonder"
+
+#: index.php:231
+msgid "applying records-template"
+msgstr "het records-template te gebruiken."
+
+#: index.php:232
+msgid "Add domain"
+msgstr "Toevoegen zone"
+
+#: index.php:241 index.php:246
+msgid "Change password"
+msgstr "Wijzig wachtwoord"
+
+#: index.php:243
+msgid "Current password"
+msgstr "Huidige wachtwoord"
+
+#: index.php:244 index.php:245
+msgid "New password"
+msgstr "Nieuw wachtwoord"
+
+#: search.php:38
+msgid "Search zones or records"
+msgstr "Zoek zones of records"
+
+#: search.php:48
+msgid "Type a hostname or a record in the box below and press search to see if the record exists in the system."
+msgstr "Geef een hostname of record op in het zoekveld hieronder om te zien of er records voor bekend zijn in de database."
+
+#: search.php:52
+msgid "Enter a hostname or IP address"
+msgstr "Geef een hostname of IP adres"
+
+#: search.php:57
+msgid "Search"
+msgstr "Zoek"
+
+#: search.php:73
+msgid "Domains found"
+msgstr "Gevonden zones"
+
+#: search.php:116
+msgid "Records found"
+msgstr "Gevonden records"
+
+#: search.php:173
+msgid "Nothing found for query."
+msgstr "Er is niets gevonden voor zoekopdracht"
+
+#: seq_update.php:26
+msgid "Synching databases. This is useful if you did manual insertions (in case you havent been here yet)."
+msgstr "Synchronisatie databases. Dit is handig als er handmatige toevoegingen hebben p;aatsgevonden."
+
+#: test_setup.php:58
+msgid "Not all tables are ok!"
+msgstr "Niet alle tables zijn op orde!"
+
+#: test_setup.php:62
+msgid "Successful!"
+msgstr "Succesvol uitgevoerd!"
+
+#: test_setup.php:70
+msgid "Sorry, but there are error(s) found in the following table(s):"
+msgstr "Sorry, er zijn fouten gevonden in de volgende tabel(len):"
+
+#: test_setup.php:75
+msgid "Please fix these errors and run the script again."
+msgstr "Vriendelijk verzoek deze fouten te herstellen en script nog eens uit te voeren."
+
+#: test_setup.php:79
+msgid "Successful! Everything is set up ok, you can rumble!"
+msgstr "Gelukt! Alles is correct voorebereid, you can rumble!"
+
+#: users.php:36
+msgid "Usernames can't contain spaces"
+msgstr "Gebruikersnamen mogen geen spaties bevatten"
+
+#: users.php:41
+msgid "Please fill in all fields"
+msgstr "Vult u alle velden in"
+
+#: users.php:68
+msgid "Current users (click to edit)"
+msgstr "Huidige gebruikers (aanklikken om te wijzigen)."
+
+#: users.php:72
+msgid "Number of users"
+msgstr "Aantal gebruikers"
+
+#: users.php:78
+msgid "Domains"
+msgstr "Zones"
+
+#: users.php:78
+msgid "Domain list"
+msgstr "Zone overzicht"
+
+#: users.php:78
+msgid "Level"
+msgstr "Gebruikersnivo"
+
+#: users.php:78
+msgid "Status"
+msgstr "Status"
+
+#: users.php:103
+msgid "Create new user"
+msgstr "Aanmaken nieuwe gebruiker"
+
+#: users.php:112
+msgid "Add user"
+msgstr "Toevoegen gebruiker"
--- a/search.php	Sat Apr 14 11:37:27 2007 +0000
+++ b/search.php	Mon Apr 16 19:48:27 2007 +0000
@@ -41,7 +41,7 @@
 <?
 if (level(10))
 {
-	?><A HREF="users.php"><? echo _('User Admin'); ?></A> <A HREF="seq_update.php"><? echo _('Synchronize Database'); ?></A><?
+	?><A HREF="users.php"><? echo _('User admin'); ?></A> <A HREF="seq_update.php"><? echo _('Synchronize database'); ?></A><?
 }
 ?>
 </P><BR>
@@ -88,7 +88,7 @@
 			<?php 
 			if (level(5))
 			{
-				echo '<a href = "delete_domain.php?id='.$d['id'].'"><img src = "images/delete.gif" alt = "[ ' .  _('delete zone') . ' ]" border = "0"></a>';
+				echo '<a href = "delete_domain.php?id='.$d['id'].'"><img src = "images/delete.gif" alt = "[ ' .  _('Delete zone') . ' ]" border = "0"></a>';
 			}
 			else 
 			{
@@ -138,8 +138,8 @@
 			  $GLOBALS["ALLOW_NS_EDIT"] != 1))
 			{
 				?>
-				<a href = "edit_record.php?id=<?=$r['id']?>&amp;domain=<?=$r['domain_id']?>"><img src = "images/edit.gif" alt = "[ <? echo _('edit record'); ?> ]" border = "0"></a>
-				<a href = "delete_record.php?id=<?=$r['id']?>&amp;domain=<?=$r['domain_id']?>"><img src = "images/delete.gif" alt = "[ <? echo _('delete record'); ?> ]" border = "0"></a>
+				<a href = "edit_record.php?id=<?=$r['id']?>&amp;domain=<?=$r['domain_id']?>"><img src = "images/edit.gif" alt = "[ <? echo _('Edit record'); ?> ]" border = "0"></a>
+				<a href = "delete_record.php?id=<?=$r['id']?>&amp;domain=<?=$r['domain_id']?>"><img src = "images/delete.gif" alt = "[ <? echo _('Delete record'); ?> ]" border = "0"></a>
 				<?php 
 			} // big if ;-)
 			?>
--- a/test_setup.php	Sat Apr 14 11:37:27 2007 +0000
+++ b/test_setup.php	Mon Apr 16 19:48:27 2007 +0000
@@ -76,7 +76,7 @@
 	}
 	else
 	{
-		echo _('Successful! Everything is set up ok, you can rumble!"');
+		echo _('Successful! Everything is set up ok, you can rumble!');
 	}
 ?>
 <BR></TD></TR></TABLE></P>
--- a/users.php	Sat Apr 14 11:37:27 2007 +0000
+++ b/users.php	Mon Apr 16 19:48:27 2007 +0000
@@ -33,7 +33,7 @@
         }
         else
         {
-        	$error = _('Usernames cant contain spaces');
+        	$error = _('Usernames can\'t contain spaces');
         }
 }
 elseif($_POST["submit"])
@@ -44,13 +44,13 @@
 // Dirty hack, maybe revise?
 include_once("inc/header.inc.php");
 ?>
-<H2><? echo _('User Admin'); ?></H2>
+<H2><? echo _('User admin'); ?></H2>
 <P CLASS="nav">
 <A HREF="index.php"><? echo _('DNS Admin'); ?></A>
 <?
 if (level(10))
 {
-	?> <A HREF="seq_update.php"><? echo _('Synchronize Database'); ?></A> <?
+	?> <A HREF="seq_update.php"><? echo _('Synchronize database'); ?></A> <?
 }
 ?><A HREF="search.php"><? echo _('Search records'); ?></A></P><BR><?
 // End
@@ -82,7 +82,7 @@
 {
         ?>
         <TR>
-        <TD VALIGN="top" CLASS="tdbg"><A HREF="delete_user.php?id=<?= $c["id"] ?>"><IMG SRC="images/delete.gif" ALT="[ <? echo _('delete user'); ?> ]" BORDER="0"></A></TD>
+        <TD VALIGN="top" CLASS="tdbg"><A HREF="delete_user.php?id=<?= $c["id"] ?>"><IMG SRC="images/delete.gif" ALT="[ <? echo _('Delete user'); ?> ]" BORDER="0"></A></TD>
         <TD VALIGN="top" CLASS="tdbg"><A HREF="edit_user.php?id=<?= $c["id"] ?>"><?= $c["fullname"] ?></A> (<?= $c["username"] ?>)</TD>
         <TD VALIGN="top" CLASS="tdbg"><?= $c["numdomains"] ?></TD>
         <TD CLASS="tdbg">
@@ -90,7 +90,7 @@
         $domains = get_domains_from_userid($c["id"]);
         foreach ($domains as $d)
         {
-                ?><A HREF="delete_domain.php?id=<?= $d["id"] ?>"><IMG SRC="images/delete.gif" ALT="[ <? echo _('delete domain'); ?> ]" BORDER="0"></A>&nbsp;<A HREF="edit.php?id=<?= $d["id"] ?>"><?= $d["name"] ?></A><BR><?
+                ?><A HREF="delete_domain.php?id=<?= $d["id"] ?>"><IMG SRC="images/delete.gif" ALT="[ <? echo _('Delete domain'); ?> ]" BORDER="0"></A>&nbsp;<A HREF="edit.php?id=<?= $d["id"] ?>"><?= $d["name"] ?></A><BR><?
         }
         ?></TD><TD CLASS="tdbg"><?= $c["level"] ?></TD><TD VALIGN="middle" CLASS="tdbg"><?= get_status($c["active"]) ?></TD></TR><?
         print "\n";