r24911 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r24910‎ | r24911 | r24912 >
Date:16:49, 19 August 2007
Author:mkroetzsch
Status:old
Tags:
Comment:
Internationalised error messages for inline queries.
Modified paths:
  • /trunk/extensions/SemanticMediaWiki/includes/SMW_QueryProcessor.php (modified) (history)
  • /trunk/extensions/SemanticMediaWiki/includes/storage/SMW_Query.php (modified) (history)
  • /trunk/extensions/SemanticMediaWiki/languages/SMW_LanguageDe.php (modified) (history)
  • /trunk/extensions/SemanticMediaWiki/languages/SMW_LanguageEn.php (modified) (history)
  • /trunk/extensions/SemanticMediaWiki/languages/SMW_LanguageEs.php (modified) (history)
  • /trunk/extensions/SemanticMediaWiki/languages/SMW_LanguageFr.php (modified) (history)
  • /trunk/extensions/SemanticMediaWiki/languages/SMW_LanguageHe.php (modified) (history)
  • /trunk/extensions/SemanticMediaWiki/languages/SMW_LanguagePl.php (modified) (history)
  • /trunk/extensions/SemanticMediaWiki/languages/SMW_LanguageRu.php (modified) (history)
  • /trunk/extensions/SemanticMediaWiki/languages/SMW_LanguageSk.php (modified) (history)

Diff [purge]

Index: trunk/extensions/SemanticMediaWiki/includes/SMW_QueryProcessor.php
@@ -308,7 +308,7 @@
309309 if ($this->popDelimiter('</q>')) {
310310 $continue = false; // leave the loop
311311 } else {
312 - $this->m_errors[] = 'There appear to be too many occurences of \'' . $chunk . '\' in the query.';
 312+ $this->m_errors[] = wfMsgForContent('smw_toomanyclosing', $chunk);
313313 return NULL;
314314 }
315315 } elseif ($chunk == '') {
@@ -318,7 +318,7 @@
319319 case '+': // "... AND true" (ignore)
320320 break;
321321 default: // error: unexpected $chunk
322 - $this->m_errors[] = 'The part \'' . $chunk . '\' in the query was not understood. Results might not be as expected.'; // TODO: internationalise
 322+ $this->m_errors[] = wfMsgForContent('smw_unexpectedpart', $chunk);
323323 return NULL;
324324 }
325325 if ($setsubNS) { // namespace restrictions encountered in current conjunct
@@ -333,7 +333,7 @@
334334 $result = NULL;
335335 foreach ($disjuncts as $d) {
336336 if ($d === NULL) {
337 - $this->m_errors[] = 'No condition in subquery.';
 337+ $this->m_errors[] = wfMsgForContent('smw_emptysubquery');
338338 $setNS = false;
339339 return NULL;
340340 } else {
@@ -341,7 +341,7 @@
342342 }
343343 }
344344 } else {
345 - $this->m_errors[] = 'No condition in subquery.';
 345+ $this->m_errors[] = wfMsgForContent('smw_emptysubquery');
346346 $setNS = false;
347347 return NULL;
348348 }
@@ -353,7 +353,7 @@
354354 $result->addPrintRequest($pr);
355355 $prcount++;
356356 } else {
357 - $this->m_errors[] = 'Too many printout requests.';
 357+ $this->m_errors[] = wfMsgForContent('smw_overprintoutlimit');
358358 break;
359359 }
360360 }
@@ -416,7 +416,7 @@
417417 if ($chunk == ']]') {
418418 return new SMWPrintRequest(SMW_PRINT_CATS, $printlabel);
419419 } else {
420 - $this->m_errors[] = 'Misshaped print statement.'; //TODO: internationalise
 420+ $this->m_errors[] = wfMsgForContent('smw_badprintout');
421421 return NULL;
422422 }
423423 break;
@@ -447,7 +447,7 @@
448448 $this->readChunk(); // consume seperator ":="
449449 $property = Title::newFromText($propertyname, SMW_NS_PROPERTY);
450450 if ($property === NULL) {
451 - $this->m_errors[] .= 'Sorry, but ' . htmlspecialchars($propertyname) . ' is no valid page title.'; // TODO internationalise
 451+ $this->m_errors[] .= wfMsgForContent('smw_badtitle', htmlspecialchars($propertyname));
452452 return NULL; ///TODO: read some more chunks and try to finish [[ ]]
453453 }
454454
@@ -472,7 +472,7 @@
473473 $sublabel = '';
474474 $innerdesc = $this->addDescription($innerdesc, $this->getSubqueryDescription($setsubNS, $sublabel), false);
475475 } else { // no subqueries allowed for non-pages
476 - $this->m_errors[] = 'Subqueries not supported for values of property ' . $propertyname . '.';
 476+ $this->m_errors[] = wfMsgForContent('smw_valuesubquery', $propertyname);
477477 $innerdesc = $this->addDescription($innerdesc, new SMWThingDescription(), false);
478478 }
479479 $chunk = $this->readChunk();
@@ -528,7 +528,7 @@
529529 if ($chunk == ']]') {
530530 return new SMWPrintRequest(SMW_PRINT_PROP, $printlabel, $property, $pm);
531531 } else {
532 - $this->m_errors[] = 'Misshaped print statement.'; //TODO: internationalise
 532+ $this->m_errors[] = wfMsgForContent('smw_badprintout');
533533 return NULL;
534534 }
535535 }
@@ -551,7 +551,7 @@
552552 if ($chunk == ']]') {
553553 return new SMWPrintRequest(SMW_PRINT_PROP, $printlabel, $property, $printmodifier);
554554 } else {
555 - $this->m_errors[] = 'Misshaped print statement.'; //TODO: internationalise
 555+ $this->m_errors[] = wfMsgForContent('smw_badprintout');
556556 return NULL;
557557 }
558558 } else {
@@ -575,7 +575,7 @@
576576 } else {
577577 $innerdesc = $this->addDescription($innerdesc, new SMWThingDescription(), false);
578578 }
579 - $this->m_errors[] = 'Value of relation ' . $property->getText() . ' was not understood.'; // TODO internationalise
 579+ $this->m_errors[] = wfMsgForContent('smw_propvalueproblem', $property->getText());
