Index: trunk/extensions/SemanticForms/specials/SF_CreateProperty.php |
— | — | @@ -45,12 +45,14 @@ |
46 | 46 | $text .= ' ' . wfMsgForContent('sf_property_linkstoform', $default_form_tag); |
47 | 47 | } |
48 | 48 | if ($allowed_values_str != '') { |
49 | | - $text .= "\n\n" . wfMsgForContent('sf_property_allowedvals'); |
50 | 49 | // replace the comma substitution character that has no chance of |
51 | 50 | // being included in the values list - namely, the ASCII beep |
52 | 51 | global $sfgListSeparator; |
53 | 52 | $allowed_values_str = str_replace("\\$sfgListSeparator", "\a", $allowed_values_str); |
54 | 53 | $allowed_values_array = explode($sfgListSeparator, $allowed_values_str); |
| 54 | + |
| 55 | + $text .= "\n\n" . wfMsgExtForContent('sf_property_allowedvals', 'parsemag', count( $allowed_values_array ) ); |
| 56 | + |
55 | 57 | foreach ($allowed_values_array as $i => $value) { |
56 | 58 | // replace beep back with comma, trim |
57 | 59 | $value = str_replace("\a", $sfgListSeparator, trim($value)); |
Index: trunk/extensions/SemanticForms/languages/SF_Messages.php |
— | — | @@ -106,7 +106,7 @@ |
107 | 107 | // content messages |
108 | 108 | 'sf_property_isproperty' => 'This is a property of type $1.', |
109 | 109 | 'sf_property_linkstoform' => 'It links to pages that use the form $1.', |
110 | | - 'sf_property_allowedvals' => 'The allowed values for this property are:', |
| 110 | + 'sf_property_allowedvals' => 'The allowed {{PLURAL:$1|value for this property is|values for this property are}}:', |
111 | 111 | 'sf_template_docu' => 'This is the \'$1\' template. |
112 | 112 | It should be called in the following format:', |
113 | 113 | 'sf_template_docufooter' => 'Edit the page to see the template text.', |