* Fixed bug #0000642: No translations for the word "page" printed by indexed_search...
authorIngmar Schlecht <ingmar.schlecht@typo3.org>
Sat, 29 Jan 2005 14:38:11 +0000 (14:38 +0000)
committerIngmar Schlecht <ingmar.schlecht@typo3.org>
Sat, 29 Jan 2005 14:38:11 +0000 (14:38 +0000)
git-svn-id: https://svn.typo3.org/TYPO3v4/Core/trunk@544 709f56b5-9817-0410-a4d7-c38de5d9e867

typo3/sysext/indexed_search/pi/class.tx_indexedsearch.php

index c91099b..162db1b 100755 (executable)
@@ -1384,8 +1384,8 @@ class tx_indexedsearch extends tslib_pibase {
                        $dat = unserialize($row["cHashParams"]);
                        $pp=explode("-",$dat["key"]);
                        if ($pp[0]!=$pp[1])     {
-                               $add=", pages ".$dat["key"];
-                       } else $add=", page ".$pp[0];
+                               $add=", ".$this->pi_getLL("word_pages")." ".$dat["key"];
+                       } else $add=", ".$this->pi_getLL("word_page")." ".$pp[0];
                }
                return $this->utf8_to_currentCharset(htmlspecialchars(t3lib_div::fixed_lgd($row["item_title"],50))).$add;
        }