# HG changeset patch # User rejo # Date 1210342074 0 # Node ID b8adc3cf28c7939440635e516c17c5ec41fb5bb4 # Parent 59c42a716f95dd77007f750ebd74b1b75838ea46 [feladat @ 257] Added translation of installation script. User now may choose between english or dutch installation procedure. diff -r 59c42a716f95 -r b8adc3cf28c7 docs/i18n-template-php.pot --- a/docs/i18n-template-php.pot Sat May 03 22:00:51 2008 +0000 +++ b/docs/i18n-template-php.pot Fri May 09 14:07:54 2008 +0000 @@ -726,3 +726,151 @@ msgid "You are using an invalid top level domain." msgstr "" +#: index.php:20 +msgid "Installation step" +msgstr "" + +#: index.php:26 +msgid "This installer expects you to have a PowerDNS database accessable from this server. This installer also expects you to have never ran Poweradmin before, or that you want to overwrite the Poweradmin part of the database. If you have had Poweradmin running before, any data in the following tables will be destroyed: perm_items, perm_templ, perm_templ_items, users and zones. This installer will, of course, not touch the data in the PowerDNS tables of the database. However, it is recommended that you create a backup of your database before proceeding." +msgstr "" + +#: index.php:28 +msgid "The alternative for this installer is a manual installation. Refer to the poweradmin.org website if you want to go down that road." +msgstr "" + +#: index.php:30 +msgid "" +"Finally, if you see any errors during the installation process, a problem report would be appreciated. You can report problems (and ask for help) on the poweradmin-users mailinglist." +msgstr "" + +#: index.php:33 +msgid "Do you want to proceed now?" +msgstr "" + +#: index.php:37 index.php:80 index.php:133 index.php:175 index.php:206 +msgid "Go to step" +msgstr "" + +#: index.php:43 +msgid "To prepare the database for using Poweradmin, the installer needs to modify the PowerDNS database. It will add a number of tables and it will fill these tables with some data. If the tables are already present, the installer will drop them first." +msgstr "" + +#: index.php:45 +msgid "To do all of this, the installer needs to access the database with an account which has sufficient rights. If you trust the installer, you may give it the username and password of the database user root. Otherwise, make sure the user has enough rights, before actually proceeding." +msgstr "" + +#: index.php:52 +msgid "The username to use to connect to the database, make sure the username has sufficient rights to perform administrative task to the PowerDNS database (the installer wants to drop, create and fill tables to the database)." +msgstr "" + +#: index.php:57 index.php:153 +msgid "The password for this username." +msgstr "" + +#: index.php:60 +msgid "Hostname" +msgstr "" + +#: index.php:62 +msgid "The hostname on which the PowerDNS database resides. Frequently, this will be \"localhost\"." +msgstr "" + +#: index.php:65 +msgid "Database" +msgstr "" + +#: index.php:67 +msgid "The name of the PowerDNS database." +msgstr "" + +#: index.php:70 +msgid "Database type" +msgstr "" + +#: index.php:76 +msgid "The type of the PowerDNS database." +msgstr "" + +#: index.php:86 +msgid "Updating database..." +msgstr "" + +#: index.php:109 +msgid "done!" +msgstr "" + +#: index.php:111 +msgid "We have now updated the PowerDNS database to work with Poweradmin. You now want to give limited rights to Poweradmin so it can update the data in the tables. To do this, you should create a new user and give it rights to select, delete, insert and update records in the PowerDNS database." +msgstr "" + +#: index.php:113 +msgid "In MySQL you should now perform the following command:" +msgstr "" + +#: index.php:116 +msgid "On PgSQL you would use:" +msgstr "" + +#: index.php:127 +msgid "After you have added the new user, proceed with this installation procedure." +msgstr "" + +#: index.php:142 +msgid "Now we will put together the configuration. To do so, the installer needs some details:" +msgstr "" + +#: index.php:148 +msgid "The username as created in the previous step." +msgstr "" + +#: index.php:156 +msgid "Hostmaster" +msgstr "" + +#: index.php:158 +msgid "When creating SOA records and no hostmaster is provided, this value here will be used. Should be in the form \"hostmaster.example.net\"." +msgstr "" + +#: index.php:161 +msgid "Primary nameserver" +msgstr "" + +#: index.php:163 +msgid "When creating new zones using the template, this value will be used as primary nameserver. Should be like \"ns1.example.net\"." +msgstr "" + +#: index.php:166 +msgid "Secondary nameserver" +msgstr "" + +#: index.php:168 +msgid "When creating new zones using the template, this value will be used as secondary nameserver. Should be like \"ns2.example.net\"." +msgstr "" + +#: index.php:197 +msgid "The installer was able to write to the file \"" +msgstr "" + +#: index.php:197 +msgid "\". A basic configuration, based on the details you have given, has been created." +msgstr "" + +#: index.php:199 +msgid "The installer is unable to write to the file \"" +msgstr "" + +#: index.php:199 +msgid "\" (which is in itself good). The configuration is printed here. You should now create the file \"" +msgstr "" + +#: index.php:199 +msgid "\" in the Poweradmin root directory yourself. It should contain the following few lines:" +msgstr "" + +#: index.php:212 +msgid "Now we have finished the configuration, you should (must!) remove the directory \"install/\" from the Poweradmin root directory. You will not be able to use Poweradmin if it exists. Do it now." +msgstr "" + +#: index.php:213 +msgid "After you have removed the directory, you can login to Poweradmin with username \"admin\" and password \"admin\". You are highly encouraged to change these as soon as you are logged in." +msgstr "" diff -r 59c42a716f95 -r b8adc3cf28c7 install/index.php --- a/install/index.php Sat May 03 22:00:51 2008 +0000 +++ b/install/index.php Fri May 09 14:07:54 2008 +0000 @@ -1,7 +1,23 @@ Error: " . $msg . "\n"; + } else { + echo "
This installer expects you to have a PowerDNS database accessable from this server. This installer also expects you to have never ran Poweradmin before, or that you want to overwrite the Poweradmin part of the database. If you have had Poweradmin running before, any data in the following tables will be destroyed:
\n"; - echo "This installer will, of course, not touch the data in the PowerDNS tables of the database. However, it is, of course, recommended you create a backup of your database before proceeding.
"; - echo "Finally, if you see any errors during the installation process, a problem report would be. You can report problems (and ask for help) on the poweradmin-users mailinglist or you can create a ticket in the ticketsystem.
"; - echo "Do you want to proceed now?
\n"; + + echo "\n"; + echo "
\n"; + echo "\n"; + break; + + case 2: + $step++; + + echo "" . _('This installer expects you to have a PowerDNS database accessable from this server. This installer also expects you to have never ran Poweradmin before, or that you want to overwrite the Poweradmin part of the database. If you have had Poweradmin running before, any data in the following tables will be destroyed: perm_items, perm_templ, perm_templ_items, users and zones. This installer will, of course, not touch the data in the PowerDNS tables of the database. However, it is recommended that you create a backup of your database before proceeding.') . "
\n"; + + echo "" . _('The alternative for this installer is a manual installation. Refer to the poweradmin.org website if you want to go down that road.') . "
\n"; + + echo "" . _('Finally, if you see any errors during the installation process, a problem report would be appreciated. You can report problems (and ask for help) on the poweradmin-users mailinglist.') . "
"; + + echo "" . _('Do you want to proceed now?') . "
\n"; + echo ""; break; - case 2: + case 3: $step++; - echo "To prepare the database for using Poweradmin, the installer needs to modify the PowerDNS database. It'll add a number of tables and it'll fill these tables with some data. If the tables are already present, the installer will drop them first.
"; - echo "To do all of this, the installer needs to access the database with an account which has sufficient rights. If you trust the installer, you may give it the username and password of the database user root. Otherwise, make sure the user has enough rights, before actually proceeding.
"; + echo "" . _('To prepare the database for using Poweradmin, the installer needs to modify the PowerDNS database. It will add a number of tables and it will fill these tables with some data. If the tables are already present, the installer will drop them first.') . "
"; + + echo "" . _('To do all of this, the installer needs to access the database with an account which has sufficient rights. If you trust the installer, you may give it the username and password of the database user root. Otherwise, make sure the user has enough rights, before actually proceeding.') . "
"; + echo "