r40378 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r40377‎ | r40378 | r40379 >
Date:11:49, 3 September 2008
Author:siebrand
Status:old
Tags:
Comment:
Some minor message tweaks (add newlines, remove "sorry", and "please").
Modified paths:
  • /trunk/extensions/SemanticMediaWiki/languages/SMW_Messages.php (modified) (history)

Diff [purge]

Index: trunk/extensions/SemanticMediaWiki/languages/SMW_Messages.php
@@ -28,7 +28,7 @@
2929
3030 // URIs that should not be used in objects in cases where users can provide URIs
3131 'smw_uri_blacklist' => " http://www.w3.org/1999/02/22-rdf-syntax-ns#\n http://www.w3.org/2000/01/rdf-schema#\n http://www.w3.org/2002/07/owl#",
32 - 'smw_baduri' => 'Sorry, URIs of the form "$1" are not allowed.',
 32+ 'smw_baduri' => 'URIs of the form "$1" are not allowed.',
3333
3434 // Link to RSS feeds
3535 'smw_rss_link' => 'RSS',
@@ -40,9 +40,9 @@
4141 'smw_vcard_link' => 'vCard',
4242
4343 // Messages and strings for inline queries
44 - 'smw_iq_disabled' => "Sorry. Semantic queries have been disabled for this wiki.",
 44+ 'smw_iq_disabled' => "Semantic queries have been disabled for this wiki.",
4545 'smw_iq_moreresults' => '… further results',
46 - 'smw_iq_nojs' => 'Please use a JavaScript-enabled browser to view this element.',
 46+ 'smw_iq_nojs' => 'Use a JavaScript-enabled browser to view this element.',
4747 'smw_iq_altresults' => 'Browse the result list directly.', // available link when JS is disabled
4848
4949 // Messages and strings for ontology resued (import)
@@ -99,7 +99,7 @@
100100 'smw_valuesubquery' => 'Subqueries not supported for values of property "$1".',
101101 'smw_overprintoutlimit' => 'The query contains too many printout requests.',
102102 'smw_badprintout' => 'Some print statement in the query was misshaped.',
103 - 'smw_badtitle' => 'Sorry, but "$1" is no valid page title.',
 103+ 'smw_badtitle' => '"$1" is no valid page title.',
104104 'smw_badqueryatom' => 'Some part "<nowiki>[[…]]</nowiki>" of the query was not understood.',
105105 'smw_propvalueproblem' => 'The value of property "$1" was not understood.',
106106 'smw_noqueryfeature' => 'Some query feature was not supported in this wiki and part of the query was dropped ($1).',
@@ -108,7 +108,7 @@
109109 'smw_querytoolarge' => 'The following query conditions could not be considered due to the wikis restrictions in query size or depth: $1.',
110110 'smw_devel_warning' => 'This feature is currently under development, and might not be fully functional.
111111 Backup your data before using it.',
112 - 'smw_notemplategiven' => 'Please provide a value for the parameter "template" for this query format to work.',
 112+ 'smw_notemplategiven' => 'Provide a value for the parameter "template" for this query format to work.',
113113
114114 // Messages for pages of types and properties
115115 'smw_type_header' => 'Properties of type "$1"',
@@ -165,7 +165,7 @@
166166 'smw_oi_action' => 'Import',
167167 'smw_oi_return' => 'Return to <a href="$1">Special:OntologyImport</a>.',
168168 'smw_oi_noontology' => 'No ontology supplied, or could not load ontology.',
169 - 'smw_oi_select' => 'Please select the statements to import, and then click the import button.',
 169+ 'smw_oi_select' => 'Select the statements to import, and then click the import button.',
170170 'smw_oi_textforall' => 'Header text to add to all imports (may be empty):',
171171 'smw_oi_selectall' => 'Select or unselect all statements',
172172 'smw_oi_statementsabout' => 'Statements about',
@@ -195,7 +195,8 @@
196196
197197 // Name of the URI Resolver Special (no content)
198198 'uriresolver' => 'URI resolver',
199 - 'smw_uri_doc' => '<p>The URI resolver implements the <a href="http://www.w3.org/2001/tag/issues.html#httpRange-14">W3C TAG finding on httpRange-14</a>. It takes care that humans don\'t turn into websites.</p>',
 199+ 'smw_uri_doc' => '<p>The URI resolver implements the <a href="http://www.w3.org/2001/tag/issues.html#httpRange-14">W3C TAG finding on httpRange-14</a>.
 200+It takes care that humans don\'t turn into websites.</p>',
200201
201202 // Messages for ask Special
202203 'ask' => 'Semantic search',
@@ -214,10 +215,11 @@
215216 // Messages for the search by property special
216217 'searchbyproperty' => 'Search by property',
217218 'smw_sbv_docu' => '<p>Search for all pages that have a given property and value.</p>',
218 - 'smw_sbv_noproperty' => '<p>Please enter a property.</p>',
219 - 'smw_sbv_novalue' => '<p>Please enter a valid value for the property, or view all property values for "$1".</p>',
 219+ 'smw_sbv_noproperty' => '<p>Enter a property.</p>',
 220+ 'smw_sbv_novalue' => '<p>Enter a valid value for the property, or view all property values for "$1".</p>',
220221 'smw_sbv_displayresult' => 'A list of all pages that have property "$1" with value "$2"',
221 - 'smw_sbv_displayresultfuzzy' => 'A list of all pages that have property "$1" with value "$2". Since there have been only a few results, also nearby values are displayed.',
 222+ 'smw_sbv_displayresultfuzzy' => 'A list of all pages that have property "$1" with value "$2".
 223+Since there have been only a few results, also nearby values are displayed.',
222224 'smw_sbv_property' => 'Property',
223225 'smw_sbv_value' => 'Value',
224226 'smw_sbv_submit' => 'Find results',
@@ -235,7 +237,7 @@
236238 // Messages for the page property special
237239 'pageproperty' => 'Page property search',
238240 'smw_pp_docu' => 'Search for all the fillers of a property on a given page.
239 -Please enter both a page and a property.',
 241+Enter both a page and a property.',
240242 'smw_pp_from' => 'From page',
241243 'smw_pp_type' => 'Property',
242244 'smw_pp_submit' => 'Find results',
@@ -244,7 +246,7 @@
245247 'smw_result_prev' => 'Previous',
246248 'smw_result_next' => 'Next',
247249 'smw_result_results' => 'Results',
248 - 'smw_result_noresults' => 'Sorry, no results.',
 250+ 'smw_result_noresults' => 'No results.',
249251
250252 // Messages for SMWAdmin
251253 'smwadmin' => 'Admin functions for Semantic MediaWiki',

Status & tagging log