[feladat @ 7]
authorrejo
Wed, 18 Apr 2007 21:08:07 +0000
changeset 6 9fcac40c1b0e
parent 5 ebf8868e99f5
child 7 ac0ca51809b1
[feladat @ 7] - Fixed last major part of translation.
docs/README.i18n
docs/template.pot
inc/auth.inc.php
inc/dns.inc.php
inc/toolkit.inc.php
index.php
locale/en_EN/LC_MESSAGES/en.po
locale/en_EN/LC_MESSAGES/message.mo
locale/nl_NL/LC_MESSAGES/message.mo
locale/nl_NL/LC_MESSAGES/nl.po
seq_update.php
--- a/docs/README.i18n	Tue Apr 17 21:18:14 2007 +0000
+++ b/docs/README.i18n	Wed Apr 18 21:08:07 2007 +0000
@@ -13,7 +13,9 @@
 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.
+If this doesn't work, most likely your system itself is not setup 
+properly. See <https://rejo.zenger.nl/misc/1176630442.php> maybe of 
+some help.
 
 
 Adding a new translation
--- a/docs/template.pot	Tue Apr 17 21:18:14 2007 +0000
+++ b/docs/template.pot	Wed Apr 18 21:08:07 2007 +0000
@@ -8,7 +8,7 @@
 msgstr ""
 "Project-Id-Version: PACKAGE VERSION\n"
 "Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2007-04-17 21:09+0200\n"
+"POT-Creation-Date: 2007-04-18 22:44+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"
@@ -20,7 +20,7 @@
 msgid "Add record to zone"
 msgstr ""
 
-#: add_record.php:32 edit.php:160 edit_record.php:61 index.php:105
+#: add_record.php:32 edit.php:160 edit_record.php:61 index.php:106
 #: search.php:40 users.php:49
 msgid "DNS Admin"
 msgstr ""
@@ -29,7 +29,7 @@
 msgid "Add record"
 msgstr ""
 
-#: add_record.php:37 edit.php:186 edit_record.php:67 index.php:151
+#: add_record.php:37 edit.php:186 edit_record.php:67 index.php:152
 #: search.php:78 search.php:121 users.php:78
 msgid "Name"
 msgstr ""
@@ -54,7 +54,7 @@
 msgid "Delete domain"
 msgstr ""
 
-#: delete_domain.php:39 index.php:151 index.php:206 search.php:80
+#: delete_domain.php:39 index.php:152 index.php:207 search.php:80
 msgid "Owner"
 msgstr ""
 
@@ -154,7 +154,7 @@
 msgid "Assign to user"
 msgstr ""
 
-#: edit.php:276 index.php:175 search.php:91
+#: edit.php:276 index.php:176 search.php:91
 msgid "Delete zone"
 msgstr ""
 
@@ -182,7 +182,7 @@
 msgid "Edit user"
 msgstr ""
 
-#: edit_user.php:59 index.php:111 search.php:44 users.php:47
+#: edit_user.php:59 index.php:112 search.php:44 users.php:47
 msgid "User admin"
 msgstr ""
 
@@ -226,87 +226,87 @@
 msgid "Active"
 msgstr ""
 
-#: index.php:111 search.php:44 users.php:53
+#: index.php:112 search.php:44 users.php:53
 msgid "Synchronize database"
 msgstr ""
 
-#: index.php:114 users.php:55
+#: index.php:115 users.php:55
 msgid "Search records"
 msgstr ""
 
-#: index.php:118
+#: index.php:119
 msgid "Welcome"
 msgstr ""
 
-#: index.php:121
+#: index.php:122
 msgid "Your userlevel is"
 msgstr ""
 
-#: index.php:127 users.php:65
+#: index.php:128 users.php:65
 msgid "Error"
 msgstr ""
 
-#: index.php:131
+#: index.php:132
 msgid "Current domains in DNS (click to view or edit)"
 msgstr ""
 
