From 3b289dfbfd66fe63b1b596d9c451c848d1302840 Mon Sep 17 00:00:00 2001 From: Antonio Gallo Date: Mon, 31 Jan 2011 18:36:25 +0000 Subject: improved search page --- h-source/Application/Include/hardware.php | 12 +++++++++--- h-source/Application/Include/languages.php | 4 ++++ 2 files changed, 13 insertions(+), 3 deletions(-) (limited to 'h-source/Application/Include') diff --git a/h-source/Application/Include/hardware.php b/h-source/Application/Include/hardware.php index 3f19ebc..11d12df 100644 --- a/h-source/Application/Include/hardware.php +++ b/h-source/Application/Include/hardware.php @@ -26,11 +26,17 @@ class Hardware public static $controllers = array('notebooks','wifi','videocards','printers','scanners','threegcards','soundcards'); //used by UsersController::login() + public static $deviceClasses = array( + '0403' => 'soundcards', + '0280' => 'wifi', + '0300' => 'videocards', + ); + public static $commYear = 'not-specified,2010,2009,2008,2007,2006,2005,2004,2003,2002,2001,2000,1999,1998,1997,1996,1995,1994,1993,1992'; } -class Printer extends hardware +class Printer extends Hardware { public static $vendors = array( "brother" => "brother", @@ -69,7 +75,7 @@ class Printer extends hardware } -class Wifi extends hardware +class Wifi extends Hardware { public static $vendors = array( "A-LINK" => "A-LINK", @@ -126,7 +132,7 @@ class Wifi extends hardware } } -class Videocard extends hardware +class Videocard extends Hardware { public static $vendors = array( "ATI" => "ATI", diff --git a/h-source/Application/Include/languages.php b/h-source/Application/Include/languages.php index 602e13d..831cdd4 100644 --- a/h-source/Application/Include/languages.php +++ b/h-source/Application/Include/languages.php @@ -147,6 +147,10 @@ class Lang "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", ), 'es' => array ( -- cgit v1.2.3