508 |
richard |
1 |
<?php
|
1280 |
richard |
2 |
|
|
|
3 |
//Fichier de gestion des langues
|
508 |
richard |
4 |
// Choix de la langue
|
|
|
5 |
$Language = 'en';
|
|
|
6 |
if(isset($_SERVER['HTTP_ACCEPT_LANGUAGE'])){
|
|
|
7 |
$Langue = explode(",",$_SERVER['HTTP_ACCEPT_LANGUAGE']);
|
|
|
8 |
$Language = strtolower(substr(chop($Langue[0]),0,2)); }
|
|
|
9 |
// En fonction de la langue et de la page d'appel remplissage des variables
|
|
|
10 |
switch ($Language){
|
|
|
11 |
case 'fr':
|
|
|
12 |
//Français
|
907 |
richard |
13 |
$l_monday="lundi"; $l_tuesday="mardi"; $l_wednesday="mercredi"; $l_thursday="jeudi"; $l_friday="vendredi"; $l_saturday="samedi"; $l_sunday="dimanche";
|
|
|
14 |
$l_monthly="mensuelle";$l_weekly="hebdomadaire";$l_daily="journalière";$l_by_session="par session";
|
|
|
15 |
$l_day = "Jour";
|
|
|
16 |
$l_limit="limite";
|
|
|
17 |
$l_daily_limit="limite journalière";
|
|
|
18 |
$l_used_time = "Temps utilisé";
|
|
|
19 |
$l_last7days_status = "État sur les 7 derniers jours";
|
|
|
20 |
$l_connections_number = "Nombre de connexions";
|
|
|
21 |
$l_download = "Données téléchargées";
|
|
|
22 |
$l_upload = "Données envoyées";
|
|
|
23 |
$l_average = "moyenne";
|
2226 |
richard |
24 |
$l_already_exist = "existe déjà";
|
910 |
richard |
25 |
$l_search_filter = "Filtre de recherche";
|
|
|
26 |
$l_search_criteria = "Critère de recherche";
|
|
|
27 |
$l_search = "Lancer la recherche";
|
2226 |
richard |
28 |
$l_no_user_found = "Aucun utilisateur trouvé";
|
910 |
richard |
29 |
$l_special_attribute = "Attribut particulier";
|
|
|
30 |
$l_attribute = "Attribut";
|
989 |
franck |
31 |
$l_value = "Valeur<br>(vide = tous)";
|
2226 |
richard |
32 |
$l_user = "L'utilisateur";
|
|
|
33 |
$l_users_managment = "Gestion des utilisateurs";
|
901 |
richard |
34 |
$l_groups_managment = "Gestion des groupes";
|
|
|
35 |
$l_login = "Identifiant";
|
|
|
36 |
$l_password = "Mot de passe";
|
907 |
richard |
37 |
$l_new_password = "Nouveau mot de passe";
|
|
|
38 |
$l_passwd_gen = "générer";
|
2226 |
richard |
39 |
$l_user_create = "Créer un utilisateur";
|
|
|
40 |
$l_nb_users = "Nombre d'utilisateurs";
|
907 |
richard |
41 |
$l_group_create = "Créer un groupe";
|
911 |
richard |
42 |
$l_group_select = "Selectionnez un groupe";
|
901 |
richard |
43 |
$l_group = "Groupe";
|
|
|
44 |
$l_created_groups = "Groupe(s) déjà créé(s)";
|
|
|
45 |
$l_group_name = "Nom du groupe";
|
|
|
46 |
$l_group_members = "Membres du groupe :<br>(séparé par un espace ou un 'retour chariot')";
|
911 |
richard |
47 |
$l_group_members_remove = "Supprimer tous les membres de ce groupe";
|
925 |
richard |
48 |
$l_group_members_to_remove = "<b>Membres à effacer :</b><br>Les membres sélectionnés seront effacés du groupe.<br>Utilisez 'shift' ou 'Ctrl' pour une sélection multiple.";
|
|
|
49 |
$l_group_members_to_add = "<b>Membres à ajouter :</b><br>Separez les membres avec un 'espace' ou un 'retour chariot'.";
|
2226 |
richard |
50 |
$l_manage_selected_user= "Gérer l'utilisateur sélectionné";
|
910 |
richard |
51 |
$l_group_member = "Membre du groupe";
|
901 |
richard |
52 |
$l_group_empty = "La liste des groupes est vide";
|
1831 |
raphael.pi |
53 |
$l_main_group = "Le groupe de l'utilisateur est surligné en bleu";
|
2320 |
tom.houday |
54 |
$l_no_group = "Aucun groupe";
|
912 |
richard |
55 |
$l_no_open_session = "Aucune session ouverte";
|
|
|
56 |
$l_opened_sessions = "session(s) ouverte(s)";
|
|
|
57 |
$l_active_accounting = "comptabilité(s) active(s)";
|
|
|
58 |
$l_want_to_close ="Voulez-vous les fermer ?";
|
|
|
59 |
$l_yes_close ="Oui, fermer";
|
|
|
60 |
$l_status ="ÉTAT";
|
901 |
richard |
61 |
$l_personal_info ="INFORMATIONS PERSONNELLES";
|
|
|
62 |
$l_connections ="CONNEXIONS";
|
|
|
63 |
$l_open_sessions ="SESSIONS OUVERTES";
|
|
|
64 |
$l_members ="MEMBRES";
|
|
|
65 |
$l_attributes ="ATTRIBUTS";
|
|
|
66 |
$l_remove ="SUPPRIMER";
|
2226 |
richard |
67 |
$l_locked_user ="Le compte utilisateur est verrouillé";
|
|
|
68 |
$l_user_remain_login ="L'utilisateur peut se connecter pendant ";
|
|
|
69 |
$l_user_expired ="Le compte utilisateur a expiré";
|
907 |
richard |
70 |
$l_connected ="Connecté depuis";
|
|
|
71 |
$l_connection_time ="Durée de connexion";
|
|
|
72 |
$l_total_connections_time ="Durée cumulée des connexions";
|
2226 |
richard |
73 |
$l_user_never_login ="Cet utilisateur ne s'est jamais connecté";
|
|
|
74 |
$l_user_not_login_yet ="Cet tilisateur n'est pas connecté actuellement";
|
907 |
richard |
75 |
$l_last_login ="Dernière connexion";
|
|
|
76 |
$l_remain_time ="Temps de connexion restant";
|
2226 |
richard |
77 |
$l_name = "Nom et prénom";
|
1550 |
richard |
78 |
$l_email = "Adresse de courriel";
|
910 |
richard |
79 |
$l_homephone = "Numéro de téléphone privé";
|
|
|
80 |
$l_telephonenumber = "Numéro de téléphone de bureau";
|
|
|
81 |
$l_mobile = "Numéro de téléphone portable";
|
901 |
richard |
82 |
$l_lang_ticket = "Langue du ticket";
|
|
|
83 |
$l_simultaneous_use = "Nombre de session simultanée";
|
1277 |
richard |
84 |
$l_max_all_session = "Période autorisée après la première connexion<br>(en secondes)";
|
901 |
richard |
85 |
$l_expiration = "Date d'expiration";
|
907 |
richard |
86 |
$l_session_timeout = "Durée maximale d'une session<br>(en secondes)";
|
|
|
87 |
$l_daily_timeout = "Durée de connexion maximale journalière<br>(en secondes)";
|
|
|
88 |
$l_monthly_timeout = "Durée de connexion maximale mensuelle<br>(en secondes)";
|
901 |
richard |
89 |
$l_login_time = "Période hebdomadaire";
|
|
|
90 |
$l_max_input_octets = "Maximum de données émises<br>(en octets)";
|
|
|
91 |
$l_max_output_octets = "Maximum de données reçues<br>(en octets)";
|
|
|
92 |
$l_max_total_octets = "Maximum de données échangées<br>(en octets)";
|
|
|
93 |
$l_max_bandwidth_up = "Limite de débit montant<br>(en kbits/seconde)";
|
|
|
94 |
$l_max_bandwidth_down = "Limite de débit descendant<br>(en kbits/seconde)";
|
|
|
95 |
$l_wispr_redirection = "URL de redirection";
|
|
|
96 |
$l_click_for_help = "Cliquez pour afficher l'aide sur cet attribut";
|
|
|
97 |
$l_show_profile = "Afficher le profil";
|
964 |
franck |
98 |
$l_are_you_sure = "Êtes-vous sûr de vouloir supprimer";
|
911 |
richard |
99 |
$l_yes_remove = "Oui, supprimer";
|
1091 |
stephane |
100 |
$l_create = "Créer";
|
1325 |
richard |
101 |
$l_advanced_menu = "Menu avancé";
|
|
|
102 |
$l_simple_menu = "Menu simple";
|
910 |
richard |
103 |
$l_change = "Modifier";
|
1091 |
stephane |
104 |
$l_or = "Ou";
|
2226 |
richard |
105 |
$l_create_ticket = "Créer un ticket (voucher)";
|
1091 |
stephane |
106 |
$l_create_multiple = "Créer plusieurs tickets";
|
1484 |
richard |
107 |
$l_create_multiple_comment = "<br>Remarques : lors de la création de plusieurs tickets simultanement :<br>
|
1091 |
stephane |
108 |
- l'identifiant et le mot de passe sont générés aléatoirement,<br>
|
1550 |
richard |
109 |
- les champs \"Nom et prénom\" et \"Adresse de courriel\" ne sont pas pris en compte.<br> ";
|
1099 |
stephane |
110 |
$l_createTicketsMSG = "Saisissez le nombre d\'utilisateurs à créer";
|
1163 |
crox53 |
111 |
$l_spoofing = "Adresse(s) MAC usurpée(s) (Watchdog)";
|
|
|
112 |
$l_virus = "Virus bloqué(s) (HAVP)";
|
|
|
113 |
$l_fail2ban = "Adresse(s) IP bloquée(s) (Fail2Ban)";
|
2132 |
richard |
114 |
$l_filtering = "Filtrage de domaines et antiviral ";
|
1377 |
richard |
115 |
$l_filtering_none = "Aucun";
|
2132 |
richard |
116 |
$l_filtering_havp = "Antivirus web";
|
|
|
117 |
$l_filtering_havp_bl = "Antivirus web + Blacklist";
|
|
|
118 |
$l_filtering_havp_wl = "Antivirus web + Whitelist";
|
1377 |
richard |
119 |
$l_user_exists = "existe déjà !";
|
2226 |
richard |
120 |
$l_created = "a été correctement créé";
|
|
|
121 |
$l_removed = "a été supprimé";
|
1883 |
raphael.pi |
122 |
$l_group_desc = "<h2>Attributs Groupe</h2>";
|
|
|
123 |
$l_user_desc = "<h2>Attributs Utilisateur</h2>";
|
2132 |
richard |
124 |
$l_proto="Filtrage de protocoles réseau";
|
|
|
125 |
$l_proto_0="Aucun filtre";
|
|
|
126 |
$l_proto_1="Navigation Web (HTTP & HTTPS)";
|
|
|
127 |
$l_proto_2="Navigation Web + Messagerie + Accès distant";
|
|
|
128 |
$l_proto_3="Personnalisé";
|
2292 |
tom.houday |
129 |
$l_empty="Vide";
|
|
|
130 |
$l_ipAddress="Adresse IP";
|
|
|
131 |
$l_rule="Règle";
|
508 |
richard |
132 |
break;
|
|
|
133 |
default :
|
|
|
134 |
//English
|
907 |
richard |
135 |
$l_monday="monday"; $l_tuesday="tuesday"; $l_wednesday="wednesday"; $l_thursday="thursday"; $l_friday="friday"; $l_saturday="saturday"; $l_sunday="sunday";
|
|
|
136 |
$l_monthly="monthly";$l_weekly="weekly";$l_daily="daily";$l_by_session="by session";
|
|
|
137 |
$l_day = "Day";
|
|
|
138 |
$l_limit = "limit";
|
|
|
139 |
$l_daily_limit="daily limit";
|
|
|
140 |
$l_used_time = "Used time";
|
|
|
141 |
$l_last7days_status = "Last 7 days status";
|
901 |
richard |
142 |
$l_already_exist = "already exist";
|
907 |
richard |
143 |
$l_connections_number = "Connections number";
|
|
|
144 |
$l_download = "Downloaded data";
|
|
|
145 |
$l_upload = "Uploaded data";
|
|
|
146 |
$l_average = "average";
|
901 |
richard |
147 |
$l_user = "User";
|
|
|
148 |
$l_users_managment = "Users managment";
|
|
|
149 |
$l_groups_managment = "Groups managment";
|
910 |
richard |
150 |
$l_search_filter = "Search filter";
|
|
|
151 |
$l_search_criteria = "Search criteria";
|
|
|
152 |
$l_search = "Start search";
|
|
|
153 |
$l_no_user_found = "No user found";
|
|
|
154 |
$l_special_attribute = "Special attribute";
|
|
|
155 |
$l_attribute = "Attribute";
|
|
|
156 |
$l_value = "Value<br>(empty = all)";
|
901 |
richard |
157 |
$l_login = "Login";
|
|
|
158 |
$l_password = "Password";
|
907 |
richard |
159 |
$l_new_password = "New password";
|
901 |
richard |
160 |
$l_passwd_gen = "generate";
|
1160 |
stephane |
161 |
$l_user_create = "Create a user";
|
|
|
162 |
$l_nb_users = "Number of users";
|
|
|
163 |
$l_group_create = "Create a group";
|
|
|
164 |
$l_group_select = "Select a group";
|
901 |
richard |
165 |
$l_group = "Group";
|
|
|
166 |
$l_created_groups = "Already created group(s)";
|
|
|
167 |
$l_group_name = "Group name";
|
|
|
168 |
$l_group_members = "Members of group :<br>(separate by a 'space' or a 'carriage return')";
|
911 |
richard |
169 |
$l_group_members_remove = "Remove all members of this group";
|
925 |
richard |
170 |
$l_group_members_to_remove = "<b>Members to remove :</b><br>The selected members will be remove from the group.<br>Use 'shift' or 'Ctrl' for multiple selection.";
|
|
|
171 |
$l_group_members_to_add = "<b>Members to add :</b><br>Separate the members with a 'space' or a 'carriage return'.";
|
|
|
172 |
$l_manage_selected_user= "Manage the selected user";
|
910 |
richard |
173 |
$l_group_member = "Member of group";
|
901 |
richard |
174 |
$l_group_empty = "The group list is empty";
|
1831 |
raphael.pi |
175 |
$l_main_group = "The current user group is highlighted in blue";
|
2320 |
tom.houday |
176 |
$l_no_group = "No group";
|
912 |
richard |
177 |
$l_no_open_session = "No open session";
|
|
|
178 |
$l_opened_sessions = "opened session(s)";
|
|
|
179 |
$l_active_accounting = "active accounting(s)";
|
|
|
180 |
$l_want_to_close ="Do you want to close them ?";
|
|
|
181 |
$l_yes_close ="Yes, close";
|
901 |
richard |
182 |
$l_status ="STATUS";
|
|
|
183 |
$l_personal_info ="PERSONAL INFORMATIONS";
|
|
|
184 |
$l_connections ="CONNECTIONS";
|
|
|
185 |
$l_open_sessions ="OPEN SESSIONS";
|
|
|
186 |
$l_members ="MEMBERS";
|
|
|
187 |
$l_attributes ="ATTRIBUTES";
|
|
|
188 |
$l_remove ="REMOVE";
|
907 |
richard |
189 |
$l_locked_user ="The user account is locked";
|
|
|
190 |
$l_user_remain_login ="The user can log in during ";
|
|
|
191 |
$l_user_expired ="The user account has expired";
|
|
|
192 |
$l_connected ="Connected from";
|
|
|
193 |
$l_connection_time ="Connection time";
|
|
|
194 |
$l_total_connections_time ="Total connections time";
|
|
|
195 |
$l_user_never_login ="This user has never logged in";
|
|
|
196 |
$l_user_not_login_yet ="This user isn't connected yet";
|
|
|
197 |
$l_last_login ="Last connection";
|
|
|
198 |
$l_remain_time ="Remain connection time";
|
901 |
richard |
199 |
$l_name = "Surname and name";
|
|
|
200 |
$l_email = "Email Address";
|
910 |
richard |
201 |
$l_homephone = "Personal phone number";
|
|
|
202 |
$l_telephonenumber = "Office phone number";
|
|
|
203 |
$l_mobile = "Mobile phone number";
|
901 |
richard |
204 |
$l_lang_ticket = "Voucher language";
|
|
|
205 |
$l_simultaneous_use = "Number of concurent login";
|
1277 |
richard |
206 |
$l_max_all_session = "Authorized period after the first connection<br>(in seconds)";
|
901 |
richard |
207 |
$l_expiration = "Expiration date";
|
|
|
208 |
$l_session_timeout = "Maximum time for a session<br>(in seconds)";
|
|
|
209 |
$l_daily_timeout = "Maximum time of connection per day<br>(in seconds)";
|
|
|
210 |
$l_monthly_timeout = "Maximum time of connection per month<br>(in seconds)";
|
|
|
211 |
$l_login_time = "Weekly period";
|
|
|
212 |
$l_max_input_octets = "Maximum of data uploaded<br>(in octets)";
|
|
|
213 |
$l_max_output_octets = "Maximum of data downloaded<br>(in octets)";
|
|
|
214 |
$l_max_total_octets = "Maximum of data exchanged<br>(in octets)";
|
|
|
215 |
$l_max_bandwidth_up = "Maximum upload bandwidth<br>(in kbits/second)";
|
|
|
216 |
$l_max_bandwidth_down = "Maximum download bandwidth<br>(in kbits/second)";
|
|
|
217 |
$l_wispr_redirection = "Redirection URL";
|
|
|
218 |
$l_click_for_help = "Click to show help about this attribute";
|
|
|
219 |
$l_show_profile = "Show profile";
|
911 |
richard |
220 |
$l_are_you_sure = "Are you sure to remove";
|
|
|
221 |
$l_yes_remove = "Yes, remove";
|
901 |
richard |
222 |
$l_create = "Create";
|
1325 |
richard |
223 |
$l_advanced_menu = "Advanced menu";
|
|
|
224 |
$l_simple_menu = "Simple menu";
|
910 |
richard |
225 |
$l_change = "Change";
|
1091 |
stephane |
226 |
$l_or = "Or";
|
2226 |
richard |
227 |
$l_create_ticket = "Create a ticket (voucher)";
|
1091 |
stephane |
228 |
$l_create_multiple = "Create several tickets";
|
|
|
229 |
$l_create_multiple_comment = "<br>Note: when creating multiple tickets simultaneously :<br>
|
|
|
230 |
- username and password are randomly generated,<br>
|
|
|
231 |
- fields \"Surname and name\" and \"Email Address\" are not use.<br> ";
|
1097 |
stephane |
232 |
$l_createTicketsMSG = "Enter the number of users to create";
|
1163 |
crox53 |
233 |
$l_spoofing = "MAC address spoofed (Watchdog)";
|
|
|
234 |
$l_virus = "Virus blocked (HAVP)";
|
|
|
235 |
$l_fail2ban = "IP address blocked (Fail2Ban)";
|
2132 |
richard |
236 |
$l_filtering = "Antivirus & domain Filtering";
|
1377 |
richard |
237 |
$l_filtering_none = "None";
|
2132 |
richard |
238 |
$l_filtering_havp = "WEB Antivirus";
|
|
|
239 |
$l_filtering_havp_bl = "Blacklist + WEB antivirus";
|
|
|
240 |
$l_filtering_havp_wl = "Whitelist + WEB antivirus";
|
1377 |
richard |
241 |
$l_user_exists = "already exists !";
|
2226 |
richard |
242 |
$l_created = "has been correctly created";
|
|
|
243 |
$l_removed = "has been removed";
|
1883 |
raphael.pi |
244 |
$l_group_desc = "<h2>Group Attributes</h2>";
|
|
|
245 |
$l_user_desc = "<h2>User Attributes</h2>";
|
2132 |
richard |
246 |
$l_proto="Network protocols filtering";
|
2006 |
raphael.pi |
247 |
$l_proto_0="None";
|
2132 |
richard |
248 |
$l_proto_1="Web browsing (HTTP & HTTPS)";
|
|
|
249 |
$l_proto_2="Web browsing, Mail et remote access";
|
|
|
250 |
$l_proto_3="Customized";
|
2292 |
tom.houday |
251 |
$l_empty="Empty";
|
|
|
252 |
$l_ipAddress="IP address";
|
|
|
253 |
$l_rule="Rule";
|
508 |
richard |
254 |
break;
|
|
|
255 |
}
|
|
|
256 |
?>
|