* (bug 5432) Fix inconsistencies in cookie names when using table prefixes
[mediawiki.git] / languages / LanguageHe.php
blob9e8f7bb9f113173908019e86c2c16d87e7944f07
1 <?php
2 /**
3 * @package MediaWiki
4 * @subpackage Language
5 */
7 require_once("LanguageUtf8.php");
9 /* private */ $wgNamespaceNamesHe = array(
10 NS_MEDIA => "Media",
11 NS_SPECIAL => "מיוחד",
12 NS_MAIN => "",
13 NS_TALK => "שיחה",
14 NS_USER => "משתמש",
15 NS_USER_TALK => "שיחת_משתמש",
16 NS_PROJECT => $wgMetaNamespace,
17 NS_PROJECT_TALK => "שיחת_" . $wgMetaNamespace,
18 NS_IMAGE => "תמונה",
19 NS_IMAGE_TALK => "שיחת_תמונה",
20 NS_MEDIAWIKI => "מדיה_ויקי",
21 NS_MEDIAWIKI_TALK => "שיחת_מדיה_ויקי",
22 NS_TEMPLATE => "תבנית",
23 NS_TEMPLATE_TALK => "שיחת_תבנית",
24 NS_HELP => "עזרה",
25 NS_HELP_TALK => "שיחת_עזרה",
26 NS_CATEGORY => "קטגוריה",
27 NS_CATEGORY_TALK => "שיחת_קטגוריה",
28 ) + $wgNamespaceNamesEn;
30 /* private */ $wgQuickbarSettingsHe = array(
31 "ללא", "קבוע משמאל", "קבוע מימין", "צף משמאל", "צף מימין"
34 /* private */ $wgSkinNamesHe = array(
35 'standard' => "רגיל",
36 'nostalgia' => "נוסטלגי",
37 'cologneblue' => "מים כחולים",
38 'davinci' => "דה-וינצ'י",
39 'mono' => 'Mono',
40 'monobook' => 'MonoBook',
41 'myskin' => 'MySkin',
42 'chick' => 'Chick'
43 ) + $wgSkinNamesEn;
47 /* private */ $wgBookstoreListHe = array(
48 "מיתוס" => "http://www.mitos.co.il/ ",
49 "iBooks" => "http://www.ibooks.co.il/",
50 "Barnes & Noble" => "http://search.barnesandnoble.com/bookSearch/isbnInquiry.asp?isbn=$1",
51 "Amazon.com" => "http://www.amazon.com/exec/obidos/ISBN=$1"
54 if (!$wgCachedMessageArrays) {
55 require_once('MessagesHe.php');
58 class LanguageHe extends LanguageUtf8 {
60 function getDefaultUserOptions () {
61 $opt = Language::getDefaultUserOptions();
62 $opt["quickbar"]=2;
63 return $opt;
66 function getBookstoreList() {
67 global $wgBookstoreListHe ;
68 return $wgBookstoreListHe ;
71 function getNamespaces() {
72 global $wgNamespaceNamesHe;
73 return $wgNamespaceNamesHe;
76 function getQuickbarSettings() {
77 global $wgQuickbarSettingsHe;
78 return $wgQuickbarSettingsHe;
81 function getSkinNames() {
82 global $wgSkinNamesHe;
83 return $wgSkinNamesHe;
86 function getMessage( $key ) {
87 global $wgAllMessagesHe;
88 if(array_key_exists($key, $wgAllMessagesHe))
89 return $wgAllMessagesHe[$key];
90 else
91 return parent::getMessage($key);
94 function isRTL() { return true; }
96 function fallback8bitEncoding() { return "iso8859-8"; }