1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
|
<?php /* $Id: install_lang.php,v 1.3 2002/12/30 20:32:28 thetinysteini Exp $ */ /* phpInstaller - PHP Script Installer ============================================== (c) 2002 by Paul Baecher <paul@thewall.de>
This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.
============================================== */
if( !isset($lang) ) $lang = '';
$a_lang = array( 'de' => array(), 'en' => array() );
/* german */ $a_lang['de']['desc'] = 'Deutsch';
$a_lang['de']['next'] = 'Weiter'; $a_lang['de']['back'] = 'Zurück'; $a_lang['de']['error'] = 'Fehler'; $a_lang['de']['login'] = 'Login'; $a_lang['de']['adminpwtooshort'] = 'Das Admin-Passwort ist zu kurz (min. 5 Zeichen)!'; $a_lang['de']['updatesuccess'] = 'Update erfolgreich'; $a_lang['de']['updatesuccesstxt'] = 'Das Update wurde erfolgreich abgeschlossen.'; $a_lang['de']['notfound'] = 'Das angegeben Script wurde nicht gefunden!'; $a_lang['de']['cantexec'] = 'Das Update kann nicht durchgeführt werden. (Versionskonflikt)'; $a_lang['de']['tooold'] = 'Die Version des Updaters ist zu alt. Bitte laden Sie eine neuere Version herunter.'; $a_lang['de']['chmoderror'] = 'Die MySQL Daten konnten nicht geschrieben werden!<br>Bitte setzen Sie mit Ihrem FTP-Client CHMOD 755, CHMOD 775 oder im Zweifelsfall CHMOD 777 für das Verzeichnis <b>../inc/</b> und drücken Sie den Aktualisieren-Button Ihres Browsers. Alternativ können Sie die Konfigurationsdatei herunterladen, klicken Sie dazu bitte den Zurück-Button des Browsers und folgen Sie den Anweisungen.'; $a_lang['de']['mysqlerror'] = 'Die MySQL Datenbank "%s" konnte nicht erstellt werden: <b>%s</b>'; $a_lang['de']['connecterror'] = 'Es konnte keine MySQL Verbindung aufgebaut werden, bitte überprüfen Sie die Schreibweise des Benutzers und Passworts.<br>Die MySQL Fehlermeldung lautet: <b>%s</b>'; $a_lang['de']['queryerror'] = 'Fehler beim ausführes des Queries: <i>%s</i><br><br>MySQL Fehler: <b>%s</b>'; $a_lang['de']['installation'] = 'Installation'; $a_lang['de']['licagreement'] = 'Lizenzbedingungen'; $a_lang['de']['licread'] = 'Ich habe die Lizenzbestimmungen gelesen und aktzeptiere sie.'; $a_lang['de']['licaccept'] = 'Sie müssen den Lizenzbestimmungen zustimmen um fortzufahren.'; $a_lang['de']['mysqldata'] = 'Abfrage der MySQL Daten'; $a_lang['de']['entermysqldata'] = 'Bitte geben Sie ihre MySQL Daten an.'; $a_lang['de']['mysqlhost'] = 'MySQL Hostname/IP Adresse'; $a_lang['de']['mysqluser'] = 'MySQL Benutzername'; $a_lang['de']['mysqlpass'] = 'MySQL Passwort'; $a_lang['de']['selectdb'] = 'Auswahl der MySQL Datenbank'; $a_lang['de']['choosedb'] = 'Bitte wählen Sie die gewünschte MySQL Datenbank aus, oder geben Sie einen Namen an. Existiert die Datenbank nicht, wird versucht sie zu erstellen.'; $a_lang['de']['existingdb'] = 'Existierende Datenbank'; $a_lang['de']['usefield'] = 'Eingabefeld benutzen'; $a_lang['de']['orname'] = 'oder Name eingeben:'; $a_lang['de']['chooseprefix'] = 'MySQL Tabellenpräfix auswählen'; $a_lang['de']['tablelist'] = 'In der Datenbank <b>"%s"</b> befinden sich zur Zeit folgende Tabellen:'; $a_lang['de']['enterprefix'] = 'Bitte geben Sie ein Tabellen Prefix an, das vor die Tabellennamen gehängt werden soll. Somit sind mehrere ThWboards in einer Tabelle möglich.</p> Tabellenprefix:'; $a_lang['de']['dontchange'] = 'Im Zweifelsfall nicht ändern'; $a_lang['de']['deleteexisting'] = 'Eventuell existierende Tabellen löschen?'; $a_lang['de']['createadmin'] = 'Administratorprofil erstellen'; $a_lang['de']['username'] = 'Benutzername'; $a_lang['de']['email'] = 'Email Adresse'; $a_lang['de']['password'] = 'Passwort'; $a_lang['de']['completing'] = 'Fertigstellen der Installation'; $a_lang['de']['completingtxt'] = 'Bevor die Installation fertiggestellt werden kann, müssen die MySQL Daten dauerhaft gespeichert werden. Dafür wird CHMOD 755, CHMOD 775 oder CHMOD 777 für das Verzeichnis <b>../inc/</b> benötigt, damit die Konfigurationsdatei erstellt werden kann. Setzen Sie diesen CHMOD mit Ihrem FTP-Client und klicken Sie auf Weiter.<br><br><font color="darkred"><b>Hinweis:</b></font> Alternativ können Sie eine automatisch erstellte config.inc.php-Datei herunterladen und diese in das inc/ Verzeichnis des Forums uploaden. Bitte beachten Sie, dass das Forum anschließend vollständig installiert ist, und die Installation an dieser Stelle beendet wird. Der Installationsassistent ist nach dem Upload nicht mehr verfügbar.<br><br><a href="install.php?action=generate_config&hostname=%s&user=%s&pass=%s&db=%s&prefix=%s">Konfigurationsdatei herunterladen</a>'; $a_lang['de']['denied'] = 'Installation verweigert'; $a_lang['de']['deniedtxt'] = 'Das Forum ist bereits installiert! Wenn Sie das Forum neu installieren wollen, löschen bitte die Datei <b>../inc/config.inc.php</b>.'; $a_lang['de']['selectupdate'] = 'Bitte wählen Sie ein Update aus der Liste aus.'; $a_lang['de']['updateinfo'] = 'Update Informationen'; $a_lang['de']['reqver'] = 'Benötigte Version'; $a_lang['de']['newver'] = 'Version nach Update'; $a_lang['de']['author'] = 'Autor'; $a_lang['de']['date'] = 'Datum'; $a_lang['de']['executable'] = 'Durchführbar?'; $a_lang['de']['notes'] = 'Hinweise'; $a_lang['de']['yes'] = 'Ja'; $a_lang['de']['no'] = 'Nein'; $a_lang['de']['na'] = '(keine)'; $a_lang['de']['infotxt'] = ' <b>Willkommen!</b><br> <br> Willkommen zum ThWboard Installationsassistent. Dieser Assistent wird Ihnen dabei helfen, Ihr ThWboard zu installieren. Bevor Sie mit der Installation starten, legen Sie bitte folgende Informationen bereit:</p> <ul> <li>MySQL Hostname/IP Adresse</li> <li>MySQL Benutzername und Passwort</li> <li>MySQL Datenbankname (Falls Sie nicht das Recht haben, eine zu erstellen)</li> </ul> Diese Informationen bekommen Sie in der Regel vom Provider zugeschickt. Sollten Sie diese Informationen nicht haben, kontaktieren Sie bitte den Provider/Administrator, da wir diese Informationen nicht haben.<br> <br> Sollten während der Installation Probleme auftreten, besuchen Sie bitte unser <a href="http://www.thwboard.de/support/">Support-Forum</a>.'; $a_lang['de']['finished'] = ' <b>Installation beendet!</b><br> <br> Die Installation wurde erfolgreich beendet. Ihr ThWboard sollte nun voll einsatzbereit sein. Hier noch ein paar nützliche Links:<br> <ul> <li><a target="_blank" href="../">Ihr ThWboard</a></li> <li><a target="_blank" href="./index.php">Das Admin-Center Ihres ThWboards</a></li> <li><a target="_blank" href="http://www.thwboard.de/support/">Das ThWboard Support Forum</a> (für Anregungen, Kritik, Lob usw.)</li> </ul>'; $a_lang['de']['noupdates'] = ' <b>Updates</b><br> <br> Es sind zur Zeit leider keine Updates verfübar.<br> Besuchen Sie bitte die <a href="http://www.thwboard.de/">ThWboard Homepage</a> um Updates herunterzuladen.';
/* english */ $a_lang['en']['desc'] = 'English';
$a_lang['en']['next'] = 'Next'; $a_lang['en']['back'] = 'Back'; $a_lang['en']['error'] = 'Error'; $a_lang['en']['login'] = 'Login'; $a_lang['en']['adminpwtooshort'] = 'The admin-password is too short (min. 5 chars)!'; $a_lang['en']['updatesuccess'] = 'Update successful'; $a_lang['en']['updatesuccesstxt'] = 'The update was completed successfully.'; $a_lang['en']['notfound'] = 'The specified script was not found!'; $a_lang['en']['cantexec'] = 'The update cannot be executed. (Version mismatch)'; $a_lang['en']['tooold'] = 'Your updater is too old. Please download a new version.'; $a_lang['en']['chmoderror'] = 'Couldn\'t write MySQL data!<br>Please set CHMOD 755, CHMOD 775 or CHMOD 777 (if unsure, choose CHMOD 777) for the directory <b>../inc/</b> and hit the refresh button. Alternatively you can download a configuration file as described in the previous step. Click the back-button of your browser to do so.'; $a_lang['en']['mysqlerror'] = 'Couldn\'t create MySQL database "%s": <b>%s</b>'; $a_lang['en']['connecterror'] = 'Couldn\'t connect to the MySQL database, please verify username and password.<br>MySQL said: <b>%s</b>'; $a_lang['en']['queryerror'] = 'Query execution error: <i>%s</i><br><br>MySQL said: <b>%s</b>'; $a_lang['en']['installation'] = 'installation'; $a_lang['en']['licagreement'] = 'License agreement'; $a_lang['en']['licread'] = 'I accept the license agreement.'; $a_lang['en']['licaccept'] = 'You must agree to the license agreement in order to continue.'; $a_lang['en']['mysqldata'] = 'MySQL data'; $a_lang['en']['entermysqldata'] = 'Please provide your MySQL data.'; $a_lang['en']['mysqlhost'] = 'MySQL hostname/IP address'; $a_lang['en']['mysqluser'] = 'MySQL username'; $a_lang['en']['mysqlpass'] = 'MySQL password'; $a_lang['en']['selectdb'] = 'Select MySQL database'; $a_lang['en']['choosedb'] = 'Please select the database or enter a name below. If the database does not exists, the script will attempt to create it.'; $a_lang['en']['existingdb'] = 'Existing database'; $a_lang['en']['usefield'] = 'Use editfield below'; $a_lang['en']['orname'] = 'or enter name:'; $a_lang['en']['chooseprefix'] = 'Choose MySQL table prefix'; $a_lang['en']['tablelist'] = 'The database <b>"%s"</b> currently contains these tables:'; $a_lang['en']['enterprefix'] = 'Please enter a table prefix which will be prepended to the table names. This allows you to run multiple ThWboards in one database.</p> Table prefix:'; $a_lang['en']['dontchange'] = 'Don\'t change if unsure'; $a_lang['en']['deleteexisting'] = 'Overwrite (delete) existing tables'; $a_lang['en']['createadmin'] = 'Create administrator profile'; $a_lang['en']['username'] = 'Username'; $a_lang['en']['email'] = 'Email'; $a_lang['en']['password'] = 'Password'; $a_lang['en']['completing'] = 'Completing the installation'; $a_lang['en']['completingtxt'] = 'Before completing the installation, the MySQL data needs to be saved permanently. In order to create the configuration file the web server requires write access to the directory <b>../inc/</b>. Please set CHMOD 755, CHMOD 775, or, if required, CHMOD 777 for this directory and click next.<br><br><font color="darkred"><b>Note:</b></font> Alternatively you may download a generated config.inc.php file and upload it into the inc/ directory. Please note that the forum is fully installed afterwards and this installation assistant will be no longer available after uploading the file.<br><br><a href="install.php?action=generate_config&hostname=%s&user=%s&pass=%s&db=%s&prefix=%s">Download configuration file</a>'; $a_lang['en']['denied'] = 'Installation denied'; $a_lang['en']['deniedtxt'] = 'The forum is already installed! If you want to re-install the forum, delete the file <b>../inc/config.inc.php</b> and try again.'; $a_lang['en']['selectupdate'] = 'Please choose an update from the list below.'; $a_lang['en']['updateinfo'] = 'Update information'; $a_lang['en']['reqver'] = 'Required version'; $a_lang['en']['newver'] = 'Version after update'; $a_lang['en']['author'] = 'Author'; $a_lang['en']['date'] = 'Date'; $a_lang['en']['executable'] = 'Executable?'; $a_lang['en']['notes'] = 'Notes'; $a_lang['en']['yes'] = 'Yes'; $a_lang['en']['no'] = 'No'; $a_lang['en']['na'] = 'N/A'; $a_lang['en']['infotxt'] = ' <b>Welcome!</b><br> <br> Welcome to the ThWboard Installation assistant. This install assistant will guide you through the installation process of your ThWboard. Before you start, make sure you have the following information:</p> <ul> <li>MySQL Hostname/IP address</li> <li>MySQL Username and Password</li> <li>MySQL Database name (If you aren\'t allowed to create one)</li> </ul> That information will be provided by your ISP/Hosting service. If you do not have that information, contact your ISP or administrator since we can\'t help you in that case. <br> <br> If you experience any problems during the installation process, feel free to visit our <a href="http://www.thwboard.de/support/">Support-Forums</a>.'; $a_lang['en']['finished'] = ' <b>Installation completed!</b><br> <br> The installation process was successfully completed. Your ThWboard should be working now.<br> <li><a target="_blank" href="../">Your ThWboard</a></li> <li><a target="_blank" href="./index.php">The Admin-Center of your ThWboard</a></li> <li><a target="_blank" href="http://www.thwboard.de/support/">The ThWboard Support Forums</a> (Comments, questions etc)</li>'; $a_lang['en']['noupdates'] = ' <b>Updates</b><br> <br> There are currently no updates<br> Visit the <a href="http://www.thwboard.de/">ThWboard Homepage</a> in order to download updates.';
function lng($str) { global $lang, $a_lang; if( $lang == '' ) $lng = 'en'; else $lng = $lang; if( $a_lang[$lng][$str] ) return $a_lang[$lng][$str]; else return '*** missing string `'.$str.'´'; }
?>
|