Index: trunk/extensions/SemanticMediaWiki/includes/articlepages/SMW_ConceptPage.php |
— | — | @@ -78,7 +78,7 @@ |
79 | 79 | $r .= '<a name="SMWResults"></a>' . $nav . "<div id=\"mw-pages\">\n"; |
80 | 80 | |
81 | 81 | $r .= '<h2>' . wfMsg('smw_concept_header',$ti) . "</h2>\n"; |
82 | | - $r .= wfMsg('smw_conceptarticlecount', min($this->limit, count($this->articles))) . smwfEncodeMessages($this->m_errors) . "\n"; |
| 82 | + $r .= wfMsgExt('smw_conceptarticlecount', array( 'parsemag' ), min($this->limit, count($this->articles))) . smwfEncodeMessages($this->m_errors) . "\n"; |
83 | 83 | |
84 | 84 | $r .= $this->formatList(); |
85 | 85 | $r .= "\n</div>" . $nav; |
Index: trunk/extensions/SemanticMediaWiki/includes/articlepages/SMW_TypePage.php |
— | — | @@ -74,7 +74,7 @@ |
75 | 75 | $r .= '<a name="SMWResults"></a>' . $nav . "<div id=\"mw-pages\">\n"; |
76 | 76 | |
77 | 77 | $r .= '<h2>' . wfMsg('smw_type_header',$ti) . "</h2>\n"; |
78 | | - $r .= wfMsg('smw_typearticlecount', min($this->limit, count($this->articles))) . "\n"; |
| 78 | + $r .= wfMsgExt('smw_typearticlecount', array( 'parsemag' ), min($this->limit, count($this->articles))) . "\n"; |
79 | 79 | |
80 | 80 | $r .= $this->formatList(); |
81 | 81 | $r .= "\n</div>" . $nav; |
Index: trunk/extensions/SemanticMediaWiki/includes/articlepages/SMW_PropertyPage.php |
— | — | @@ -88,7 +88,7 @@ |
89 | 89 | $nav = $this->getNavigationLinks(); |
90 | 90 | if (count($this->subproperties) > 0) { |
91 | 91 | $r .= "<div id=\"mw-subcategories\">\n<h2>" . wfMsg('smw_subproperty_header',$ti) . "</h2>\n"; |
92 | | - $r .= '<p>' . wfMsg('smw_subpropertyarticlecount', min($this->limit, count($this->subproperties))) . "</p>\n"; |
| 92 | + $r .= '<p>' . wfMsgExt('smw_subpropertyarticlecount', array( 'parsemag' ), min($this->limit, count($this->subproperties))) . "</p>\n"; |
93 | 93 | if (count($this->subproperties) < 6) { |
94 | 94 | $r .= $this->shortList(0,count($this->subproperties), $this->subproperties); |
95 | 95 | } else { |
— | — | @@ -98,7 +98,7 @@ |
99 | 99 | } |
100 | 100 | $r .= '<a name="SMWResults"></a>' . $nav . "<div id=\"mw-pages\">\n"; |
101 | 101 | $r .= '<h2>' . wfMsg('smw_attribute_header',$ti) . "</h2>\n"; |
102 | | - $r .= '<p>' . wfMsg('smw_attributearticlecount', min($this->limit, count($this->articles))) . "</p>\n"; |
| 102 | + $r .= '<p>' . wfMsgExt('smw_attributearticlecount', array( 'parsemag' ), min($this->limit, count($this->articles))) . "</p>\n"; |
103 | 103 | $r .= $this->subjectObjectList() . "\n</div>" . $nav; |
104 | 104 | } |
105 | 105 | wfProfileOut( __METHOD__ . ' (SMW)'); |
Index: trunk/extensions/SemanticMediaWiki/languages/SMW_Messages.php |
— | — | @@ -113,13 +113,13 @@ |
114 | 114 | |
115 | 115 | // Messages for pages of types and properties |
116 | 116 | 'smw_type_header' => 'Properties of type "$1"', |
117 | | - 'smw_typearticlecount' => 'Showing $1 properties using this type.', |
| 117 | + 'smw_typearticlecount' => 'Showing $1 {{PLURAL:$1|property|properties}} using this type.', |
118 | 118 | 'smw_attribute_header' => 'Pages using the property "$1"', |
119 | | - 'smw_attributearticlecount' => 'Showing $1 pages using this property.', |
| 119 | + 'smw_attributearticlecount' => 'Showing $1 {{PLURAL:$1|page|pages}} using this property.', |
120 | 120 | 'smw_subproperty_header' => 'Subproperties', |
121 | | - 'smw_subpropertyarticlecount' => 'This property has the following $1 subproperties.', |
| 121 | + 'smw_subpropertyarticlecount' => 'This property has the following $1 {{PLURAL:$1|subproperty|subproperties}}.', |
122 | 122 | 'smw_concept_header' => 'Pages of concept "$1"', |
123 | | - 'smw_conceptarticlecount' => 'Showing $1 pages belonging to that concept.', |
| 123 | + 'smw_conceptarticlecount' => 'Showing $1 {{PLURAL:$1|page|pages}} belonging to that concept.', |
124 | 124 | |
125 | 125 | // Messages used in RSS feeds |
126 | 126 | 'smw_rss_description' => '$1 RSS feed', |