580580 }
581581 $result = new SMWSomeProperty($property,$innerdesc);
582582
@@ -637,7 +637,7 @@
638638 //$innerdesc = NULL;
639639 while ($continue) {
640640 if ($chunk == '<q>') { // no subqueries of the form [[<q>...</q>]] (not needed)
641 - $this->m_errors[] = 'Subqueries not allowed here.'; //TODO
 641+ $this->m_errors[] = wfMsgForContent('smw_misplacedsubquery');
642642 return NULL;
643643 }
644644 $list = preg_split('/:/', $chunk, 3); // ":Category:Foo" "User:bar" ":baz" ":+"
@@ -671,8 +671,7 @@
672672
673673 protected function finishLinkDescription($chunk, $hasNamespaces, $result, &$setNS, &$label) {
674674 if ($result === NULL) { // no useful information or concrete error found
675 - $this->m_errors[] = 'Some part [#x005B;&hellip]] of the query was not understood.';
676 - //TODO internationalise
 675+ $this->m_errors[] = wfMsgForContent('smw_badqueryatom');
677676 } elseif (!$hasNamespaces && $setNS && ($this->m_defaultns !== NULL) ) {
678677 $result = $this->addDescription($result, $this->m_defaultns);
679678 $hasNamespaces = true;
@@ -694,7 +693,7 @@
695694 // link content (as in [[Category:Test<q>]]) and there was no label to
696695 // eat it. Or the closing ]] are just missing entirely.
697696 if ($chunk != '') {
698 - $this->m_errors[] = 'The symbol \'' . htmlspecialchars($chunk) . '\' was used in a place where it is not useful.';
 697+ $this->m_errors[] = wfMsgForContent('smw_misplacedsymbol', htmlspecialchars($chunk));
699698 // try to find a later closing ]] to finish this misshaped subpart
700699 $chunk = $this->readChunk('\]\]');
701700 if ($chunk != ']]') {
@@ -702,7 +701,7 @@
703702 }
704703 }
705704 if ($chunk == '') {
706 - $this->m_errors[] = 'Some use of \'[&#x005B;\' in your query was not closed by a matching \']]\'.';
 705+ $this->m_errors[] = wfMsgForContent('smw_noclosingbrackets');
707706 }
708707 }
709708 return $result;
@@ -795,7 +794,7 @@
796795 if ($smwgQDisjunctionSupport) {
797796 return new SMWDisjunction(array($curdesc,$newdesc));
798797 } else {
799 - $this->m_errors[] = 'Disjunctions in queries not supported in this wiki, dropped part of query (' . $newdesc->getQueryString() . ').';
 798+ $this->m_errors[] = wfMsgForContent('smw_nodisjunctions', $newdesc->getQueryString());
800799 return $curdesc;
801800 }
802801 }
Index: trunk/extensions/SemanticMediaWiki/includes/storage/SMW_Query.php
@@ -127,7 +127,7 @@
128128 $log = array();
129129 $this->m_description = $this->m_description->prune($maxsize, $maxdepth, $log);
130130 if (count($log) > 0) {
131 - $this->m_errors[] = 'The following query conditions could not be considered due to restrictions in query size or depth: ' . implode(', ' , $log) . '.';
 131+ $this->m_errors[] = wfMsgForContent('smw_querytoolarge',implode(', ' , $log));
132132 }
133133 }
134134 }
Index: trunk/extensions/SemanticMediaWiki/languages/SMW_LanguageEn.php
@@ -64,7 +64,22 @@
6565 // some links for online maps; can be translated to different language versions of services, but need not
6666 'smw_service_online_maps' => " find&nbsp;maps|http://tools.wikimedia.de/~magnus/geo/geohack.php?params=\$9_\$7_\$10_\$8\n Google&nbsp;maps|http://maps.google.com/maps?ll=\$11\$9,\$12\$10&spn=0.1,0.1&t=k\n Mapquest|http://www.mapquest.com/maps/map.adp?searchtype=address&formtype=latlong&latlongtype=degrees&latdeg=\$11\$1&latmin=\$3&latsec=\$5&longdeg=\$12\$2&longmin=\$4&longsec=\$6&zoom=6",
6767 // Messages for datetime parsing
68 - 'smw_nodatetime' => 'The date “$1” was not understood (support for dates is still experimental).'
 68+ 'smw_nodatetime' => 'The date “$1” was not understood (support for dates is still experimental).',
 69+ // Errors and notices related to queries
 70+ 'smw_toomanyclosing' => 'There appear to be too many occurrences of “$1” in the query.',
 71+ 'smw_noclosingbrackets' => 'Some use of “[&#x005B;” in your query was not closed by a matching “]]”.',
 72+ 'smw_misplacedsymbol' => 'The symbol “$1” was used in a place where it is not useful.',
 73+ 'smw_unexpectedpart' => 'The part “$1” of the query was not understood. Results might not be as expected.',
 74+ 'smw_emtpysubquery' => 'Some subquery has no valid condition.',
 75+ 'smw_misplacedsubquery' => 'Some subquery was used in a place where no subqueries are allowed.',
 76+ 'smw_valuesubquery' => 'Subqueries not supported for values of property “$1”.',
 77+ 'smw_overprintoutlimit' => 'The query contains too many printout requests.',
 78+ 'smw_badprintout' => 'Some print statement in the query was misshaped.',
 79+ 'smw_badtitle' => 'Sorry, but “$1” is no valid page title.',
 80+ 'smw_badqueryatom' => 'Some part “[#x005B;&hellip]]” of the query was not understood.',
 81+ 'smw_propvalueproblem' => 'The value of property “$1” was not understood.',
 82+ 'smw_nodisjunctions' => 'Disjunctions in queries are not supported in this wiki and part of the query was dropped ($1).',
 83+ 'smw_querytoolarge' => 'The following query conditions could not be considered due to the wikis restrictions in query size or depth: $1.'
