diff options
Diffstat (limited to 'h-source/Application/Include')
-rw-r--r-- | h-source/Application/Include/hardware.php | 12 | ||||
-rw-r--r-- | h-source/Application/Include/languages.php | 16 |
2 files changed, 26 insertions, 2 deletions
diff --git a/h-source/Application/Include/hardware.php b/h-source/Application/Include/hardware.php index 2e5cb0e..e919326 100644 --- a/h-source/Application/Include/hardware.php +++ b/h-source/Application/Include/hardware.php @@ -42,7 +42,7 @@ class Hardware return $string; } - public static $controllers = array('notebooks','wifi','videocards','printers','scanners','threegcards','soundcards','webcams','bluetooth','acquisitioncards','fingerprintreaders','ethernetcards'); //used by UsersController::login() + public static $controllers = array('notebooks','wifi','videocards','printers','scanners','threegcards','soundcards','webcams','bluetooth','acquisitioncards','fingerprintreaders','ethernetcards','sdcardreaders'); //used by UsersController::login() //classId => controller public static $deviceClasses = array( @@ -68,6 +68,7 @@ class Hardware 'acquisition-card' => 'Crystal/cam_mount-22.png', 'fingerprint-reader' => 'fingerprint_icon-22.png', 'ethernet-card' => 'H2O/network-wired_22.png', + 'sd-card-reader' => 'H2O/media-flash-sd-mmc_22.png', ); public static $typeToController = array( @@ -83,6 +84,7 @@ class Hardware 'acquisition-card' => 'acquisitioncards', 'fingerprint-reader' => 'fingerprintreaders', 'ethernet-card' => 'ethernetcards', + 'sd-card-reader' => 'sdcardreaders', ); public static function getTypes() @@ -411,5 +413,13 @@ class Ethernetcards extends Hardware public static $select = 'yes,no'; public static $interface = "not-specified,USB,PCI,PCI-E,mini-PCI,mini-PCI-E,ExpressCard,PC-Card,Firewire,Parallel,Serial"; +} + +class Sdcardreaders extends Hardware +{ + + public static $select = 'yes,no'; + + public static $interface = "not-specified,USB,PCI,PCI-E,mini-PCI,mini-PCI-E,ExpressCard,PC-Card,Firewire,Parallel,Serial"; }
\ No newline at end of file diff --git a/h-source/Application/Include/languages.php b/h-source/Application/Include/languages.php index 635f361..406fad0 100644 --- a/h-source/Application/Include/languages.php +++ b/h-source/Application/Include/languages.php @@ -296,6 +296,9 @@ class Lang /*0248*/"Edit" => "Modifica", /*0249*/"Talk page" => "Pagina di discussione", /*0250*/"Download the xml file of all the <b>ethernet cards</b> in the database" => "Scarica il file xml di tutte le <b>schede ethernet</b> presenti nel database", + /*0251*/"No sd card readers found" => "Non è stato trovato alcun lettore di schede sd", + /*0252*/"Sd card readers" => "Lettori di schede sd", + /*0253*/"Download the xml file of all the <b>sd card readers</b> in the database" => "Scarica il file xml di tutti i <b>lettori di schede sd</b> presenti nel database", ), 'es' => array ( @@ -1012,6 +1015,7 @@ class Lang 'acquisitioncards' => 'acquisition card', 'fingerprintreaders' => 'fingerprint reader', 'ethernetcards' => 'ethernet card', + 'sdcardreaders' => 'sd card reader', ), 'it' => array( 'notebooks' => 'notebook', @@ -1026,6 +1030,7 @@ class Lang 'acquisitioncards' => 'scheda di acquisizione', 'fingerprintreaders' => 'lettore di impronte digitali', 'ethernetcards' => 'scheda ethernet', + 'sdcardreaders' => 'lettore di schede sd', ), 'es' => array( 'notebooks' => 'portátil', @@ -1040,6 +1045,7 @@ class Lang 'acquisitioncards' => 'tarjeta de adquisición', 'fingerprintreaders' => 'lector de huella digital', 'ethernetcards' => 'tarjeta de ethernet', + 'sdcardreaders' => 'sd card reader', ), 'fr' => array( 'notebooks' => 'notebook', @@ -1054,6 +1060,7 @@ class Lang 'acquisitioncards' => 'carte d\'acquisition', 'fingerprintreaders' => 'lecteur d\'empreintes digitales', 'ethernetcards' => 'carte ethernet', + 'sdcardreaders' => 'sd card reader', ), 'de' => array( 'notebooks' => 'notebook', @@ -1068,6 +1075,7 @@ class Lang 'acquisitioncards' => 'acquisition card', 'fingerprintreaders' => 'fingerprint reader', 'ethernetcards' => 'ethernet card', + 'sdcardreaders' => 'sd card reader', ), ); @@ -1085,6 +1093,7 @@ class Lang 'acquisitioncards' => 'acquisition cards', 'fingerprintreaders' => 'fingerprint readers', 'ethernetcards' => 'ethernet cards', + 'sdcardreaders' => 'sd card readers', ), 'it' => array( 'notebooks' => 'notebook', @@ -1099,6 +1108,7 @@ class Lang 'acquisitioncards' => 'schede di acquisizione', 'fingerprintreaders' => 'lettori di impronte digitali', 'ethernetcards' => 'schede ethernet', + 'sdcardreaders' => 'lettori di schede sd', ), 'es' => array( 'notebooks' => 'portátiles', @@ -1113,6 +1123,7 @@ class Lang 'acquisitioncards' => 'tarjetas de adquisición', 'fingerprintreaders' => 'lectores de huella digital', 'ethernetcards' => 'tarjetas de ethernet', + 'sdcardreaders' => 'sd card readers', ), 'fr' => array( 'notebooks' => 'notebooks', @@ -1126,7 +1137,8 @@ class Lang 'bluetooth' => 'périphériques bluetooth', 'acquisitioncards' => 'cartes d\'acquisition', 'fingerprintreaders' => 'lecteurs d\'empreintes digitales ', - 'ethernetcards' => 'cartes ethernet', + 'ethernetcards' => 'cartes ethernet', + 'sdcardreaders' => 'sd card readers', ), 'de' => array( 'notebooks' => 'notebooks', @@ -1141,6 +1153,7 @@ class Lang 'acquisitioncards' => 'acquisition cards', 'fingerprintreaders' => 'fingerprint readers', 'ethernetcards' => 'ethernet cards', + 'sdcardreaders' => 'sd card readers', ), ); @@ -1194,6 +1207,7 @@ class MyStrings 'acquisition-card' => 'acquisitioncards', 'fingerprint-reader' => 'fingerprintreaders', 'ethernet-card' => 'ethernetcards', + 'sd-card-reader' => 'sdcardreaders', ); public static function getTypes() |