-#: index.php:137
+#: index.php:138
 msgid "Number of domains"
 msgstr ""
 
-#: index.php:151 search.php:79
+#: index.php:152 search.php:79
 msgid "Records"
 msgstr ""
 
-#: index.php:163
+#: index.php:164
 msgid "No domains in this listing, sorry."
 msgstr ""
 
-#: index.php:190
+#: index.php:191
 msgid "You only administer some records of domains marked with an (*)."
 msgstr ""
 
-#: index.php:201
+#: index.php:202
 msgid "Create new domain"
 msgstr ""
 
-#: index.php:203
-msgid "Domain name"
-msgstr ""
-
 #: index.php:204
-msgid "Web IP"
+msgid "Domain name"
 msgstr ""
 
 #: index.php:205
+msgid "Web IP"
+msgstr ""
+
+#: index.php:206
 msgid "Mail IP"
 msgstr ""
 
-#: index.php:220
+#: index.php:221
 msgid "Domain type"
 msgstr ""
 
-#: index.php:231
+#: index.php:232
 msgid "Create zone without"
 msgstr ""
 
-#: index.php:231
-msgid "applying records-template"
-msgstr ""
-
 #: index.php:232
+msgid "applying records-template"
+msgstr ""
+
+#: index.php:233
 msgid "Add domain"
 msgstr ""
 
-#: index.php:241 index.php:246
+#: index.php:242 index.php:247
 msgid "Change password"
 msgstr ""
 
-#: index.php:243
+#: index.php:244
 msgid "Current password"
 msgstr ""
 
-#: index.php:244 index.php:245
+#: index.php:245 index.php:246
 msgid "New password"
 msgstr ""
 
@@ -342,6 +342,10 @@
 msgid "Synching databases. This is useful if you did manual insertions (in case you havent been here yet)."
 msgstr ""
 
+#: seq_update.php:53
+msgid "All tables are successfully synchronized."
+msgstr ""
+
 #: test_setup.php:58
 msgid "Not all tables are ok!"
 msgstr ""
@@ -422,6 +426,10 @@
 msgid "Login"
 msgstr ""
 
+#: inc/auth.inc.php:113
+msgid "You have logged out."
+msgstr ""
+
 #: inc/database.inc.php:31 inc/toolkit.inc.php:149
 msgid "Oops! An error occured!"
 msgstr ""
@@ -430,6 +438,10 @@
 msgid "back"
 msgstr ""
 
+#: inc/dns.inc.php:204
+msgid "If you specify an MX record it must be a hostname."
+msgstr ""
+
 #: inc/error.inc.php:31
 msgid "You need user level 5 for this operation"
 msgstr ""
@@ -553,6 +565,18 @@
 msgid "PowerAdmin"
 msgstr ""
 
+#: inc/toolkit.inc.php:49
+msgid "You have to create a config.inc.php!"
+msgstr ""
+
+#: inc/toolkit.inc.php:54
+msgid "You have to remove install.php before this program will run"
+msgstr ""
+
+#: inc/toolkit.inc.php:59
+msgid "You have to remove migrator.php before this program will run"
+msgstr ""
+
 #: inc/toolkit.inc.php:91
 msgid "Show page"
 msgstr ""
--- a/inc/auth.inc.php	Tue Apr 17 21:18:14 2007 +0000
+++ b/inc/auth.inc.php	Wed Apr 18 21:08:07 2007 +0000
@@ -107,8 +107,11 @@
  * Logout the user and kickback to login form.
  */
 
-function logout($msg="You have logged out.")
+function logout($msg="")
 {
+	if ( $msg == "" ) {
+		$msg=_('You have logged out.');
+	};
 	session_destroy();
 	session_write_close();
 	auth($msg);
--- a/inc/dns.inc.php	Tue Apr 17 21:18:14 2007 +0000
+++ b/inc/dns.inc.php	Wed Apr 18 21:08:07 2007 +0000
@@ -201,7 +201,7 @@
 		}
 		else
 		{
-			error("If you specify an MX record it must be a hostname");
+			error( _('If you specify an MX record it must be a hostname.') );
 		}
 	}
 	else
