aboutsummaryrefslogtreecommitdiff
path: root/h-source/Application/Include/languages.php
diff options
context:
space:
mode:
Diffstat (limited to 'h-source/Application/Include/languages.php')
-rw-r--r--h-source/Application/Include/languages.php250
1 files changed, 95 insertions, 155 deletions
diff --git a/h-source/Application/Include/languages.php b/h-source/Application/Include/languages.php
index 675684e..a967ec0 100644
--- a/h-source/Application/Include/languages.php
+++ b/h-source/Application/Include/languages.php
@@ -532,7 +532,101 @@ class Lang
"Download the h-node hardware database in xml format" => "Téléchargez la base de données matérielle de h-node au format XML",
),
);
-
+
+ public static $singular = array(
+ 'en' => array(
+ 'notebooks' => 'notebook',
+ 'wifi' => 'wifi card',
+ 'videocards' => 'video card',
+ 'printers' => 'printer',
+ 'scanners' => 'scanner',
+ 'threegcards' => '3G-card',
+ 'soundcards' => 'soundcard',
+ 'webcams' => 'webcam',
+ 'bluetooth' => 'bluetooth device',
+ ),
+ 'it' => array(
+ 'notebooks' => 'notebook',
+ 'wifi' => 'wifi card',
+ 'videocards' => 'video card',
+ 'printers' => 'printer',
+ 'scanners' => 'scanner',
+ 'threegcards' => '3G-card',
+ 'soundcards' => 'soundcard',
+ 'webcams' => 'webcam',
+ 'bluetooth' => 'bluetooth device',
+ ),
+ 'es' => array(
+ 'notebooks' => 'notebook',
+ 'wifi' => 'wifi card',
+ 'videocards' => 'video card',
+ 'printers' => 'printer',
+ 'scanners' => 'scanner',
+ 'threegcards' => '3G-card',
+ 'soundcards' => 'soundcard',
+ 'webcams' => 'webcam',
+ 'bluetooth' => 'bluetooth device',
+ ),
+ 'fr' => array(
+ 'notebooks' => 'notebook',
+ 'wifi' => 'wifi card',
+ 'videocards' => 'video card',
+ 'printers' => 'printer',
+ 'scanners' => 'scanner',
+ 'threegcards' => '3G-card',
+ 'soundcards' => 'soundcard',
+ 'webcams' => 'webcam',
+ 'bluetooth' => 'bluetooth device',
+ ),
+ );
+
+ public static $plural = array(
+ 'en' => array(
+ 'notebooks' => 'notebooks',
+ 'wifi' => 'wifi cards',
+ 'videocards' => 'video cards',
+ 'printers' => 'printers',
+ 'scanners' => 'scanners',
+ 'threegcards' => '3G-cards',
+ 'soundcards' => 'soundcards',
+ 'webcams' => 'webcams',
+ 'bluetooth' => 'bluetooth devices',
+ ),
+ 'it' => array(
+ 'notebooks' => 'notebooks',
+ 'wifi' => 'wifi cards',
+ 'videocards' => 'video cards',
+ 'printers' => 'printers',
+ 'scanners' => 'scanners',
+ 'threegcards' => '3G-cards',
+ 'soundcards' => 'soundcards',
+ 'webcams' => 'webcams',
+ 'bluetooth' => 'bluetooth devices',
+ ),
+ 'es' => array(
+ 'notebooks' => 'notebooks',
+ 'wifi' => 'wifi cards',
+ 'videocards' => 'video cards',
+ 'printers' => 'printers',
+ 'scanners' => 'scanners',
+ 'threegcards' => '3G-cards',
+ 'soundcards' => 'soundcards',
+ 'webcams' => 'webcams',
+ 'bluetooth' => 'bluetooth devices',
+ ),
+ 'fr' => array(
+ 'notebooks' => 'notebooks',
+ 'wifi' => 'wifi cards',
+ 'videocards' => 'video cards',
+ 'printers' => 'printers',
+ 'scanners' => 'scanners',
+ 'threegcards' => '3G-cards',
+ 'soundcards' => 'soundcards',
+ 'webcams' => 'webcams',
+ 'bluetooth' => 'bluetooth devices',
+ ),
+ );
+
public static function sanitize($lang = 'en')
{
return (in_array($lang,self::$allowed)) ? sanitizeAll($lang) : 'en';
@@ -566,161 +660,7 @@ class MyStrings
{
public static $view = array(
-
- 'en' => array(
- 'notebooks' => array(
- 'element' => 'notebook'
- ),
-
- 'wifi' => array(
- 'element' => 'wifi card'
- ),
-
- 'videocards'=> array(
- 'element' => 'video card'
- ),
-
- 'printers'=> array(
- 'element' => 'printer'
- ),
-
- 'scanners'=> array(
- 'element' => 'scanner'
- ),
-
- 'threegcards' => array(
- 'element' => '3G-card',
- ),
-
- 'soundcards' => array(
- 'element' => 'sound card',
- ),
-
- 'webcams' => array(
- 'element' => 'webcam',
- ),
-
- 'bluetooth' => array(
- 'element' => 'bluetooth',
- ),
- ),
-
- 'fr' => array(
-
- 'notebooks' => array(
- 'element' => 'notebook'
- ),
-
- 'wifi' => array(
- 'element' => 'wifi card'
- ),
-
- 'videocards'=> array(
- 'element' => 'video card'
- ),
-
- 'printers'=> array(
- 'element' => 'printer'
- ),
-
- 'scanners'=> array(
- 'element' => 'scanner'
- ),
-
- 'threegcards' => array(
- 'element' => '3G-card',
- ),
-
- 'soundcards' => array(
- 'element' => 'sound card',
- ),
-
- 'webcams' => array(
- 'element' => 'webcam',
- ),
-
- 'bluetooth' => array(
- 'element' => 'bluetooth',
- ),
- ),
-
- 'it' => array(
-
- 'notebooks' => array(
- 'element' => 'notebook'
- ),
-
- 'wifi' => array(
- 'element' => 'wifi card'
- ),
-
- 'videocards'=> array(
- 'element' => 'video card'
- ),
-
- 'printers'=> array(
- 'element' => 'printer'
- ),
-
- 'scanners'=> array(
- 'element' => 'scanner'
- ),
- 'threegcards' => array(
- 'element' => '3G-card',
- ),
-
- 'soundcards' => array(
- 'element' => 'sound card',
- ),
-
- 'webcams' => array(
- 'element' => 'webcam',
- ),
-
- 'bluetooth' => array(
- 'element' => 'bluetooth',
- ),
- ),
-
- 'es' => array(
-
- 'notebooks' => array(
- 'element' => 'notebook'
- ),
-
- 'wifi' => array(
- 'element' => 'wifi card'
- ),
-
- 'videocards'=> array(
- 'element' => 'video card'
- ),
-
- 'printers'=> array(
- 'element' => 'printer'
- ),
-
- 'scanners'=> array(
- 'element' => 'scanner'
- ),
-
- 'threegcards' => array(
- 'element' => '3G-card',
- ),
-
- 'soundcards' => array(
- 'element' => 'sound card',
- ),
-
- 'webcams' => array(
- 'element' => 'webcam',
- ),
-
- 'bluetooth' => array(
- 'element' => 'bluetooth',
- ),
- ),
);
//type => controller