6984 );
7085
7186
Index: trunk/extensions/SemanticMediaWiki/languages/SMW_LanguageRu.php
@@ -64,7 +64,22 @@
6565 // some links for online maps; can be translated to different language versions of services, but need not
6666 'smw_service_online_maps' => " найти&nbsp;на&nbsp;карте|http://tools.wikimedia.de/~magnus/geo/geohack.php?language=ru&params=\$9_\$7_\$10_\$8\n Google&nbsp;maps|http://maps.google.com/maps?ll=\$11\$9,\$12\$10&spn=0.1,0.1&t=k\n Mapquest|http://www.mapquest.com/maps/map.adp?searchtype=address&formtype=latlong&latlongtype=degrees&latdeg=\$11\$1&latmin=\$3&latsec=\$5&longdeg=\$12\$2&longmin=\$4&longsec=\$6&zoom=6",
6767 // Messages for datetime parsing
68 - 'smw_nodatetime' => 'Дата "$1" не распознана. Как бы то ни было, в настоящее время поддержка дат находится в разработке.'
 68+ 'smw_nodatetime' => 'Дата "$1" не распознана. Как бы то ни было, в настоящее время поддержка дат находится в разработке.',
 69+ // Errors and notices related to queries // TODO: translate
 70+ 'smw_toomanyclosing' => 'There appear to be too many occurrences of “$1” in the query.',
 71+ 'smw_noclosingbrackets' => 'Some use of “[&#x005B;” in your query was not closed by a matching “]]”.',
 72+ 'smw_misplacedsymbol' => 'The symbol “$1” was used in a place where it is not useful.',
 73+ 'smw_unexpectedpart' => 'The part “$1” of the query was not understood. Results might not be as expected.',
 74+ 'smw_emtpysubquery' => 'Some subquery has no valid condition.',
 75+ 'smw_misplacedsubquery' => 'Some subquery was used in a place where no subqueries are allowed.',
 76+ 'smw_valuesubquery' => 'Subqueries not supported for values of property “$1”.',
 77+ 'smw_overprintoutlimit' => 'The query contains too many printout requests.',
 78+ 'smw_badprintout' => 'Some print statement in the query was misshaped.',
 79+ 'smw_badtitle' => 'Sorry, but “$1” is no valid page title.',
 80+ 'smw_badqueryatom' => 'Some part “[#x005B;&hellip]]” of the query was not understood.',
 81+ 'smw_propvalueproblem' => 'The value of property “$1” was not understood.',
 82+ 'smw_nodisjunctions' => 'Disjunctions in queries are not supported in this wiki and part of the query was dropped ($1).',
 83+ 'smw_querytoolarge' => 'The following query conditions could not be considered due to the wikis restrictions in query size or depth: $1.'
