# HG changeset patch
# User rejo
# Date 1206891235 0
# Node ID cc09385a62aa8436cd963e95ea3ae82f5bac23e9
# Parent b1d7998a903e5440cbdf3556651ff1e365ba7f32
[feladat @ 219]
Description of permission rights are now translated as well. This closes ticket:26.
diff -r b1d7998a903e -r cc09385a62aa add_perm_templ.php
--- a/add_perm_templ.php Sun Mar 30 13:50:39 2008 +0000
+++ b/add_perm_templ.php Sun Mar 30 15:33:55 2008 +0000
@@ -56,7 +56,7 @@
echo "
\n";
echo "
\n";
echo "
" . $perm_a['name'] . "
\n";
- echo "
" . $perm_a['descr'] . "
\n";
+ echo "
" . _($perm_a['descr']) . "
\n";
echo "
\n";
}
echo " \n";
diff -r b1d7998a903e -r cc09385a62aa docs/i18n-template-db.pot
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/docs/i18n-template-db.pot Sun Mar 30 15:33:55 2008 +0000
@@ -0,0 +1,71 @@
+
+# The following is a list of strings that are not hard-code in the PHP
+# files, but which are listed in the poweradmin database. Because of
+# this, tools like xgettext will not notice these strings.
+#
+# See also .
+#
+
+msgid "User is allowed to add new master zones."
+msgstr ""
+
+msgid "User is allowed to add new slave zones."
+msgstr ""
+
+msgid "User is allowed to see the content and meta data of zones he owns."
+msgstr ""
+
+msgid "User is allowed to edit the content of zones he owns."
+msgstr ""
+
+msgid "User is allowed to edit the meta data of zones he owns."
+msgstr ""
+
+msgid "User is allowed to see the content and meta data of zones he does not own."
+msgstr ""
+
+msgid "User is allowed to edit the content of zones he does not own."
+msgstr ""
+
+msgid "User is allowed to edit the meta data of zones he does not own."
+msgstr ""
+
+msgid "User is allowed to perform searches."
+msgstr ""
+
+msgid "User is allowed to view supermasters."
+msgstr ""
+
+msgid "User is allowed to add new supermasters."
+msgstr ""
+
+msgid "User is allowed to edit new supermasters."
+msgstr ""
+
+msgid "User has full access. God-like. Redeemer."
+msgstr ""
+
+msgid "User is allowed to see other users and their details."
+msgstr ""
+
+msgid "User is allowed to add new users."
+msgstr ""
+
+msgid "User is allowed to edit their own details."
+msgstr ""
+
+msgid "User is allowed to edit other users."
+msgstr ""
+
+msgid "User is allowed to edit the password of other users."
+msgstr ""
+
+msgid "User is allowed to change the permission template that is assigned to a user."
+msgstr ""
+
+msgid "User is allowed to add new permission templates."
+msgstr ""
+
+msgid "User is allowed to edit existing permission templates."
+msgstr ""
+
diff -r b1d7998a903e -r cc09385a62aa docs/i18n-template-php.pot
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/docs/i18n-template-php.pot Sun Mar 30 15:33:55 2008 +0000
@@ -0,0 +1,658 @@
+# 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 , YEAR.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2008-03-30 12:50+0200\n"
+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
+"Last-Translator: FULL NAME \n"
+"Language-Team: LANGUAGE \n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=CHARSET\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: add_perm_templ.php:35 list_perm_templ.php:60
+msgid "Add permission template"
+msgstr ""
+
+#: add_perm_templ.php:39 add_perm_templ.php:50 add_record.php:86
+#: edit_perm_templ.php:51 edit_perm_templ.php:63 edit.php:92
+#: edit_record.php:63 list_perm_templ.php:35 list_zones.php:57 search.php:52
+#: search.php:85
+msgid "Name"
+msgstr ""
+
+#: add_perm_templ.php:43 add_perm_templ.php:51 add_user.php:63
+#: edit_perm_templ.php:55 edit_perm_templ.php:64 edit_user.php:129
+#: list_perm_templ.php:36 users.php:46
+msgid "Description"
+msgstr ""
+
+#: add_perm_templ.php:63 add_user.php:72 delete_user.php:101
+#: edit_perm_templ.php:84 edit.php:135 edit_record.php:105 edit_user.php:138
+#: users.php:104
+msgid "Commit changes"
+msgstr ""
+
+#: add_record.php:71
+msgid "The record was succesfully added."
+msgstr ""
+
+#: add_record.php:77
+msgid "Add record to zone"
+msgstr ""
+
+#: add_record.php:88 add_zone_master.php:115 delete_domain.php:58 edit.php:93
+#: edit.php:199 edit_record.php:65 list_zones.php:58 search.php:53
+#: search.php:86
+msgid "Type"
+msgstr ""
+
+#: add_record.php:89 edit.php:95 edit_record.php:66 search.php:87
+msgid "Priority"
+msgstr ""
+
+#: add_record.php:90 edit.php:94 edit_record.php:67 search.php:88
+msgid "Content"
+msgstr ""
+
+#: add_record.php:91 edit.php:96 edit_record.php:68 search.php:89
+msgid "TTL"
+msgstr ""
+
+#: add_record.php:124 edit.php:141
+msgid "Add record"
+msgstr ""
+
+#: add_supermaster.php:40 add_supermaster.php:80 index.php:54
+#: inc/header.inc.php:66
+msgid "Add supermaster"
+msgstr ""
+
+#: add_supermaster.php:43
+msgid "You do not have the permission to add a new supermaster."
+msgstr ""
+
+#: add_supermaster.php:48 list_supermasters.php:34
+msgid "IP address of supermaster"
+msgstr ""
+
+#: add_supermaster.php:58 delete_supermaster.php:52 list_supermasters.php:35
+msgid "Hostname in NS record"
+msgstr ""
+
+#: add_supermaster.php:68 delete_supermaster.php:53 list_supermasters.php:36
+msgid "Account"
+msgstr ""
+
+#: add_user.php:33 users.php:114
+msgid "Add user"
+msgstr ""
+
+#: add_user.php:37 edit_user.php:102 users.php:44
+msgid "Username"
+msgstr ""
+
+#: add_user.php:41 edit_user.php:106 users.php:45
+msgid "Fullname"
+msgstr ""
+
+#: add_user.php:45 edit_user.php:110 inc/auth.inc.php:99
+msgid "Password"
+msgstr ""
+
+#: add_user.php:49 edit_user.php:114 users.php:47
+msgid "Emailaddress"
+msgstr ""
+
+#: add_user.php:53 edit_user.php:118
+msgid "Permission template"
+msgstr ""
+
+#: add_user.php:67 edit_user.php:133 users.php:49
+msgid "Enabled"
+msgstr ""
+
+#: add_zone_master.php:53
+msgid "IP address of web- or mailserver is invalid."
+msgstr ""
+
+#: add_zone_master.php:79 index.php:48 inc/header.inc.php:60
+msgid "Add master zone"
+msgstr ""
+
+#: add_zone_master.php:87 add_zone_slave.php:60
+msgid "Zone name"
+msgstr ""
+
+#: add_zone_master.php:93
+msgid "IP address of webserver"
+msgstr ""
+
+#: add_zone_master.php:99
+msgid "IP address of mailserver"
+msgstr ""
+
+#: add_zone_master.php:105 add_zone_slave.php:72 delete_domain.php:57
+#: list_zones.php:60
+msgid "Owner"
+msgstr ""
+
+#: add_zone_master.php:125
+msgid "Create zone without applying records-template"
+msgstr ""
+
+#: add_zone_master.php:131 add_zone_slave.php:84
+msgid "Add zone"
+msgstr ""
+
+#: add_zone_slave.php:54 index.php:51 inc/header.inc.php:63
+msgid "Add slave zone"
+msgstr ""
+
+#: add_zone_slave.php:66 edit.php:229
+msgid "IP address of master NS"
+msgstr ""
+
+#: change_password.php:29 change_password.php:47 index.php:56
+#: inc/header.inc.php:68
+msgid "Change password"
+msgstr ""
+
+#: change_password.php:33
+msgid "Current password"
+msgstr ""
+
+#: change_password.php:37 change_password.php:41
+msgid "New password"
+msgstr ""
+
+#: delete_domain.php:49 edit.php:143 list_zones.php:81 search.php:65
+msgid "Delete zone"
+msgstr ""
+
+#: delete_domain.php:63
+#, php-format
+msgid "You are about to delete a slave zone of which the master nameserver, %s, is a supermaster. Deleting the zone now, will result in temporary removal only. Whenever the supermaster sends a notification for this zone, it will be added again!"
+msgstr ""
+
+#: delete_domain.php:67 delete_perm_templ.php:48 delete_record.php:78
+#: delete_supermaster.php:55
+msgid "Are you sure?"
+msgstr ""
+
+#: delete_domain.php:69 delete_perm_templ.php:49 delete_record.php:79
+#: delete_supermaster.php:56
+msgid "Yes"
+msgstr ""
+
+#: delete_domain.php:70 delete_record.php:80 delete_supermaster.php:57
+msgid "No"
+msgstr ""
+
+#: delete_perm_templ.php:42
+msgid "Delete permission template"
+msgstr ""
+
+#: delete_record.php:54 edit.php:109 search.php:101
+msgid "Delete record"
+msgstr ""
+
+#: delete_record.php:76
+msgid "You are trying to delete a record that is needed for this zone to work."
+msgstr ""
+
+#: delete_supermaster.php:44 list_supermasters.php:49
+msgid "Delete supermaster"
+msgstr ""
+
+#: delete_user.php:50 users.php:65
+msgid "Delete user"
+msgstr ""
+
+#: delete_user.php:61
+msgid "You are about to delete a user. This user is owner for a number of zones. Please decide what to do with these zones."
+msgstr ""
+
+#: delete_user.php:66
+msgid "Zone"
+msgstr ""
+
+#: delete_user.php:67 edit.php:164
+msgid "Delete"
+msgstr ""
+
+#: delete_user.php:68
+msgid "Leave"
+msgstr ""
+
+#: delete_user.php:69
+msgid "Add new owner"
+msgstr ""
+
+#: delete_user.php:70
+msgid "Owner to be added"
+msgstr ""
+
+#: delete_user.php:96
+msgid "Really delete this user?"
+msgstr ""
+
+#: edit_perm_templ.php:45 users.php:110
+msgid "Edit permission template"
+msgstr ""
+
+#: edit.php:75 search.php:60
+msgid "Edit zone"
+msgstr ""
+
+#: edit.php:86
+msgid "This zone does not have any records. Weird."
+msgstr ""
+
+#: edit.php:107 search.php:96
+msgid "Edit record"
+msgstr ""
+
+#: edit.php:149
+msgid "Owner of zone"
+msgstr ""
+
+#: edit.php:155
+msgid "No owner set for this zone."
+msgstr ""
+
+#: edit.php:193
+msgid "Add"
+msgstr ""
+
+#: edit.php:218 edit.php:240
+msgid "Change"
+msgstr ""
+
+#: edit_record.php:54
+msgid "Edit record in zone"
+msgstr ""
+
+#: edit_user.php:97 users.php:64
+msgid "Edit user"
+msgstr ""
+
+#: index.php:26
+msgid "Welcome"
+msgstr ""
+
+#: index.php:37 inc/header.inc.php:49
+msgid "Index"
+msgstr ""
+
+#: index.php:39 search.php:31 inc/header.inc.php:51
+msgid "Search zones and records"
+msgstr ""
+
+#: index.php:42 list_zones.php:38 inc/header.inc.php:54
+msgid "List zones"
+msgstr ""
+
+#: index.php:45 list_supermasters.php:30 inc/header.inc.php:57
+msgid "List supermasters"
+msgstr ""
+
+#: index.php:57 users.php:39 inc/header.inc.php:69
+msgid "User administration"
+msgstr ""
+
+#: index.php:58 inc/header.inc.php:70
+msgid "Logout"
+msgstr ""
+
+#: list_perm_templ.php:31
+msgid "Permission templates"
+msgstr ""
+
+#: list_perm_templ.php:47
+msgid "Edit template"
+msgstr ""
+
+#: list_perm_templ.php:48
+msgid "Delete template"
+msgstr ""
+
+#: list_supermasters.php:42 list_zones.php:43
+msgid "There are no zones to show in this listing."
+msgstr ""
+
+#: list_zones.php:41
+msgid "You do not have the permission to see any zones."
+msgstr ""
+
+#: list_zones.php:59
+msgid "Records"
+msgstr ""
+
+#: list_zones.php:76
+msgid "View zone"
+msgstr ""
+
+#: search.php:48
+msgid "Zones found"
+msgstr ""
+
+#: search.php:54
+msgid "Master"
+msgstr ""
+
+#: search.php:81
+msgid "Records found"
+msgstr ""
+
+#: search.php:120
+msgid "Query"
+msgstr ""
+
+#: search.php:124
+msgid "Enter a hostname or IP address"
+msgstr ""
+
+#: search.php:129
+msgid "Search"
+msgstr ""
+
+#: users.php:48
+msgid "Template"
+msgstr ""
+
+#: inc/auth.inc.php:41
+msgid "Session expired, please login again."
+msgstr ""
+
+#: inc/auth.inc.php:67
+msgid "Authentication failed!"
+msgstr ""
+
+#: inc/auth.inc.php:89 inc/auth.inc.php:95 inc/auth.inc.php:105
+msgid "Login"
+msgstr ""
+
+#: inc/auth.inc.php:129
+msgid "You have logged out."
+msgstr ""
+
+#: inc/database.inc.php:29
+msgid "Oops! An error occured!"
+msgstr ""
+
+#: inc/database.inc.php:73
+msgid "Unknown database type in inc/config.inc.php."
+msgstr ""
+
+#: inc/dns.inc.php:174
+msgid "If you specify an MX record it must be a hostname."
+msgstr ""
+
+#: inc/error.inc.php:27
+msgid "You do not have the permission to perform searches."
+msgstr ""
+
+#: inc/error.inc.php:28
+msgid "You do not have the permission to add a record to this zone."
+msgstr ""
+
+#: inc/error.inc.php:29
+msgid "You do not have the permission to edit this record."
+msgstr ""
+
+#: inc/error.inc.php:30
+msgid "You do not have the permission to view this record."
+msgstr ""
+
+#: inc/error.inc.php:31
+msgid "You do not have the permission to delete this record."
+msgstr ""
+
+#: inc/error.inc.php:32
+msgid "You do not have the permission to add a master zone."
+msgstr ""
+
+#: inc/error.inc.php:33
+msgid "You do not have the permission to add a slave zone."
+msgstr ""
+
+#: inc/error.inc.php:34
+msgid "You do not have the permission to delete a zone."
+msgstr ""
+
+#: inc/error.inc.php:35
+msgid "You do not have the permission to delete a supermaster."
+msgstr ""
+
+#: inc/error.inc.php:36
+msgid "You do not have the permission to view this zone."
+msgstr ""
+
+#: inc/error.inc.php:37
+msgid "You do not have the permission to edit this user."
+msgstr ""
+
+#: inc/error.inc.php:38
+msgid "You do not have the permission to edit permission templates."
+msgstr ""
+
+#: inc/error.inc.php:39
+msgid "You do not have the permission to delete permission templates."
+msgstr ""
+
+#: inc/error.inc.php:40
+msgid "You do not have the permission to add a new user."
+msgstr ""
+
+#: inc/error.inc.php:41
+msgid "You do not have the permission to delete this user."
+msgstr ""
+
+#: inc/error.inc.php:44
+msgid "This is an invalid zone name."
+msgstr ""
+
+#: inc/error.inc.php:45
+msgid "There is already a supermaster with this IP address."
+msgstr ""
+
+#: inc/error.inc.php:46
+msgid "There is already a zone with this name."
+msgstr ""
+
+#: inc/error.inc.php:49
+msgid "Username exist already, please choose another one."
+msgstr ""
+
+#: inc/error.inc.php:50
+msgid "User does not exist."
+msgstr ""
+
+#: inc/error.inc.php:51
+msgid "You did not enter the correct current password."
+msgstr ""
+
+#: inc/error.inc.php:52
+msgid "The two new password fields do not match."
+msgstr ""
+
+#: inc/error.inc.php:53
+msgid "This template is assigned to at least one user."
+msgstr ""
+
+#: inc/error.inc.php:56
+msgid "Invalid or unexpected input given."
+msgstr ""
+
+#: inc/error.inc.php:57
+#, php-format
+msgid "Invalid argument(s) given to function %s"
+msgstr ""
+
+#: inc/error.inc.php:58
+#, php-format
+msgid "Invalid argument(s) given to function %s %s"
+msgstr ""
+
+#: inc/error.inc.php:59
+msgid "Unknown error."
+msgstr ""
+
+#: inc/error.inc.php:60
+msgid "Enter a valid email address."
+msgstr ""
+
+#: inc/error.inc.php:63
+msgid "Your content field doesnt have a legit value."
+msgstr ""
+
+#: inc/error.inc.php:64
+msgid "Invalid hostname."
+msgstr ""
+
+#: inc/error.inc.php:65
+msgid "Invalid record type! You should not even been able to get that here."
+msgstr ""
+
+#: inc/error.inc.php:66
+msgid "This is not a valid IPv4 or IPv6 address."
+msgstr ""
+
+#: inc/error.inc.php:67
+msgid "This is not a valid IPv6 address."
+msgstr ""
+
+#: inc/error.inc.php:68
+msgid "This is not a valid IPv4 address."
+msgstr ""
+
+#: inc/error.inc.php:69
+msgid "This is not a valid CNAME. Did you assign an MX or NS record to the record?"
+msgstr ""
+
+#: inc/error.inc.php:70
+msgid "You can not point a NS record to a CNAME record. Remove or rename the CNAME record first or take another name."
+msgstr ""
+
+#: inc/error.inc.php:71
+msgid "NS records must be a hostnames."
+msgstr ""
+
+#: inc/error.inc.php:72
+msgid "You can not point a MX record to a CNAME record. Remove or rename the CNAME record first or take another name."
+msgstr ""
+
+#: inc/error.inc.php:73
+msgid "A prio field should be numeric."
+msgstr ""
+
+#: inc/error.inc.php:74
+msgid "At least one of the five last SOA data fields is not numeric."
+msgstr ""
+
+#: inc/error.inc.php:75
+msgid "You can only have five numeric fields in the SOA record."
+msgstr ""
+
+#: inc/error.inc.php:76
+msgid "The first part of your SOA record does not contain a valid hostname for a DNS server."
+msgstr ""
+
+#: inc/error.inc.php:79
+msgid "Zone has been added succesfully."
+msgstr ""
+
+#: inc/error.inc.php:80
+msgid "Zone has been deleted succesfully."
+msgstr ""
+
+#: inc/error.inc.php:81
+msgid "The user has been updated succesfully."
+msgstr ""
+
+#: inc/error.inc.php:82
+msgid "The user has been created succesfully."
+msgstr ""
+
+#: inc/error.inc.php:83
+msgid "The user has been deleted succesfully."
+msgstr ""
+
+#: inc/error.inc.php:84
+msgid "The record has been updated succesfully."
+msgstr ""
+
+#: inc/error.inc.php:85
+msgid "The record has been deleted succesfully."
+msgstr ""
+
+#: inc/error.inc.php:86
+msgid "The supermaster has been deleted succesfully."
+msgstr ""
+
+#: inc/error.inc.php:87
+msgid "The supermaster has been added succesfully."
+msgstr ""
+
+#: inc/error.inc.php:88
+msgid "The permission template has been deleted succesfully."
+msgstr ""
+
+#: inc/record.inc.php:270
+msgid "You are trying to delete the SOA record. If are not allowed to remove it, unless you remove the entire zone."
+msgstr ""
+
+#: inc/record.inc.php:603
+msgid "Function returned an error (multiple zones matching this zone ID)."
+msgstr ""
+
+#: inc/toolkit.inc.php:27
+msgid "You have to create a config.inc.php!"
+msgstr ""
+
+#: inc/toolkit.inc.php:87
+msgid "Show page"
+msgstr ""
+
+#: inc/toolkit.inc.php:106
+msgid "Show zones beginning with"
+msgstr ""
+
+#: inc/toolkit.inc.php:164
+msgid "An unknown error has occurred."
+msgstr ""
+
+#: inc/toolkit.inc.php:172
+msgid "Something has been successfully performed. What exactly, however, will remain a mystery."
+msgstr ""
+
+#: inc/toolkit.inc.php:184
+msgid "Success!"
+msgstr ""
+
+#: inc/toolkit.inc.php:195
+msgid "Successful!"
+msgstr ""
+
+#: inc/toolkit.inc.php:201
+msgid "back"
+msgstr ""
+
+#: inc/toolkit.inc.php:240
+msgid "Inactive"
+msgstr ""
+
+#: inc/toolkit.inc.php:244
+msgid "Active"
+msgstr ""
+
+#: inc/users.inc.php:365
+msgid "Password has been changed, please login."
+msgstr ""
diff -r b1d7998a903e -r cc09385a62aa docs/template.pot
--- a/docs/template.pot Sun Mar 30 13:50:39 2008 +0000
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,658 +0,0 @@
-# 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 , YEAR.
-#
-#, fuzzy
-msgid ""
-msgstr ""
-"Project-Id-Version: PACKAGE VERSION\n"
-"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2008-03-30 12:50+0200\n"
-"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
-"Last-Translator: FULL NAME \n"
-"Language-Team: LANGUAGE \n"
-"MIME-Version: 1.0\n"
-"Content-Type: text/plain; charset=CHARSET\n"
-"Content-Transfer-Encoding: 8bit\n"
-
-#: add_perm_templ.php:35 list_perm_templ.php:60
-msgid "Add permission template"
-msgstr ""
-
-#: add_perm_templ.php:39 add_perm_templ.php:50 add_record.php:86
-#: edit_perm_templ.php:51 edit_perm_templ.php:63 edit.php:92
-#: edit_record.php:63 list_perm_templ.php:35 list_zones.php:57 search.php:52
-#: search.php:85
-msgid "Name"
-msgstr ""
-
-#: add_perm_templ.php:43 add_perm_templ.php:51 add_user.php:63
-#: edit_perm_templ.php:55 edit_perm_templ.php:64 edit_user.php:129
-#: list_perm_templ.php:36 users.php:46
-msgid "Description"
-msgstr ""
-
-#: add_perm_templ.php:63 add_user.php:72 delete_user.php:101
-#: edit_perm_templ.php:84 edit.php:135 edit_record.php:105 edit_user.php:138
-#: users.php:104
-msgid "Commit changes"
-msgstr ""
-
-#: add_record.php:71
-msgid "The record was succesfully added."
-msgstr ""
-
-#: add_record.php:77
-msgid "Add record to zone"
-msgstr ""
-
-#: add_record.php:88 add_zone_master.php:115 delete_domain.php:58 edit.php:93
-#: edit.php:199 edit_record.php:65 list_zones.php:58 search.php:53
-#: search.php:86
-msgid "Type"
-msgstr ""
-
-#: add_record.php:89 edit.php:95 edit_record.php:66 search.php:87
-msgid "Priority"
-msgstr ""
-
-#: add_record.php:90 edit.php:94 edit_record.php:67 search.php:88
-msgid "Content"
-msgstr ""
-
-#: add_record.php:91 edit.php:96 edit_record.php:68 search.php:89
-msgid "TTL"
-msgstr ""
-
-#: add_record.php:124 edit.php:141
-msgid "Add record"
-msgstr ""
-
-#: add_supermaster.php:40 add_supermaster.php:80 index.php:54
-#: inc/header.inc.php:66
-msgid "Add supermaster"
-msgstr ""
-
-#: add_supermaster.php:43
-msgid "You do not have the permission to add a new supermaster."
-msgstr ""
-
-#: add_supermaster.php:48 list_supermasters.php:34
-msgid "IP address of supermaster"
-msgstr ""
-
-#: add_supermaster.php:58 delete_supermaster.php:52 list_supermasters.php:35
-msgid "Hostname in NS record"
-msgstr ""
-
-#: add_supermaster.php:68 delete_supermaster.php:53 list_supermasters.php:36
-msgid "Account"
-msgstr ""
-
-#: add_user.php:33 users.php:114
-msgid "Add user"
-msgstr ""
-
-#: add_user.php:37 edit_user.php:102 users.php:44
-msgid "Username"
-msgstr ""
-
-#: add_user.php:41 edit_user.php:106 users.php:45
-msgid "Fullname"
-msgstr ""
-
-#: add_user.php:45 edit_user.php:110 inc/auth.inc.php:99
-msgid "Password"
-msgstr ""
-
-#: add_user.php:49 edit_user.php:114 users.php:47
-msgid "Emailaddress"
-msgstr ""
-
-#: add_user.php:53 edit_user.php:118
-msgid "Permission template"
-msgstr ""
-
-#: add_user.php:67 edit_user.php:133 users.php:49
-msgid "Enabled"
-msgstr ""
-
-#: add_zone_master.php:53
-msgid "IP address of web- or mailserver is invalid."
-msgstr ""
-
-#: add_zone_master.php:79 index.php:48 inc/header.inc.php:60
-msgid "Add master zone"
-msgstr ""
-
-#: add_zone_master.php:87 add_zone_slave.php:60
-msgid "Zone name"
-msgstr ""
-
-#: add_zone_master.php:93
-msgid "IP address of webserver"
-msgstr ""
-
-#: add_zone_master.php:99
-msgid "IP address of mailserver"
-msgstr ""
-
-#: add_zone_master.php:105 add_zone_slave.php:72 delete_domain.php:57
-#: list_zones.php:60
-msgid "Owner"
-msgstr ""
-
-#: add_zone_master.php:125
-msgid "Create zone without applying records-template"
-msgstr ""
-
-#: add_zone_master.php:131 add_zone_slave.php:84
-msgid "Add zone"
-msgstr ""
-
-#: add_zone_slave.php:54 index.php:51 inc/header.inc.php:63
-msgid "Add slave zone"
-msgstr ""
-
-#: add_zone_slave.php:66 edit.php:229
-msgid "IP address of master NS"
-msgstr ""
-
-#: change_password.php:29 change_password.php:47 index.php:56
-#: inc/header.inc.php:68
-msgid "Change password"
-msgstr ""
-
-#: change_password.php:33
-msgid "Current password"
-msgstr ""
-
-#: change_password.php:37 change_password.php:41
-msgid "New password"
-msgstr ""
-
-#: delete_domain.php:49 edit.php:143 list_zones.php:81 search.php:65
-msgid "Delete zone"
-msgstr ""
-
-#: delete_domain.php:63
-#, php-format
-msgid "You are about to delete a slave zone of which the master nameserver, %s, is a supermaster. Deleting the zone now, will result in temporary removal only. Whenever the supermaster sends a notification for this zone, it will be added again!"
-msgstr ""
-
-#: delete_domain.php:67 delete_perm_templ.php:48 delete_record.php:78
-#: delete_supermaster.php:55
-msgid "Are you sure?"
-msgstr ""
-
-#: delete_domain.php:69 delete_perm_templ.php:49 delete_record.php:79
-#: delete_supermaster.php:56
-msgid "Yes"
-msgstr ""
-
-#: delete_domain.php:70 delete_record.php:80 delete_supermaster.php:57
-msgid "No"
-msgstr ""
-
-#: delete_perm_templ.php:42
-msgid "Delete permission template"
-msgstr ""
-
-#: delete_record.php:54 edit.php:109 search.php:101
-msgid "Delete record"
-msgstr ""
-
-#: delete_record.php:76
-msgid "You are trying to delete a record that is needed for this zone to work."
-msgstr ""
-
-#: delete_supermaster.php:44 list_supermasters.php:49
-msgid "Delete supermaster"
-msgstr ""
-
-#: delete_user.php:50 users.php:65
-msgid "Delete user"
-msgstr ""
-
-#: delete_user.php:61
-msgid "You are about to delete a user. This user is owner for a number of zones. Please decide what to do with these zones."
-msgstr ""
-
-#: delete_user.php:66
-msgid "Zone"
-msgstr ""
-
-#: delete_user.php:67 edit.php:164
-msgid "Delete"
-msgstr ""
-
-#: delete_user.php:68
-msgid "Leave"
-msgstr ""
-
-#: delete_user.php:69
-msgid "Add new owner"
-msgstr ""
-
-#: delete_user.php:70
-msgid "Owner to be added"
-msgstr ""
-
-#: delete_user.php:96
-msgid "Really delete this user?"
-msgstr ""
-
-#: edit_perm_templ.php:45 users.php:110
-msgid "Edit permission template"
-msgstr ""
-
-#: edit.php:75 search.php:60
-msgid "Edit zone"
-msgstr ""
-
-#: edit.php:86
-msgid "This zone does not have any records. Weird."
-msgstr ""
-
-#: edit.php:107 search.php:96
-msgid "Edit record"
-msgstr ""
-
-#: edit.php:149
-msgid "Owner of zone"
-msgstr ""
-
-#: edit.php:155
-msgid "No owner set for this zone."
-msgstr ""
-
-#: edit.php:193
-msgid "Add"
-msgstr ""
-
-#: edit.php:218 edit.php:240
-msgid "Change"
-msgstr ""
-
-#: edit_record.php:54
-msgid "Edit record in zone"
-msgstr ""
-
-#: edit_user.php:97 users.php:64
-msgid "Edit user"
-msgstr ""
-
-#: index.php:26
-msgid "Welcome"
-msgstr ""
-
-#: index.php:37 inc/header.inc.php:49
-msgid "Index"
-msgstr ""
-
-#: index.php:39 search.php:31 inc/header.inc.php:51
-msgid "Search zones and records"
-msgstr ""
-
-#: index.php:42 list_zones.php:38 inc/header.inc.php:54
-msgid "List zones"
-msgstr ""
-
-#: index.php:45 list_supermasters.php:30 inc/header.inc.php:57
-msgid "List supermasters"
-msgstr ""
-
-#: index.php:57 users.php:39 inc/header.inc.php:69
-msgid "User administration"
-msgstr ""
-
-#: index.php:58 inc/header.inc.php:70
-msgid "Logout"
-msgstr ""
-
-#: list_perm_templ.php:31
-msgid "Permission templates"
-msgstr ""
-
-#: list_perm_templ.php:47
-msgid "Edit template"
-msgstr ""
-
-#: list_perm_templ.php:48
-msgid "Delete template"
-msgstr ""
-
-#: list_supermasters.php:42 list_zones.php:43
-msgid "There are no zones to show in this listing."
-msgstr ""
-
-#: list_zones.php:41
-msgid "You do not have the permission to see any zones."
-msgstr ""
-
-#: list_zones.php:59
-msgid "Records"
-msgstr ""
-
-#: list_zones.php:76
-msgid "View zone"
-msgstr ""
-
-#: search.php:48
-msgid "Zones found"
-msgstr ""
-
-#: search.php:54
-msgid "Master"
-msgstr ""
-
-#: search.php:81
-msgid "Records found"
-msgstr ""
-
-#: search.php:120
-msgid "Query"
-msgstr ""
-
-#: search.php:124
-msgid "Enter a hostname or IP address"
-msgstr ""
-
-#: search.php:129
-msgid "Search"
-msgstr ""
-
-#: users.php:48
-msgid "Template"
-msgstr ""
-
-#: inc/auth.inc.php:41
-msgid "Session expired, please login again."
-msgstr ""
-
-#: inc/auth.inc.php:67
-msgid "Authentication failed!"
-msgstr ""
-
-#: inc/auth.inc.php:89 inc/auth.inc.php:95 inc/auth.inc.php:105
-msgid "Login"
-msgstr ""
-
-#: inc/auth.inc.php:129
-msgid "You have logged out."
-msgstr ""
-
-#: inc/database.inc.php:29
-msgid "Oops! An error occured!"
-msgstr ""
-
-#: inc/database.inc.php:73
-msgid "Unknown database type in inc/config.inc.php."
-msgstr ""
-
-#: inc/dns.inc.php:174
-msgid "If you specify an MX record it must be a hostname."
-msgstr ""
-
-#: inc/error.inc.php:27
-msgid "You do not have the permission to perform searches."
-msgstr ""
-
-#: inc/error.inc.php:28
-msgid "You do not have the permission to add a record to this zone."
-msgstr ""
-
-#: inc/error.inc.php:29
-msgid "You do not have the permission to edit this record."
-msgstr ""
-
-#: inc/error.inc.php:30
-msgid "You do not have the permission to view this record."
-msgstr ""
-
-#: inc/error.inc.php:31
-msgid "You do not have the permission to delete this record."
-msgstr ""
-
-#: inc/error.inc.php:32
-msgid "You do not have the permission to add a master zone."
-msgstr ""
-
-#: inc/error.inc.php:33
-msgid "You do not have the permission to add a slave zone."
-msgstr ""
-
-#: inc/error.inc.php:34
-msgid "You do not have the permission to delete a zone."
-msgstr ""
-
-#: inc/error.inc.php:35
-msgid "You do not have the permission to delete a supermaster."
-msgstr ""
-
-#: inc/error.inc.php:36
-msgid "You do not have the permission to view this zone."
-msgstr ""
-
-#: inc/error.inc.php:37
-msgid "You do not have the permission to edit this user."
-msgstr ""
-
-#: inc/error.inc.php:38
-msgid "You do not have the permission to edit permission templates."
-msgstr ""
-
-#: inc/error.inc.php:39
-msgid "You do not have the permission to delete permission templates."
-msgstr ""
-
-#: inc/error.inc.php:40
-msgid "You do not have the permission to add a new user."
-msgstr ""
-
-#: inc/error.inc.php:41
-msgid "You do not have the permission to delete this user."
-msgstr ""
-
-#: inc/error.inc.php:44
-msgid "This is an invalid zone name."
-msgstr ""
-
-#: inc/error.inc.php:45
-msgid "There is already a supermaster with this IP address."
-msgstr ""
-
-#: inc/error.inc.php:46
-msgid "There is already a zone with this name."
-msgstr ""
-
-#: inc/error.inc.php:49
-msgid "Username exist already, please choose another one."
-msgstr ""
-
-#: inc/error.inc.php:50
-msgid "User does not exist."
-msgstr ""
-
-#: inc/error.inc.php:51
-msgid "You did not enter the correct current password."
-msgstr ""
-
-#: inc/error.inc.php:52
-msgid "The two new password fields do not match."
-msgstr ""
-
-#: inc/error.inc.php:53
-msgid "This template is assigned to at least one user."
-msgstr ""
-
-#: inc/error.inc.php:56
-msgid "Invalid or unexpected input given."
-msgstr ""
-
-#: inc/error.inc.php:57
-#, php-format
-msgid "Invalid argument(s) given to function %s"
-msgstr ""
-
-#: inc/error.inc.php:58
-#, php-format
-msgid "Invalid argument(s) given to function %s %s"
-msgstr ""
-
-#: inc/error.inc.php:59
-msgid "Unknown error."
-msgstr ""
-
-#: inc/error.inc.php:60
-msgid "Enter a valid email address."
-msgstr ""
-
-#: inc/error.inc.php:63
-msgid "Your content field doesnt have a legit value."
-msgstr ""
-
-#: inc/error.inc.php:64
-msgid "Invalid hostname."
-msgstr ""
-
-#: inc/error.inc.php:65
-msgid "Invalid record type! You should not even been able to get that here."
-msgstr ""
-
-#: inc/error.inc.php:66
-msgid "This is not a valid IPv4 or IPv6 address."
-msgstr ""
-
-#: inc/error.inc.php:67
-msgid "This is not a valid IPv6 address."
-msgstr ""
-
-#: inc/error.inc.php:68
-msgid "This is not a valid IPv4 address."
-msgstr ""
-
-#: inc/error.inc.php:69
-msgid "This is not a valid CNAME. Did you assign an MX or NS record to the record?"
-msgstr ""
-
-#: inc/error.inc.php:70
-msgid "You can not point a NS record to a CNAME record. Remove or rename the CNAME record first or take another name."
-msgstr ""
-
-#: inc/error.inc.php:71
-msgid "NS records must be a hostnames."
-msgstr ""
-
-#: inc/error.inc.php:72
-msgid "You can not point a MX record to a CNAME record. Remove or rename the CNAME record first or take another name."
-msgstr ""
-
-#: inc/error.inc.php:73
-msgid "A prio field should be numeric."
-msgstr ""
-
-#: inc/error.inc.php:74
-msgid "At least one of the five last SOA data fields is not numeric."
-msgstr ""
-
-#: inc/error.inc.php:75
-msgid "You can only have five numeric fields in the SOA record."
-msgstr ""
-
-#: inc/error.inc.php:76
-msgid "The first part of your SOA record does not contain a valid hostname for a DNS server."
-msgstr ""
-
-#: inc/error.inc.php:79
-msgid "Zone has been added succesfully."
-msgstr ""
-
-#: inc/error.inc.php:80
-msgid "Zone has been deleted succesfully."
-msgstr ""
-
-#: inc/error.inc.php:81
-msgid "The user has been updated succesfully."
-msgstr ""
-
-#: inc/error.inc.php:82
-msgid "The user has been created succesfully."
-msgstr ""
-
-#: inc/error.inc.php:83
-msgid "The user has been deleted succesfully."
-msgstr ""
-
-#: inc/error.inc.php:84
-msgid "The record has been updated succesfully."
-msgstr ""
-
-#: inc/error.inc.php:85
-msgid "The record has been deleted succesfully."
-msgstr ""
-
-#: inc/error.inc.php:86
-msgid "The supermaster has been deleted succesfully."
-msgstr ""
-
-#: inc/error.inc.php:87
-msgid "The supermaster has been added succesfully."
-msgstr ""
-
-#: inc/error.inc.php:88
-msgid "The permission template has been deleted succesfully."
-msgstr ""
-
-#: inc/record.inc.php:270
-msgid "You are trying to delete the SOA record. If are not allowed to remove it, unless you remove the entire zone."
-msgstr ""
-
-#: inc/record.inc.php:603
-msgid "Function returned an error (multiple zones matching this zone ID)."
-msgstr ""
-
-#: inc/toolkit.inc.php:27
-msgid "You have to create a config.inc.php!"
-msgstr ""
-
-#: inc/toolkit.inc.php:87
-msgid "Show page"
-msgstr ""
-
-#: inc/toolkit.inc.php:106
-msgid "Show zones beginning with"
-msgstr ""
-
-#: inc/toolkit.inc.php:164
-msgid "An unknown error has occurred."
-msgstr ""
-
-#: inc/toolkit.inc.php:172
-msgid "Something has been successfully performed. What exactly, however, will remain a mystery."
-msgstr ""
-
-#: inc/toolkit.inc.php:184
-msgid "Success!"
-msgstr ""
-
-#: inc/toolkit.inc.php:195
-msgid "Successful!"
-msgstr ""
-
-#: inc/toolkit.inc.php:201
-msgid "back"
-msgstr ""
-
-#: inc/toolkit.inc.php:240
-msgid "Inactive"
-msgstr ""
-
-#: inc/toolkit.inc.php:244
-msgid "Active"
-msgstr ""
-
-#: inc/users.inc.php:365
-msgid "Password has been changed, please login."
-msgstr ""
diff -r b1d7998a903e -r cc09385a62aa edit_perm_templ.php
--- a/edit_perm_templ.php Sun Mar 30 13:50:39 2008 +0000
+++ b/edit_perm_templ.php Sun Mar 30 15:33:55 2008 +0000
@@ -77,7 +77,7 @@
echo "
\n";
echo "
" . $perm_a['name'] . "
\n";
- echo "
" . $perm_a['descr'] . "
\n";
+ echo "
" . _($perm_a['descr']) . "
\n";
echo " \n";
}
echo " \n";
diff -r b1d7998a903e -r cc09385a62aa edit_user.php
--- a/edit_user.php Sun Mar 30 13:50:39 2008 +0000
+++ b/edit_user.php Sun Mar 30 15:33:55 2008 +0000
@@ -148,7 +148,7 @@
echo " \n";
echo "
\n";
foreach (get_permissions_by_template_id($user['tpl_id']) as $item) {
- echo "
" . $item['descr'] . " (" . $item['name'] . ")
\n";
+ echo "
" . _($item['descr']) . " (" . $item['name'] . ")
\n";
}
echo "
\n";
}
diff -r b1d7998a903e -r cc09385a62aa locale/nl_NL/LC_MESSAGES/messages.mo
Binary file locale/nl_NL/LC_MESSAGES/messages.mo has changed
diff -r b1d7998a903e -r cc09385a62aa locale/nl_NL/LC_MESSAGES/nl.po
--- a/locale/nl_NL/LC_MESSAGES/nl.po Sun Mar 30 13:50:39 2008 +0000
+++ b/locale/nl_NL/LC_MESSAGES/nl.po Sun Mar 30 15:33:55 2008 +0000
@@ -651,3 +651,74 @@
#: inc/users.inc.php:365
msgid "Password has been changed, please login."
msgstr "Het wachtwoord is gewijzigd. Log opnieuw in."
+
+# The following is a list of strings that are not hard-code in the PHP
+# files, but which are listed in the poweradmin database. Because of
+# this, tools like xgettext will not notice these strings.
+#
+# See also .
+#
+
+msgid "User is allowed to add new master zones."
+msgstr "Gebruiker mag master zones aanmaken."
+
+msgid "User is allowed to add new slave zones."
+msgstr "Gebruiker mag slave zones aanmaken."
+
+msgid "User is allowed to see the content and meta data of zones he owns."
+msgstr "Gebruiker mag eigen zones inzien."
+
+msgid "User is allowed to edit the content of zones he owns."
+msgstr "Gebruiker mag records van eigen zones wijzigen."
+
+msgid "User is allowed to edit the meta data of zones he owns."
+msgstr "Gebruiker mag meta gegevens van eigen zones wijzigen."
+
+msgid "User is allowed to see the content and meta data of zones he does not own."
+msgstr "Gebruiker mag zones van anderen inzien."
+
+msgid "User is allowed to edit the content of zones he does not own."
+msgstr "Gebruiker mag record van zones van anderen wijzigen."
+
+msgid "User is allowed to edit the meta data of zones he does not own."
+msgstr "Gebruiker mag meta gegevens van zones van anderen wijzigen."
+
+msgid "User is allowed to perform searches."
+msgstr "Gebruiker mag zoekopdrachten uitvoeren."
+
+msgid "User is allowed to view supermasters."
+msgstr "Gebruiker mag supermasters inzien."
+
+msgid "User is allowed to add new supermasters."
+msgstr "Gebruiker mag supermasters toevoegen."
+
+msgid "User is allowed to edit supermasters."
+msgstr "Gebruiker mag supermasters wijzigen."
+
+msgid "User has full access. God-like. Redeemer."
+msgstr "Gebruiker heeft alle rechten en kan zich even een god wanen."
+
+msgid "User is allowed to see other users and their details."
+msgstr "Gebruiker mag andere gebruikersgegevens inzien."
+
+msgid "User is allowed to add new users."
+msgstr "Gebruiker mag nieuwe gebruikers toevoegen."
+
+msgid "User is allowed to edit their own details."
+msgstr "Gebruiker mag eigen gegevens wijzigen."
+
+msgid "User is allowed to edit other users."
+msgstr "Gebruiker mag gegevens van andere gebruikers wijzigen."
+
+msgid "User is allowed to edit the password of other users."
+msgstr "Gebruiker mag het wachtwoord van andere gebruikers wijzigen."
+
+msgid "User is allowed to change the permission template that is assigned to a user."
+msgstr "Gebruiker mag het aan een gebruiker toegewezen permissie template wijzigen."
+
+msgid "User is allowed to add new permission templates."
+msgstr "Gebruiker mag nieuwe permissie templates toevoegen."
+
+msgid "User is allowed to edit existing permission templates."
+msgstr "Gebruiker mag permissie templates wijzigen."
+