From 37b417757fc21ecf2ae159fc8f5182ec234e0be0 Mon Sep 17 00:00:00 2001 From: Antonio Gallo Date: Sun, 4 Dec 2011 19:53:26 +0000 Subject: improved i18n --- .../Controllers/BluetoothController.php | 3 + .../Controllers/EthernetcardsController.php | 3 + .../Controllers/FingerprintreadersController.php | 3 + .../Application/Controllers/ModemsController.php | 3 + .../Application/Controllers/PrintersController.php | 3 + .../Application/Controllers/ScannersController.php | 3 + .../Controllers/SdcardreadersController.php | 3 + .../Controllers/SoundcardsController.php | 3 + .../Controllers/ThreegcardsController.php | 3 + .../Controllers/VideocardsController.php | 3 + .../Application/Controllers/WebcamsController.php | 3 + .../Application/Controllers/WifiController.php | 3 + h-source/Application/Include/hardware.php | 3 + h-source/Application/Include/languages.php | 1 + .../Views/Acquisitioncards/catalogue.php | 85 ------------------- h-source/Application/Views/Bluetooth/catalogue.php | 89 -------------------- .../Application/Views/Ethernetcards/catalogue.php | 89 -------------------- .../Views/Fingerprintreaders/catalogue.php | 89 -------------------- h-source/Application/Views/Modems/catalogue.php | 89 -------------------- h-source/Application/Views/Printers/catalogue.php | 94 --------------------- h-source/Application/Views/Scanners/catalogue.php | 89 -------------------- .../Application/Views/Sdcardreaders/catalogue.php | 89 -------------------- .../Application/Views/Soundcards/catalogue.php | 89 -------------------- .../Application/Views/Threegcards/catalogue.php | 89 -------------------- .../Application/Views/Videocards/catalogue.php | 89 -------------------- h-source/Application/Views/Webcams/catalogue.php | 89 -------------------- h-source/Application/Views/Wifi/catalogue.php | 89 -------------------- h-source/Application/Views/catalogue.php | 98 ++++++++++++++++++++++ h-source/Application/Views/page.php | 14 ++-- 29 files changed, 145 insertions(+), 1165 deletions(-) delete mode 100644 h-source/Application/Views/Acquisitioncards/catalogue.php delete mode 100644 h-source/Application/Views/Bluetooth/catalogue.php delete mode 100644 h-source/Application/Views/Ethernetcards/catalogue.php delete mode 100644 h-source/Application/Views/Fingerprintreaders/catalogue.php delete mode 100644 h-source/Application/Views/Modems/catalogue.php delete mode 100644 h-source/Application/Views/Printers/catalogue.php delete mode 100644 h-source/Application/Views/Scanners/catalogue.php delete mode 100644 h-source/Application/Views/Sdcardreaders/catalogue.php delete mode 100644 h-source/Application/Views/Soundcards/catalogue.php delete mode 100644 h-source/Application/Views/Threegcards/catalogue.php delete mode 100644 h-source/Application/Views/Videocards/catalogue.php delete mode 100644 h-source/Application/Views/Webcams/catalogue.php delete mode 100644 h-source/Application/Views/Wifi/catalogue.php create mode 100644 h-source/Application/Views/catalogue.php diff --git a/h-source/Application/Controllers/BluetoothController.php b/h-source/Application/Controllers/BluetoothController.php index 5d701e9..36751e8 100644 --- a/h-source/Application/Controllers/BluetoothController.php +++ b/h-source/Application/Controllers/BluetoothController.php @@ -66,6 +66,9 @@ class BluetoothController extends GenericController $data['intefaceOptions'] = $interfaceOptions; $data['worksOptions'] = $worksOptions; $data['worksField'] = $worksField; + + $data['notFoundString'] = "No bluetooth devices found"; + $this->append($data); } diff --git a/h-source/Application/Controllers/EthernetcardsController.php b/h-source/Application/Controllers/EthernetcardsController.php index 74e733c..6df8c4f 100644 --- a/h-source/Application/Controllers/EthernetcardsController.php +++ b/h-source/Application/Controllers/EthernetcardsController.php @@ -66,6 +66,9 @@ class EthernetcardsController extends GenericController $data['intefaceOptions'] = $interfaceOptions; $data['worksOptions'] = $worksOptions; $data['worksField'] = $worksField; + + $data['notFoundString'] = "No ethernet devices found"; + $this->append($data); } diff --git a/h-source/Application/Controllers/FingerprintreadersController.php b/h-source/Application/Controllers/FingerprintreadersController.php index 1ea22c4..deba3f4 100644 --- a/h-source/Application/Controllers/FingerprintreadersController.php +++ b/h-source/Application/Controllers/FingerprintreadersController.php @@ -66,6 +66,9 @@ class FingerprintreadersController extends GenericController $data['intefaceOptions'] = $interfaceOptions; $data['worksOptions'] = $worksOptions; $data['worksField'] = $worksField; + + $data['notFoundString'] = "No fingerprint readers found"; + $this->append($data); } diff --git a/h-source/Application/Controllers/ModemsController.php b/h-source/Application/Controllers/ModemsController.php index 35d555c..6917555 100644 --- a/h-source/Application/Controllers/ModemsController.php +++ b/h-source/Application/Controllers/ModemsController.php @@ -66,6 +66,9 @@ class ModemsController extends GenericController $data['intefaceOptions'] = $interfaceOptions; $data['worksOptions'] = $worksOptions; $data['worksField'] = $worksField; + + $data['notFoundString'] = "No modems found"; + $this->append($data); } diff --git a/h-source/Application/Controllers/PrintersController.php b/h-source/Application/Controllers/PrintersController.php index 3e59702..3ff195b 100644 --- a/h-source/Application/Controllers/PrintersController.php +++ b/h-source/Application/Controllers/PrintersController.php @@ -87,6 +87,9 @@ class PrintersController extends GenericController $data['intefaceOptions'] = Printer::$interface; $data['worksOptions'] = Printer::$compatibility; $data['worksField'] = 'compatibility'; + + $data['notFoundString'] = "No printers found"; + $this->append($data); } diff --git a/h-source/Application/Controllers/ScannersController.php b/h-source/Application/Controllers/ScannersController.php index c913cf7..1cbfd09 100644 --- a/h-source/Application/Controllers/ScannersController.php +++ b/h-source/Application/Controllers/ScannersController.php @@ -62,6 +62,9 @@ class ScannersController extends GenericController $data['intefaceOptions'] = Printer::$interface; $data['worksOptions'] = Printer::$compatibility; $data['worksField'] = 'compatibility'; + + $data['notFoundString'] = "No scanners found"; + $this->append($data); } diff --git a/h-source/Application/Controllers/SdcardreadersController.php b/h-source/Application/Controllers/SdcardreadersController.php index c3f580a..d619b26 100644 --- a/h-source/Application/Controllers/SdcardreadersController.php +++ b/h-source/Application/Controllers/SdcardreadersController.php @@ -66,6 +66,9 @@ class SdcardreadersController extends GenericController $data['intefaceOptions'] = $interfaceOptions; $data['worksOptions'] = $worksOptions; $data['worksField'] = $worksField; + + $data['notFoundString'] = "No SD card readers found"; + $this->append($data); } diff --git a/h-source/Application/Controllers/SoundcardsController.php b/h-source/Application/Controllers/SoundcardsController.php index b032aaa..dcbce1a 100644 --- a/h-source/Application/Controllers/SoundcardsController.php +++ b/h-source/Application/Controllers/SoundcardsController.php @@ -62,6 +62,9 @@ class SoundcardsController extends GenericController $data['intefaceOptions'] = Soundcards::$interface; $data['worksOptions'] = Soundcards::$audioSelect; $data['worksField'] = 'sound_card_works'; + + $data['notFoundString'] = "No sound cards found"; + $this->append($data); } diff --git a/h-source/Application/Controllers/ThreegcardsController.php b/h-source/Application/Controllers/ThreegcardsController.php index dbd1315..1681158 100644 --- a/h-source/Application/Controllers/ThreegcardsController.php +++ b/h-source/Application/Controllers/ThreegcardsController.php @@ -62,6 +62,9 @@ class ThreegcardsController extends GenericController $data['intefaceOptions'] = Wifi::$interface; $data['worksOptions'] = Wifi::$wifiSelect; $data['worksField'] = 'wifi_works'; + + $data['notFoundString'] = "No 3G cards found"; + $this->append($data); } diff --git a/h-source/Application/Controllers/VideocardsController.php b/h-source/Application/Controllers/VideocardsController.php index f165713..0d2272a 100644 --- a/h-source/Application/Controllers/VideocardsController.php +++ b/h-source/Application/Controllers/VideocardsController.php @@ -62,6 +62,9 @@ class VideocardsController extends GenericController $data['intefaceOptions'] = Videocard::$interface; $data['worksOptions'] = Videocard::$videoSelect; $data['worksField'] = 'video_card_works'; + + $data['notFoundString'] = "No video cards found"; + $this->append($data); } diff --git a/h-source/Application/Controllers/WebcamsController.php b/h-source/Application/Controllers/WebcamsController.php index e68e318..6d51d3d 100644 --- a/h-source/Application/Controllers/WebcamsController.php +++ b/h-source/Application/Controllers/WebcamsController.php @@ -62,6 +62,9 @@ class WebcamsController extends GenericController $data['intefaceOptions'] = Webcams::$interface; $data['worksOptions'] = Webcams::$select; $data['worksField'] = 'webcam_works'; + + $data['notFoundString'] = "No webcams found"; + $this->append($data); } diff --git a/h-source/Application/Controllers/WifiController.php b/h-source/Application/Controllers/WifiController.php index fe86922..b2bcd73 100644 --- a/h-source/Application/Controllers/WifiController.php +++ b/h-source/Application/Controllers/WifiController.php @@ -62,6 +62,9 @@ class WifiController extends GenericController $data['intefaceOptions'] = Wifi::$interface; $data['worksOptions'] = Wifi::$wifiSelect; $data['worksField'] = 'wifi_works'; + + $data['notFoundString'] = "No wifi cards found"; + $this->append($data); } diff --git a/h-source/Application/Include/hardware.php b/h-source/Application/Include/hardware.php index 4a651f6..c3827ad 100644 --- a/h-source/Application/Include/hardware.php +++ b/h-source/Application/Include/hardware.php @@ -32,6 +32,9 @@ class Hardware public static $translations = array( "amd64" => 'x86-64/amd64', "PC-Card" => 'PCMCIA/PC-Card', + "works_with_3D" => "works with 3D acceleration", + "works_without_3D" => "works, but without 3D acceleration", + "does_not_work" => "it does not work", ); public static $regExpressions = array( diff --git a/h-source/Application/Include/languages.php b/h-source/Application/Include/languages.php index ecd7318..abdd0f2 100644 --- a/h-source/Application/Include/languages.php +++ b/h-source/Application/Include/languages.php @@ -342,6 +342,7 @@ class Lang /*0294*/"alphabetically desc" => "alfabeticamente decresc", /*0295*/"undef" => "tutti", /*0296*/"All" => "Tutti", + /*0297*/"inkjet" => "getto d'inchiostro", ), 'es' => array ( diff --git a/h-source/Application/Views/Acquisitioncards/catalogue.php b/h-source/Application/Views/Acquisitioncards/catalogue.php deleted file mode 100644 index 23ce477..0000000 --- a/h-source/Application/Views/Acquisitioncards/catalogue.php +++ /dev/null @@ -1,85 +0,0 @@ - - -. -?> - -
-
- -
-
- -
-
- - - -
- .. -
- - - - -
- -
- : -
- - -
-
:
-
-
- - -
-
:
-
-
- -
-
:
-
-
- -
-
:
-
-
- -
-
-
-
- - - -
- - - -
- : -
- \ No newline at end of file diff --git a/h-source/Application/Views/Bluetooth/catalogue.php b/h-source/Application/Views/Bluetooth/catalogue.php deleted file mode 100644 index e63f337..0000000 --- a/h-source/Application/Views/Bluetooth/catalogue.php +++ /dev/null @@ -1,89 +0,0 @@ - - -. -?> - -
-
- -
-
-
viewArgs['vendor'])?>
-
viewArgs['comm_year']?>
-
viewArgs['bluetooth_works']?>
-
viewArgs['interface']?>
-
viewArgs['sort-by']?>
-
-
- - - -
- .. -
- - - - -
- -
- : -
- - -
-
:
-
-
- - -
-
:
-
-
- -
-
:
-
-
- -
-
:
-
-
- -
-
-
-
- - - -
- - - -
- : -
- \ No newline at end of file diff --git a/h-source/Application/Views/Ethernetcards/catalogue.php b/h-source/Application/Views/Ethernetcards/catalogue.php deleted file mode 100644 index 09cad9a..0000000 --- a/h-source/Application/Views/Ethernetcards/catalogue.php +++ /dev/null @@ -1,89 +0,0 @@ - - -. -?> - -
-
- -
-
-
viewArgs['vendor'])?>
-
viewArgs['comm_year']?>
-
viewArgs['ethernet_card_works']?>
-
viewArgs['interface']?>
-
viewArgs['sort-by']?>
-
-
- - - -
- .. -
- - - - -
- -
- : -
- - -
-
:
-
-
- - -
-
:
-
-
- -
-
:
-
-
- -
-
:
-
-
- -
-
-
-
- - - -
- - - -
- : -
- \ No newline at end of file diff --git a/h-source/Application/Views/Fingerprintreaders/catalogue.php b/h-source/Application/Views/Fingerprintreaders/catalogue.php deleted file mode 100644 index 537caf6..0000000 --- a/h-source/Application/Views/Fingerprintreaders/catalogue.php +++ /dev/null @@ -1,89 +0,0 @@ - - -. -?> - -
-
- -
-
-
viewArgs['vendor'])?>
-
viewArgs['comm_year']?>
-
viewArgs['fingerprint_works']?>
-
viewArgs['interface']?>
-
viewArgs['sort-by']?>
-
-
- - - -
- .. -
- - - - -
- -
- : -
- - -
-
:
-
-
- - -
-
:
-
-
- -
-
:
-
-
- -
-
:
-
-
- -
-
-
-
- - - -
- - - -
- : -
- \ No newline at end of file diff --git a/h-source/Application/Views/Modems/catalogue.php b/h-source/Application/Views/Modems/catalogue.php deleted file mode 100644 index 9ac0e44..0000000 --- a/h-source/Application/Views/Modems/catalogue.php +++ /dev/null @@ -1,89 +0,0 @@ - - -. -?> - -
-
- -
-
-
viewArgs['vendor'])?>
-
viewArgs['comm_year']?>
-
viewArgs['compatibility']?>
-
viewArgs['interface']?>
-
viewArgs['sort-by']?>
-
-
- - - -
- .. -
- - - - -
- -
- : -
- - -
-
:
-
-
- - -
-
:
-
-
- -
-
:
-
-
- -
-
:
-
-
- -
-
-
-
- - - -
- - - -
- : -
- \ No newline at end of file diff --git a/h-source/Application/Views/Printers/catalogue.php b/h-source/Application/Views/Printers/catalogue.php deleted file mode 100644 index bb24e35..0000000 --- a/h-source/Application/Views/Printers/catalogue.php +++ /dev/null @@ -1,94 +0,0 @@ - - -. -?> - -
-
- -
-
-
viewArgs['vendor']);?>
-
viewArgs['compatibility'];?>
-
viewArgs['comm_year'];?>
-
viewArgs['interface'];?>
-
viewArgs['sort-by'];?>
-
-
- - - -
- .. -
- - - - -
- -
- : -
- - -
-
:
-
-
- - -
-
:
-
-
- -
-
:
-
-
- -
-
:
-
-
- -
-
:
-
-
- -
-
-
-
- - - -
- - - -
- : -
- \ No newline at end of file diff --git a/h-source/Application/Views/Scanners/catalogue.php b/h-source/Application/Views/Scanners/catalogue.php deleted file mode 100644 index 549c5c9..0000000 --- a/h-source/Application/Views/Scanners/catalogue.php +++ /dev/null @@ -1,89 +0,0 @@ - - -. -?> - -
-
- -
-
-
viewArgs['vendor'])?>
-
viewArgs['compatibility']?>
-
viewArgs['comm_year']?>
-
viewArgs['interface']?>
-
viewArgs['sort-by']?>
-
-
- - - -
- ... -
- - - - -
- -
- : -
- - -
-
:
-
-
- - -
-
:
-
-
- -
-
:
-
-
- -
-
:
-
-
- -
-
:
-
-
- - - -
- - - -
- : -
- \ No newline at end of file diff --git a/h-source/Application/Views/Sdcardreaders/catalogue.php b/h-source/Application/Views/Sdcardreaders/catalogue.php deleted file mode 100644 index 90aae04..0000000 --- a/h-source/Application/Views/Sdcardreaders/catalogue.php +++ /dev/null @@ -1,89 +0,0 @@ - - -. -?> - -
-
- -
-
-
viewArgs['vendor'])?>
-
viewArgs['comm_year']?>
-
viewArgs['sd_card_works']?>
-
viewArgs['interface']?>
-
viewArgs['sort-by']?>
-
-
- - - -
- .. -
- - - - -
- -
- : -
- - -
-
:
-
-
- - -
-
:
-
-
- -
-
:
-
-
- -
-
:
-
-
- -
-
-
-
- - - -
- - - -
- : -
- \ No newline at end of file diff --git a/h-source/Application/Views/Soundcards/catalogue.php b/h-source/Application/Views/Soundcards/catalogue.php deleted file mode 100644 index e4b265b..0000000 --- a/h-source/Application/Views/Soundcards/catalogue.php +++ /dev/null @@ -1,89 +0,0 @@ - - -. -?> - -
-
- -
-
-
viewArgs['vendor'])?>
-
viewArgs['comm_year']?>
-
viewArgs['sound_card_works']?>
-
viewArgs['interface']?>
-
viewArgs['sort-by']?>
-
-
- - - -
- .. -
- - - - -
- -
- : -
- - -
-
:
-
-
- - -
-
:
-
-
- -
-
:
-
-
- -
-
:
-
-
- -
-
-
-
- - - -
- - - -
- : -
- \ No newline at end of file diff --git a/h-source/Application/Views/Threegcards/catalogue.php b/h-source/Application/Views/Threegcards/catalogue.php deleted file mode 100644 index 6b17e55..0000000 --- a/h-source/Application/Views/Threegcards/catalogue.php +++ /dev/null @@ -1,89 +0,0 @@ - - -. -?> - -
-
- -
-
-
viewArgs['vendor']);?>
-
viewArgs['comm_year']?>
-
viewArgs['wifi_works']?>
-
viewArgs['interface'])?>
-
viewArgs['sort-by']?>
-
-
- - - -
- .. -
- - - - -
- -
- : -
- - -
-
:
-
-
- - -
-
:
-
-
- -
-
:
-
-
- -
-
:
-
-
- -
-
-
-
- - - -
- - - -
- : -
- \ No newline at end of file diff --git a/h-source/Application/Views/Videocards/catalogue.php b/h-source/Application/Views/Videocards/catalogue.php deleted file mode 100644 index 155c30b..0000000 --- a/h-source/Application/Views/Videocards/catalogue.php +++ /dev/null @@ -1,89 +0,0 @@ - - -. -?> - -
-
- -
-
-
viewArgs['vendor']);?>
-
viewArgs['comm_year']?>
-
viewArgs['video_card_works']?>
-
viewArgs['interface']?>
-
viewArgs['sort-by']?>
-
-
- - - -
- .. -
- - - - -
- -
- : -
- - -
-
:
-
-
- - -
-
:
-
-
- -
-
:
-
-
- -
-
:
-
-
- -
-
-
-
- - - -
- - - -
- : -
- \ No newline at end of file diff --git a/h-source/Application/Views/Webcams/catalogue.php b/h-source/Application/Views/Webcams/catalogue.php deleted file mode 100644 index 5294f46..0000000 --- a/h-source/Application/Views/Webcams/catalogue.php +++ /dev/null @@ -1,89 +0,0 @@ - - -. -?> - -
-
- -
-
-
viewArgs['vendor'])?>
-
viewArgs['comm_year']?>
-
viewArgs['webcam_works']?>
-
viewArgs['interface']?>
-
viewArgs['sort-by']?>
-
-
- - - -
- .. -
- - - - -
- -
- : -
- - -
-
:
-
-
- - -
-
:
-
-
- -
-
:
-
-
- -
-
:
-
-
- -
-
-
-
- - - -
- - - -
- : -
- \ No newline at end of file diff --git a/h-source/Application/Views/Wifi/catalogue.php b/h-source/Application/Views/Wifi/catalogue.php deleted file mode 100644 index 3ea9380..0000000 --- a/h-source/Application/Views/Wifi/catalogue.php +++ /dev/null @@ -1,89 +0,0 @@ - - -. -?> - -
-
- -
-
-
viewArgs['vendor']);?>
-
viewArgs['comm_year']?>
-
viewArgs['wifi_works']?>
-
viewArgs['interface'])?>
-
viewArgs['sort-by']?>
-
-
- - - -
- .. -
- - - - -
- -
- : -
- - -
-
:
-
-
- - -
-
:
-
-
- -
-
:
-
-
- -
-
:
-
-
- -
-
-
-
- - - -
- - - -
- : -
- \ No newline at end of file diff --git a/h-source/Application/Views/catalogue.php b/h-source/Application/Views/catalogue.php new file mode 100644 index 0000000..ca0d735 --- /dev/null +++ b/h-source/Application/Views/catalogue.php @@ -0,0 +1,98 @@ + + +. +?> + +
+
+ +
+
+ +
+
+ + + +
+ .. +
+ + + + +
+ +
+ : +
+ + +
+
:
+
+
+ + +
+
:
+
+
+ +
+
:
+
+
+ +
+
:
+
+
+ +
+ controller,'printers') === 0 or strcmp($this->controller,'scanners') === 0) { ?> +
+ controller,'videocards') === 0 ) { ?> +
+ +
+ +
+
+ + controller,'printers') === 0 ) { ?> +
+
+
+
+ + + + +
+ + + +
+ : +
+ \ No newline at end of file diff --git a/h-source/Application/Views/page.php b/h-source/Application/Views/page.php index 0cf4e34..704e019 100644 --- a/h-source/Application/Views/page.php +++ b/h-source/Application/Views/page.php @@ -63,7 +63,7 @@ controller,'printers') === 0 ) { ?>
(laser, inkjet, ..):
-
+
@@ -74,12 +74,12 @@
:
-
+
:
-
+
@@ -97,17 +97,17 @@ controller,'videocards') === 0 ) { ?>
-
+
controller,'printers') === 0 ) { ?>
:
- + controller,'scanners') === 0 ) { ?>
:
- + @@ -121,7 +121,7 @@ controller,'printers') === 0 ) { ?>
-
+
-- cgit v1.2.3