6984 );
7085
7186
Index: trunk/extensions/SemanticMediaWiki/languages/SMW_LanguageEs.php
@@ -64,7 +64,22 @@
6565 /* some links for online maps; can be translated to different language versions of services, but need not*/
6666 'smw_service_online_maps' => " Mapas&nbsp;geográficos|http://tools.wikimedia.de/~magnus/geo/geohack.php?language=es&params=\$9_\$7_\$10_\$8\n Google&nbsp;maps|http://maps.google.com/maps?ll=\$11\$9,\$12\$10&spn=0.1,0.1&t=k\n Mapquest|http://www.mapquest.com/maps/map.adp?searchtype=address&formtype=latlong&latlongtype=degrees&latdeg=\$11\$1&latmin=\$3&latsec=\$5&longdeg=\$12\$2&longmin=\$4&longsec=\$6&zoom=6",
6767 /*Messages for datetime parsing */
68 - 'smw_nodatetime' => 'La fecha "$1" no ha sido comprendida. El soporte de datos de calendario son todavía experimentales.'
 68+ 'smw_nodatetime' => 'La fecha "$1" no ha sido comprendida. El soporte de datos de calendario son todavía experimentales.',
 69+ // Errors and notices related to queries // TODO: translate
 70+ 'smw_toomanyclosing' => 'There appear to be too many occurrences of “$1” in the query.',
 71+ 'smw_noclosingbrackets' => 'Some use of “[&#x005B;” in your query was not closed by a matching “]]”.',
 72+ 'smw_misplacedsymbol' => 'The symbol “$1” was used in a place where it is not useful.',
 73+ 'smw_unexpectedpart' => 'The part “$1” of the query was not understood. Results might not be as expected.',
 74+ 'smw_emtpysubquery' => 'Some subquery has no valid condition.',
 75+ 'smw_misplacedsubquery' => 'Some subquery was used in a place where no subqueries are allowed.',
 76+ 'smw_valuesubquery' => 'Subqueries not supported for values of property “$1”.',
 77+ 'smw_overprintoutlimit' => 'The query contains too many printout requests.',
 78+ 'smw_badprintout' => 'Some print statement in the query was misshaped.',
 79+ 'smw_badtitle' => 'Sorry, but “$1” is no valid page title.',
 80+ 'smw_badqueryatom' => 'Some part “[#x005B;&hellip]]” of the query was not understood.',
 81+ 'smw_propvalueproblem' => 'The value of property “$1” was not understood.',
 82+ 'smw_nodisjunctions' => 'Disjunctions in queries are not supported in this wiki and part of the query was dropped ($1).',
 83+ 'smw_querytoolarge' => 'The following query conditions could not be considered due to the wikis restrictions in query size or depth: $1.'
