Removed some messages that are on ignore list:
[lhc/web/wiklou.git] / languages / LanguageFo.php
1 <?php
2 /** Faroese (Føroyskt)
3 *
4 * @package MediaWiki
5 * @subpackage Language
6 */
7
8 require_once( 'LanguageUtf8.php');
9
10 if (!$wgCachedMessageArrays) {
11 require_once('MessagesFo.php');
12 }
13
14 class LanguageFo extends LanguageUtf8 {
15 private $mMessagesFo, $mNamespaceNamesFo = null;
16
17 private $mQuickbarSettingsFo = array(
18 'Eingin', 'Fast vinstru', 'Fast høgru', 'Flótandi vinstru'
19 );
20
21 private $mSkinNamesFo = array(
22 'Standardur', 'Nostalgiskur', 'Cologne-bláur', 'Paddington', 'Montparnasse'
23 );
24
25 private $mBookstoreListFo = array(
26 'Bokasolan.fo' => 'http://www.bokasolan.fo/vleitari.asp?haattur=bok.alfa&Heiti=&Hovindur=&Forlag=&innbinding=Oell&bolkur=Allir&prisur=Allir&Aarstal=Oell&mal=Oell&status=Oell&ISBN=$1',
27 );
28
29 function __construct() {
30 parent::__construct();
31
32 global $wgAllMessagesFo;
33 $this->mMessagesFo =& $wgAllMessagesFo;
34
35 global $wgMetaNamespace;
36 $this->mNamespaceNamesFo = array(
37 NS_MEDIA => 'Miðil',
38 NS_SPECIAL => 'Serstakur',
39 NS_MAIN => '',
40 NS_TALK => 'Kjak',
41 NS_USER => 'Brúkari',
42 NS_USER_TALK => 'Brúkari_kjak',
43 NS_PROJECT => $wgMetaNamespace,
44 NS_PROJECT_TALK => $wgMetaNamespace . '_kjak',
45 NS_IMAGE => 'Mynd',
46 NS_IMAGE_TALK => 'Mynd_kjak',
47 NS_MEDIAWIKI => 'MidiaWiki',
48 NS_MEDIAWIKI_TALK => 'MidiaWiki_kjak',
49 NS_TEMPLATE => 'Fyrimynd',
50 NS_TEMPLATE_TALK => 'Fyrimynd_kjak',
51 NS_HELP => 'Hjálp',
52 NS_HELP_TALK => 'Hjálp_kjak',
53 NS_CATEGORY => 'Bólkur',
54 NS_CATEGORY_TALK => 'Bólkur_kjak'
55 );
56
57 }
58
59 function getNamespaces() {
60 return $this->mNamespaceNamesFo + parent::getNamespaces();
61 }
62
63 function getQuickbarSettings() {
64 return $this->mQuickbarSettingsFo;
65 }
66
67 function getSkinNames() {
68 return $this->mSkinNamesFo + parent::getSkinNames();
69 }
70
71 function getBookstoreList() {
72 return $this->mBookstoreListFo + parent::getBookstoreList();
73 }
74
75 function getDateFormats() {
76 return false;
77 }
78
79 function getMessage( $key ) {
80 if( isset( $this->mMessagesFo[$key] ) ) {
81 return $this->mMessagesFo[$key];
82 } else {
83 return parent::getMessage( $key );
84 }
85 }
86
87 function getAllMessages() {
88 return $this->mMessagesFo;
89 }
90
91 function timeDateSeparator( $format ) {
92 return ' kl. ';
93 }
94
95 function timeBeforeDate() {
96 return false;
97 }
98
99 function formatMonth( $month, $format ) {
100 return $this->getMonthAbbreviation( $month );
101 }
102
103 function formatDay( $day, $format ) {
104 return $this->formatNum( 0 + $day, true ) . '.';
105 }
106
107 }
108
109 ?>