aboutsummaryrefslogtreecommitdiff
path: root/h-source/Application/Include/languages.php
blob: 4bfb7fe77d0fff9d68707af82ee4bba7fc6df623 (plain) (blame)
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
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
<?php

// h-source, a web software to build a community of people that want to share their hardware information.
// Copyright (C) 2010  Antonio Gallo (h-source-copyright.txt)
//
// This file is part of h-source
//
// h-source 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 3 of the License, or
// (at your option) any later version.
// 
// h-source is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
// GNU General Public License for more details.
// 
// You should have received a copy of the GNU General Public License
// along with h-source.  If not, see <http://www.gnu.org/licenses/>.

if (!defined('EG')) die('Direct access not allowed!');

class Lang
{
	public static $allowed = array('en','es','fr','it');
	public static $current = 'en';
	
	public static $complete = array(
		'en'	=>	'gb.png,English',
		'es'	=>	'es.png,Español',
		'fr'	=>	'fr.png,Français',
		'it'	=>	'it.png,Italiano',
	);

	public static $i18n = array(
		'it'	=>	array
			(
				"Search one device in the archive"	=>	"Cerca un dispositivo nell'archivio",
				"hardware type"		=>	"tipo di hardware",
				"the model name contains"	=>	"il nome del modello contiene",
				"List of issues"	=>	"Lista di questioni",
				"TITLE"				=>	"TITOLO",
				"TOPIC"				=>	"ARGOMENTO",
				"OPENED BY"			=>	"APERTO DA",
				"DATE"				=>	"DATA",
				"REPLIES"			=>	"MESSAGGI",
				"PRIORITY"			=>	"PRIORITÀ",
				"STATUS"			=>	"STATO",
				"You have to"		=>	"Devi eseguire il",
				"in order to submit an issue"	=>	"per poter aprire una nuova questione",
				"in order to add a message"	=> "per poter inviare un messaggio",
				"Description"		=>	"Descrizione",
				"Messages"			=>	"Messaggi",
				"this message has been deleted"	=>	"questo messaggio è stato cancellato",
				"in order to submit a message to this issue"	=>	"per aggiungere un messaggio a questa questione",
				"model name"		=>	"nome del modello",
				"model type"		=>	"tipo di device",
				"year of commercialization"	=>	"anno di commercializzazione",
				"Results of the search"		=>	"Risultati della ricerca",
				"page list"					=>	"pagine",
				"No devices found"			=>	"Non è stato trovato alcun device",
				"vendor"					=>	"marca",
				"compatibility"				=>	"compatibilità",
				"year"						=>	"anno",
				"subtype"					=>	"sottotipo",
				"sort by"					=>	"ordina per",
				"interface"					=>	"interfaccia",
				"does it work?"				=>	"funziona?",
				"preview of the message"	=>	"anteprima del messaggio",
				"preview of the new issue message"	=>	"anteprima del testo della questione",
				"Add a message to this issue"	=>	"Aggiungi un messaggio a questa questione",
				"Add a new issue"			=>	"Aggiungi una nuova questione",
				"MESSAGE"					=>	"MESSAGGIO",
				"there are no messages"		=>	"non ci sono messaggi",
				"No notebooks found"		=>	"Non è stato trovato alcun notebook",
				"subtype (notebook or netbook)"	=>	"sottotipo (notebook or netbook)",
				"compatibility with free software"	=>	"compatibilità con il software libero",
				"view the other specifications"	=>	"guarda le altre specifiche",
				"model"						=>	"modello",
				"model id"					=>	"id del modello",
				"tested on"					=>	"testato con",
				"tested with the following kernel libre"	=>	"testato con il seguente kernel libre",
				"video card model"			=>	"modello di scheda video",
				"wifi model"				=>	"modello di scheda wifi",
				"GNU/Linux distribution used for the test"	=>	"distribuzione GNU/Linux usata per il test",
				"does the video card work?"	=>	"funziona la scheda video?",
				"does the wifi card work?"	=>	"funziona la scheda wifi?",
				"Description: (write here all the useful information)"	=>	"Descrizione (scrivi sotto tutte le informazioni utili)",
				"discover all the wiki tags"	=>	"scopri tutti i tag della wiki",
				"Fields marked with <b>*</b> are mandatory"	=>	"I campi marcati con <b>*</b> sono obbligatori",
				"No printers found"			=>	"Non è stata trovata alcuna stampante",
				"interface"					=>	"interfaccia",
				"VendorID:ProductID code of the device" => "codice VendorID:ProductID del prodotto",
				"free driver used"			=>	"driver liberi usati",
				"set not-specified if not sure"	=>	"seleziona not-specified se non sei sicuro/a",
				"see the help page or leave blank if you are not sure"	=>	"guarda nella pagina di help o lascia vuoto se non sei sicuro/a",
				"No scanners found"			=>	"Non sono è stato trovato alcuno scanner",
				"No video cards found"		=>	"Non è stata trovata alcuna scheda grafica",
				"how does it work with free software?"	=>	"come funziona con il software libero?",
				"No wifi cards found"		=>	"Non è stata trovata alcuna scheda wifi",
				"does it work with free software?"	=>	"funziona con il software libero?",
				"differences in the entry"		=>	"differenze nel campo",
				"No 3G cards found"			=>	"Non è stata trovata alcuna scheda 3G",
				"Please specify in the below description entry the Internet Service Provider (ISP) and the country where the service is provided"	=>	"Per favore specifica nel sottostante campo descrizione l'Internet Service Provider (ISP) e il Paese dove il servizio viene fornito",
				"webcam model"	=>	"modello di webcam",
				"does it have a free bios?"	=>	"ha il bios libero?",
				"does the webcam work?"	=>	"funziona la webcam?",
				"Current revision"	=>	"Revisione corrente",
				"Hello"	=>	"Ciao",
				"Your"	=>	"il ",
				"control panel"	=>	"pannello di controllo",
				"create new account"	=>	"crea un account",
				"request new password"	=> "richiedi nuova password",
				"website statistics"	=>	"statistiche del sito",
				"hardware in the database"	=>	"hardware nel database",
				"users logged"	=>	"utenti loggati",
				"Watch your public profile"	=>	"Guarda il tuo profilo pubblico",
				"Edit your profile"	=>	"Modifica il tuo profilo",
				"Change your e-mail address"	=>	"Cambia il tuo indirizzo e-mail",
				"Change your password"	=>	"Cambia la tua password",
				"Delete your account"	=>	"Chiudi il tuo account",
				"choose the username"	=>	"scegli lo username",
				"characters allowed"	=>	"caratteri ammessi",
				"your e-mail address"	=>	"il tuo indirizzo e-mail",
				"necessary to confirm the registration"	=>	"necessario per confermare la registrazione",
				"choose the password"	=>	"scegli la password",
				"confirm the password"	=>	"conferma la password",
				"write the code above"	=>	"scrivi il codice mostrato sopra",
				"write your username"	=>	"scrivi il tuo username",
				"watch all the"	=>	"guarda tutte le",
				"actions carried out by moderators"	=>	"azioni compiute dai moderatori",
				"meet"	=>	"conosci",
				"Public profile of"	=>	"Profilo pubblico di",
				"See all the contributions of"	=>	"Guarda tutti i contributi di ",
				"My website"	=>	"Il mio sito personale",
				"My real name"	=>	"Il mio vero nome",
				"My e-mail address"	=>	"Il mio indirizzo e-mail",
				"I'm from"	=>	"Vengo da",
				"Birthdate"	=>	"Sono nato il",
				"My favourite distribution"	=>	"La mia distribuzione favorita",
				"Free software projects I'm working on"	=>	"Progetti di software libero con i quali collaboro",
				"My description"	=>	"La mia descrizione",
				"contributions"	=>	"contributi",
				"contributions of"	=>	"contributi di",
				"No sound cards found"	=>	"Non è stata trovata alcuna scheda audio",
				"LAST UPDATE"	=>	"ULTIMA MODIFICA",
				"search by"	=>	"cerca per",
				"analyze the output of the lspci command"	=>	"analizza l'output del comando lscpi",
				"paste the output of the lspci command"	=>	"incolla l'output del comand lspci",
				"works, but without 3D acceleration"	=>	"funziona, ma senza accelerazione 3D",
				"the text submitted by you does not seem the lspci -vmmnn output. Please check the text and try again"	=>	"il testo che hai inviato non sembra l'output del comando lspci -vmmnn. Per favore ricontrolla il testo e riprova",
				"Search form"	=>	"Form della ricerca",
				"write here the output of lspci -vmmnn"	=>	"scrivi qui l'output del comando lspci -vmmnn",
				"The following devices has been found in the database"	=>	"I seguenti device sono stati trovati nel database",
				"yes"	=>	"sì",
				"no"	=>	"no",
				"The following devices has not been found in the database"	=>	"I seguenti device non sono stati trovati nel database",
				"can you please insert them?"	=>	"puoi gentilmente inserirli?",
				"No webcams found"	=>	"Non è stata trovata alcuna webcam",
				"Download the xml file of all the database"	=>	"Scarica il file xml di tutto il database",
				"Download the xml file of all the <b>notebooks</b> in the database"	=>	"Scarica il file xml di tutti i <b>notebook</b> presenti nel database",
				"Download the xml file of all the <b>wifi cards</b> in the database"	=>	"Scarica il file xml di tutte le <b>schede wifi</b> presenti nel database",
				"Download the xml file of all the <b>video cards</b> in the database"	=>	"Scarica il file xml di tutte le <b>schede video</b> presenti nel database",
				"Download the xml file of all the <b>printers</b> in the database"	=>	"Scarica il file xml di tutte le <b>stampanti</b> presenti nel database",
				"Download the xml file of all the <b>3G cards</b> in the database"	=>	"Scarica il file xml di tutte le <b>schede 3G</b> presenti nel database",
				"Download the xml file of all the <b>sound cards</b> in the database"	=>	"Scarica il file xml di tutte le <b>schede audio</b> presenti nel database",
				"Download the xml file of all the <b>webcams</b> in the database"	=>	"Scarica il file xml di tutte le <b>webcams</b> presenti nel database",
				"You can download all the h-node database in one unique xml file in order to parse its contents by means of some proper script (for example a Python or Perl or PHP script)"	=>	"Puoi scaricare l'intero database di h-node in un unico file xml per analizzarne i contenuti utilizzando uno script appropriato (ad esempio uno script Python o Perl o PHP)",
				"Download the h-node hardware database in xml format"	=>	"Scarica il database dell'hardware di h-node in formato xml",
				"Database modifications"	=>	"Modifiche al database",
				"List of the database modifications carried out by users"	=>	"Lista delle modifiche apportate al database dagli utenti",
				"the model"	=>	"il modello",
				"has been inserted by" =>	"è stato inserito da",
				"has been updated by" =>	"è stato modificato da",
				"at"	=>	"alle ore",
				"last modifications"	=>	"ultime modifiche",
				"watch all modifications"	=>	"guarda tutte le modifiche",
				"title"	=>	"titolo",
				"text of the wiki page"	=>	"testo della pagina",
				"the wiki page has not been found"	=>	"la pagina della wiki non è stata trovata",
				"Page not-found"	=>	"Pagina non trovata",
				"Insert"	=>	"Inserisci",
				"Update"	=>	"Modifica",
				"History"	=>	"History",
				"Revision"	=>	"Revisione",
				"Differences"	=>	"Differenze",
				"Insert a new wiki page"	=>	"Inserisci una nuova pagina nella wiki",
				"Edit the wiki page"	=>	"Modifica la pagina della wiki",
				"Make current"	=>	"Rendi revisione corrente",
				"I want to make this revision the current revision"	=>	"Voglio che questa revisione diventi quella corrente",
				"Confirm"	=>	"Conferma",
				"Make this revision the current revision of the page"	=>	"Rendi questa revisione la revisione corrente della pagina",
				"This wiki page has been hidden"	=>	"Questa pagina della wiki è stata nascosta",
				"Talk"	=>	"Discussione",
				"Talk page of the wiki page"	=>	"Pagina di discussione della pagina della wiki"
			),
		'es'	=>	array
			(
				"Search one device in the archive"	=>	"Busque un dispositivo en el archivo",
				"hardware type"		=>	"tipo de hardware",
				"the model name contains"	=>	"el nombre del modelo contiene",
				"List of issues"	=>	"Lista de incidencias",
				"TITLE"				=>	"TITULO",
				"TOPIC"				=>	"ARGUMENTO",
				"OPENED BY"			=>	"ABIERTO POR",
				"DATE"				=>	"FECHA",
				"REPLIES"			=>	"RESPUESTAS",
				"PRIORITY"			=>	"PRIORIDAD",
				"STATUS"			=>	"ESTADO",
				"You have to"		=>	"Tiene que",
				"in order to submit an issue"	=>	"para poder agregar una incidencia",
				"in order to add a message"	=> "para poder agregar un mensaje",
				"Description"		=>	"Descripción",
				"Messages"			=>	"Mensajes",
				"this message has been deleted"	=>	"este mensaje ha sido borrado",
				"in order to submit a message to this issue"	=>	"para poder agregar un mensaje a esta incidencia",
				"model name"		=>	"nombre del modelo",
				"model type"		=>	"tipo de modelo",
				"year of commercialization"	=>	"año de comercialización",
				"Results of the search"		=>	"Resultado de la búsqueda",
				"page list"					=>	"página",
				"No devices found"			=>	"No se encontró ningún dispositivo",
				"vendor"					=>	"fabricante", 
				"compatibility"				=>	"compatibilidad",
				"year"						=>	"año",
				"subtype"					=>	"subtipo",
				"sort by"					=>	"ordenar por",
				"interface"					=>	"interfaz",
				"does it work?"				=>	"¿funciona?",
				"preview of the message"	=>	"vista previa del mensaje",
				"preview of the new issue message"	=>	"vista previa del mensaje de la incidencia",
				"Add a message to this issue"	=>	"Agregue un mensaje a esta incidencia",
				"Add a new issue"			=>	"Agregue una nueva incidencia",
				"MESSAGE"					=>	"MENSAJE",
				"there are no messages"		=>	"no hay mensajes",
				"No notebooks found"		=>	"No se encontró ninguna laptop",
				"subtype (notebook or netbook)"	=>	"subtipo (laptop o netbook)",
				"compatibility with free software"	=>	"compatibilidad con software libre",
				"view the other specifications"	=>	"ver otras especificaciones",
				"model"						=>	"modelo",
				"model id"					=>	"id del modelo",
				"tested on"					=>	"probado con",
				"tested with the following kernel libre"	=>	"probado con el siguiente kernel libre",
				"video card model"			=>	"modelo de tarjeta de video",
				"wifi model"				=>	"modelo de tarjeta de red inalámbrica",
				"GNU/Linux distribution used for the test"	=>	"distribución GNU/Linux usada para la prueba",
				"does the video card work?"	=>	"¿funciona la tarjeta de video?",
				"does the wifi card work?"	=>	"¿funciona la tarjeta de red inalámbrica?",
				"Description: (write here all the useful information)"	=>	"Descripción (escriba aquí toda la información útil)",
				"discover all the wiki tags"	=>	"mostrar todas las etiquetas del wiki",
				"Fields marked with <b>*</b> are mandatory"	=>	"Campos marcados con <b>*</b> son obligatorios",
				"No printers found"			=>	"No se encontró ninguna impresora",
				"interface"					=>	"interfaz",
				"VendorID:ProductID code of the device" => "código VendorID:ProductID del dispositivo",
				"free driver used"			=>	"driver libre usado",
				"set not-specified if not sure"	=>	"seleccione not-specified si no esta seguro/a",
				"see the help page or leave blank if you are not sure"	=>	"vea la página de ayuda o deje vacío si no esta seguro/a",
				"No scanners found"			=>	"No se encontró ningun escáner",
				"No video cards found"		=>	"No se encontró ninguna tarjeta de video",
				"how does it work with free software?"	=>	"¿como funciona con software libre?",
				"No wifi cards found"		=>	"No se encontró ninguna tarjeta de red inalámbrica",
				"does it work with free software?"	=>	"¿funciona con software libre?",
				"differences in the entry"		=>	"diferencias en el campo",
				"No 3G cards found"			=>	"No se encontró ninguna tarjeta 3G",
				"Please specify in the below description entry the Internet Service Provider (ISP) and the country where the service is provided"	=>	"Por favor especifique en el campo de descripción inferior el Proveedor de Internet (ISP) y el país donde se provee el servicio",
				"webcam model"	=>	"modelo de cámara web",
				"does it have a free bios?"	=>	"¿tiene bios libre?",
				"does the webcam work?"	=>	"¿funciona la cámara web?",
				"Current revision"	=>	"Revisión actual",
				"Hello"	=>	"Hola",
				"Your"	=>	"Su ",
				"control panel"	=>	"panel de control",
				"create new account"	=>	"crear una cuenta",
				"request new password"	=> "solicitar nueva contraseña",
				"website statistics"	=>	"estadísticas del sito",
				"hardware in the database"	=>	"hardware en la base de datos",
				"users logged"	=>	"usuarios en línea",
				"Watch your public profile"	=>	"Ver su perfil público",
				"Edit your profile"	=>	"Editar su perfil",
				"Change your e-mail address"	=>	"Cambiar su dirección e-mail",
				"Change your password"	=>	"Cambiar su contraseña",
				"Delete your account"	=>	"Borrar su cuenta",
				"choose the username"	=>	"elija su nombre de usuario",
				"characters allowed"	=>	"caracteres permitidos",
				"your e-mail address"	=>	"su dirección e-mail",
				"necessary to confirm the registration"	=>	"necesario para confirmar el registro",
				"choose the password"	=>	"elija la contraseña",
				"confirm the password"	=>	"confirme la contraseña",
				"write the code above"	=>	"escriba el código mostrado superior",
				"write your username"	=>	"escriba su nombre de usuario",
				"watch all the"	=>	"ver todas las",
				"actions carried out by moderators"	=>	"acciones efectuadas por los moderadores",
				"meet"	=>	"conoce",
				"Public profile of"	=>	"Perfil público de",
				"See all the contributions of"	=>	"Ver todas las contribuciones de",
				"My website"	=>	"Mi sitio web",
				"My real name"	=>	"Mi nombre real",
				"My e-mail address"	=>	"Mi dirección e-mail",
				"I'm from"	=>	"Soy de",
				"Birthdate"	=>	"Fecha de nacimiento",
				"My favourite distribution"	=>	"Mi distribución favorita",
				"Free software projects I'm working on"	=>	"Proyectos de Software Libre en los que colaboro",
				"My description"	=>	"Mi descripción",
				"contributions"	=>	"contribuciones",
				"contributions of"	=>	"contribuciones de",
				"No sound cards found"	=>	"No se encontró ninguna tarjeta de audio",
				"LAST UPDATE"	=>	"ULTIMA MODIFICACIÓN",
				"LAST UPDATE"	=>	"ÚLTIMA MODIFICACIÓN",
				"search by"	=>	"buscar por",
				"analyze the output of the lspci command"	=>	"analice la salida de la orden lscpi",
				"paste the output of the lspci command"	=>	"pegue la salida de la orden lspci",
				"works, but without 3D acceleration"	=>	"funciona, pero sin aceleración 3D",
				"the text submitted by you does not seem the lspci -vmmnn output. Please check the text and try again"	=>	"el texto insertado no parece ser la salida de la orden lspci -vmmnn. Por favor revise el texto e intente nuevamente",
				"Search form"	=>	"Formulario de búsqueda",
				"write here the output of lspci -vmmnn"	=>	"escriba aquí la salida de la orden lspci -vmmnn",
				"The following devices has been found in the database"	=>	"Los siguientes dispositivos han sido encontrados en la base de datos",
				"yes"	=>	"si",
				"no"	=>	"no",
				"The following devices has not been found in the database"	=>	"Los siguientes dispositivos no han sido encontrados en la base de datos",
				"can you please insert them?"	=>	"¿podría insertarlos?",
				"No webcams found"	=>	"No se encontró ninguna cámara web",
				"Download the xml file of all the database"	=>	"Descargue el archivo xml de toda la base de datos",
				"Download the xml file of all the <b>notebooks</b> in the database"	=>	"Descargue el archivo xml de todas las <b>laptops</b> presentes en la base de datos",
				"Download the xml file of all the <b>wifi cards</b> in the database"	=>	"Descargue el archivo xml de todas las <b>tarjetas de red inalámbrica</b> presentes en la base de datos",
				"Download the xml file of all the <b>video cards</b> in the database"	=>	"Descargue el archivo xml de todas las <b>tarjetas de video</b> presentes en la base de datos",
				"Download the xml file of all the <b>printers</b> in the database"	=>	"Descargue el archivo xml de todas las <b>impresoras</b> presentes en la base de datos",
				"Download the xml file of all the <b>3G cards</b> in the database"	=>	"Descargue el archivo xml de todas las <b>tarjetas 3G</b> presentes en la base de datos",
				"Download the xml file of all the <b>sound cards</b> in the database"	=>	"Descargue el archivo xml de todas las <b>tarjetas de audio</b> presentes en la base de datos",
				"Download the xml file of all the <b>webcams</b> in the database"	=>	"Descargue el archivo xml de todas las <b>cámaras web</b> presentes en la base de datos",
				"You can download all the h-node database in one unique xml file in order to parse its contents by means of some proper script (for example a Python or Perl or PHP script)"	=>	"Puede descargar toda la base de datos de h-node en un archivo xml único para poder analizarlo su contenido por medio de otro script apropiado (por ejemplo un script en Python, Perl o PHP)",
				"Download the h-node hardware database in xml format"	=>	"Descargue la base de datos de h-node en formato xml",
			),
		'fr'	=>	array
			(
				"Search one device in the archive"	=>	"Chercher un appareil dans les archives",
				"hardware type"		=>	"type de matériel",
				"the model name contains"	=>	"le nom du modèle contient",
				"List of issues"	=>	"Liste de problème",
				"TITLE"				=>	"TITRE",
				"TOPIC"				=>	"SUJET",
				"OPENED BY"			=>	"OUVERT PAR",
				"DATE"				=>	"DATE",
				"REPLIES"			=>	"REPONSES",
				"PRIORITY"			=>	"PRIORITE",
				"STATUS"			=>	"STATUS",
				"You have to"		=>	"Vous devez",
				"in order to submit an issue"	=>	"pour pouvoir soumettre un problème",
				"in order to add a message"	=> "pour pouvoir envoyer un message",
				"Description"		=>	"Description",
				"Messages"			=>	"Messagges",
				"this message has been deleted"	=>	"ce message à été supprimé",
				"in order to submit a message to this issue"	=>	"pour pouvoir envoyer un message concernant ce problème",
				"model name"		=>	"nom de modèle",
				"model type"		=>	"type de modèle",
				"year of commercialization"	=>	"année de commercialisation",
				"Results of the search"		=>	"Resultat de la recherche",
				"page list"					=>	"liste de page",
				"No devices found"			=>	"Aucun appareil trouvé",
				"vendor"					=>	"vendeur",
				"compatibility"				=>	"compatibilitée",
				"year"						=>	"année",
				"subtype"					=>	"sous-type",
				"sort by"					=>	"afficher par",
				"interface"					=>	"interface",
				"does it work?"				=>	"cela fonctionne?",
				"preview of the message"	=>	"prévisualisation du message",
				"preview of the new issue message"	=>	"prévisualisation du message du nouveau problème",
				"Add a message to this issue"	=>	"Ajouter un message à ce problème",
				"Add a new issue"			=>	"Ajouter un nouveau problème",
				"MESSAGE"					=>	"MESSAGE",
				"there are no messages"		=>	"Il n'y a pas de messages",
				"No notebooks found"		=>	"Aucun notebooks trouvé",
				"subtype (notebook or netbook)"	=>	"sous-type (notebook ou netbook)",
				"compatibility with free software"	=>	"compatibilitée avec le logiciel libre",
				"view the other specifications"	=>	"voir les autres spécifications",
				"model"						=>	"modèle",
				"model id"					=>	"ID du modèle",
				"tested on"					=>	"testé sur",
				"tested with the following kernel libre"	=>	"testé avec le kernel libre suivant",
				"video card model"			=>	"modèle de carte vidéo",
				"wifi model"				=>	"modèle de carte wifi",
				"GNU/Linux distribution used for the test"	=>	"Distribution GNU/Linux utilisée pour le test",
				"does the video card work?"	=>	"La carte vidéo fonctionne t'elle?",
				"does the wifi card work?"	=>	"La carte wifi fonctionne t'elle?",
				"Description: (write here all the useful information)"	=>	"Description (écrivez ici toutes informations utile)",
				"discover all the wiki tags"	=>	"voir tout les tags wiki",
				"Fields marked with <b>*</b> are mandatory"	=>	"Les champs marqués avec <b>*</b> sont mandatoire",
				"No printers found"			=>	"Aucun imprimante trouvée",
				"interface"					=>	"interface",
				"VendorID:ProductID code of the device" => "VendorID:ProductID de l'appareil",
				"free driver used"			=>	"pilote libre utilisé",
				"set not-specified if not sure"	=>	"voir non-spécifié en cas de doute",
				"see the help page or leave blank if you are not sure"	=>	"Voir la page d'aide ou laisser blanc si vous n'êtes pas sur",
				"No scanners found"			=>	"Aucun scanner trouvé",
				"No video cards found"		=>	"Aucun carte vidéo trouvée",
				"how does it work with free software?"	=>	"A quel point cela fonctionne t'il avec du logiciel libre?",
				"No wifi cards found"		=>	"Aucune carte wifi trouvée",
				"does it work with free software?"	=>	"cela fonctionne t'il avec le logiciel libre",
				"differences in the entry"		=>	"difference dans l'entrée",
				"No 3G cards found"			=>	"Aucune carte 3G trouvée",
				"Please specify in the below description entry the Internet Service Provider (ISP) and the country where the service is provided"	=>	"Merci de préciser dans cette description le fournisseur d'accès et le pays dans lequel le service est fournis",
				"webcam model"	=>	"modèle de webcam",
				"does it have a free bios?"	=>	"à t'il un bios libre?",
				"does the webcam work?"	=>	"la webcam fonctionne t'elle?",
				"does the webcam work?"	=>	"la webcam fonctionne-t'elle?",
				"Current revision"	=>	"Révision actuelle",
				"Hello"	=>	"Bonjour",
				"Your"	=>	"votre",
				"control panel"	=>	"panneau de contrôle",
				"create new account"	=>	"créer un compte",
				"request new password"	=> "demander un nouveau mot de passe",
				"website statistics"	=>	"statistique du site",
				"hardware in the database"	=>	"hardware dans la base de données",
				"users logged"	=>	"utilisateur connecté",
				"Watch your public profile"	=>	"Voir votre profil public",
				"Edit your profile"	=>	"Editer votre profil",
				"Change your e-mail address"	=>	"Changer votre adresse e-mail",
				"Change your password"	=>	"Changer votre mot de passe",
				"Delete your account"	=>	"Supprimer votre compte",
				"choose the username"	=>	"choisissez le nom d'utilisateur",
				"characters allowed"	=>	"charactères autorisés",
				"your e-mail address"	=>	"votre adresse e-mail",
				"necessary to confirm the registration"	=>	"nécessaire pour confirmer la création",
				"choose the password"	=>	"choisissez le mot de passe",
				"confirm the password"	=>	"confirmez le mot de passe",
				"write the code above"	=>	"écrivez le code si-dessous",
				"write your username"	=>	"écrivez votre nom d'utilisateur",
				"watch all the"	=>	"regardez toutes les",
				"actions carried out by moderators"	=>	"actions prises par les modérateurs",
				"meet"	=>	"rencontrer",
				"Public profile of"	=>	"Profil public de",
				"See all the contributions of"	=>	"Voir toute les distributions de",
				"My website"	=>	"Mon site web",
				"My real name"	=>	"Mon vrais nom",
				"My e-mail address"	=>	"Mon adresse e-mail",
				"I'm from"	=>	"Je viens de",
				"Birthdate"	=>	"Date de naissance",
				"My favourite distribution"	=>	"Ma distribution favorite",
				"Free software projects I'm working on"	=>	"Les projets de logiciel libre sur lesquels je travaille",
				"My description"	=>	"Ma description",
				"contributions"	=>	"contributions",
				"contributions of"	=>	"contributions de",
				"No sound cards found"	=>	"Aucune carte son trouvée",
				"LAST UPDATE"	=>	"DERNIERE MISE A JOUR",
				"search by"	=>	"cherchez par",
				"analyze the output of the lspci command"	=>	"analisez le retour de la commande lspci",
				"paste the output of the lspci command"	=>	"copier le retour de la commande lspci",
				"works, but without 3D acceleration"	=>	"fonctionne, mais sans l'accélération 3D",
				"the text submitted by you does not seem the lspci -vmmnn output. Please check the text and try again"	=>	"le texte que vous avez soumis n'a pas l'air d'être le résultat de la commande lspci -vmmnn, merci de vérifier",
				"Search form"	=>	"Formulaire de recherche",
				"write here the output of lspci -vmmnn"	=>	"écrivez ici le retour de la commande lspci -vmmnn",
				"The following devices has been found in the database"	=>	"Ces appareils ont été trouvés dans la base de données",
				"yes"	=>	"oui",
				"no"	=>	"non",
				"The following devices has not been found in the database"	=>	"Ces appareils n'ont pas été trouvés dans la base de données",
				"can you please insert them?"	=>	"pouvez vous les insérez?",
				"No webcams found"	=>	"Aucune webcam trouvée",
				"Download the xml file of all the database"	=>	"Téléchargez le fichier XML de la base de données complètes",
				"Download the xml file of all the <b>notebooks</b> in the database"	=>	"Téléchargez le fichier XML de tout les <b>notebooks</b> dans la base de données",
				"Download the xml file of all the <b>wifi cards</b> in the database"	=>	"Téléchargez le fichier XML de toute les <b>cartes wifi</b> dans la base de données",
				"Download the xml file of all the <b>video cards</b> in the database"	=>	"Téléchargez le fichier XML de toute les <b>cartes vidéos</b> dans la base de données",
				"Download the xml file of all the <b>printers</b> in the database"	=>	"Téléchargez le fichier XML de toute les <b>imprimantes</b> dans la base de données",
				"Download the xml file of all the <b>3G cards</b> in the database"	=>	"Téléchargez le fichier XML de toute les <b>cartes 3G</b> dans la base de données",
				"Download the xml file of all the <b>sound cards</b> in the database"	=>	"Téléchargez le fichier XML de toutes les <b>cartes son</b> dans la base de données",
				"Download the xml file of all the <b>webcams</b> in the database"	=>	"Téléchargez le fichier XML de toutes les <b>webcam</b> dans la base de données",
				"You can download all the h-node database in one unique xml file in order to parse its contents by means of some proper script (for example a Python or Perl or PHP script)"	=>	"Vous pouvez téléchargez toute la base de donnée de h-node en un seul fichier XML pour pouvoir ensuite l'exploiter avec des scripts (Par exemple un script Python , Perl ou PHP)",
				"Download the h-node hardware database in xml format"	=>	"Téléchargez la base de données matérielle de h-node au format XML",
			),
	);
		
