Index: trunk/extensions/Wikidata/SpecialLanguages.i18n.php |
— | — | @@ -90,6 +90,8 @@ |
91 | 91 | 'ow_transaction_is_latest' => 'Is latest', |
92 | 92 | 'ow_transaction_class_member' => 'Class member', |
93 | 93 | 'ow_transaction_object' => 'Object', |
| 94 | + 'ow_transaction_first_dm' => 'First defined meaning', |
| 95 | + 'ow_transaction_second_dm' => 'Second defined meaning', |
94 | 96 | |
95 | 97 | 'conceptmapping' => 'Wikidata: Concept mapping', |
96 | 98 | 'ow_conceptmapping_title' => 'Concept Mapping', |
— | — | @@ -200,6 +202,12 @@ |
201 | 203 | It might be lost. |
202 | 204 | Please contact the server operator or administrator.", |
203 | 205 | |
| 206 | + 'ow_class_attr_type_dm' => 'Defined meaning', |
| 207 | + 'ow_class_attr_type_xlate' => 'Translatable text', |
| 208 | + 'ow_class_attr_type_plain' => 'Plain text', |
| 209 | + 'ow_class_attr_type_link' => 'Link', |
| 210 | + 'ow_class_attr_type_option' => 'Option list', |
| 211 | + |
204 | 212 | 'needstranslation' => 'Wikidata: Expressions needing translation', |
205 | 213 | 'ow_needs_xlation_title' => 'Expressions needing translation', |
206 | 214 | 'ow_needs_xlation_source_lang' => 'Source language:', |
Index: trunk/extensions/Wikidata/OmegaWiki/Editor.php |
— | — | @@ -1277,11 +1277,11 @@ |
1278 | 1278 | class ClassAttributesTypeEditor extends SelectEditor { |
1279 | 1279 | protected function getOptions() { |
1280 | 1280 | return array( |
1281 | | - 'DM' => 'Defined meaning', |
1282 | | - 'TRNS' => 'Translatable text', |
1283 | | - 'TEXT' => 'Plain text', |
1284 | | - 'URL' => 'Link', |
1285 | | - 'OPTN' => 'Option list' |
| 1281 | + 'DM' => wfMsg('ow_class_attr_type_dm'), |
| 1282 | + 'TRNS' => wfMsg('ow_class_attr_type_xlate'), |
| 1283 | + 'TEXT' => wfMsg('ow_class_attr_type_plain'), |
| 1284 | + 'URL' => wfMsg('ow_class_attr_type_link'), |
| 1285 | + 'OPTN' => wfMsg('ow_class_attr_type_option') |
1286 | 1286 | ); |
1287 | 1287 | } |
1288 | 1288 | } |
Index: trunk/extensions/Wikidata/OmegaWiki/WikiDataGlobals.php |
— | — | @@ -23,7 +23,7 @@ |
24 | 24 | $wgCollectionMembershipAttributeName, |
25 | 25 | $wgDefinedMeaningAttributesAttributeName, |
26 | 26 | $wgDefinedMeaningAttributeName, |
27 | | - $wgDefinedMeaningReferenceAttributeName, |
| 27 | +# $wgDefinedMeaningReferenceAttributeName, |
28 | 28 | $wgDefinitionAttributeName, |
29 | 29 | $wgLanguageAttributeName, |
30 | 30 | $wgExactMeaningsAttributeName, |
— | — | @@ -68,8 +68,8 @@ |
69 | 69 | $wgCollectionMembershipAttributeName = "Collection membership"; |
70 | 70 | $wgDefinitionAttributeName = "Definition"; |
71 | 71 | $wgDefinedMeaningAttributesAttributeName = "Annotation"; |
72 | | -$wgDefinedMeaningAttributeName = "Defined meaning"; |
73 | | -$wgDefinedMeaningReferenceAttributeName = "Defined meaning"; |
| 72 | +#$wgDefinedMeaningAttributeName = "Defined meaning"; |
| 73 | +#$wgDefinedMeaningReferenceAttributeName = "Defined meaning"; |
74 | 74 | $wgExactMeaningsAttributeName = "Exact meanings"; |
75 | 75 | $wgExpressionAttributeName = "Expression"; |
76 | 76 | $wgExpressionMeaningsAttributeName = "Expression meanings"; |
Index: trunk/extensions/Wikidata/OmegaWiki/SpecialTransaction.php |
— | — | @@ -170,8 +170,8 @@ |
171 | 171 | |
172 | 172 | $o->updatedSyntranses = new Attribute('updated-syntranses', wfMsg('ow_SynonymsAndTranslations'), $o->updatedSyntransesStructure); |
173 | 173 | |
174 | | - $o->firstMeaning = new Attribute('first-meaning', "First defined meaning", $o->definedMeaningReferenceStructure); |
175 | | - $o->secondMeaning = new Attribute('second-meaning', "Second defined meaning", $o->definedMeaningReferenceStructure); |
| 174 | + $o->firstMeaning = new Attribute('first-meaning', wfMsg('ow_transaction_first_dm'), $o->definedMeaningReferenceStructure); |
| 175 | + $o->secondMeaning = new Attribute('second-meaning', wfMsg('ow_transaction_second_dm'), $o->definedMeaningReferenceStructure); |
176 | 176 | |
177 | 177 | $o->updatedRelationsStructure = new Structure( |
178 | 178 | $o->rollBack, |