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