	public static function sanitize($lang = 'en')
	{
		return (in_array($lang,self::$allowed)) ? sanitizeAll($lang) : 'en';
	}
}

class Go
{

	public static function toHardwareType($type)
	{
		return "http://".DOMAIN_NAME."/".Hardware::getControllerFromType($type)."/catalogue/".Lang::$current;
	}

	public static function toHardwareInsert($type)
	{
		return "http://".DOMAIN_NAME."/".Hardware::getControllerFromType($type)."/insert/".Lang::$current;
	}

	//go to the page of one device from the id of that device
	public static function toHardwarePage($idHard = 0)
	{
		$clean['idHard'] = (int)$idHard;
		$urls = getUrlsFromIdHard($clean['idHard']);
		return $urls['urlView'];
	}
	
}

class MyStrings
{
	
	public static $view = array(
		
		'en' =>	array(
			'notebooks' => array(
				'element' => 'notebook'
			),
			
			'wifi'		=>	array(
				'element' => 'wifi card'
			),
			
			'videocards'=>	array(
				'element' => 'video card'
			),
			
			'printers'=>	array(
				'element' => 'printer'
			),
			
			'scanners'=>	array(
				'element' => 'scanner'
			),

			'threegcards' => array(
				'element' => '3G-card',
			),
			
			'soundcards' => array(
				'element' => 'sound card',
			),

			'webcams' => array(
				'element' => 'webcam',
			),
		),
		
		'fr' =>	array(
		
			'notebooks' => array(
				'element' => 'notebook'
			),
			
			'wifi'		=>	array(
				'element' => 'wifi card'
			),
			
			'videocards'=>	array(
				'element' => 'video card'
			),
			
			'printers'=>	array(
				'element' => 'printer'
			),
			
			'scanners'=>	array(
				'element' => 'scanner'
			),
			
			'threegcards' => array(
				'element' => '3G-card',
			),
			
			'soundcards' => array(
				'element' => 'sound card',
			),

			'webcams' => array(
				'element' => 'webcam',
			),
		),
		
		'it' =>	array(
		
			'notebooks' => array(
				'element' => 'notebook'
			),
			
			'wifi'		=>	array(
				'element' => 'wifi card'
			),
			
			'videocards'=>	array(
				'element' => 'video card'
			),
			
			'printers'=>	array(
				'element' => 'printer'
			),
			
			'scanners'=>	array(
				'element' => 'scanner'
			),

			'threegcards' => array(
				'element' => '3G-card',
			),
			
			'soundcards' => array(
				'element' => 'sound card',
			),

			'webcams' => array(
				'element' => 'webcam',
			),
		),
		
		'es' =>	array(
		
			'notebooks' => array(
				'element' => 'notebook'
			),
			
			'wifi'		=>	array(
				'element' => 'wifi card'
			),
			
			'videocards'=>	array(
				'element' => 'video card'
			),
			
			'printers'=>	array(
				'element' => 'printer'
			),
			
			'scanners'=>	array(
				'element' => 'scanner'
			),
			
			'threegcards' => array(
				'element' => '3G-card',
			),
			
			'soundcards' => array(
				'element' => 'sound card',
			),

			'webcams' => array(
				'element' => 'webcam',
			),
		),
	);
	
	//type => controller
	public static $reverse = array(
		'notebook'	=>	'notebooks',
		'wifi'		=>	'wifi',
		'videocard'	=>	'videocards',
		'printer'	=>	'printers',
		'scanner'	=>	'scanners',
		'3G-card'	=>	'threegcards',
		'soundcard'	=>	'soundcards',
		'webcam'	=>	'webcams',
	);

	public static function getTypes()
	{
		return implode(',',array_keys(self::$reverse));
	}
	
}