Index: trunk/extensions/SemanticWebBrowser/SWB_Settings.php |
— | — | @@ -21,9 +21,9 @@ |
22 | 22 | 'path' => __FILE__, |
23 | 23 | 'name' => 'Semantic Web Browser', |
24 | 24 | 'version' => '0.2', |
25 | | - 'author' => 'Benedikt Kaempgen, Anna Kantorovitch.', |
| 25 | + 'author' => array( 'Benedikt Kaempgen', 'Anna Kantorovitch' ), |
26 | 26 | 'url' => 'http://semantic-mediawiki.org', |
27 | | - 'descriptionmsg' => 'This extension adds a special page (and later a factbox) Browse Wiki and Semantic Web.' |
| 27 | + 'descriptionmsg' => 'swb_desc' |
28 | 28 | ); |
29 | 29 | |
30 | 30 | /** |
— | — | @@ -34,6 +34,4 @@ |
35 | 35 | $swbgToolboxBrowseSemWeb = true; |
36 | 36 | |
37 | 37 | // load global constants and setup functions |
38 | | -require_once( $swbgIP.'SemanticWebBrowser.php' ); |
39 | | - |
40 | | -?> |
\ No newline at end of file |
| 38 | +require_once( $swbgIP.'SemanticWebBrowser.php' ); |
\ No newline at end of file |
Index: trunk/extensions/SemanticWebBrowser/SemanticWebBrowser.alias.php |
— | — | @@ -2,7 +2,7 @@ |
3 | 3 | /** |
4 | 4 | * Aliases for special pages |
5 | 5 | * |
6 | | - * @author Anna Kantorovitch and Benedikt K�mpgen |
| 6 | + * @author Anna Kantorovitch and Benedikt Kämpgen |
7 | 7 | * @ingroup Extensions |
8 | 8 | * @ingroup SWBLanguage |
9 | 9 | */ |
— | — | @@ -11,5 +11,5 @@ |
12 | 12 | /** English (English) */ |
13 | 13 | |
14 | 14 | $specialPageAliases['en'] = array( |
15 | | - 'BrowseWiki' => array( 'BrowseWiki' ), |
| 15 | + 'BrowseWiki' => array( 'BrowseWiki' ), |
16 | 16 | ); |
\ No newline at end of file |
Index: trunk/extensions/SemanticWebBrowser/SemanticWebBrowser.i18n.php |
— | — | @@ -1,28 +1,40 @@ |
2 | 2 | <?php |
3 | 3 | /** |
4 | 4 | * Internationalization file for Semantic WebBrowser |
5 | | - *@author Anna Kantorovitch and Benedikt K�mpgen |
| 5 | + * @author Anna Kantorovitch and Benedikt Kämpgen |
6 | 6 | * @ingroup Language |
7 | 7 | * @ingroup SWBLanguage |
8 | 8 | */ |
9 | 9 | |
10 | | - |
11 | 10 | /** English |
12 | 11 | * |
13 | 12 | */ |
14 | 13 | $messages['en'] = array( |
| 14 | + 'browsewiki' => 'Browse Wiki & Semantic Web', |
| 15 | + 'swb_desc' => 'Adds a special page [[Special:BrowseWiki|Browse Wiki & Semantic Web]]', |
| 16 | + 'swb_browse_article' => 'Enter the name of the page to start semantic browsing from.' |
| 17 | + 'swb_browse_go' => 'Go', |
| 18 | + 'swb_browse_show_incoming' => 'show incoming properties that link here', |
| 19 | + 'swb_browse_hide_incoming' => 'hide incoming properties that link here', |
| 20 | + 'swb_browse_no_outgoing' => 'This page has no properties.', |
| 21 | + 'swb_browse_no_incoming' => 'No properties link to this page.', |
| 22 | + 'swb_inverse_label_property' => 'Inverse property label', |
| 23 | + 'swb_inverse_label_default' => '$1 of', |
| 24 | + 'swb_browse_more' => '...', |
| 25 | +); |
15 | 26 | |
16 | | - // Messages for the browsing semantic Web special |
17 | | - |
18 | | - 'browsewiki' => 'Browse Wiki & Semantic Web', #title of the SWB page |
19 | | - 'swb_browse_semantic_web' => 'Browse Wiki & Semantic Web', #title for browsing |
20 | | - 'swb_browse_article' => 'Enter the name of the page to start semantic browsing from.',#text above "go"window |
21 | | - 'swb_browse_go' => 'Go', #title of button "go" |
22 | | - 'swb_browse_show_incoming' => 'show incoming properties that link here', #title of properties |
23 | | - 'swb_browse_hide_incoming' => 'hide incoming properties that link here', #title of properties |
24 | | - 'swb_browse_no_outgoing' => 'This page has no properties.', #text: page has no properties |
25 | | - 'swb_browse_no_incoming' => 'No properties link to this page.', #text:page has no incoming properties |
26 | | - 'swb_inverse_label_property' => 'Inverse property label', # this is the name of a special property |
27 | | - 'swb_inverse_label_default' => '$1 of', #text : inverse label dafault,$1 is place marker, have not to be translated |
28 | | - 'swb_browse_more' => '…', #text: browse more details |
29 | | -); |
\ No newline at end of file |
| 27 | +/** Message documentation (Message documentation) |
| 28 | + * @author Benedikt Kämpgen |
| 29 | + */ |
| 30 | +$messages['en'] = array( |
| 31 | + 'browsewiki' => 'Title of the SWB page', |
| 32 | + 'swb_browse_semantic_web' => 'Title for browsing', |
| 33 | + 'swb_browse_article' => 'Text above "go" window', |
| 34 | + 'swb_browse_go' => 'Title of button "go"', |
| 35 | + 'swb_browse_show_incoming' => 'Title of properties', |
| 36 | + 'swb_browse_hide_incoming' => 'Title of properties', |
| 37 | + 'swb_inverse_label_property' => 'Name of a special property', |
| 38 | + 'swb_inverse_label_default' => 'Inverse label default, $1 is a place marker', |
| 39 | + 'swb_browse_more' => 'Browse more details', |
| 40 | +); |
| 41 | + |