<?php\r
class wsLang extends cubeMetier {\r
+ public static $idtonew = array('overview' => 1,\r
+ 'normal view' => 2,\r
+ 'zoom in' => 3,\r
+ 'zoom out' => 4,\r
+ 'print' => 5,\r
+ 'tell a friend' => 6,\r
+ 'search' => 7,\r
+ 'add / remove bookmark' => 8,\r
+ 'download pdf' => 9,\r
+ 'help' => 10,\r
+ 'switch between book and overview' => 11,\r
+ 'zoom in and out' => 12,\r
+ 'previous double page' => 13,\r
+ 'frontpage' => 14,\r
+ 'next double page' => 15,\r
+ 'last page' => 16,\r
+ 'click once to zoom in, click again to zoom out' => 17,\r
+ 'roll the mouse wheel to zoom in/out' => 18,\r
+ 'click and drag a corner to switch page' => 19,\r
+ 'click on a bookmark to go to page' => 20,\r
+ 'preparing print' => 21,\r
+ 'right page' => 22,\r
+ 'left page' => 23,\r
+ 'spread' => 24,\r
+ 'entire brochure' => 25,\r
+ 'between pages' => 26,\r
+ 'one page per sheet' => 27,\r
+ 'two pages per sheet' => 28,\r
+ 'print' => 29,\r
+ 'close' => 30,\r
+ 'your name' => 31,\r
+ 'the message' => 32,\r
+ 'the e-mail(s) of your friend(s)' => 33,\r
+ 'send' => 34,\r
+ 'no result found' => 35,\r
+ 'fluidbook' => 36,\r
+ 'press the link below to open Fluidbook:' => 37,\r
+ 'next page with the word' => 38,\r
+ 'previous page' => 39,\r
+ '%total% hits on %pages% pages, %this% hits on this page' => 40,\r
+ 'chapters' => 41,\r
+ 'marked pages' => 42,\r
+ 'you need to enter 3 letters to start searching' => 43,\r
+ 'hit(s)' => 44,\r
+ 'go to page' => 45,\r
+ 'you can\'t bookmark the frontpage' => 46,\r
+ 'click for more information about the product' => 47,\r
+ 'click to open the link' => 48,\r
+ 'click to send an e-mail' => 49,\r
+ 'video' => 50,\r
+ 'go to the page' => 51,\r
+ 'multimedia' => 52,\r
+ 'no result on this page' => 53,\r
+ 'your e-mail' => 54,\r
+ 'use a comma to separate several e-mails' => 55,\r
+ '' => 56,\r
+ 'click to magnify' => 57,\r
+ 'switch between fullscreen and normal' => 58,\r
+ 'drag handle to switch page' => 59,\r
+ 'pages that are bookmarked' => 60,\r
+ 'printing will start automatically when pages are downloaded' => 61,\r
+ 'no bookmarks added' => 62,\r
+ 'functionality dont work when in fullscreen mode' => 63);\r
+\r
protected $lang_id;\r
protected $nom;\r
protected $nsis_lang;\r
protected $public;\r
protected $embeded;\r
protected $traductions;\r
+\r
+ public static function getTraductionWithId($traductions)\r
+ {\r
+ $res = array();\r
+ foreach($traductions as $k => $v) {\r
+ $res[array_search($k, self::$idtonew)] = $v;\r
+ }\r
+ return $res;\r
+ }\r
}\r
\r
?>
\ No newline at end of file