From 672044016f0f2a28388d4af37d2b49afc7ff23be Mon Sep 17 00:00:00 2001 From: Antonio Gallo Date: Mon, 9 Jul 2012 13:22:00 +0000 Subject: improved the free bios entry - Michał Masłowski and lammi87 suggestions MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- h-source/Application/Include/hardware.php | 11 +++++++++-- h-source/Application/Include/languages.php | 3 +++ 2 files changed, 12 insertions(+), 2 deletions(-) (limited to 'h-source/Application/Include') 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", "" => "" diff --git a/h-source/Application/Include/languages.php b/h-source/Application/Include/languages.php index d8fafbf..8652b55 100644 --- a/h-source/Application/Include/languages.php +++ b/h-source/Application/Include/languages.php @@ -395,6 +395,9 @@ class Lang /*0335*/"motherboards" => "schede madri", /*0336*/"Write a comma-separated list of kernel versions" => "Scrivi una lista di kernel separati da virgole", /*0337*/"Example" => "Esempio", + /*0338*/"free boot firmware?" => "firmware per boot libero?", + /*0339*/"can be installed" => "può essere installato", + /*0340*/"does it have free boot firmware (BIOS,UEFI,...) ?" => "ha un firmware per il boot (BIOS, UEFI,..) libero?" ), 'es' => array ( -- cgit v1.2.3