Index: trunk/extensions/SemanticMediaWiki/specials/ExportRDF/SMW_SpecialExportRDF.php |
— | — | @@ -661,7 +661,7 @@ |
662 | 662 | |
663 | 663 | // add rdfs:subPropertyOf statements |
664 | 664 | if ($subrel_rel) { |
665 | | - $relations = &smwfGetStore()->getSpecialValues($et->title, SMW_SP_IS_SUBRELATION_OF); |
| 665 | + $relations = &smwfGetStore()->getSpecialValues($et->title, SMW_SP_SUBPROPERTY_OF); |
666 | 666 | foreach ($relations as $relation) { |
667 | 667 | // TODO in future, check type safety relations <-> attributes |
668 | 668 | // TODO check also the type of what I am pointing to (is it a relation or sth else?) |
— | — | @@ -673,7 +673,7 @@ |
674 | 674 | } |
675 | 675 | } |
676 | 676 | if ($subatt_rel) { |
677 | | - $attributes = &smwfGetStore()->getSpecialValues($et->title, SMW_SP_IS_SUBATTRIBUTE_OF); |
| 677 | + $attributes = &smwfGetStore()->getSpecialValues($et->title, SMW_SP_SUBPROPERTY_OF); |
678 | 678 | foreach ($attributes as $attribute) { |
679 | 679 | // TODO in future, check type safety relations <-> attributes |
680 | 680 | // TODO check also the type of what I am pointing to (is it an atrribute or sth else?) |
Index: trunk/extensions/SemanticMediaWiki/includes/SMW_GlobalFunctions.php |
— | — | @@ -9,8 +9,8 @@ |
10 | 10 | define('SMW_SP_HAS_TYPE',1); |
11 | 11 | define('SMW_SP_HAS_URI',2); |
12 | 12 | define('SMW_SP_HAS_CATEGORY',4); |
13 | | -define('SMW_SP_IS_SUBRELATION_OF',3); |
14 | | -define('SMW_SP_IS_SUBATTRIBUTE_OF',5); |
| 13 | +//define('SMW_SP_IS_SUBRELATION_OF',3); // no longer used |
| 14 | +//define('SMW_SP_IS_SUBATTRIBUTE_OF',5); // no longer used |
15 | 15 | define('SMW_SP_MAIN_DISPLAY_UNIT', 6); |
16 | 16 | define('SMW_SP_DISPLAY_UNIT', 7); |
17 | 17 | define('SMW_SP_IMPORTED_FROM',8); |
— | — | @@ -22,6 +22,7 @@ |
23 | 23 | define('SMW_SP_POSSIBLE_VALUE', 14); |
24 | 24 | define('SMW_SP_REDIRECTS_TO', 15); |
25 | 25 | define('SMW_SP_CONVERSION_FACTOR_SI', 16); |
| 26 | +define('SMW_SP_SUBPROPERTY_OF',17); |
26 | 27 | |
27 | 28 | // constants for displaying the factbox |
28 | 29 | define('SMW_FACTBOX_HIDDEN', 1); |
Index: trunk/extensions/SemanticMediaWiki/languages/SMW_LanguageEn.php |
— | — | @@ -225,8 +225,7 @@ |
226 | 226 | //always start upper-case |
227 | 227 | SMW_SP_HAS_TYPE => 'Has type', |
228 | 228 | SMW_SP_HAS_URI => 'Equivalent URI', |
229 | | - SMW_SP_IS_SUBRELATION_OF => 'Is subrelation of', |
230 | | - SMW_SP_IS_SUBATTRIBUTE_OF => 'Is subattribute of', |
| 229 | + SMW_SP_SUBPROPERTY_OF => 'Subproperty of', |
231 | 230 | SMW_SP_MAIN_DISPLAY_UNIT => 'Main display unit', |
232 | 231 | SMW_SP_DISPLAY_UNIT => 'Display unit', |
233 | 232 | SMW_SP_IMPORTED_FROM => 'Imported from', |
Index: trunk/extensions/SemanticMediaWiki/languages/SMW_LanguageRu.php |
— | — | @@ -200,8 +200,7 @@ |
201 | 201 | //always start upper-case |
202 | 202 | SMW_SP_HAS_TYPE => 'Имеет тип', |
203 | 203 | SMW_SP_HAS_URI => 'Эквивалентный URI', |
204 | | - SMW_SP_IS_SUBRELATION_OF => 'Является подчиненным отношением для', |
205 | | - SMW_SP_IS_SUBATTRIBUTE_OF => 'Является подчиненным атрибутом для', |
| 204 | + SMW_SP_SUBPROPERTY_OF => 'Subproperty of', // TODO: translate |
206 | 205 | SMW_SP_MAIN_DISPLAY_UNIT => 'Основная отображаемая единица', |
207 | 206 | SMW_SP_DISPLAY_UNIT => 'Отображаемая единица', |
208 | 207 | SMW_SP_IMPORTED_FROM => 'Импортировано из', |
Index: trunk/extensions/SemanticMediaWiki/languages/SMW_LanguageEs.php |
— | — | @@ -209,8 +209,7 @@ |
210 | 210 | //always start upper-case |
211 | 211 | SMW_SP_HAS_TYPE => 'Tiene tipo de datos', |
212 | 212 | SMW_SP_HAS_URI => 'URI equivalente', |
213 | | - SMW_SP_IS_SUBRELATION_OF => 'Es una subrelación de', |
214 | | - SMW_SP_IS_SUBATTRIBUTE_OF => 'Es un subatributo de', |
| 213 | + SMW_SP_SUBPROPERTY_OF => 'Subproperty of', // TODO: translate |
215 | 214 | SMW_SP_MAIN_DISPLAY_UNIT => 'Unidad de medida principal para la visualización', |
216 | 215 | SMW_SP_DISPLAY_UNIT => 'Unidad de medida', |
217 | 216 | SMW_SP_IMPORTED_FROM => 'Importado de', |
Index: trunk/extensions/SemanticMediaWiki/languages/SMW_LanguageFr.php |
— | — | @@ -210,8 +210,7 @@ |
211 | 211 | //always start upper-case |
212 | 212 | SMW_SP_HAS_TYPE => 'A le type', |
213 | 213 | SMW_SP_HAS_URI => 'URI équivalente', |
214 | | - SMW_SP_IS_SUBRELATION_OF => 'Est une sous-relation de', |
215 | | - SMW_SP_IS_SUBATTRIBUTE_OF => 'Est un sous-attribut de', |
| 214 | + SMW_SP_SUBPROPERTY_OF => 'Subproperty of', // TODO: translate |
216 | 215 | SMW_SP_MAIN_DISPLAY_UNIT => 'Unité de mesure principale pour l\'affichage', |
217 | 216 | SMW_SP_DISPLAY_UNIT => 'Unité de mesure', |
218 | 217 | SMW_SP_IMPORTED_FROM => 'Importé de', |
Index: trunk/extensions/SemanticMediaWiki/languages/SMW_LanguageDe.php |
— | — | @@ -211,8 +211,7 @@ |
212 | 212 | //always start upper-case |
213 | 213 | SMW_SP_HAS_TYPE => 'Hat Datentyp', |
214 | 214 | SMW_SP_HAS_URI => 'Gleichwertige URI', |
215 | | - SMW_SP_IS_SUBRELATION_OF => 'Ist Unterrelation von', |
216 | | - SMW_SP_IS_SUBATTRIBUTE_OF => 'Ist Unterattribut von', |
| 215 | + SMW_SP_SUBPROPERTY_OF => 'Untereigenschaft von', |
217 | 216 | SMW_SP_MAIN_DISPLAY_UNIT => 'Erste Ausgabeeinheit', |
218 | 217 | // SMW_SP_MAIN_DISPLAY_UNIT => 'Primärmaßeinheit für Schirmanzeige', // Great! We really should keep this wonderful translation here! Still, I am not fully certain about my versions either. -- mak |
219 | 218 | SMW_SP_DISPLAY_UNIT => 'Ausgabeeinheit', |
Index: trunk/extensions/SemanticMediaWiki/languages/SMW_LanguagePl.php |
— | — | @@ -246,8 +246,7 @@ |
247 | 247 | //always start upper-case |
248 | 248 | SMW_SP_HAS_TYPE => 'Ma typ', |
249 | 249 | SMW_SP_HAS_URI => 'Równoważne URI', |
250 | | - SMW_SP_IS_SUBRELATION_OF => 'Jest podrelacją', |
251 | | - SMW_SP_IS_SUBATTRIBUTE_OF => 'Jest podatrybutem', |
| 250 | + SMW_SP_SUBPROPERTY_OF => 'Subproperty of', // TODO: translate |
252 | 251 | SMW_SP_MAIN_DISPLAY_UNIT => 'Główna wyświetlana jednostka', |
253 | 252 | SMW_SP_DISPLAY_UNIT => 'Wyświetlana jednostka', |
254 | 253 | SMW_SP_IMPORTED_FROM => 'Zaimportowane z', |
Index: trunk/extensions/SemanticMediaWiki/languages/SMW_LanguageHe.php |
— | — | @@ -218,8 +218,7 @@ |
219 | 219 | //always start upper-case |
220 | 220 | SMW_SP_HAS_TYPE => 'מטיפוס', |
221 | 221 | SMW_SP_HAS_URI => 'מזהה יחודי תואם', |
222 | | - SMW_SP_IS_SUBRELATION_OF => 'זהו תת-יחס של', |
223 | | - SMW_SP_IS_SUBATTRIBUTE_OF => 'זוהי תכונה בת של', |
| 222 | + SMW_SP_SUBPROPERTY_OF => 'Subproperty of', // TODO: translate |
224 | 223 | SMW_SP_MAIN_DISPLAY_UNIT => 'יחידת הצגה ראשית', |
225 | 224 | SMW_SP_DISPLAY_UNIT => 'יחידת הצגה', |
226 | 225 | SMW_SP_IMPORTED_FROM => 'יובא מ', |
Index: trunk/extensions/SemanticMediaWiki/languages/SMW_LanguageSk.php |
— | — | @@ -220,8 +220,7 @@ |
221 | 221 | //always start upper-case |
222 | 222 | SMW_SP_HAS_TYPE => 'Má typ', |
223 | 223 | SMW_SP_HAS_URI => 'Ekvivalent URI', |
224 | | - SMW_SP_IS_SUBRELATION_OF => 'Je podvvzťahom', |
225 | | - SMW_SP_IS_SUBATTRIBUTE_OF => 'Je podatribútom', |
| 224 | + SMW_SP_SUBPROPERTY_OF => 'Subproperty of', // TODO: translate |
226 | 225 | SMW_SP_MAIN_DISPLAY_UNIT => 'Hlavná zobrazovacia jednotka', |
227 | 226 | SMW_SP_DISPLAY_UNIT => 'Zobrazovacia jednotka', |
228 | 227 | SMW_SP_IMPORTED_FROM => 'Importovaný z', |