6984 );
7085
7186 protected $smwUserMessages = array(
Index: trunk/extensions/SemanticMediaWiki/languages/SMW_LanguageFr.php
@@ -64,7 +64,22 @@
6565 /* some links for online maps; can be translated to different language versions of services, but need not*/
6666 'smw_service_online_maps' => " Cartes&nbsp;géographiques|http://tools.wikimedia.de/~magnus/geo/geohack.php?language=fr&params=\$9_\$7_\$10_\$8\n Google&nbsp;maps|http://maps.google.com/maps?ll=\$11\$9,\$12\$10&spn=0.1,0.1&t=k\n Mapquest|http://www.mapquest.com/maps/map.adp?searchtype=address&formtype=latlong&latlongtype=degrees&latdeg=\$11\$1&latmin=\$3&latsec=\$5&longdeg=\$12\$2&longmin=\$4&longsec=\$6&zoom=6",
6767 /*Messages for datetime parsing */
68 - 'smw_nodatetime' => 'La date "$1" n\'a pas été comprise. Le support des données calendaires est encore expérimental.'
 68+ 'smw_nodatetime' => 'La date "$1" n\'a pas été comprise. Le support des données calendaires est encore expérimental.',
 69+ // Errors and notices related to queries // TODO: translate
 70+ 'smw_toomanyclosing' => 'There appear to be too many occurrences of “$1” in the query.',
 71+ 'smw_noclosingbrackets' => 'Some use of “[&#x005B;” in your query was not closed by a matching “]]”.',
 72+ 'smw_misplacedsymbol' => 'The symbol “$1” was used in a place where it is not useful.',
 73+ 'smw_unexpectedpart' => 'The part “$1” of the query was not understood. Results might not be as expected.',
 74+ 'smw_emtpysubquery' => 'Some subquery has no valid condition.',
 75+ 'smw_misplacedsubquery' => 'Some subquery was used in a place where no subqueries are allowed.',
 76+ 'smw_valuesubquery' => 'Subqueries not supported for values of property “$1”.',
 77+ 'smw_overprintoutlimit' => 'The query contains too many printout requests.',
 78+ 'smw_badprintout' => 'Some print statement in the query was misshaped.',
 79+ 'smw_badtitle' => 'Sorry, but “$1” is no valid page title.',
 80+ 'smw_badqueryatom' => 'Some part “[#x005B;&hellip]]” of the query was not understood.',
 81+ 'smw_propvalueproblem' => 'The value of property “$1” was not understood.',
 82+ 'smw_nodisjunctions' => 'Disjunctions in queries are not supported in this wiki and part of the query was dropped ($1).',
 83+ 'smw_querytoolarge' => 'The following query conditions could not be considered due to the wikis restrictions in query size or depth: $1.'
6984 );
7085
7186 protected $smwUserMessages = array(
Index: trunk/extensions/SemanticMediaWiki/languages/SMW_LanguageDe.php
@@ -6,6 +6,9 @@
77 * "property" --> "Attribut"
88 * "type" --> "Datentyp"
99 * "special properties" --> "Besondere Attribute"
 10+ * "query" --> "Anfrage"
 11+ * "subquery" --> Teilanfrage
 12+ * "printout statement" --> Ausgabeanweisung
1013 */
1114
1215
@@ -71,7 +74,22 @@
7275 /* some links for online maps; can be translated to different language versions of services, but need not*/
7376 'smw_service_online_maps' => " Landkarten|http://tools.wikimedia.de/~magnus/geo/geohack.php?language=de&params=\$9_\$7_\$10_\$8\n Google&nbsp;maps|http://maps.google.com/maps?ll=\$11\$9,\$12\$10&spn=0.1,0.1&t=k\n Mapquest|http://www.mapquest.com/maps/map.adp?searchtype=address&formtype=latlong&latlongtype=degrees&latdeg=\$11\$1&latmin=\$3&latsec=\$5&longdeg=\$12\$2&longmin=\$4&longsec=\$6&zoom=6",
7477 /*Messages for datetime parsing */
75 - 'smw_nodatetime' => 'Das Datum „$1“ wurde nicht verstanden. Die Unterstützung von Kalenderdaten ist zur Zeit noch experimentell.'
 78+ 'smw_nodatetime' => 'Das Datum „$1“ wurde nicht verstanden. Die Unterstützung von Kalenderdaten ist zur Zeit noch experimentell.',
 79+ // Errors and notices related to queries
 80+ 'smw_toomanyclosing' => 'In der Anfrage kommen zu viele „$1“ vor.',
 81+ 'smw_noclosingbrackets' => 'Ein Vorkommen von „[&#x005B;“ in der Anfrage wurde nicht durch ein entsprechendes „]]“ abgeschlossen.',
 82+ 'smw_misplacedsymbol' => 'Das Symbol „$1“ wurde an einer Stelle verwendet, wo es keinen Sinn macht.',
 83+ 'smw_unexpectedpart' => 'Der Teil „$1“ der Anfrage wurde nicht verstanden. Die Ergebnisse sind eventuell nicht wie erwartet.',
 84+ 'smw_emtpysubquery' => 'Keine Bedingung in Teilanfrage.',
 85+ 'smw_misplacedsubquery' => 'Eine Teilanfrage wurde an einer Stelle verwendet, an der keine Teilanfragen vorkommen dürfen.',
 86+ 'smw_valuesubquery' => 'Teilanfragen werden für Werte des Attributs „$1“ werden nicht unterstützt.',
 87+ 'smw_overprintoutlimit' => 'Die Anfrage enhält zu viele Ausgabeanweisungen.',
 88+ 'smw_badprintout' => 'Eine Ausgabeanweisung wurde nicht verstanden.',
 89+ 'smw_badtitle' => 'Leider ist „$1“ als Seitentitel nicht zulässig.',
 90+ 'smw_badqueryatom' => 'Ein Teil „[#x005B;&hellip]]“ der Anfrage wurde nicht verstanden.',
 91+ 'smw_propvalueproblem' => 'Der Wert des Attributs „$1“ wurde nicht verstanden.',
 92+ 'smw_nodisjunctions' => 'Disjunktionen (ODER) in Anfragen sind in diesem Wiki nicht zulässig und ein Teil der Anfrage muss daher ignoriert werden ($1).',
 93+ 'smw_querytoolarge' => 'Die folgenden Anfragebedingungne konnten wegen den in diesem Wiki gültigen Beschränkungen für größe und Tiefe von Anfragen nicht berücksichtigt werden: $1.'
7694 );
7795
7896 protected $smwUserMessages = array(
Index: trunk/extensions/SemanticMediaWiki/languages/SMW_LanguagePl.php
@@ -84,7 +84,22 @@
8585 // TODO: translate "find maps" below (translation of "maps" would also do)
8686 'smw_service_online_maps' => " find&nbsp;maps|http://tools.wikimedia.de/~magnus/geo/geohack.php?language=pl&params=\$9_\$7_\$10_\$8\n Google&nbsp;maps|http://maps.google.com/maps?ll=\$11\$9,\$12\$10&spn=0.1,0.1&t=k\n Mapquest|http://www.mapquest.com/maps/map.adp?searchtype=address&formtype=latlong&latlongtype=degrees&latdeg=\$11\$1&latmin=\$3&latsec=\$5&longdeg=\$12\$2&longmin=\$4&longsec=\$6&zoom=6",
8787 /*Messages for datetime parsing */
88 - 'smw_nodatetime' => 'Data "$1" nie została zrozumiana. Wsparcie dla dat jest jednak wciąż w fazie eksperymentalnej.'
 88+ 'smw_nodatetime' => 'Data "$1" nie została zrozumiana. Wsparcie dla dat jest jednak wciąż w fazie eksperymentalnej.',
 89+ // Errors and notices related to queries // TODO: translate
 90+ 'smw_toomanyclosing' => 'There appear to be too many occurrences of “$1” in the query.',
 91+ 'smw_noclosingbrackets' => 'Some use of “[&#x005B;” in your query was not closed by a matching “]]”.',
 92+ 'smw_misplacedsymbol' => 'The symbol “$1” was used in a place where it is not useful.',
 93+ 'smw_unexpectedpart' => 'The part “$1” of the query was not understood. Results might not be as expected.',
 94+ 'smw_emtpysubquery' => 'Some subquery has no valid condition.',
 95+ 'smw_misplacedsubquery' => 'Some subquery was used in a place where no subqueries are allowed.',
 96+ 'smw_valuesubquery' => 'Subqueries not supported for values of property “$1”.',
 97+ 'smw_overprintoutlimit' => 'The query contains too many printout requests.',
 98+ 'smw_badprintout' => 'Some print statement in the query was misshaped.',
 99+ 'smw_badtitle' => 'Sorry, but “$1” is no valid page title.',
 100+ 'smw_badqueryatom' => 'Some part “[#x005B;&hellip]]” of the query was not understood.',
 101+ 'smw_propvalueproblem' => 'The value of property “$1” was not understood.',
 102+ 'smw_nodisjunctions' => 'Disjunctions in queries are not supported in this wiki and part of the query was dropped ($1).',
 103+ 'smw_querytoolarge' => 'The following query conditions could not be considered due to the wikis restrictions in query size or depth: $1.'
89104 );
90105
91106
Index: trunk/extensions/SemanticMediaWiki/languages/SMW_LanguageHe.php
@@ -63,7 +63,22 @@
6464 /* some links for online maps; can be translated to different language versions of services, but need not*/
6565 'smw_service_online_maps' => " חפש&nbsp;מפות|http://tools.wikimedia.de/~magnus/geo/geohack.php?language=he&params=\$9_\$7_\$10_\$8\n Google&nbsp;maps|http://maps.google.com/maps?ll=\$11\$9,\$12\$10&spn=0.1,0.1&t=k\n Mapquest|http://www.mapquest.com/maps/map.adp?searchtype=address&formtype=latlong&latlongtype=degrees&latdeg=\$11\$1&latmin=\$3&latsec=\$5&longdeg=\$12\$2&longmin=\$4&longsec=\$6&zoom=6",
6666 /*Messages for datetime parsing */
67 - 'smw_nodatetime' => '[אופס! התאריך "$1" אינו מובן. מצד שני התמיכה בתאריכים היא עדיין ניסיונית.]'
 67+ 'smw_nodatetime' => '[אופס! התאריך "$1" אינו מובן. מצד שני התמיכה בתאריכים היא עדיין ניסיונית.]',
 68+ // Errors and notices related to queries // TODO: translate
 69+ 'smw_toomanyclosing' => 'There appear to be too many occurrences of “$1” in the query.',
 70+ 'smw_noclosingbrackets' => 'Some use of “[&#x005B;” in your query was not closed by a matching “]]”.',
 71+ 'smw_misplacedsymbol' => 'The symbol “$1” was used in a place where it is not useful.',
 72+ 'smw_unexpectedpart' => 'The part “$1” of the query was not understood. Results might not be as expected.',
 73+ 'smw_emtpysubquery' => 'Some subquery has no valid condition.',
 74+ 'smw_misplacedsubquery' => 'Some subquery was used in a place where no subqueries are allowed.',
 75+ 'smw_valuesubquery' => 'Subqueries not supported for values of property “$1”.',
 76+ 'smw_overprintoutlimit' => 'The query contains too many printout requests.',
 77+ 'smw_badprintout' => 'Some print statement in the query was misshaped.',
 78+ 'smw_badtitle' => 'Sorry, but “$1” is no valid page title.',
 79+ 'smw_badqueryatom' => 'Some part “[#x005B;&hellip]]” of the query was not understood.',
 80+ 'smw_propvalueproblem' => 'The value of property “$1” was not understood.',
 81+ 'smw_nodisjunctions' => 'Disjunctions in queries are not supported in this wiki and part of the query was dropped ($1).',
 82+ 'smw_querytoolarge' => 'The following query conditions could not be considered due to the wikis restrictions in query size or depth: $1.'
