Index: trunk/extensions/Wikidata/SpecialLanguages.i18n.php |
— | — | @@ -116,8 +116,11 @@ |
117 | 117 | 'ow_TranslatedText' => 'Translated text', |
118 | 118 | 'ow_TranslatedTextAttributeValue' => 'Text', |
119 | 119 | 'ow_TranslatedTextAttributeValues' => 'Translatable texts', |
| 120 | + 'ow_Label' => 'Label', |
| 121 | + 'ow_Link' => 'Link', |
120 | 122 | 'ow_LinkAttribute' => 'Property', |
121 | 123 | 'ow_LinkAttributeValues' => 'Links', |
| 124 | + 'ow_URL' => 'URL', |
122 | 125 | 'ow_Property' => 'Property', |
123 | 126 | 'ow_Value' => 'Value', |
124 | 127 | 'ow_meaningsoftitle' => 'Meanings of "$1"', |
Index: trunk/extensions/Wikidata/OmegaWiki/OmegaWikiAttributes.php |
— | — | @@ -202,9 +202,9 @@ |
203 | 203 | $t->textAttributeValuesStructure = new Structure("text-attribute-values", $t->textAttributeId, $t->textAttributeObject, $t->textAttribute, $t->text); |
204 | 204 | $t->textAttributeValues = new Attribute(null, wfMsgSc("TextAttributeValues"), $t->textAttributeValuesStructure); |
205 | 205 | |
206 | | - $t->linkLabel = new Attribute("label", "Label", "short-text"); |
207 | | - $t->linkURL = new Attribute("url", "URL", "url"); |
208 | | - $t->link = new Attribute("link", "Link", new Structure($t->linkLabel, $t->linkURL)); |
| 206 | + $t->linkLabel = new Attribute("label", wfMsg('ow_Label'), "short-text"); |
| 207 | + $t->linkURL = new Attribute("url", wfMsg('ow_URL'), "url"); |
| 208 | + $t->link = new Attribute("link", wfMsg('ow_Link'), new Structure($t->linkLabel, $t->linkURL)); |
209 | 209 | $t->linkAttributeId = new Attribute("link-attribute-id", "Attribute identifier", "object-id"); |
210 | 210 | $t->linkAttributeObject = new Attribute("link-attribute-object-id", "Attribute object", "object-id"); |
211 | 211 | $t->linkAttribute = new Attribute("link-attribute", wfMsgSc("LinkAttribute"), $t->definedMeaningReferenceStructure); |