Commit a685d94b90bbb6d26031ee4a4d3906d2b4ab0aba

Authored by conradverm
1 parent 84df8a23

KTS-673

"The search algorithm needs some work"
Updated. Internationalisation

Committed By: Conrad Vermeulen
Reviewed By: Kevin Fourie

git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@7286 c91229c3-7414-0410-bfa2-8a42b809f60b
search2/indexing/extractorCore.inc.php
@@ -313,7 +313,7 @@ abstract class ExternalDocumentExtractor extends DocumentExtractor @@ -313,7 +313,7 @@ abstract class ExternalDocumentExtractor extends DocumentExtractor
313 */ 313 */
314 protected function getCommandLine() 314 protected function getCommandLine()
315 { 315 {
316 - throw new Exception('getCommandLine is not implemented'); 316 + throw new Exception(_kt('getCommandLine is not implemented'));
317 } 317 }
318 318
319 /** 319 /**
@@ -423,7 +423,7 @@ abstract class ApplicationExtractor extends ExternalDocumentExtractor @@ -423,7 +423,7 @@ abstract class ApplicationExtractor extends ExternalDocumentExtractor
423 { 423 {
424 if (false === $this->application) 424 if (false === $this->application)
425 { 425 {
426 - return _kt("Cannot locate binary for $this->displayname ($this->command)."); 426 + return sprintf(_kt("Cannot locate binary for %s (%s)."), $this->displayname, $this->command);
427 } 427 }
428 428
429 return null; 429 return null;