6883 );
6984
7085
Index: trunk/extensions/SemanticMediaWiki/languages/SMW_LanguageSk.php
@@ -65,7 +65,22 @@
6666 // TODO: translate "find maps" below, translation of word "maps" would also do.
6767 'smw_service_online_maps' => " find&nbsp;maps|http://tools.wikimedia.de/~magnus/geo/geohack.php?language=sk&params=\$9_\$7_\$10_\$8\n Google&nbsp;maps|http://maps.google.com/maps?ll=\$11\$9,\$12\$10&spn=0.1,0.1&t=k\n Mapquest|http://www.mapquest.com/maps/map.adp?searchtype=address&formtype=latlong&latlongtype=degrees&latdeg=\$11\$1&latmin=\$3&latsec=\$5&longdeg=\$12\$2&longmin=\$4&longsec=\$6&zoom=6",
6868 /*Messages for datetime parsing */
69 - 'smw_nodatetime' => 'Nevedel som interpretovať dátum "$1". Ale podpora dátumov je stále v experimentálno štádiu.'
 69+ 'smw_nodatetime' => 'Nevedel som interpretovať dátum "$1". Ale podpora dátumov je stále v experimentálno štádiu.',
 70+ // Errors and notices related to queries // TODO: translate
 71+ 'smw_toomanyclosing' => 'There appear to be too many occurrences of “$1” in the query.',
 72+ 'smw_noclosingbrackets' => 'Some use of “[&#x005B;” in your query was not closed by a matching “]]”.',
 73+ 'smw_misplacedsymbol' => 'The symbol “$1” was used in a place where it is not useful.',
 74+ 'smw_unexpectedpart' => 'The part “$1” of the query was not understood. Results might not be as expected.',
 75+ 'smw_emtpysubquery' => 'Some subquery has no valid condition.',
 76+ 'smw_misplacedsubquery' => 'Some subquery was used in a place where no subqueries are allowed.',
 77+ 'smw_valuesubquery' => 'Subqueries not supported for values of property “$1”.',
 78+ 'smw_overprintoutlimit' => 'The query contains too many printout requests.',
 79+ 'smw_badprintout' => 'Some print statement in the query was misshaped.',
 80+ 'smw_badtitle' => 'Sorry, but “$1” is no valid page title.',
 81+ 'smw_badqueryatom' => 'Some part “[#x005B;&hellip]]” of the query was not understood.',
 82+ 'smw_propvalueproblem' => 'The value of property “$1” was not understood.',
 83+ 'smw_nodisjunctions' => 'Disjunctions in queries are not supported in this wiki and part of the query was dropped ($1).',
 84+ 'smw_querytoolarge' => 'The following query conditions could not be considered due to the wikis restrictions in query size or depth: $1.'
7085 );
7186
7287

Status & tagging log