diff options
author | Antonio Gallo <tonicucoz@gmail.com> | 2012-07-09 13:22:00 +0000 |
---|---|---|
committer | Antonio Gallo <tonicucoz@gmail.com> | 2012-07-09 13:22:00 +0000 |
commit | 672044016f0f2a28388d4af37d2b49afc7ff23be (patch) | |
tree | 52a3f0f47287fec6dcb672f35216e05204113094 /h-source/Application/Include/hardware.php | |
parent | 7436d5978f053a7a58b48b7f9754351be941ff57 (diff) |
improved the free bios entry - Michał Masłowski and lammi87 suggestions
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", "" => "" |