Subversion Repositories ALCASAR

Rev

Rev 2389 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log

Rev Author Line No. Line
1280 richard 1
<?php
2168 tom.houday 2
/**
3
 * Translations of users tickets
4
 *
5
 * @copyright Copyright (C) ALCASAR (http://www.alcasar.net)
6
 * @license   GPL-3.0
7
 * @version   $Id: langues_imp.php 2450 2017-12-05 21:53:42Z tom.houdayer $
8
 */
9
 
10
// Read conf file
11
$CONF_FILE = '/usr/local/etc/alcasar.conf';
12
if (!file_exists($CONF_FILE)) {
13
	exit("Requested file $CONF_FILE isn't present");
14
}
15
if (!is_readable($CONF_FILE)) {
16
	exit("Can't read the file $CONF_FILE");
17
}
18
$ouvre = fopen($CONF_FILE, 'r');
19
if ($ouvre) {
20
	while (!feof($ouvre)) {
2450 tom.houday 21
		$buffer = fgets($ouvre, 4096);
22
		if (strpos($buffer, '=') !== false) {
23
			$tmp = explode('=', $buffer, 2);
24
			$conf[trim($tmp[0])] = trim($tmp[1]);
1748 richard 25
		}
26
	}
27
	fclose($ouvre);
28
}
2168 tom.houday 29
 
