diff options
Diffstat (limited to 'h-source/Application/Include/hardware.php')
| -rw-r--r-- | h-source/Application/Include/hardware.php | 11 | 
1 files changed, 9 insertions, 2 deletions
diff --git a/h-source/Application/Include/hardware.php b/h-source/Application/Include/hardware.php index 67c77d4..eebdbd5 100644 --- a/h-source/Application/Include/hardware.php +++ b/h-source/Application/Include/hardware.php @@ -26,6 +26,11 @@ function translate($string)  	return Hardware::translate($string);  } +function translate_and_gtext($string) +{ +	return gtext(translate($string)); +} +  class Hardware  { @@ -35,6 +40,7 @@ class Hardware  		"works_with_3D"		=>	"works with 3D acceleration",  		"works_without_3D"	=>	"works, but without 3D acceleration",  		"does_not_work"		=>	"it does not work", +		"can-be-installed"	=>	"can be installed",  	);  	public static $regExpressions = array( @@ -318,7 +324,8 @@ class Notebooks extends Hardware  	public static $biosSelect = array(  		"not specified"		=>	'not-specified',  		"no"				=>	'no', -		"yes"				=>	'yes' +		"yes"				=>	'yes', +		"can be installed"	=>	'can-be-installed',  	);  	public static $installableSelect = 'not-specified,no,yes'; @@ -332,7 +339,7 @@ class Notebooks extends Hardware  	public static $videoReverse = array(  		"yes_with_3D"		=>	"works with 3D acceleration", -		"yes_without_3D"	=>	"works but without 3D acceleration", +		"yes_without_3D"	=>	"works, but without 3D acceleration",  		"no"				=>	"it does not work",  		'not-specified'		=>	"not specified how it works",  		""					=>	""  | 