--- a/inc/toolkit.inc.php	Tue Apr 17 21:18:14 2007 +0000
+++ b/inc/toolkit.inc.php	Wed Apr 18 21:08:07 2007 +0000
@@ -46,17 +46,17 @@
 
 if(!@include_once("config.inc.php"))
 {
-	error("You have to create a config.inc.php!");
+	error( _('You have to create a config.inc.php!') );
 }
 
 if(is_file( dirname(__FILE__) . '/../install.php'))
 {
-	error("You have to remove install.php before this program will run");
+	error( _('You have to remove install.php before this program will run') );
 }
 
 if(is_file( dirname(__FILE__) . '/../migrator.php'))
 {
-        error("You have to remove migrator.php before this program will run");
+        error( _('You have to remove migrator.php before this program will run') );
 }
 
 /* Database connection */
--- a/index.php	Tue Apr 17 21:18:14 2007 +0000
+++ b/index.php	Wed Apr 18 21:08:07 2007 +0000
@@ -18,6 +18,7 @@
 // $Id: index.php,v 1.13 2003/05/10 20:20:05 azurazu Exp $
 //
 
+require_once("inc/i18n.inc.php");
 require_once("inc/toolkit.inc.php");
 
 /*
--- a/locale/en_EN/LC_MESSAGES/en.po	Tue Apr 17 21:18:14 2007 +0000
+++ b/locale/en_EN/LC_MESSAGES/en.po	Wed Apr 18 21:08:07 2007 +0000
@@ -8,7 +8,7 @@
 msgstr ""
 "Project-Id-Version: PACKAGE VERSION\n"
 "Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2007-04-17 21:09+0200\n"
+"POT-Creation-Date: 2007-04-18 22:44+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"
@@ -20,7 +20,7 @@
 msgid "Add record to zone"
 msgstr ""
 
-#: add_record.php:32 edit.php:160 edit_record.php:61 index.php:105
+#: add_record.php:32 edit.php:160 edit_record.php:61 index.php:106
 #: search.php:40 users.php:49
 msgid "DNS Admin"
 msgstr ""
@@ -29,7 +29,7 @@
 msgid "Add record"
 msgstr ""
 
-#: add_record.php:37 edit.php:186 edit_record.php:67 index.php:151
+#: add_record.php:37 edit.php:186 edit_record.php:67 index.php:152
 #: search.php:78 search.php:121 users.php:78
 msgid "Name"
 msgstr ""
@@ -54,7 +54,7 @@
 msgid "Delete domain"
 msgstr ""
 
-#: delete_domain.php:39 index.php:151 index.php:206 search.php:80
+#: delete_domain.php:39 index.php:152 index.php:207 search.php:80
 msgid "Owner"
 msgstr ""
 
@@ -154,7 +154,7 @@
 msgid "Assign to user"
 msgstr ""
 
-#: edit.php:276 index.php:175 search.php:91
+#: edit.php:276 index.php:176 search.php:91
 msgid "Delete zone"
 msgstr ""
 
@@ -182,7 +182,7 @@
 msgid "Edit user"
 msgstr ""
 
-#: edit_user.php:59 index.php:111 search.php:44 users.php:47
+#: edit_user.php:59 index.php:112 search.php:44 users.php:47
 msgid "User admin"
 msgstr ""
 
@@ -226,87 +226,87 @@
 msgid "Active"
 msgstr ""
 
-#: index.php:111 search.php:44 users.php:53
+#: index.php:112 search.php:44 users.php:53
 msgid "Synchronize database"
 msgstr ""
 
-#: index.php:114 users.php:55
+#: index.php:115 users.php:55
 msgid "Search records"
 msgstr ""
 
-#: index.php:118
+#: index.php:119
 msgid "Welcome"
 msgstr ""
 
-#: index.php:121
+#: index.php:122
 msgid "Your userlevel is"
 msgstr ""
 
-#: index.php:127 users.php:65
+#: index.php:128 users.php:65
 msgid "Error"
 msgstr ""
 
-#: index.php:131
+#: index.php:132
 msgid "Current domains in DNS (click to view or edit)"
 msgstr ""
 
-#: index.php:137
+#: index.php:138
 msgid "Number of domains"
 msgstr ""
 
-#: index.php:151 search.php:79
+#: index.php:152 search.php:79
 msgid "Records"
 msgstr ""
 
-#: index.php:163
+#: index.php:164
 msgid "No domains in this listing, sorry."
 msgstr ""
 
-#: index.php:190
+#: index.php:191
 msgid "You only administer some records of domains marked with an (*)."
 msgstr ""
 
-#: index.php:201
+#: index.php:202
 msgid "Create new domain"
 msgstr ""
 
-#: index.php:203
-msgid "Domain name"
-msgstr ""
-
 #: index.php:204
-msgid "Web IP"
+msgid "Domain name"
 msgstr ""
 
 #: index.php:205
+msgid "Web IP"
+msgstr ""
+
+#: index.php:206
 msgid "Mail IP"
 msgstr ""
 
-#: index.php:220
+#: index.php:221
 msgid "Domain type"
 msgstr ""
 
-#: index.php:231
+#: index.php:232
 msgid "Create zone without"
 msgstr ""
 
-#: index.php:231
-msgid "applying records-template"
-msgstr ""
-
 #: index.php:232
+msgid "applying records-template"
+msgstr ""
+
+#: index.php:233
 msgid "Add domain"
 msgstr ""
 
-#: index.php:241 index.php:246
+#: index.php:242 index.php:247
 msgid "Change password"
 msgstr ""
 
-#: index.php:243
+#: index.php:244
 msgid "Current password"
 msgstr ""
 
-#: index.php:244 index.php:245
+#: index.php:245 index.php:246
 msgid "New password"
 msgstr ""
 
@@ -342,6 +342,10 @@
 msgid "Synching databases. This is useful if you did manual insertions (in case you havent been here yet)."
 msgstr ""
 
+#: seq_update.php:53
+msgid "All tables are successfully synchronized."
+msgstr ""
+
 #: test_setup.php:58
 msgid "Not all tables are ok!"
 msgstr ""
@@ -422,6 +426,10 @@
 msgid "Login"
 msgstr ""
 
+#: inc/auth.inc.php:113
+msgid "You have logged out."
+msgstr ""
+
 #: inc/database.inc.php:31 inc/toolkit.inc.php:149
 msgid "Oops! An error occured!"
 msgstr ""
@@ -430,6 +438,10 @@
 msgid "back"
 msgstr ""
 
+#: inc/dns.inc.php:204
+msgid "If you specify an MX record it must be a hostname."
+msgstr ""
+
 #: inc/error.inc.php:31
 msgid "You need user level 5 for this operation"
 msgstr ""
@@ -553,6 +565,18 @@
 msgid "PowerAdmin"
 msgstr ""
 
+#: inc/toolkit.inc.php:49
+msgid "You have to create a config.inc.php!"
+msgstr ""
+
+#: inc/toolkit.inc.php:54
+msgid "You have to remove install.php before this program will run"
+msgstr ""
+
+#: inc/toolkit.inc.php:59
+msgid "You have to remove migrator.php before this program will run"
+msgstr ""
+
 #: inc/toolkit.inc.php:91
 msgid "Show page"
 msgstr ""
Binary file locale/en_EN/LC_MESSAGES/message.mo has changed
Binary file locale/nl_NL/LC_MESSAGES/message.mo has changed
--- a/locale/nl_NL/LC_MESSAGES/nl.po	Tue Apr 17 21:18:14 2007 +0000
+++ b/locale/nl_NL/LC_MESSAGES/nl.po	Wed Apr 18 21:08:07 2007 +0000
@@ -1,4 +1,5 @@
-# poweradmin dutch translation # Copyright (C) 2007, Rejo Zenger 
+# 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.
 #
@@ -8,9 +9,9 @@
 "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"
+"PO-Revision-Date: 2007-04-18 22:47+0200\n"
 "Last-Translator: Rejo Zenger <rejo@zenger.nl>\n"
-"Language-Team: Rutch\n"
+"Language-Team: Dutch\n"
 "MIME-Version: 1.0\n"
 "Content-Type: text/plain; charset=UTF-8\n"
 "Content-Transfer-Encoding: 8bit\n"
@@ -19,7 +20,7 @@
 msgid "Add record to zone"
 msgstr "Toevoegen record aan zone"
 
-#: add_record.php:32 edit.php:160 edit_record.php:61 index.php:105
+#: add_record.php:32 edit.php:160 edit_record.php:61 index.php:106
 #: search.php:40 users.php:49
 msgid "DNS Admin"
 msgstr "DNS Admin"
@@ -53,7 +54,7 @@
 msgid "Delete domain"
 msgstr "Verwijderen zone"
 
-#: delete_domain.php:39 index.php:151 index.php:206 search.php:80
+#: delete_domain.php:39 index.php:151 index.php:207 search.php:80
 msgid "Owner"
 msgstr "Beheerder"
 
@@ -153,7 +154,7 @@
 msgid "Assign to user"
 msgstr "Selecteer beheerder"
 
-#: edit.php:276 index.php:175 search.php:91
+#: edit.php:276 index.php:176 search.php:91
 msgid "Delete zone"
 msgstr "Verwijderen zone"
 
@@ -181,7 +182,7 @@
 msgid "Edit user"
 msgstr "Wijzigen gebruiker"
 
-#: edit_user.php:59 index.php:111 search.php:44 users.php:47
+#: edit_user.php:59 index.php:112 search.php:44 users.php:47
 msgid "User admin"
 msgstr "Gebruikersbeheer"
 
@@ -225,55 +226,55 @@
 msgid "Active"
 msgstr "Actief"
 
-#: index.php:111 search.php:44 users.php:53
+#: index.php:112 search.php:44 users.php:53
 msgid "Synchronize database"
 msgstr "Synchroniseer database"
 
-#: index.php:114 users.php:55
+#: index.php:115 users.php:55
 msgid "Search records"
 msgstr "Zoek records"
 
-#: index.php:118
+#: index.php:119
 msgid "Welcome"
 msgstr "Welkom"
 
-#: index.php:121
+#: index.php:122
 msgid "Your userlevel is"
 msgstr "Uw gebruikersnivo is"
 
-#: index.php:127 users.php:65
+#: index.php:128 users.php:65
 msgid "Error"
 msgstr "Fout"
 
-#: index.php:131
+#: index.php:132
 msgid "Current domains in DNS (click to view or edit)"
 msgstr "Huidige zones in DNS (aanklikken om in te zien of te wijzigen)"
 
-#: index.php:137
+#: index.php:138
 msgid "Number of domains"
 msgstr "Aantal zones"
 
-#: index.php:151 search.php:79
+#: index.php:152 search.php:79
 msgid "Records"
 msgstr "Records"
 
-#: index.php:163
+#: index.php:164
 msgid "No domains in this listing, sorry."
 msgstr "Er zijn geen zones om te tonen."
 
-#: index.php:190
+#: index.php:199
 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
+#: index.php:202
 msgid "Create new domain"
 msgstr "Toevoegen nieuwe zone"
 
-#: index.php:203
+#: index.php:204
 msgid "Domain name"
 msgstr "Naam van de zone"
 
-#: index.php:204
+#: index.php:205
 msgid "Web IP"
 msgstr "IP adres webserver"
 
@@ -281,31 +282,31 @@
 msgid "Mail IP"
 msgstr "IP adres mailserver"
 
-#: index.php:220
+#: index.php:221
 msgid "Domain type"
 msgstr "Type zone"
 
-#: index.php:231
+#: index.php:232
 msgid "Create zone without"
 msgstr "Zone aanmaken zonder"
 
-#: index.php:231
+#: index.php:232
 msgid "applying records-template"
 msgstr "het record template te gebruiken"
 
-#: index.php:232
+#: index.php:233
 msgid "Add domain"
 msgstr "Toevoegen zone"
 
-#: index.php:241 index.php:246
+#: index.php:242 index.php:247
 msgid "Change password"
 msgstr "Wijzig wachtwoord"
 
-#: index.php:243
+#: index.php:244
 msgid "Current password"
 msgstr "Huidige wachtwoord"
 
-#: index.php:244 index.php:245
+#: index.php:245 index.php:246
 msgid "New password"
 msgstr "Nieuwe wachtwoord"
 
@@ -319,7 +320,7 @@
 
 #: search.php:52
 msgid "Enter a hostname or IP address"
-msgstr "Geef een hosntmae of een IP adres"
+msgstr "Geef een hostname of een IP adres"
 
 #: search.php:57
 msgid "Search"
@@ -341,6 +342,10 @@
 msgid "Synching databases. This is useful if you did manual insertions (in case you havent been here yet)."
 msgstr "Synchroniseren databases. Dit is noodzakelijk als er handmatige toevoegingen hebben plaatsgevonden."
 
+#: seq_update.php:53
+msgid "All tables are successfully synchronized."
+msgstr "Alle tabellen zijn succesvol gesynchroniseerd."
+
 #: test_setup.php:58
 msgid "Not all tables are ok!"
 msgstr "Niet alle tabellen zijn op orde!"
@@ -417,6 +422,10 @@
 msgid "Please login"
 msgstr "Inloggen"
 
+#: inc/auth.inc.php:113
+msgid "You have logged out."
+msgstr "U bent uitgelogd."
+
 #: inc/auth.inc.php:96 inc/auth.inc.php:98
 msgid "Login"
 msgstr "Inloggen"
@@ -429,6 +438,10 @@
 msgid "back"
 msgstr "terug"
 
+#: inc/dns.inc.php:204
+msgid "If you specify an MX record it must be a hostname."
+msgstr "Een MX record dient naar een hostname te verwijzen."
+
 #: inc/error.inc.php:31
 msgid "You need user level 5 for this operation"
 msgstr "U heeft minimaal gebruiksnivo 5 nodig voor deze handeling"
@@ -552,6 +565,18 @@
 msgid "PowerAdmin"
 msgstr "PowerAdmin"
 
+#: inc/toolkit.inc.php:49
+msgid "You have to create a config.inc.php!"
+msgstr "U dient een config.inc.php file aan te maken!"
+
+#: inc/toolkit.inc.php:54
+msgid "You have to remove install.php before this program will run"
+msgstr "U dient install.php te verwijderen alvorens u deze applicatie kunt gebruiken."
+
+#: inc/toolkit.inc.php:59
+msgid "You have to remove migrator.php before this program will run"
+msgstr "U dient migrator.php te verwijderen alvorens u deze applicatie kunt gebruiken."
+
 #: inc/toolkit.inc.php:91
 msgid "Show page"
 msgstr "Toon pagina"
--- a/seq_update.php	Tue Apr 17 21:18:14 2007 +0000
+++ b/seq_update.php	Wed Apr 18 21:08:07 2007 +0000
@@ -50,6 +50,6 @@
 
 array_walk($tables, 'seq_update');
 
-message("All tables are successfully synchronized.");
+message( _('All tables are successfully synchronized.') );
 
 php?>