Index: trunk/extensions/SemanticMediaWiki/includes/SMW_QueryProcessor.php |
— | — | @@ -308,7 +308,7 @@ |
309 | 309 | if ($this->popDelimiter('</q>')) { |
310 | 310 | $continue = false; // leave the loop |
311 | 311 | } 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); |
313 | 313 | return NULL; |
314 | 314 | } |
315 | 315 | } elseif ($chunk == '') { |
— | — | @@ -318,7 +318,7 @@ |
319 | 319 | case '+': // "... AND true" (ignore) |
320 | 320 | break; |
321 | 321 | 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); |
323 | 323 | return NULL; |
324 | 324 | } |
325 | 325 | if ($setsubNS) { // namespace restrictions encountered in current conjunct |
— | — | @@ -333,7 +333,7 @@ |
334 | 334 | $result = NULL; |
335 | 335 | foreach ($disjuncts as $d) { |
336 | 336 | if ($d === NULL) { |
337 | | - $this->m_errors[] = 'No condition in subquery.'; |
| 337 | + $this->m_errors[] = wfMsgForContent('smw_emptysubquery'); |
338 | 338 | $setNS = false; |
339 | 339 | return NULL; |
340 | 340 | } else { |
— | — | @@ -341,7 +341,7 @@ |
342 | 342 | } |
343 | 343 | } |
344 | 344 | } else { |
345 | | - $this->m_errors[] = 'No condition in subquery.'; |
| 345 | + $this->m_errors[] = wfMsgForContent('smw_emptysubquery'); |
346 | 346 | $setNS = false; |
347 | 347 | return NULL; |
348 | 348 | } |
— | — | @@ -353,7 +353,7 @@ |
354 | 354 | $result->addPrintRequest($pr); |
355 | 355 | $prcount++; |
356 | 356 | } else { |
357 | | - $this->m_errors[] = 'Too many printout requests.'; |
| 357 | + $this->m_errors[] = wfMsgForContent('smw_overprintoutlimit'); |
358 | 358 | break; |
359 | 359 | } |
360 | 360 | } |
— | — | @@ -416,7 +416,7 @@ |
417 | 417 | if ($chunk == ']]') { |
418 | 418 | return new SMWPrintRequest(SMW_PRINT_CATS, $printlabel); |
419 | 419 | } else { |
420 | | - $this->m_errors[] = 'Misshaped print statement.'; //TODO: internationalise |
| 420 | + $this->m_errors[] = wfMsgForContent('smw_badprintout'); |
421 | 421 | return NULL; |
422 | 422 | } |
423 | 423 | break; |
— | — | @@ -447,7 +447,7 @@ |
448 | 448 | $this->readChunk(); // consume seperator ":=" |
449 | 449 | $property = Title::newFromText($propertyname, SMW_NS_PROPERTY); |
450 | 450 | 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)); |
452 | 452 | return NULL; ///TODO: read some more chunks and try to finish [[ ]] |
453 | 453 | } |
454 | 454 | |
— | — | @@ -472,7 +472,7 @@ |
473 | 473 | $sublabel = ''; |
474 | 474 | $innerdesc = $this->addDescription($innerdesc, $this->getSubqueryDescription($setsubNS, $sublabel), false); |
475 | 475 | } 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); |
477 | 477 | $innerdesc = $this->addDescription($innerdesc, new SMWThingDescription(), false); |
478 | 478 | } |
479 | 479 | $chunk = $this->readChunk(); |
— | — | @@ -528,7 +528,7 @@ |
529 | 529 | if ($chunk == ']]') { |
530 | 530 | return new SMWPrintRequest(SMW_PRINT_PROP, $printlabel, $property, $pm); |
531 | 531 | } else { |
532 | | - $this->m_errors[] = 'Misshaped print statement.'; //TODO: internationalise |
| 532 | + $this->m_errors[] = wfMsgForContent('smw_badprintout'); |
533 | 533 | return NULL; |
534 | 534 | } |
535 | 535 | } |
— | — | @@ -551,7 +551,7 @@ |
552 | 552 | if ($chunk == ']]') { |
553 | 553 | return new SMWPrintRequest(SMW_PRINT_PROP, $printlabel, $property, $printmodifier); |
554 | 554 | } else { |
555 | | - $this->m_errors[] = 'Misshaped print statement.'; //TODO: internationalise |
| 555 | + $this->m_errors[] = wfMsgForContent('smw_badprintout'); |
556 | 556 | return NULL; |
557 | 557 | } |
558 | 558 | } else { |
— | — | @@ -575,7 +575,7 @@ |
576 | 576 | } else { |
577 | 577 | $innerdesc = $this->addDescription($innerdesc, new SMWThingDescription(), false); |
578 | 578 | } |
579 | | - $this->m_errors[] = 'Value of relation ' . $property->getText() . ' was not understood.'; // TODO internationalise |
| 579 | + $this->m_errors[] = wfMsgForContent('smw_propvalueproblem', $property->getText()); |
580 | 580 | } |
581 | 581 | $result = new SMWSomeProperty($property,$innerdesc); |
582 | 582 | |
— | — | @@ -637,7 +637,7 @@ |
638 | 638 | //$innerdesc = NULL; |
639 | 639 | while ($continue) { |
640 | 640 | 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'); |
642 | 642 | return NULL; |
643 | 643 | } |
644 | 644 | $list = preg_split('/:/', $chunk, 3); // ":Category:Foo" "User:bar" ":baz" ":+" |
— | — | @@ -671,8 +671,7 @@ |
672 | 672 | |
673 | 673 | protected function finishLinkDescription($chunk, $hasNamespaces, $result, &$setNS, &$label) { |
674 | 674 | 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'); |
677 | 676 | } elseif (!$hasNamespaces && $setNS && ($this->m_defaultns !== NULL) ) { |
678 | 677 | $result = $this->addDescription($result, $this->m_defaultns); |
679 | 678 | $hasNamespaces = true; |
— | — | @@ -694,7 +693,7 @@ |
695 | 694 | // link content (as in [[Category:Test<q>]]) and there was no label to |
696 | 695 | // eat it. Or the closing ]] are just missing entirely. |
697 | 696 | 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)); |
699 | 698 | // try to find a later closing ]] to finish this misshaped subpart |
700 | 699 | $chunk = $this->readChunk('\]\]'); |
701 | 700 | if ($chunk != ']]') { |
— | — | @@ -702,7 +701,7 @@ |
703 | 702 | } |
704 | 703 | } |
705 | 704 | if ($chunk == '') { |
706 | | - $this->m_errors[] = 'Some use of \'[[\' in your query was not closed by a matching \']]\'.'; |
| 705 | + $this->m_errors[] = wfMsgForContent('smw_noclosingbrackets'); |
707 | 706 | } |
708 | 707 | } |
709 | 708 | return $result; |
— | — | @@ -795,7 +794,7 @@ |
796 | 795 | if ($smwgQDisjunctionSupport) { |
797 | 796 | return new SMWDisjunction(array($curdesc,$newdesc)); |
798 | 797 | } 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()); |
800 | 799 | return $curdesc; |
801 | 800 | } |
802 | 801 | } |
Index: trunk/extensions/SemanticMediaWiki/includes/storage/SMW_Query.php |
— | — | @@ -127,7 +127,7 @@ |
128 | 128 | $log = array(); |
129 | 129 | $this->m_description = $this->m_description->prune($maxsize, $maxdepth, $log); |
130 | 130 | 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)); |
132 | 132 | } |
133 | 133 | } |
134 | 134 | } |
Index: trunk/extensions/SemanticMediaWiki/languages/SMW_LanguageEn.php |
— | — | @@ -64,7 +64,22 @@ |
65 | 65 | // some links for online maps; can be translated to different language versions of services, but need not |
66 | 66 | 'smw_service_online_maps' => " find maps|http://tools.wikimedia.de/~magnus/geo/geohack.php?params=\$9_\$7_\$10_\$8\n Google 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", |
67 | 67 | // 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 “[[” 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.' |
69 | 84 | ); |
70 | 85 | |
71 | 86 | |
Index: trunk/extensions/SemanticMediaWiki/languages/SMW_LanguageRu.php |
— | — | @@ -64,7 +64,22 @@ |
65 | 65 | // some links for online maps; can be translated to different language versions of services, but need not |
66 | 66 | 'smw_service_online_maps' => " найти на карте|http://tools.wikimedia.de/~magnus/geo/geohack.php?language=ru¶ms=\$9_\$7_\$10_\$8\n Google 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", |
67 | 67 | // 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 “[[” 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.' |
69 | 84 | ); |
70 | 85 | |
71 | 86 | |
Index: trunk/extensions/SemanticMediaWiki/languages/SMW_LanguageEs.php |
— | — | @@ -64,7 +64,22 @@ |
65 | 65 | /* some links for online maps; can be translated to different language versions of services, but need not*/ |
66 | 66 | 'smw_service_online_maps' => " Mapas geográficos|http://tools.wikimedia.de/~magnus/geo/geohack.php?language=es¶ms=\$9_\$7_\$10_\$8\n Google 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", |
67 | 67 | /*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 “[[” 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.' |
69 | 84 | ); |
70 | 85 | |
71 | 86 | protected $smwUserMessages = array( |
Index: trunk/extensions/SemanticMediaWiki/languages/SMW_LanguageFr.php |
— | — | @@ -64,7 +64,22 @@ |
65 | 65 | /* some links for online maps; can be translated to different language versions of services, but need not*/ |
66 | 66 | 'smw_service_online_maps' => " Cartes géographiques|http://tools.wikimedia.de/~magnus/geo/geohack.php?language=fr¶ms=\$9_\$7_\$10_\$8\n Google 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", |
67 | 67 | /*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 “[[” 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.' |
69 | 84 | ); |
70 | 85 | |
71 | 86 | protected $smwUserMessages = array( |
Index: trunk/extensions/SemanticMediaWiki/languages/SMW_LanguageDe.php |
— | — | @@ -6,6 +6,9 @@ |
7 | 7 | * "property" --> "Attribut" |
8 | 8 | * "type" --> "Datentyp" |
9 | 9 | * "special properties" --> "Besondere Attribute" |
| 10 | + * "query" --> "Anfrage" |
| 11 | + * "subquery" --> Teilanfrage |
| 12 | + * "printout statement" --> Ausgabeanweisung |
10 | 13 | */ |
11 | 14 | |
12 | 15 | |
— | — | @@ -71,7 +74,22 @@ |
72 | 75 | /* some links for online maps; can be translated to different language versions of services, but need not*/ |
73 | 76 | 'smw_service_online_maps' => " Landkarten|http://tools.wikimedia.de/~magnus/geo/geohack.php?language=de¶ms=\$9_\$7_\$10_\$8\n Google 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", |
74 | 77 | /*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 „[[“ 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.' |
76 | 94 | ); |
77 | 95 | |
78 | 96 | protected $smwUserMessages = array( |
Index: trunk/extensions/SemanticMediaWiki/languages/SMW_LanguagePl.php |
— | — | @@ -84,7 +84,22 @@ |
85 | 85 | // TODO: translate "find maps" below (translation of "maps" would also do) |
86 | 86 | 'smw_service_online_maps' => " find maps|http://tools.wikimedia.de/~magnus/geo/geohack.php?language=pl¶ms=\$9_\$7_\$10_\$8\n Google 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", |
87 | 87 | /*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 “[[” 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.' |
89 | 104 | ); |
90 | 105 | |
91 | 106 | |
Index: trunk/extensions/SemanticMediaWiki/languages/SMW_LanguageHe.php |
— | — | @@ -63,7 +63,22 @@ |
64 | 64 | /* some links for online maps; can be translated to different language versions of services, but need not*/ |
65 | 65 | 'smw_service_online_maps' => " חפש מפות|http://tools.wikimedia.de/~magnus/geo/geohack.php?language=he¶ms=\$9_\$7_\$10_\$8\n Google 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", |
66 | 66 | /*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 “[[” 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.' |
68 | 83 | ); |
69 | 84 | |
70 | 85 | |
Index: trunk/extensions/SemanticMediaWiki/languages/SMW_LanguageSk.php |
— | — | @@ -65,7 +65,22 @@ |
66 | 66 | // TODO: translate "find maps" below, translation of word "maps" would also do. |
67 | 67 | 'smw_service_online_maps' => " find maps|http://tools.wikimedia.de/~magnus/geo/geohack.php?language=sk¶ms=\$9_\$7_\$10_\$8\n Google 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", |
68 | 68 | /*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 “[[” 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.' |
70 | 85 | ); |
71 | 86 | |
72 | 87 | |