Index: trunk/extensions/SemanticMediaWiki/languages/SMW_Language.php |
— | — | @@ -26,9 +26,9 @@ |
27 | 27 | protected $m_SpecialPropertyAliases = array(); |
28 | 28 | protected $m_Namespaces; |
29 | 29 | protected $m_NamespaceAliases = array(); |
30 | | - /// Twelve strings naming the months. English is always supported in Type:Date, so |
31 | | - /// the default is simply empty (no labels in addition to English) |
32 | | - protected $m_months = array(); |
| 30 | + /// Twelve strings naming the months. English is always supported in Type:Date, but |
| 31 | + /// we still need the English defaults to ensure that labels are returned by getMonthLabel() |
| 32 | + protected $m_months = array("January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December"); |
33 | 33 | /// Twelve strings briefly naming the months. English is always supported in Type:Date, so |
34 | 34 | /// the default is simply empty (no labels in addition to English) |
35 | 35 | protected $m_monthsshort = array(); |
— | — | @@ -54,7 +54,7 @@ |
55 | 55 | |
56 | 56 | /** |
57 | 57 | * Return all labels that are available as names for built-in datatypes. Those |
58 | | - * are the types that users can access via [[has type::...]] (more built-in |
| 58 | + * are the types that users can access via [[has type::...]] (more built-in |
59 | 59 | * types may exist for internal purposes but the user won't need to |
60 | 60 | * know this). The returned array is indexed by (internal) type ids. |
61 | 61 | */ |