30
// Translations
31
switch ($langue_imp) {
32
	case 'fr':                     // French
33
		$l_title_imp               = "TICKET D'ACCÈS";
34
		$l_login_imp               = "Utilisateur :";
35
		$l_password_imp            = "Mot de passe :";
36
		$l_max_all_session_imp     = "Période autorisée :";
37
		$l_session_timeout_imp     = "Durée d'une session :";
38
		$l_max_daily_session_imp   = "Durée quotidienne :";
39
		$l_max_monthly_session_imp = "Durée mensuelle :";
40
		$l_expiration_imp          = "Date d'expiration :";
41
		$l_unlimited               = "Illimitée";
42
		$l_without                 = "Aucune";
43
		$l_duplicate               = "Duplicata";
44
		$l_explain                 = "Entrer 'http://".trim($conf["HOSTNAME"]).".".trim($conf["DOMAIN"])."' dans votre navigateur pour gérer votre compte (mot de passe, certificat, etc.).
45
		                              Entrer 'http://logout' dans votre navigateur pour vous déconnecter.";
46
		$l_footer_imp              = "Généré par ALCASAR";
47
		break;
48
 
49
	case 'de':                     // German
50
		$l_title_imp               = "ZUGANG TICKET";
51
		$l_login_imp               = "Login :";
52
		$l_password_imp            = "Passwort :";
53
		$l_max_all_session_imp     = "Autorisierte Zeitraum :";
54
		$l_session_timeout_imp     = "Dauer der Sitzung :";
55
		$l_max_daily_session_imp   = "Stunden t&auml;glich :";
56
		$l_max_monthly_session_imp = "monatlich Dauer :";
57
		$l_expiration_imp          = "Verfallsdatum :";
2389 tom.houday 58
		$l_unlimited               = "Unbegrenzt";
2168 tom.houday 59
		$l_without                 = "Ohne";
60
		$l_duplicate               = "Duplikat";
61
		$l_explain                 = "Geben Sie 'http://".trim($conf["HOSTNAME"]).".".trim($conf["DOMAIN"])."' in Ihrem Browser, um Ihr Konto zu verwalten (kennwort, zertifikat, etc.).
62
		                              Geben Sie 'http://logout' in Ihrem Browser zu trennen.";
63
		$l_footer_imp              = "Präsentiert von ALCASAR";
64
		break;
65
 
66
	case 'nl':                     // Dutch
67
		$l_title_imp               = "TOERANG TICKET";
68
		$l_login_imp               = "Gebruikers :";
69
		$l_password_imp            = "Wachtwoord :";
70
		$l_max_all_session_imp     = "toegestane duur :";
71
		$l_session_timeout_imp     = "Sessieduur :";
72
		$l_max_daily_session_imp   = "Dagelijkse uren :";
73
		$l_max_monthly_session_imp = "Maandelijkse duur :";
74
		$l_expiration_imp          = "Vervaldatum :";
75
		$l_unlimited               = "Onbeperkte";
76
		$l_without                 = "Ohne";
77
		$l_duplicate               = "Duplicaat";
78
		$l_explain                 = "Voer 'http://".trim($conf["HOSTNAME"]).".".trim($conf["DOMAIN"])."' in uw browser om uw account te beheren (wachtwoord, certificaat, etc.).
79
		                              Voer 'http://logout' in uw browser de verbinding te verbreken.";
80
		$l_footer_imp              = "Powered by ALCASAR";
81
		break;
82
 
83
	case 'es':                     // Spanish
84
		$l_title_imp               = "TURISTICA ACCESO";
85
		$l_login_imp               = "Usuario :";
86
		$l_password_imp            = "Contraseña :";
87
		$l_max_all_session_imp     = "periodo autorizado :";
88
		$l_session_timeout_imp     = "Duración de Sesión :";
89
		$l_max_daily_session_imp   = "Duración diario :";
90
		$l_max_monthly_session_imp = "Duraci&oacute;n mensual :";
91
		$l_expiration_imp          = "Fecha de caducidad :";
92
		$l_unlimited               = "Ilimitado";
93
		$l_without                 = "Sin";
94
		$l_duplicate               = "Duplicado";
95
		$l_explain                 = "Escribe 'http://".trim($conf["HOSTNAME"]).".".trim($conf["DOMAIN"])."' de su navegador para administrar su cuenta (contraseña, certificado, etc.).
96
		                              Escribe 'http://logout' de su navegador para desconectar.";
97
		$l_footer_imp              = "Desarrollado por ALCASAR";
98
		break;
99
 
100
	case 'it':                     // Italian
101
		$l_title_imp               = "TICKET D'ACCESSO";
102
		$l_login_imp               = "Utenti :";
103
		$l_password_imp            = "Password :";
104
		$l_max_all_session_imp     = "periodo autorizzato :";
105
		$l_session_timeout_imp     = "Durata della sessione :";
106
		$l_max_daily_session_imp   = "Durata quotidiano :";
107
		$l_max_monthly_session_imp = "Durata mensile :";
108
		$l_expiration_imp          = "Data di scadenza :";
109
		$l_unlimited               = "Illimitato";
110
		$l_without                 = "Senza";
111
		$l_duplicate               = "Duplicato";
112
		$l_explain                 = "Inserisci 'http://".trim($conf["HOSTNAME"]).".".trim($conf["DOMAIN"])."' nel tuo browser per gestire il tuo account (password, certificato, ecc).
113
		                              Inserisci 'http://logout' nel tuo browser per disconnettersi.";
114
		$l_footer_imp              = "Powered by ALCASAR";
115
		break;
116
 
117
	case 'pt':                     // Portuguese
118
		$l_title_imp               = "BILHETE DE ACESSO";
119
		$l_login_imp               = "Usuário :";
120
		$l_password_imp            = "Senha :";
121
		$l_max_all_session_imp     = "Período autorizado :";
122
		$l_session_timeout_imp     = "Duração de uma sessão :";
123
		$l_max_daily_session_imp   = "Duração diária :";
124
		$l_max_monthly_session_imp = "Duração Mensal :";
125
		$l_expiration_imp          = "Data de validade :";
126
		$l_unlimited               = "Ilimitado";
127
		$l_without                 = "Sem";
128
		$l_duplicate               = "Duplicado";
129
		$l_explain                 = "Digite 'http://".trim($conf["HOSTNAME"]).".".trim($conf["DOMAIN"])."' no seu navegador para gerenciar sua conta (senha, certidão, etc).
130
		                              Digite 'http://logout' no seu navegador para desligar.";
131
		$l_footer_imp              = "Desenvolvido por ALCASAR";
132
		break;
133
 
134
	case 'ar':                     // Arabic
135
		$l_title_imp               = "وصول التذاكر";
136
		$l_login_imp               = "مستخدم:";
137
		$l_password_imp            = "كلمه السر:";
138
		$l_max_all_session_imp     = "فترة أذن:";
139
		$l_session_timeout_imp     = "مهلة جلسة:";
140
		$l_max_daily_session_imp   = "جلسة اليومية القصوى:";
2113 richard 141
		$l_max_monthly_session_imp = "جلسة الشهرية القصوى:";
2168 tom.houday 142
		$l_expiration_imp          = "تاريخ إنتهاء الصلاحية:";
143
		$l_unlimited               = "غير محدود:";
144
		$l_without                 = "بدون";
145
		$l_duplicate               = "مكرر";
146
		$l_explain                 = " في المتصفح الخاص بك لخروج.'http://logout' في المستعرض الخاص بك لإدارة حسابك (كلمه السر, شهادة, ...). يكتب 'http://".trim($conf["HOSTNAME"]).".".trim($conf["DOMAIN"])."' يكتب";
147
		$l_footer_imp              = "مشغل بواسطة ALCASAR";
148
		break;
149
 
150
	default:                       // English
151
		$l_title_imp               = "ACCESS TICKET";
152
		$l_login_imp               = "Login :";
153
		$l_password_imp            = "Password :";
154
		$l_max_all_session_imp     = "Authorized period :";
155
		$l_session_timeout_imp     = "Session timeout :";
156
		$l_max_daily_session_imp   = "Max daily session :";
157
		$l_max_monthly_session_imp = "Max monthly session :";
158
		$l_expiration_imp          = "Expiration date :";
159
		$l_unlimited               = "Unlimited";
160
		$l_without                 = "Without";
161
		$l_duplicate               = "Duplicate";
162
		$l_explain                 = "Enter 'http://".trim($conf["HOSTNAME"]).".".trim($conf["DOMAIN"])."' in your browser to manage your account (password, certificate, etc.).
163
		                              Enter 'http://logout' in your browser to disconnect.";
164
		$l_footer_imp              = "Powered by ALCASAR";
165
		break;
166
}