Index: trunk/phase3/languages/LanguageFa.php |
— | — | @@ -76,17 +76,7 @@ |
77 | 77 | "nocache" => "از کار انداختن حافظهی نهانی صفحات" |
78 | 78 | ); |
79 | 79 | |
80 | | -/* private */ $wgWeekdayNamesFa = array( |
81 | | - "یکشنبه", "دوشنبه", "سهشنبه", "چهارشنبه", "پنجشنبه", |
82 | | - "جمعه", "شنبه" |
83 | | -); |
84 | 80 | |
85 | | -/* private */ $wgMonthNamesFa = array( |
86 | | - "ژانویه", "فوریه", "مارس", "آوریل", "مه", "ژوئن", |
87 | | - "ژوئیه", "اوت", "سپتامبر", "اکتبر", "نوامبر", |
88 | | - "دسامبر" |
89 | | -); |
90 | | - |
91 | 81 | # All special pages have to be listed here: a description of "" |
92 | 82 | # will make them not show up on the "Special Pages" page, which |
93 | 83 | # is the right thing for some of them (such as the "targeted" ones). |
— | — | @@ -146,7 +136,40 @@ |
147 | 137 | #------------------------------------------------------------------- |
148 | 138 | |
149 | 139 | /* private */ $wgAllMessagesFa = array( |
| 140 | +# Dates |
150 | 141 | |
| 142 | +'sunday' => "یکشنبه", |
| 143 | +'monday' => "دوشنبه", |
| 144 | +'tuesday' => "سهشنبه", |
| 145 | +'wednesday' => "چهارشنبه", |
| 146 | +'thursday' => "پنجشنبه", |
| 147 | +'friday' => "جمعه", |
| 148 | +'saturday' => "شنبه", |
| 149 | +'january' => "ژانویه", |
| 150 | +'february' => "فوریه", |
| 151 | +'march' => "مارس", |
| 152 | +'april' => "آوریل", |
| 153 | +'may_long' => "مه", |
| 154 | +'june' => "ژوئن", |
| 155 | +'july' => "ژوئیه", |
| 156 | +'august' => "اوت", |
| 157 | +'september' => "سپتامبر", |
| 158 | +'october' => "اکتبر", |
| 159 | +'november' => "نوامبر", |
| 160 | +'december' => "دسامبر", |
| 161 | +'jan' => "ژانویه", |
| 162 | +'feb' => "فوریه", |
| 163 | +'mar' => "مارس", |
| 164 | +'apr' => "آوریل", |
| 165 | +'may' => "مه", |
| 166 | +'jun' => "ژوئن", |
| 167 | +'jul' => "ژوئیه", |
| 168 | +'aug' => "اوت", |
| 169 | +'sep' => "سپتامبر", |
| 170 | +'oct' => "اکتبر", |
| 171 | +'nov' => "نوامبر", |
| 172 | +'dec' => "دسامبر", |
| 173 | + |
151 | 174 | # Bits of text used by many pages: |
152 | 175 | # |
153 | 176 | "categories" => "ردههای صفحات", |
— | — | @@ -1137,24 +1160,6 @@ |
1138 | 1161 | return $wgUserTogglesFa; |
1139 | 1162 | } |
1140 | 1163 | |
1141 | | - function getMonthName( $key ) |
1142 | | - { |
1143 | | - global $wgMonthNamesFa; |
1144 | | - return $wgMonthNamesFa[$key-1]; |
1145 | | - } |
1146 | | - |
1147 | | - function getMonthAbbreviation( $key ) |
1148 | | - { |
1149 | | - /* Persian doesn't use abbreviations for Gregorian month names */ |
1150 | | - return $this->getMonthName( $key ); |
1151 | | - } |
1152 | | - |
1153 | | - function getWeekdayName( $key ) |
1154 | | - { |
1155 | | - global $wgWeekdayNamesFa; |
1156 | | - return $wgWeekdayNamesFa[$key-1]; |
1157 | | - } |
1158 | | - |
1159 | 1164 | function getValidSpecialPages() |
1160 | 1165 | { |
1161 | 1166 | global $wgValidSpecialPagesFa; |
Index: trunk/phase3/languages/LanguageFy.php |
— | — | @@ -80,22 +80,6 @@ |
81 | 81 | /* private */ $wgBookstoreListFy = array( |
82 | 82 | ); |
83 | 83 | |
84 | | -/* private */ $wgWeekdayNamesFy = array( |
85 | | - "snein", "moandei", "tiisdei", "woansdei", "tongersdei", |
86 | | - "freed", "sneon" |
87 | | -); |
88 | | - |
89 | | -/* private */ $wgMonthNamesFy = array( |
90 | | - "jannewaris", "febrewaris", "maart", "april", "maaie", "juny", |
91 | | - "july", "augustus", "septimber", "oktober", "novimber", |
92 | | - "decimber" |
93 | | -); |
94 | | - |
95 | | -/* private */ $wgMonthAbbreviationsFy = array( |
96 | | - "jan", "feb", "mar", "apr", "mai", "jun", "jul", "aug", |
97 | | - "sep", "okt", "nov", "dec" |
98 | | -); |
99 | | - |
100 | 84 | # All special pages have to be listed here: a description of "" |
101 | 85 | # will make them not show up on the "Special Pages" page, which |
102 | 86 | # is the right thing for some of them (such as the "targeted" ones). |
— | — | @@ -148,7 +132,40 @@ |
149 | 133 | ); |
150 | 134 | |
151 | 135 | /* private */ $wgAllMessagesFy = array( |
| 136 | +# Dates |
| 137 | +'sunday' => 'snein', |
| 138 | +'monday' => 'moandei', |
| 139 | +'tuesday' => 'tiisdei', |
| 140 | +'wednesday' => 'woansdei', |
| 141 | +'thursday' => 'tongersdei', |
| 142 | +'friday' => 'freed', |
| 143 | +'saturday' => 'sneon', |
| 144 | +'january' => 'jannewaris', |
| 145 | +'february' => 'febrewaris', |
| 146 | +'march' => 'maart', |
| 147 | +'april' => 'april', |
| 148 | +'may_long' => 'maaie', |
| 149 | +'june' => 'juny', |
| 150 | +'july' => 'july', |
| 151 | +'august' => 'augustus', |
| 152 | +'september' => 'septimber', |
| 153 | +'october' => 'oktober', |
| 154 | +'november' => 'novimber', |
| 155 | +'december' => 'decimber', |
| 156 | +'jan' => 'jan', |
| 157 | +'feb' => 'feb', |
| 158 | +'mar' => 'mar', |
| 159 | +'apr' => 'apr', |
| 160 | +'may' => 'mai', |
| 161 | +'jun' => 'jun', |
| 162 | +'jul' => 'jul', |
| 163 | +'aug' => 'aug', |
| 164 | +'sep' => 'sep', |
| 165 | +'oct' => 'okt', |
| 166 | +'nov' => 'nov', |
| 167 | +'dec' => 'dec', |
152 | 168 | |
| 169 | + |
153 | 170 | # Bits of text used by many pages: |
154 | 171 | # |
155 | 172 | #"linktrail" => "/^([àáèéìíòóùúâêîôûäëïöüa-z]+)(.*)\$/sD", |
— | — | @@ -1062,37 +1079,6 @@ |
1063 | 1080 | return $wgUserTogglesFy; |
1064 | 1081 | } |
1065 | 1082 | |
1066 | | - function getMonthName( $key ) |
1067 | | - { |
1068 | | - global $wgMonthNamesFy; |
1069 | | - return $wgMonthNamesFy[$key-1]; |
1070 | | - } |
1071 | | - |
1072 | | - /* by default we just return base form */ |
1073 | | - function getMonthNameGen( $key ) |
1074 | | - { |
1075 | | - global $wgMonthNamesFy; |
1076 | | - return $wgMonthNamesFy[$key-1]; |
1077 | | - } |
1078 | | - |
1079 | | - function getMonthRegex() |
1080 | | - { |
1081 | | - global $wgMonthNamesFy; |
1082 | | - return implode( "|", $wgMonthNamesFy ); |
1083 | | - } |
1084 | | - |
1085 | | - function getMonthAbbreviation( $key ) |
1086 | | - { |
1087 | | - global $wgMonthAbbreviationsFy; |
1088 | | - return $wgMonthAbbreviationsFy[$key-1]; |
1089 | | - } |
1090 | | - |
1091 | | - function getWeekdayName( $key ) |
1092 | | - { |
1093 | | - global $wgWeekdayNamesFy; |
1094 | | - return $wgWeekdayNamesFy[$key-1]; |
1095 | | - } |
1096 | | - |
1097 | 1083 | # Inherit userAdjust() |
1098 | 1084 | |
1099 | 1085 | function date( $ts, $adj = false ) |
Index: trunk/phase3/languages/LanguageEs.php |
— | — | @@ -91,26 +91,45 @@ |
92 | 92 | "Amazon.com" => "http://www.amazon.com/exec/obidos/ISBN=$1" |
93 | 93 | ); |
94 | 94 | |
95 | | -/* private */ $wgWeekdayNamesEs = array( |
96 | | -"Domingo", "Lunes", "Martes", "Miércoles", "Jueves", "Viernes", "Sábado" |
97 | | -); |
98 | 95 | |
99 | | -/* private */ $wgMonthNamesEs = array( |
100 | | - "enero", "febrero", "marzo", "abril", "mayo", "junio", |
101 | | - "julio", "agosto", "septiembre", "octubre", "noviembre", |
102 | | - "diciembre" |
103 | | -); |
104 | | - |
105 | | -/* private */ $wgMonthAbbreviationsEs = array( |
106 | | - "ene", "feb", "mar", "abr", "may", "jun", "jul", "ago", |
107 | | - "sep", "oct", "nov", "dic" |
108 | | -); |
109 | | - |
110 | 96 | # All special pages have to be listed here: a description of "" |
111 | 97 | # will make them not show up on the "Special Pages" page, which |
112 | 98 | # is the right thing for some of them (such as the "targeted" ones). |
113 | 99 | # |
114 | 100 | /* private */ $wgValidSpecialPagesEs = array( |
| 101 | + # Dates |
| 102 | + 'sunday' => 'Domingo', |
| 103 | + 'monday' => 'Lunes', |
| 104 | + 'tuesday' => 'Martes', |
| 105 | + 'wednesday' => 'Miércoles', |
| 106 | + 'thursday' => 'Jueves', |
| 107 | + 'friday' => 'Viernes', |
| 108 | + 'saturday' => 'Sábado', |
| 109 | + 'january' => 'enero', |
| 110 | + 'february' => 'febrero', |
| 111 | + 'march' => 'marzo', |
| 112 | + 'april' => 'abril', |
| 113 | + 'may_long' => 'mayo', |
| 114 | + 'june' => 'junio', |
| 115 | + 'july' => 'julio', |
| 116 | + 'august' => 'agosto', |
| 117 | + 'september' => 'septiembre', |
| 118 | + 'october' => 'octubre', |
| 119 | + 'november' => 'noviembre', |
| 120 | + 'december' => 'diciembre', |
| 121 | + 'jan' => 'ene', |
| 122 | + 'feb' => 'feb', |
| 123 | + 'mar' => 'mar', |
| 124 | + 'apr' => 'abr', |
| 125 | + 'may' => 'may', |
| 126 | + 'jun' => 'jun', |
| 127 | + 'jul' => 'jul', |
| 128 | + 'aug' => 'ago', |
| 129 | + 'sep' => 'sep', |
| 130 | + 'oct' => 'oct', |
| 131 | + 'nov' => 'nov', |
| 132 | + 'dec' => 'dic', |
| 133 | + |
115 | 134 | "Userlogin" => "", |
116 | 135 | "Userlogout" => "", |
117 | 136 | "Preferences" => "Preferencias de usuario", |
— | — | @@ -1023,21 +1042,6 @@ |
1024 | 1043 | } |
1025 | 1044 | |
1026 | 1045 | |
1027 | | - function getMonthName( $key ) { |
1028 | | - global $wgMonthNamesEs; |
1029 | | - return $wgMonthNamesEs[$key-1]; |
1030 | | - } |
1031 | | - |
1032 | | - function getMonthAbbreviation( $key ) { |
1033 | | - global $wgMonthAbbreviationsEs; |
1034 | | - return $wgMonthAbbreviationsEs[$key-1]; |
1035 | | - } |
1036 | | - |
1037 | | - function getWeekdayName( $key ) { |
1038 | | - global $wgWeekdayNamesEs; |
1039 | | - return $wgWeekdayNamesEs[$key-1]; |
1040 | | - } |
1041 | | - |
1042 | 1046 | # Inherit userAdjust() |
1043 | 1047 | |
1044 | 1048 | function shortdate( $ts, $adj = false ) { |
Index: trunk/phase3/languages/LanguageEt.php |
— | — | @@ -65,22 +65,7 @@ |
66 | 66 | "Amazon.com" => "http://www.amazon.com/exec/obidos/ISBN=$1" |
67 | 67 | ); |
68 | 68 | |
69 | | -/* private */ $wgWeekdayNamesEt = array( |
70 | | - "pühapäev", "esmaspäev", "teisipäev", "kolmapäev", "neljapäev", |
71 | | - "reede", "laupäev" |
72 | | -); |
73 | 69 | |
74 | | -/* private */ $wgMonthNamesEt = array( |
75 | | - "jaanuar", "veebruar", "märts", "aprill", "mai", "juuni", |
76 | | - "juuli", "august", "september", "oktoober", "november", |
77 | | - "detsember" |
78 | | -); |
79 | | - |
80 | | -/* private */ $wgMonthAbbreviationsEt = array( |
81 | | - "Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", |
82 | | - "Sep", "Oct", "Nov", "Dec" |
83 | | -); |
84 | | - |
85 | 70 | # All special pages have to be listed here: a description of "" |
86 | 71 | # will make them not show up on the "Special Pages" page, which |
87 | 72 | # is the right thing for some of them (such as the "targeted" ones). |
— | — | @@ -132,7 +117,41 @@ |
133 | 118 | ); |
134 | 119 | |
135 | 120 | /* private */ $wgAllMessagesEt = array( |
| 121 | +# Dates |
136 | 122 | |
| 123 | +'sunday' => 'pühapäev', |
| 124 | +'monday' => 'esmaspäev', |
| 125 | +'tuesday' => 'teisipäev', |
| 126 | +'wednesday' => 'kolmapäev', |
| 127 | +'thursday' => 'neljapäev', |
| 128 | +'friday' => 'reede', |
| 129 | +'saturday' => 'laupäev', |
| 130 | +'january' => 'jaanuar', |
| 131 | +'february' => 'veebruar', |
| 132 | +'march' => 'märts', |
| 133 | +'april' => 'aprill', |
| 134 | +'may_long' => 'mai', |
| 135 | +'june' => 'juuni', |
| 136 | +'july' => 'juuli', |
| 137 | +'august' => 'august', |
| 138 | +'september' => 'september', |
| 139 | +'october' => 'oktoober', |
| 140 | +'november' => 'november', |
| 141 | +'december' => 'detsember', |
| 142 | +'jan' => 'Jan', |
| 143 | +'feb' => 'Feb', |
| 144 | +'mar' => 'Mar', |
| 145 | +'apr' => 'Apr', |
| 146 | +'may' => 'May', |
| 147 | +'jun' => 'Jun', |
| 148 | +'jul' => 'Jul', |
| 149 | +'aug' => 'Aug', |
| 150 | +'sep' => 'Sep', |
| 151 | +'oct' => 'Oct', |
| 152 | +'nov' => 'Nov', |
| 153 | +'dec' => 'Dec', |
| 154 | + |
| 155 | + |
137 | 156 | # Bits of text used by many pages: |
138 | 157 | # |
139 | 158 | "linktrail" => "/^([a-z]+)(.*)\$/sD", |
— | — | @@ -921,31 +940,6 @@ |
922 | 941 | return $wgUserTogglesEt; |
923 | 942 | } |
924 | 943 | |
925 | | - function getMonthName( $key ) |
926 | | - { |
927 | | - global $wgMonthNamesEt; |
928 | | - return $wgMonthNamesEt[$key-1]; |
929 | | - } |
930 | | - |
931 | | - /* by default we just return base form */ |
932 | | - function getMonthNameGen( $key ) |
933 | | - { |
934 | | - global $wgMonthNamesEt; |
935 | | - return $wgMonthNamesEt[$key-1]; |
936 | | - } |
937 | | - |
938 | | - function getMonthAbbreviation( $key ) |
939 | | - { |
940 | | - global $wgMonthAbbreviationsEt; |
941 | | - return $wgMonthAbbreviationsEt[$key-1]; |
942 | | - } |
943 | | - |
944 | | - function getWeekdayName( $key ) |
945 | | - { |
946 | | - global $wgWeekdayNamesEt; |
947 | | - return $wgWeekdayNamesEt[$key-1]; |
948 | | - } |
949 | | - |
950 | 944 | function getValidSpecialPages() |
951 | 945 | { |
952 | 946 | global $wgValidSpecialPagesEt; |